1 2015-08-06 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
5 (__ieee754_sinh): Force underflow exception for arguments with
7 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
8 (__ieee754_sinhf): Force underflow exception for arguments with
10 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
11 (__ieee754_sinhl): Force underflow exception for arguments with
13 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14 (__ieee754_sinhl): Force underflow exception for arguments with
16 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17 (__ieee754_sinhl): Force underflow exception for arguments with
19 * math/auto-libm-test-in: Add more tests of sinh.
20 * math/auto-libm-test-out: Regenerated.
21 * sysdeps/i386/fpu/libm-test-ulps: Update.
23 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25 * libio/oldfileops.c: Include unistd.h.
27 2015-08-06 Mike Frysinger <vapier@gentoo.org>
29 * stdlib/isomac.c: Include ctype.h.
31 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
33 * dirent/tst-seekdir.c (main): Converted to ...
35 (TEST_FUNCTION): New macro.
36 Include test-skeleton.c.
37 * elf/tst-dlmodcount.c (main): Converted to ...
39 (TEST_FUNCTION): New macro.
40 Include test-skeleton.c.
41 * elf/tst-order-main.c (main): Converted to ...
43 (TEST_FUNCTION): New macro.
44 Include test-skeleton.c.
45 * elf/tst-pie2.c (main): Converted to ...
47 (TEST_FUNCTION): New macro.
48 Include test-skeleton.c.
49 * inet/tst-ether_aton.c (main): Converted to ...
51 (TEST_FUNCTION): New macro.
52 Include test-skeleton.c.
53 * misc/tst-mntent.c (main): Converted to ...
55 (TEST_FUNCTION): New macro.
56 Include test-skeleton.c.
57 * misc/tst-tsearch.c (main): Converted to ...
59 (TEST_FUNCTION): New macro.
60 Include test-skeleton.c.
61 * posix/tst-regexloc.c (main): Converted to ...
63 (TEST_FUNCTION): New macro.
64 Include test-skeleton.c.
65 * resolv/tst-aton.c (main): Converted to ...
67 (TEST_FUNCTION): New macro.
68 Include test-skeleton.c.
69 * stdio-common/test-fwrite.c (main): Converted to ...
71 (TEST_FUNCTION): New macro.
72 Include test-skeleton.c.
73 * stdio-common/tst-ferror.c (main): Converted to ...
75 (TEST_FUNCTION): New macro.
76 Include test-skeleton.c.
77 * stdio-common/tst-printf.c (main): Converted to ...
79 (TEST_FUNCTION): New macro.
80 Include test-skeleton.c.
81 * stdio-common/tst-printfsz.c (main): Converted to ...
83 (TEST_FUNCTION): New macro.
84 Include test-skeleton.c.
85 * stdlib/tst-strtod.c (main): Converted to ...
87 (TEST_FUNCTION): New macro.
88 Include test-skeleton.c.
89 * string/tst-strlen.c (main): Converted to ...
91 (TEST_FUNCTION): New macro.
92 Include test-skeleton.c.
93 * string/tst-svc.c (main): Converted to ...
95 (TEST_FUNCTION): New macro.
96 Include test-skeleton.c.
97 * time/tst-strptime.c (main): Converted to ...
99 (TEST_FUNCTION): New macro.
100 Include test-skeleton.c.
101 * timezone/tst-timezone.c (main): Converted to ...
103 (TEST_FUNCTION): New macro.
104 Include test-skeleton.c.
106 2015-08-05 Zack Weinberg <zackw@panix.com>
108 * misc/regexp.h: Update comments.
110 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
113 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
116 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
119 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
120 when calling __errno_location.
121 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
122 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
124 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
127 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
128 (__lll_timedwait_tid): Align stack to 16 bytes when calling
131 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
134 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
135 (__start_context): Don't use pop to restore %rdi so that stack
136 is aligned to 16 bytes when calling __setcontext.
138 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
140 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
142 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
144 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
146 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
147 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
148 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
150 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
152 * string/memccpy.c (memccpy):
153 Improve performance by using memchr/memcpy/__mempcpy.
155 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
157 * string/strncpy.c (strncpy):
158 Improve performance by using __strnlen/memcpy.
160 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
162 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
163 Optimize to avoid an unnecessary FPCR read.
165 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
167 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
168 Optimize to reduce FPCR/FPSR accesses.
170 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
172 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
173 dead->data[category] != NULL.
175 2015-08-05 Joseph Myers <joseph@codesourcery.com>
178 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
179 and |x| close to 1, use absolute value of x when computing log.
180 * math/auto-libm-test-in: Add more tests of pow.
181 * math/auto-libm-test-out: Regenerated.
183 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
185 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
186 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
187 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
189 2015-08-05 Marko Myllynen <myllynen@redhat.com>
192 * locales/km_KH: Remove timezone definition.
193 * locales/lo_LA: Likewise.
194 * locales/my_MM: Likewise.
195 * locales/nan_TW@latin: Likewise.
196 * locales/th_TH: Likewise.
197 * locales/uk_UA: Likewise.
199 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
202 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
207 2015-08-05 Mike Frysinger <vapier@gentoo.org>
209 * test-skeleton.c (usage): New function.
210 (main): Call usage when opt is '?'.
212 2015-08-05 Mike Frysinger <vapier@gentoo.org>
214 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
217 2015-08-05 Mike Frysinger <vapier@gentoo.org>
219 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
220 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
223 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
225 * version.h (RELEASE): Set to "development".
226 (VERSION): Set to "2.22.90"
228 * version.h (RELEASE): Set to "stable".
229 (VERSION): Set to "2.22"
230 * include/features.h (__GLIBC_MINOR__): Set to 22.
232 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
234 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
235 Restructure macro to avoid "value computed is not used" warning.
236 (atomic_compare_and_exchange_val_acq): Likewise.
238 2015-08-04 Andreas Schwab <schwab@suse.de>
241 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
243 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
245 2015-08-01 Carlos O'Donell <carlos@redhat.com>
247 * po/pl.po: Updated translation.
248 * po/uk.po: Likewise.
249 * po/fi.po: Likewise.
250 * po/ko.po: Likewise.
251 * po/ru.po: Likewise.
252 * po/vi.po: Likewise.
254 2015-07-31 Zack Weinberg <zackw@panix.com>
257 * regexp.h: Add unconditional #warning stating that this header
258 will be removed soon. Revise banner comment to match.
259 (compile): Consistently use ERROR instead of RETURN to report
260 errors (partial fix for bz#18681).
261 * regexp.c: Don't include regexp.h. Remove some unnecessary
264 2015-07-31 Carlos O'Donell <carlos@redhat.com>
266 * po/libc.pot: Regenerated.
268 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
271 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
272 float-vlen4-arch-ext-cflags): Removed.
273 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
274 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
276 2015-07-30 Mike Frysinger <vapier@gentoo.org>
279 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
280 aligned to __aligned__.
281 (pthread_cond_t, pthread_rwlock_t): Likewise.
283 2015-07-30 Torvald Riegel <triegel@redhat.com>
285 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
287 2015-07-30 Mike Frysinger <vapier@gentoo.org>
289 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
290 (struct sigaction): Change sa_flags from a long to an int, and add
291 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
293 2015-07-30 Mike Frysinger <vapier@gentoo.org>
295 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
296 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
297 sysdeps/generic/sysdep.h include.
298 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
299 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
300 sysdeps/hppa/sysdep.h.
301 (ENTRY, PSEUDO): Undefine before defining.
303 2015-07-30 Mike Frysinger <vapier@gentoo.org>
305 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
306 from scratch to use INTERNAL_SYSCALL.
308 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
311 * scripts/check-localplt.awk: Support alternate relocations.
312 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
314 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
315 malloc entries with + REL R_386_GLOB_DAT.
316 * sysdeps/x86_64/localplt.data: New file.
318 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
321 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
322 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
323 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
325 2015-07-27 Mike Frysinger <vapier@gentoo.org>
327 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
329 2015-07-27 Mike Frysinger <vapier@gentoo.org>
331 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
332 directly in terms of __sync_fetch_and_add and delete (int) cast.
334 2015-07-27 Mike Frysinger <vapier@gentoo.org>
336 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
337 the -D_ASM_IA64_CURRENT_H flag.
339 2015-07-27 Mike Frysinger <vapier@gentoo.org>
342 * pwd/pwd.h (putpwent): Delete __nonnull markings.
344 2015-07-27 Andreas Schwab <schwab@suse.de>
346 * conform/conformtest.pl (checknamespace): Filter out string
347 literals while tokenizing.
349 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
351 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
352 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
353 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
355 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
357 * nptl/tst-join7mod.c: Add #include <string.h>.
359 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
361 * sysdeps/nios2/libm-test-ulps: Update.
363 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
365 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
366 Fix order of arguments to the rt_sigprocmask syscall.
367 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
370 2015-07-24 Roland McGrath <roland@hack.frob.com>
372 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
374 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
377 * nptl/Makefile (tests): New test case tst-join7.
378 (modules-names): New test case module tst-join7mod.
379 * nptl/tst-join7.c: New file.
380 * nptl/tst-join7mod.c: New file.
381 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
382 all translation units in libc.so, libpthread.so and rtld.
384 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
388 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
390 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
391 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
392 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
393 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
394 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
395 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
396 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
397 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
398 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
399 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
400 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
401 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
402 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
403 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
404 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
407 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
410 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
411 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
412 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
413 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
414 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
415 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
417 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
419 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
420 instead of just saying load lock in the comments.
422 2015-07-23 Roland McGrath <roland@hack.frob.com>
424 * sysdeps/unix/Subdirs: Moved ...
425 * sysdeps/posix/Subdirs: ... here.
426 * login/pty.h (struct termios, struct winsize): Add forward decls.
427 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
428 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
429 * sysdeps/arm/nacl/libc.abilist: Updated.
430 * sysdeps/nacl/libutil.abilist: New file.
432 * bits/signum.h: Update comments to mention 1003.1-2013 too.
433 (SIGWINCH): New macro.
435 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
436 * sysdeps/arm/nacl/libc.abilist: Add it.
438 2015-07-23 Mike Frysinger <vapier@gentoo.org>
440 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
442 2015-07-23 Mike Frysinger <vapier@gentoo.org>
444 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
445 Swap __glibc_reserved0 and sa_flags order.
447 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
450 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
451 are pending TLS destructor calls.
452 * include/link.h (struct link_map): Add concurrency note for
454 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
455 Don't touch the link map flag. Atomically increment
457 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
458 Avoid taking the load lock and don't touch the link map flag.
459 * stdlib/tst-tls-atexit-nodelete.c: New test case.
460 * stdlib/Makefile (tests): Use it.
461 * stdlib/tst-tls-atexit.c (do_test): dlopen
462 tst-tls-atexit-lib.so again before dlclose. Add conditionals
463 to allow tst-tls-atexit-nodelete test case to use it.
465 2015-07-22 Mike Frysinger <vapier@gentoo.org>
467 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
469 (msgqnum_t): New typedef.
470 (msglen_t): Likewise.
471 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
472 and msg_qbytes type to msglen_t.
474 2015-07-22 Mike Frysinger <vapier@gentoo.org>
476 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
477 pad0 to __glibc_reserved0.
478 (struct stat64): Likewise.
480 2015-07-22 Mike Frysinger <vapier@gentoo.org>
482 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
483 Change sa_flags from a long to an int and add __glibc_reserved0 before
486 2015-07-22 Mike Frysinger <vapier@gentoo.org>
488 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
489 anonymous by deleting "siginfo" name.
491 2015-07-21 Roland McGrath <roland@hack.frob.com>
493 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
494 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
495 rather than __nacl_irt_filename.
496 * sysdeps/nacl/xstat.c (__xstat): Likewise.
498 * NEWS: New item for arm-nacl port.
499 * sysdeps/arm/nacl/libc.abilist: New file.
500 * sysdeps/nacl/ld.abilist: New file.
501 * sysdeps/nacl/libBrokenLocale.abilist: New file.
502 * sysdeps/nacl/libanl.abilist: New file.
503 * sysdeps/nacl/libcrypt.abilist: New file.
504 * sysdeps/nacl/libdl.abilist: New file.
505 * sysdeps/nacl/libm.abilist: New file.
506 * sysdeps/nacl/libpthread.abilist: New file.
507 * sysdeps/nacl/libresolv.abilist: New file.
508 * sysdeps/nacl/librt.abilist: New file.
510 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
512 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
513 __startcontext to initialize the new context.
514 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
515 up CFI directive to forbid further backtracing.
517 2015-07-21 Marko Myllynen <myllynen@redhat.com>
519 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
521 * charmaps/ANSI_X3.4-1968: Likewise.
522 * charmaps/BS_4730: Likewise.
523 * charmaps/BS_VIEWDATA: Likewise.
524 * charmaps/CP1250: Likewise.
525 * charmaps/CP1251: Likewise.
526 * charmaps/CP1252: Likewise.
527 * charmaps/CP1253: Likewise.
528 * charmaps/CP1254: Likewise.
529 * charmaps/CP1255: Likewise.
530 * charmaps/CP1256: Likewise.
531 * charmaps/CSN_369103: Likewise.
532 * charmaps/EBCDIC-DK-NO: Likewise.
533 * charmaps/GB_1988-80: Likewise.
534 * charmaps/GREEK-CCITT: Likewise.
535 * charmaps/GREEK7: Likewise.
536 * charmaps/INIS-8: Likewise.
537 * charmaps/ISIRI-3342: Likewise.
538 * charmaps/ISO_2033-1983: Likewise.
539 * charmaps/ISO_5427-EXT: Likewise.
540 * locales/POSIX: Likewise.
541 * locales/ar_SA: Likewise.
542 * locales/be_BY: Likewise.
543 * locales/be_BY@latin: Likewise.
544 * locales/ca_ES: Likewise.
545 * locales/cs_CZ: Likewise.
546 * locales/da_DK: Likewise.
547 * locales/de_BE: Likewise.
548 * locales/de_CH: Likewise.
549 * locales/de_LU: Likewise.
550 * locales/en_AU: Likewise.
551 * locales/en_BW: Likewise.
552 * locales/en_CA: Likewise.
553 * locales/en_DK: Likewise.
554 * locales/en_GB: Likewise.
555 * locales/en_IE: Likewise.
556 * locales/en_NZ: Likewise.
557 * locales/en_ZA: Likewise.
558 * locales/en_ZW: Likewise.
559 * locales/es_AR: Likewise.
560 * locales/es_BO: Likewise.
561 * locales/es_CL: Likewise.
562 * locales/es_CO: Likewise.
563 * locales/es_DO: Likewise.
564 * locales/es_EC: Likewise.
565 * locales/es_ES: Likewise.
566 * locales/es_HN: Likewise.
567 * locales/es_MX: Likewise.
568 * locales/es_PA: Likewise.
569 * locales/es_PE: Likewise.
570 * locales/es_PY: Likewise.
571 * locales/es_SV: Likewise.
572 * locales/es_US: Likewise.
573 * locales/es_UY: Likewise.
574 * locales/es_VE: Likewise.
575 * locales/et_EE: Likewise.
576 * locales/fa_IR: Likewise.
577 * locales/fo_FO: Likewise.
578 * locales/fr_CA: Likewise.
579 * locales/fr_CH: Likewise.
580 * locales/gv_GB: Likewise.
581 * locales/he_IL: Likewise.
582 * locales/hr_HR: Likewise.
583 * locales/id_ID: Likewise.
584 * locales/is_IS: Likewise.
585 * locales/it_CH: Likewise.
586 * locales/iw_IL: Likewise.
587 * locales/kl_GL: Likewise.
588 * locales/ko_KR: Likewise.
589 * locales/kw_GB: Likewise.
590 * locales/lg_UG: Likewise.
591 * locales/lt_LT: Likewise.
592 * locales/lv_LV: Likewise.
593 * locales/mi_NZ: Likewise.
594 * locales/nhn_MX: Likewise.
595 * locales/nl_BE: Likewise.
596 * locales/pl_PL: Likewise.
597 * locales/sk_SK: Likewise.
598 * locales/sl_SI: Likewise.
599 * locales/sv_FI: Likewise.
600 * locales/tl_PH: Likewise.
601 * locales/tr_TR: Likewise.
602 * locales/vi_VN: Likewise.
604 2015-07-21 Khem Raj <raj.khem@gmail.com>
607 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
610 2015-07-21 Mike Frysinger <vapier@gentoo.org>
613 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
615 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
617 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
619 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
620 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
621 (spawn_thread): New function.
622 (load): Rename to reg_dtor_and_close. Move dlopen to...
623 (do_test): ... here. Use IS_LOADED to test for its
626 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
628 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
630 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
633 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
636 (si_upper): Likewise.
638 2015-07-16 David S. Miller <davem@davemloft.net>
640 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
642 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
644 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
646 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
647 fail output information.
649 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
654 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
655 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
656 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
657 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
659 2015-07-16 Mike Frysinger <vapier@gentoo.org>
661 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
662 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
663 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
664 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
666 2015-07-16 Mike Frysinger <vapier@gentoo.org>
668 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
669 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
671 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
673 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
675 * tst-nodelete-opened.c (do_test): Add comment to clarify how
678 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
681 * elf/tst-nodelete-opened.c: New test case.
682 * elf/tst-nodelete-opened-lib.c: New test case module.
683 * elf/Makefile (tests, modules-names): Use them.
684 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
687 2015-07-15 David S. Miller <davem@davemloft.net>
689 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
691 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
692 * sysdeps/sparc/sparc64/Makefile: Likewise.
693 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
694 Remove space from macro define.
695 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
697 2015-07-15 Pravin Satpute <psatpute@redhat.com>
700 * locale/iso-639.def: Update Bhili and Tulu language codes as
703 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
705 * elf/tst-leaks1.c (main): Converted to ...
707 (TEST_FUNCTION): New macro.
708 Include test-skeleton.c.
709 * localedata/tst-langinfo.c (main): Converted to ...
711 (TEST_FUNCTION): New macro.
712 Include test-skeleton.c.
713 * math/test-fpucw.c (main): Converted to ...
715 (TEST_FUNCTION): New macro.
716 Include test-skeleton.c.
717 * math/test-tgmath.c (main): Converted to ...
719 (TEST_FUNCTION): New macro.
720 Include test-skeleton.c.
721 * math/test-tgmath2.c (main): Converted to ...
723 (TEST_FUNCTION): New macro.
724 Include test-skeleton.c.
725 * setjmp/tst-setjmp.c (main): Converted to ...
727 (TEST_FUNCTION): New macro.
728 Include test-skeleton.c.
729 * stdio-common/tst-sscanf.c (main): Converted to ...
731 (TEST_FUNCTION): New macro.
732 Include test-skeleton.c.
733 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
735 (TEST_FUNCTION): New macro.
736 Include test-skeleton.c.
738 * elf/tst-audit9.c (main): Converted to ...
740 (TEST_FUNCTION): New macro.
741 Include test-skeleton.c.
743 2015-07-15 Mike Frysinger <vapier@gentoo.org>
745 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
747 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
749 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
752 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
754 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
756 2015-07-14 Roland McGrath <roland@hack.frob.com>
758 * sysdeps/generic/dl-fileid.h: New file.
759 * sysdeps/posix/dl-fileid.h: New file.
760 * sysdeps/nacl/dl-fileid.h: New file.
761 * include/link.h: Include <dl-fileid.h>.
762 (struct link_map): Replace l_dev and l_ino with l_file_id.
763 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
764 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
765 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
767 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
769 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
771 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
773 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
775 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
777 (tst-nodelete-zmodiff): Likewise.
778 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
780 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
782 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
784 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
786 * sysdeps/aarch64/fpu/math_private.h
787 (define math_opt_barrier): Add AArch64 version.
788 (math_force_eval): Likewise.
790 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
792 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
794 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
796 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
797 %ld with %jd and cast to intmax_t.
798 (do_test_length_zero): Likewise.
800 2015-07-10 Roland McGrath <roland@hack.frob.com>
802 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
804 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
806 * sysdeps/tile/libm-test-ulps: Regenerated.
808 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
809 Comment out the whole function, not just its body.
811 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
813 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
816 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
818 2015-07-10 Torvald Riegel <triegel@redhat.com>
820 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
821 (sem_assume_only_signals_cause_futex_EINTR): Remove.
823 2015-07-10 Torvald Riegel <triegel@redhat.com>
825 * sysdeps/nptl/futex-internal.h: New file.
826 * sysdeps/nacl/futex-internal.h: New file.
827 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
828 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
830 (setxid_unmark_thread): Likewise.
831 (__nptl_setxid): Likewise.
832 (__wait_lookup_done): Likewise.
833 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
834 * nptl/nptl-init.c (sighandler_setxid): Likewise.
835 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
836 * nptl/pthread_once.c (clear_once_control): Likewise.
837 (__pthread_once_slow): Likewise.
838 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
839 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
840 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
841 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
842 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
843 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
845 (__pthread_rwlock_rdlock): Likewise.
846 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
848 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
850 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
852 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
853 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
855 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
856 __ASSUME_PRIVATE_FUTEX check.
857 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
858 Check that shared futexes are supported.
859 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
860 wrappers with error checking.
861 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
862 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
863 * nptl/pthread_barrierattr_setpshared.c
864 (pthread_barrierattr_setpshared): Check that shared futexes are
866 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
868 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
870 * nptl/sem_init.c (futex_private_if_supported): Remove.
871 (__new_sem_init): Adapt and check that shared futexes are supported.
872 * nptl/sem_open.c (sem_open): Likewise.
873 * nptl/sem_post.c (futex_wake): Remove.
874 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
875 (do_futex_wait): Use futex wrappers with error checking.
876 * nptl/sem_wait.c: Include lowlevellock.h.
877 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
878 Use futex_supports_pshared.
879 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
880 Use futex wrappers with error checking.
881 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
883 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
884 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
885 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
886 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
887 (futex_wake): Likewise.
888 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
889 (do_futex_wait): Use futex wrappers with error checking.
890 (__new_sem_wait_slow): Update EINTR handling.
891 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
893 2015-07-09 Martin Sebor <msebor@redhat.com>
896 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
897 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
898 * nptl/Makefile (test-xfail-tst-once5): Define.
900 2015-07-09 Roland McGrath <roland@hack.frob.com>
902 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
903 * elf/dl-minimal.c: For readability, reorder some definitions and
904 introduce more page breaks. Include <stdio.h>.
905 (__libc_fatal): New function.
907 * include/unistd.h: Add rtld_hidden_proto for _exit.
908 * posix/_exit.c: Add rtld_hidden_def.
909 * sysdeps/mach/hurd/_exit.c: Likewise.
910 * sysdeps/nacl/_exit.c: Likewise.
911 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
912 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
914 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
916 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
917 bndmov encoding with zero displacement.
919 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
920 H.J. Lu <hongjiu.lu@intel.com>
923 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
924 * sysdeps/i386/configure: Regenerated.
925 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
926 (_dl_runtime_profile): Save and restore Intel MPX return bound
927 registers when calling _dl_call_pltexit. Add
928 PRESERVE_BND_REGS_PREFIX before return.
929 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
930 (LRV_BND1_OFFSET): Likewise.
931 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
933 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
934 typo in bndmov encoding.
935 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
936 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
937 branch instructions to preserve bounds.
939 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
942 [GLIBC_2.22]: Add fmemopen.
944 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
946 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
947 returns an error, also try to use host port from __mach_host_self for
949 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
951 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
955 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
956 Fix pr_uid and pr_gid members.
957 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
958 definition to elf_greg_t.
960 2015-07-08 Roland McGrath <roland@hack.frob.com>
963 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
964 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
965 * sysdeps/arm/configure: Regenerated.
966 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
967 (test-xfail-tst-tlsalign-static): Variable removed.
969 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
970 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
971 rather than explicit 'ln -s'.
973 * resolv/rpc/netdb.h: New file.
974 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
976 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
978 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
980 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
989 * include/stdio.h (fmemopen): Remove hidden prototype.
990 (__fmemopen): Add new hidden prototype.
991 * libio/Makefile: Add oldfmemopen object.
992 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
993 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
995 * libio/oldfmemopen.c: New file: old fmemopen implementation for
996 symbol compatibility.
997 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
998 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1000 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1001 on append and read mode.
1002 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1004 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1005 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1006 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1007 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1009 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1010 [GLIBC_2.22]: Likewise.
1011 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1013 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1015 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1016 [GLIBC_2.22]: Likewise.
1017 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1018 [GLIBC_2.22]: Likewise.
1019 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1020 [GLIBC_2.22]: Likewise.
1021 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1022 [GLIBC_2.22]: Likewise.
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1024 [GLIBC_2.22]: Likewise.
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1026 [GLIBC_2.22]: Likewise.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1028 [GLIBC_2.22]: Likewise.
1029 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1031 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1033 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1034 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1035 [GLIBC_2.22]: Likewise.
1036 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1037 [GLIBC_2.22]: Likewise.
1038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1039 [GLIBC_2.22]: Likewise.
1040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1041 [GLIBC_2.22]: Likewise.
1042 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1044 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1046 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1048 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1049 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1051 2015-07-08 Carlos O'Donell <carlos@redhat.com>
1054 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1055 IPV6_PATHMTU, and IPV6_DONTFRAG.
1057 2015-07-08 Feng Gao <gfree.wind@gmail.com>
1059 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1061 * libio/oldfileops.c: Likewise.
1062 * libio/wfileops.c: Likewise.
1064 2015-07-08 Mike Frysinger <vapier@gentoo.org>
1066 * nscd/selinux.c: Delete selinux/flask.h include.
1068 2015-07-08 Mike Frysinger <vapier@gentoo.org>
1071 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1072 (putpwent): Likewise.
1073 (getpwnam): Likewise.
1074 (getpwent_r): Likewise.
1075 (getpwuid_r): Likewise.
1076 (getpwnam_r): Likewise.
1077 (fgetpwent_r): Likewise.
1079 2015-07-08 Carlos O'Donell <carlos@redhat.com>
1082 * inet/rcmd.c (__validuser2_sa): Check user first to
1083 short-circuit host check.
1085 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
1086 Mikhail Ilin <m.ilin@samsung.com>
1089 * elf/Makefile (tests): Add tst-nodelete.
1090 (modules-names): Add tst-nodelete-uniquemod.
1091 (tst-nodelete-uniquemod.so-no-z-defs): New.
1092 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1093 (tst-nodelete-zmod.so-no-z-defs): Likewise.
1094 ($(objpfx)tst-nodelete): Likewise.
1095 ($(objpfx)tst-nodelete.out): Likewise.
1096 (LDFLAGS-tst-nodelete): Likewise.
1097 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1098 * elf/dl-close.c (_dl_close_worker): Add a parameter to
1099 implement forced object deletion.
1100 (_dl_close): Pass false to _dl_close_worker.
1101 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1102 * elf/tst-nodelete.cc: New file.
1103 * elf/tst-nodeletelib.cc: Likewise.
1104 * elf/tst-znodeletelib.cc: Likewise.
1105 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1107 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1110 * stdlib/Makefile ($(objpfx)tst-makecontext3):
1112 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1113 is not called infinitely times.
1114 (backtrace_helper): New function.
1115 (trace_arg): New struct.
1116 (st1): Enlarge stack size.
1117 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1118 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1119 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1122 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1124 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1126 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1128 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1129 Include sys/types.h instead of bits/types.h.
1130 Remove inclusion of bits/wordsize.h.
1132 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1134 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1135 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1136 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1137 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1138 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1139 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1141 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1143 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1145 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1146 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1147 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1149 * sysdeps/i386/link-defines.sym: New file.
1151 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1153 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1154 (modules-names): Add tst-auditmod3a tst-auditmod3b.
1155 ($(objpfx)tst-audit3): New rule.
1156 ($(objpfx)tst-audit3.out): Likewise.
1157 * sysdeps/i386/tst-audit3.c: New file.
1158 * sysdeps/i386/tst-audit3.h: Likewise.
1159 * sysdeps/i386/tst-auditmod3a.c: Likewise.
1160 * sysdeps/i386/tst-auditmod3b.c: Likewise.
1162 2015-07-07 Torvald Riegel <triegel@redhat.com>
1165 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1167 (__strcat_c): Likewise.
1168 (__strcat_g): Likewise.
1170 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
1173 * misc/sbrk.c: Set errno to ENOMEM on overflow.
1175 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
1177 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1178 New function. (__ieee754_sqrtf): New function.
1179 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1181 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1184 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
1186 * sysdeps/ieee754/support.c: Remove unused file.
1188 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1190 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1191 registers instead of d ones so the layout is kernel abi compatible.
1192 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1193 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1196 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1198 * sysdeps/aarch64/libm-test-ulps: Regenerated.
1200 2015-07-01 Joseph Myers <joseph@codesourcery.com>
1203 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1204 and return argument in case of subnormal argument.
1206 2015-07-01 Martin Sebor <msebor@redhat.com>
1209 * nptl/Makefile: Add tst-once5.cc.
1210 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1211 Remove macro redefinitions.
1212 * nptl/tst-once5.cc: New test.
1214 2015-07-01 Joseph Myers <joseph@codesourcery.com>
1216 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1218 * sysdeps/arm/libm-test-ulps: Regenerated.
1220 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1221 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1223 2015-06-30 Torvald Riegel <triegel@redhat.com>
1225 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1226 lll_lock_wait_private and lll_futex_wake probes.
1228 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1229 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1231 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1233 * sysdeps/x86_64/bits/atomic.h: Likewise.
1234 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1235 to atomic_spin_nop and move ...
1236 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1238 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1239 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1240 atomic_spin_nop instead of BUSY_WAIT_NOP.
1241 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1243 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1244 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1245 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1246 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1247 instead of atomic_delay.
1249 2015-06-29 Joseph Myers <joseph@codesourcery.com>
1252 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1253 X_ADJ not X when adjusting exponent.
1254 (__ieee754_gamma_r): Do intermediate computations in
1255 round-to-nearest then adjust overflowing and underflowing results
1257 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1258 of X_ADJ not X when adjusting exponent.
1259 (__ieee754_gammaf_r): Do intermediate computations in
1260 round-to-nearest then adjust overflowing and underflowing results
1262 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1263 log of X_ADJ not X when adjusting exponent.
1264 (__ieee754_gammal_r): Do intermediate computations in
1265 round-to-nearest then adjust overflowing and underflowing results
1266 as needed. Use 1.0L not 1.0f as numerator of division.
1267 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1268 log of X_ADJ not X when adjusting exponent.
1269 (__ieee754_gammal_r): Do intermediate computations in
1270 round-to-nearest then adjust overflowing and underflowing results
1271 as needed. Use 1.0L not 1.0f as numerator of division.
1272 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1273 of X_ADJ not X when adjusting exponent.
1274 (__ieee754_gammal_r): Do intermediate computations in
1275 round-to-nearest then adjust overflowing and underflowing results
1276 as needed. Use 1.0L not 1.0f as numerator of division.
1277 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
1278 to auto-libm-test-in.
1279 (tgamma_test): Use ALL_RM_TEST.
1280 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
1281 tests of tgamma with spurious-overflow.
1282 * math/auto-libm-test-out: Regenerated.
1283 * math/gen-libm-have-vector-test.sh: Do not check for START.
1284 * sysdeps/i386/fpu/libm-test-ulps: Update.
1285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1288 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1289 arguments, just return 0.5 times the argument, with underflow
1291 * math/auto-libm-test-in: Add more tests of j1.
1292 * math/auto-libm-test-out: Regenerated.
1295 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1296 (__ieee754_j1): Force underflow exception for small results.
1297 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1298 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1299 (__ieee754_j1f): Force underflow exception for small results.
1300 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1301 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1302 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1303 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1304 (__ieee754_j1l): Force underflow exception for small results.
1305 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1306 * math/auto-libm-test-in: Add more tests of j1 and jn.
1307 * math/auto-libm-test-out: Regenerated.
1309 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1310 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1311 (PF_MPLS): Likewise.
1313 (AF_MPLS): Likewise.
1314 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1316 (MS_RMT_MASK): Include MS_LAZYTIME.
1318 2015-06-26 Mel Gorman <mgorman@suse.de>
1321 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1324 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
1326 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1327 (DT_MIPS_NUM): Update.
1328 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1329 DT_MIPS_RLD_MAP_REL.
1331 2015-06-25 Joseph Myers <joseph@codesourcery.com>
1335 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1336 round-to-nearest internally then recompute results that
1337 underflowed to zero in the original rounding mode.
1338 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1339 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1340 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1341 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1342 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1343 * sysdeps/i386/fpu/libm-test-ulps: Update.
1344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1346 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
1348 * NEWS: Fixed description of link with vector math library.
1350 2015-06-25 Andreas Schwab <schwab@suse.de>
1353 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1354 * libio/test-fmemopen.c (do_test): Add test for it.
1356 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
1359 * Makeconfig (no-pie-ldflag): New.
1360 (+link): Set to $(+link-pie) if default to PIE.
1361 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1362 * config.make.in (build-pie-default): New.
1363 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
1364 is default. AC_SUBST.
1365 * configure: Regenerated.
1366 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1368 2015-06-24 Roland McGrath <roland@hack.frob.com>
1370 * nptl/descr.h (struct pthread): Change type of field setxid_futex
1373 * resolv/gai_misc.h (struct waitlist): Change type of field
1374 counterp to 'volatile unsigned int *'.
1375 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1376 FUTEXADDR and OLDVAL.
1377 * resolv/getaddrinfo_a.c (getaddrinfo_a):
1378 Give local variable TOTAL type 'volatile unsigned int'.
1379 (struct async_waitlist): Change type of field counter to 'unsigned int'.
1380 * resolv/gai_suspend.c (gai_suspend):
1381 Give local variable CNTR type 'unsigned int'.
1383 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1384 counterp to 'volatile unsigned int *'.
1385 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1386 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1387 (aio_suspend): Give local variable CNTR type 'unsigned int'.
1388 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1389 Give local variable TOTAL type 'volatile unsigned int'.
1390 (struct async_waitlist): Change type of field counter to 'unsigned int'.
1392 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1395 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1396 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
1397 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1398 comment for i386/x86-64.
1399 (test-xfail-tst-tlsalign-extern-static): Removed.
1401 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1403 * math/test-double.h: New file.
1404 * math/test-float.h: Likewise.
1405 * math/test-ldouble.h: Likewise.
1406 * math/test-math-inline.h: Likewise.
1407 * math/test-math-no-inline.h: Likewise.
1408 * math/test-math-scalar.h: Likewise.
1409 * math/test-math-vector.h: Likewise.
1410 * math/test-vec-loop.h: Remove file. Contents moved into
1412 * math/libm-test.inc (MATHCONST): Do not document macro.
1413 * math/test-double.c: Include test-double.h, test-math-no-inline.h
1414 and test-math-scalar.h.
1415 (FUNC): Remove macro.
1416 (FUNC_TEST): Likewise.
1418 (MATHCONST): Likewise.
1419 (PRINTF_EXPR): Likewise.
1420 (PRINTF_XEXPR): Likewise.
1421 (PRINTF_NEXPR): Likewise.
1422 (TEST_DOUBLE): Likewise.
1423 (TEST_MATHVEC): Likewise.
1424 (__NO_MATH_INLINES): Likewise.
1425 * math/test-float.c: Include test-float.h, test-math-no-inline.h
1426 and test-math-scalar.h.
1427 (FUNC): Remove macro.
1428 (FUNC_TEST): Likewise.
1430 (MATHCONST): Likewise.
1431 (PRINTF_EXPR): Likewise.
1432 (PRINTF_XEXPR): Likewise.
1433 (PRINTF_NEXPR): Likewise.
1434 (TEST_FLOAT): Likewise.
1435 (TEST_MATHVEC): Likewise.
1436 (__NO_MATH_INLINES): Likewise.
1437 * math/test-idouble.c: Include test-double.h, test-math-inline.h
1438 and test-math-scalar.h.
1439 (FUNC): Remove macro.
1440 (FUNC_TEST): Likewise.
1442 (MATHCONST): Likewise.
1443 (PRINTF_EXPR): Likewise.
1444 (PRINTF_XEXPR): Likewise.
1445 (PRINTF_NEXPR): Likewise.
1446 (TEST_DOUBLE): Likewise.
1447 (TEST_MATHVEC): Likewise.
1448 (TEST_INLINE): Likewise.
1449 (__NO_MATH_INLINES): Likewise.
1450 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1452 (FUNC): Remove macro.
1453 (FUNC_TEST): Likewise.
1455 (MATHCONST): Likewise.
1456 (PRINTF_EXPR): Likewise.
1457 (PRINTF_XEXPR): Likewise.
1458 (PRINTF_NEXPR): Likewise.
1459 (TEST_FLOAT): Likewise.
1460 (TEST_MATHVEC): Likewise.
1461 (TEST_INLINE): Likewise.
1462 (__NO_MATH_INLINES): Likewise.
1463 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1464 and test-math-scalar.h.
1465 (FUNC): Remove macro.
1466 (FUNC_TEST): Likewise.
1468 (MATHCONST): Likewise.
1469 (PRINTF_EXPR): Likewise.
1470 (PRINTF_XEXPR): Likewise.
1471 (PRINTF_NEXPR): Likewise.
1472 (TEST_LDOUBLE): Likewise.
1473 (TEST_MATHVEC): Likewise.
1474 (TEST_INLINE): Likewise.
1475 (__NO_MATH_INLINES): Likewise.
1476 * math/test-ldouble.c: Include test-ldouble.h,
1477 test-math-no-inline.h and test-math-scalar.h.
1478 (FUNC): Remove macro.
1479 (FUNC_TEST): Likewise.
1481 (MATHCONST): Likewise.
1482 (PRINTF_EXPR): Likewise.
1483 (PRINTF_XEXPR): Likewise.
1484 (PRINTF_NEXPR): Likewise.
1485 (TEST_LDOUBLE): Likewise.
1486 (TEST_MATHVEC): Likewise.
1487 (__NO_MATH_INLINES): Likewise.
1488 * math/test-double-vlen2.h: Include test-double.h,
1489 test-math-no-inline.h and test-math-vector.h.
1490 (FLOAT): Remove macro.
1492 (MATHCONST): Likewise.
1493 (PRINTF_EXPR): Likewise.
1494 (PRINTF_XEXPR): Likewise.
1495 (PRINTF_NEXPR): Likewise.
1496 (TEST_DOUBLE): Likewise.
1497 (TEST_MATHVEC): Likewise.
1498 (__NO_MATH_INLINES): Likewise.
1501 (WRAPPER_NAME): Likewise.
1502 (WRAPPER_DECL): Likewise.
1503 (WRAPPER_DECL_ff): Likewise.
1504 (WRAPPER_DECL_fFF): Likewise.
1505 (VECTOR_WRAPPER): Likewise.
1506 (VECTOR_WRAPPER_ff): Likewise.
1507 (VECTOR_WRAPPER_fFF): Likewise.
1508 (VEC_LEN): New macro.
1509 * math/test-double-vlen4.h: Include test-double.h,
1510 test-math-no-inline.h and test-math-vector.h.
1511 (FLOAT): Remove macro.
1513 (MATHCONST): Likewise.
1514 (PRINTF_EXPR): Likewise.
1515 (PRINTF_XEXPR): Likewise.
1516 (PRINTF_NEXPR): Likewise.
1517 (TEST_DOUBLE): Likewise.
1518 (TEST_MATHVEC): Likewise.
1519 (__NO_MATH_INLINES): Likewise.
1522 (WRAPPER_NAME): Likewise.
1523 (WRAPPER_DECL): Likewise.
1524 (WRAPPER_DECL_ff): Likewise.
1525 (WRAPPER_DECL_fFF): Likewise.
1526 (VECTOR_WRAPPER): Likewise.
1527 (VECTOR_WRAPPER_ff): Likewise.
1528 (VECTOR_WRAPPER_fFF): Likewise.
1529 (VEC_LEN): New macro.
1530 * math/test-double-vlen8.h: Include test-double.h,
1531 test-math-no-inline.h and test-math-vector.h.
1532 (FLOAT): Remove macro.
1534 (MATHCONST): Likewise.
1535 (PRINTF_EXPR): Likewise.
1536 (PRINTF_XEXPR): Likewise.
1537 (PRINTF_NEXPR): Likewise.
1538 (TEST_DOUBLE): Likewise.
1539 (TEST_MATHVEC): Likewise.
1540 (__NO_MATH_INLINES): Likewise.
1543 (WRAPPER_NAME): Likewise.
1544 (WRAPPER_DECL): Likewise.
1545 (WRAPPER_DECL_ff): Likewise.
1546 (WRAPPER_DECL_fFF): Likewise.
1547 (VECTOR_WRAPPER): Likewise.
1548 (VECTOR_WRAPPER_ff): Likewise.
1549 (VECTOR_WRAPPER_fFF): Likewise.
1550 (VEC_LEN): New macro.
1551 * math/test-float-vlen4.h: Include test-float.h,
1552 test-math-no-inline.h and test-math-vector.h.
1553 (FLOAT): Remove macro.
1555 (MATHCONST): Likewise.
1556 (PRINTF_EXPR): Likewise.
1557 (PRINTF_XEXPR): Likewise.
1558 (PRINTF_NEXPR): Likewise.
1559 (TEST_FLOAT): Likewise.
1560 (TEST_MATHVEC): Likewise.
1561 (__NO_MATH_INLINES): Likewise.
1564 (WRAPPER_NAME): Likewise.
1565 (WRAPPER_DECL): Likewise.
1566 (WRAPPER_DECL_ff): Likewise.
1567 (WRAPPER_DECL_fFF): Likewise.
1568 (VECTOR_WRAPPER): Likewise.
1569 (VECTOR_WRAPPER_ff): Likewise.
1570 (VECTOR_WRAPPER_fFF): Likewise.
1571 (VEC_LEN): New macro.
1572 * math/test-float-vlen8.h: Include test-float.h,
1573 test-math-no-inline.h and test-math-vector.h.
1574 (FLOAT): Remove macro.
1576 (MATHCONST): Likewise.
1577 (PRINTF_EXPR): Likewise.
1578 (PRINTF_XEXPR): Likewise.
1579 (PRINTF_NEXPR): Likewise.
1580 (TEST_FLOAT): Likewise.
1581 (TEST_MATHVEC): Likewise.
1582 (__NO_MATH_INLINES): Likewise.
1585 (WRAPPER_NAME): Likewise.
1586 (WRAPPER_DECL): Likewise.
1587 (WRAPPER_DECL_ff): Likewise.
1588 (WRAPPER_DECL_fFF): Likewise.
1589 (VECTOR_WRAPPER): Likewise.
1590 (VECTOR_WRAPPER_ff): Likewise.
1591 (VECTOR_WRAPPER_fFF): Likewise.
1592 (VEC_LEN): New macro.
1593 * math/test-float-vlen16.h: Include test-float.h,
1594 test-math-no-inline.h and test-math-vector.h.
1595 (FLOAT): Remove macro.
1597 (MATHCONST): Likewise.
1598 (PRINTF_EXPR): Likewise.
1599 (PRINTF_XEXPR): Likewise.
1600 (PRINTF_NEXPR): Likewise.
1601 (TEST_FLOAT): Likewise.
1602 (TEST_MATHVEC): Likewise.
1603 (__NO_MATH_INLINES): Likewise.
1606 (WRAPPER_NAME): Likewise.
1607 (WRAPPER_DECL): Likewise.
1608 (WRAPPER_DECL_ff): Likewise.
1609 (WRAPPER_DECL_fFF): Likewise.
1610 (VECTOR_WRAPPER): Likewise.
1611 (VECTOR_WRAPPER_ff): Likewise.
1612 (VECTOR_WRAPPER_fFF): Likewise.
1613 (VEC_LEN): New macro.
1614 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1616 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1617 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1618 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1619 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1620 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1621 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1622 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1624 2015-06-24 Roland McGrath <roland@hack.frob.com>
1626 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1627 (__getlogin_r): ... this.
1629 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1632 * math/s_ccosh.c (__ccosh): Compare with least normal value
1633 instead of comparing class with FP_SUBNORMAL.
1634 * math/s_ccoshf.c (__ccoshf): Likewise.
1635 * math/s_ccoshl.c (__ccoshl): Likewise.
1636 * math/s_cexp.c (__cexp): Likewise.
1637 * math/s_cexpf.c (__cexpf): Likewise.
1638 * math/s_cexpl.c (__cexpl): Likewise.
1639 * math/s_csin.c (__csin): Likewise.
1640 * math/s_csinf.c (__csinf): Likewise.
1641 * math/s_csinh.c (__csinh): Likewise.
1642 * math/s_csinhf.c (__csinhf): Likewise.
1643 * math/s_csinhl.c (__csinhl): Likewise.
1644 * math/s_csinl.c (__csinl): Likewise.
1645 * math/s_ctan.c (__ctan): Likewise.
1646 * math/s_ctanf.c (__ctanf): Likewise.
1647 * math/s_ctanh.c (__ctanh): Likewise.
1648 * math/s_ctanhf.c (__ctanhf): Likewise.
1649 * math/s_ctanhl.c (__ctanhl): Likewise.
1650 * math/s_ctanl.c (__ctanl): Likewise.
1651 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1652 csin, csinh, ctan and ctanh.
1653 * math/auto-libm-test-out: Regenerated.
1654 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1655 * sysdeps/i386/fpu/libm-test-ulps: Update.
1656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1658 2015-06-24 Roland McGrath <roland@hack.frob.com>
1660 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1661 return value is wrong, print the expected value too.
1663 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1666 * elf/readlib.c (is_gdb_python_file): New.
1667 (process_file): Don't issue errors on filenames with -gdb.py
1670 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1672 * math/auto-libm-test-in: Add more tests of csin and csinh.
1673 * math/auto-libm-test-out: Regenerated.
1674 * math/libm-test.inc (csin_test_data): Remove tests moved to
1676 (csinh_test_data): Likewise.
1679 * math/s_csin.c (__csin): Negate before rather than after possibly
1680 overflowing multiplication.
1681 * math/s_csinf.c (__csinf): Likewise.
1682 * math/s_csinh.c (__csinh): Likewise.
1683 * math/s_csinhf.c (__csinhf): Likewise.
1684 * math/s_csinhl.c (__csinhl): Likewise.
1685 * math/s_csinl.c (__csinl): Likewise.
1686 * math/auto-libm-test-in: Add some tests of csin and csinh.
1687 * math/auto-libm-test-out: Regenerated.
1688 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1689 (csinh_test_data): Likewise.
1690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1693 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1694 underflow exception for small results.
1696 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
1698 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1699 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1700 variable and included header.
1701 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1702 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1703 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1704 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1705 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1706 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1707 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1708 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1709 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1710 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1711 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1712 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1713 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1714 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1715 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1716 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1718 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1722 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1723 (__sin): Force underflow exception for arguments with small
1725 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1726 (__kernel_sinf): Force underflow exception for arguments with
1727 small absolute value.
1728 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1729 (__kernel_sincosl): Force underflow exception for arguments with
1730 small absolute value.
1731 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1732 (__kernel_sinl): Force underflow exception for arguments with
1733 small absolute value.
1734 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1735 (__kernel_sincosl): Force underflow exception for arguments with
1736 small absolute value.
1737 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1738 (__kernel_sinl): Force underflow exception for arguments with
1739 small absolute value.
1740 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1741 (__kernel_sinl): Force underflow exception for arguments with
1742 small absolute value.
1743 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1744 (__kernel_sinf): Force underflow exception for arguments with
1745 small absolute value.
1746 * math/auto-libm-test-in: Add more tests of sin and sincos.
1747 * math/auto-libm-test-out: Regenerated.
1751 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1752 (__kernel_standard_l): Use feholdexcept and fesetenv around
1753 conversion to double instead of special-casing overflow and
1755 * math/libm-test.inc (fmod_test_data): Add more tests.
1756 (remainder_test_data): Likewise.
1757 (sqrt_test_data): Likewise.
1759 2015-06-23 Torvald Riegel <triegel@redhat.com>
1762 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1763 atomic_read_barrier, atomic_write_barrier): Define.
1764 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1765 atomic_read_barrier, atomic_write_barrier): Define.
1767 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1769 * math/Makefile [$(PERL) != no]
1770 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1771 dependency on libm-test.stmp below the inclusion of Rules.
1773 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
1775 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1776 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1777 and included header.
1778 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1779 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1780 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1781 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1782 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1783 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1784 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1785 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1786 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1787 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1788 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1789 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1790 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1791 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1792 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1793 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1794 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1795 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1796 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1798 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1801 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1802 intermediate but not final result might underflow.
1803 * math/s_csqrtf.c (__csqrtf): Likewise.
1804 * math/s_csqrtl.c (__csqrtl): Likewise.
1805 * math/auto-libm-test-in: Add more tests of csqrt.
1806 * math/auto-libm-test-out: Regenerated.
1807 * sysdeps/i386/fpu/libm-test-ulps: Update.
1810 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1811 threshold on absolute value of exponent for which scaling is used.
1812 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1813 * math/auto-libm-test-in: Add more tests of exp2.
1814 * math/auto-libm-test-out: Regenerated.
1816 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
1819 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1820 when initializing interface list, based on the bug analysis
1821 and the patch proposed by Eric Newton.
1822 * resolv/tst-res_hconf_reorder.c: New test.
1823 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1824 tst-res_hconf_reorder.
1825 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1826 and $(shared-thread-library).
1827 (tst-res_hconf_reorder-ENV): New variable.
1829 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1832 2015-06-22 Joseph Myers <joseph@codesourcery.com>
1835 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1836 (__expm1): Force underflow exception for arguments with small
1838 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1839 (__expm1f): Force underflow exception for arguments with small
1841 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1842 (__expm1): Force underflow exception for arguments with small
1844 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1845 (__expm1f): Force underflow exception for arguments with small
1847 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1848 Check for small arguments before calling __expm1.
1849 * math/auto-libm-test-in: Do not mark underflow exceptions as
1850 possibly missing for bug 16353.
1851 * math/auto-libm-test-out: Regenerated.
1853 2015-06-22 Andreas Schwab <schwab@suse.de>
1856 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1859 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
1861 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1863 * string/strcoll_l.c: Remove unused struct element idxnow.
1865 2015-06-21 Joseph Myers <joseph@codesourcery.com>
1868 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1869 underflow and return argument in case of subnormal argument.
1870 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1872 * math/auto-libm-test-in: Add more tests of expm1.
1873 * math/auto-libm-test-out: Regenerated.
1876 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1877 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1879 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1880 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1882 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
1883 mark underflow exceptions as possibly missing for bug 16361.
1884 * math/auto-libm-test-out: Regenerated.
1886 2015-06-19 Joseph Myers <joseph@codesourcery.com>
1888 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1889 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1891 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1892 (test-xfail-XOPEN2K8/utmpx.h/conform).
1894 * conform/conformtest.pl ($xerrors): New variable.
1895 (note_error): New function.
1896 (compiletest): New argument $xfail. Use not_error.
1897 (runtest): Likewise.
1898 (top level): Handle xfail- lines. Update calls to compiletest and
1899 runtest. Handle xfail- and optional- in headers listed with
1901 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1903 (O_SEARCH): Likewise.
1904 * conform/data/stropts.h-data (ioctl): Likewise.
1905 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1906 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1907 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1908 (msghdr.msg_controllen): Likewise.
1909 (cmsghdr.cmsg_len): Likewise.
1910 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1911 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1913 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1914 (test-xfail-XPG4/stropts.h/conform): Likewise.
1915 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1916 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1917 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1918 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1919 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1920 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1921 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1922 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1923 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1924 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1925 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1926 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1927 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1928 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1929 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1930 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1931 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1932 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1933 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1935 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
1937 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1938 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1939 definitions for proper unfolding of __MATHDECL_VEC.
1941 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1943 * benchtests/bench-strcoll.c:
1945 (main): Remove unused variable res.
1947 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1949 * timezone/Makefile (%/UTC %/Universal):
1950 Generate test-result files for UTC and Universal.
1952 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1954 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1956 2015-06-18 Joseph Myers <joseph@codesourcery.com>
1959 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1960 for arguments with small absolute value.
1961 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1962 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1963 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1964 (__asinh): Force underflow exception for arguments with small
1966 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1967 (__asinhf): Force underflow exception for arguments with small
1969 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1970 (__asinhl): Force underflow exception for arguments with small
1972 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1973 (__asinhl): Force underflow exception for arguments with small
1975 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1976 (__asinhl): Force underflow exception for arguments with small
1978 * math/auto-libm-test-in: Do not mark underflow exceptions as
1979 possibly missing for bug 16350.
1980 * math/auto-libm-test-out: Regenerated.
1982 * include/bits/ipc.h: Remove file.
1983 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1985 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1986 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1987 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1988 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1989 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1990 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1991 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1992 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1993 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1995 * math/auto-libm-test-in: Remove spurious underflow allowance for
1997 * math/auto-libm-test-out: Regenerated.
2000 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2001 unconditional definition.
2002 (MCAST_BLOCK_SOURCE): Likewise.
2003 (MCAST_UNBLOCK_SOURCE): Likewise.
2004 (MCAST_LEAVE_GROUP): Likewise.
2005 (MCAST_JOIN_SOURCE_GROUP): Likewise.
2006 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2007 (MCAST_MSFILTER): Likewise.
2008 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2010 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2011 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2012 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2013 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2014 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2016 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
2018 * NEWS: Mention addition of x86_64 vector sincosf.
2019 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2020 * math/test-float-vlen4.h: Likewise.
2021 * math/test-float-vlen8.h: Likewise.
2022 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2023 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2024 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2025 * sysdeps/x86_64/fpu/Versions: New versions added.
2026 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2027 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2028 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2029 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2030 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2031 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2032 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2033 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2034 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2035 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2036 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2037 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2038 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2039 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2040 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2041 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2042 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2043 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2044 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2045 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2046 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2047 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2048 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2049 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2051 * NEWS: Mention addition of x86_64 vector sincos.
2052 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2053 * math/math.h (__MATHDECL_VEC): New macro.
2054 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2055 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2056 declaration under condition.
2057 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2058 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2059 TEST_VEC_LOOP change.
2060 * math/test-double-vlen4.h: Likewise.
2061 * math/test-double-vlen8.h: Likewise.
2062 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2063 * math/test-float-vlen4.h: Likewise.
2064 * math/test-float-vlen8.h: Likewise.
2065 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2066 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2067 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2068 * sysdeps/x86_64/fpu/Versions: New versions added.
2069 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2070 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2071 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2072 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2073 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2074 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2075 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2076 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2077 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2078 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2079 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2080 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2081 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2082 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2083 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2084 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2085 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2086 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2087 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2088 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2089 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2090 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2091 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2092 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2094 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2095 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2096 redirections for powf.
2097 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2098 * sysdeps/x86_64/fpu/Versions: New versions added.
2099 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2100 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2101 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2102 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2103 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2104 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2105 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2106 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2107 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2108 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2109 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2110 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2111 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2112 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2113 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2114 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2115 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2116 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2117 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2118 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2119 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2120 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2121 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2122 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2123 * math/test-float-vlen16.h: Fixed 2 argument macro.
2124 * math/test-float-vlen4.h: Likewise.
2125 * math/test-float-vlen8.h: Likewise.
2126 * NEWS: Mention addition of x86_64 vector powf.
2128 2015-06-17 Joseph Myers <joseph@codesourcery.com>
2130 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2132 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2134 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2135 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2136 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2139 * resource/getpriority.c (getpriority): Rename to __getpriority
2140 and define as weak alias of __getpriority.
2141 * resource/setpriority.c (setpriority): Rename to __setpriority
2142 and define as weak alias of __setpriority.
2143 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2144 __getpriority and define as weak alias of __getpriority.
2145 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2146 __setpriority and define as weak alias of __setpriority.
2147 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2149 (setpriority): Use __setpriority as strong name.
2150 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2151 __getpriority and define as weak alias of __getpriority.
2152 * include/sys/resource.h (__getpriority): Declare. Use
2154 (__setpriority): Likewise.
2155 (getpriority): Don't use libc_hidden_proto.
2156 (setpriority): Likewise.
2157 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2158 getpriority. Call __setpriority instead of setpriority.
2159 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2163 * misc/getttyent.c (getttynam): Rename to __getttynam and define
2164 as weak alias of __getttynam. Use prototype function definition.
2165 Call __setttyent, __getttyent and __endttyent instead of
2166 setttyent, getttyent and endttyent.
2167 (getttyent): Rename to __getttyent and define as weak alias of
2168 __getttyent. Call __setttyent instead of setttyent. Call
2169 __fgets_unlocked instead of fgets_unlocked.
2170 (setttyent): Rename to __setttyent and define as weak alias of
2172 (endttyent): Rename to __endttyent and define as weak alias of
2174 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
2175 (__setttyent): Likewise.
2176 (__endttyent): Likewise.
2177 (getttyent): Don't use libc_hidden_proto.
2178 (setttyent): Likewise.
2179 (endttyent): Likewise.
2180 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2181 __endttyent instead of setttyent, getttyent and endttyent.
2182 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2186 * socket/recv.c (__recv): Use libc_hidden_def.
2187 * socket/socket.c (__socket): Likewise.
2188 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2189 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2190 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2191 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2192 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2194 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2196 * include/sys/socket.h (__socket): Do not use attribute_hidden.
2197 Use libc_hidden_proto.
2199 * socket/Versions (libc): Export __recv and __socket at version
2201 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2203 (init_mq_netlink): Call __socket instead of socket.
2204 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2208 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2209 __mq_timedreceive and define as alias of __mq_timedreceive. Use
2211 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2212 define as alias of __mq_timedsend. Use hidden_weak.
2213 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2214 __mq_timedsend as strong name.
2215 (mq_timedreceive): Use __mq_timedreceive as strong name.
2216 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
2217 (__mq_timedreceive): Likewise.
2218 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2219 __mq_timedreceive instead of mq_timedreceive.
2220 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2221 instead of mq_timedsend.
2222 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2225 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2226 hidden_def and hidden_weak instead of libc_hidden_def and
2228 (top level): Refer to hidden_def in comment.
2229 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2230 macro. Use it instead of libc_hidden_def.
2231 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2232 specify __GI_* name explicitly.
2233 (mq_timedreceive): Likewise.
2234 (mq_setattr): Likewise.
2237 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2238 __pthread_barrier_init and define as weak alias of
2239 __pthread_barrier_init.
2240 * sysdeps/sparc/nptl/pthread_barrier_init.c
2241 (pthread_barrier_init): Likewise.
2242 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2243 __pthread_barrier_wait and define as weak alias of
2244 __pthread_barrier_wait.
2245 * sysdeps/sparc/nptl/pthread_barrier_wait.c
2246 (pthread_barrier_wait): Likewise.
2247 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2248 (pthread_barrier_wait): Likewise.
2249 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2250 (pthread_barrier_wait): Likewise.
2251 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2252 (pthread_barrier_wait): Likewise.
2253 * nptl/Versions (libpthread): Export __pthread_barrier_init and
2254 __pthread_barrier_wait at version GLIBC_PRIVATE.
2255 * include/pthread.h (__pthread_barrier_init): Declare.
2256 (__pthread_barrier_wait): Likewise.
2257 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2258 Call __pthread_barrier_wait instead of pthread_barrier_wait.
2259 (helper_thread): Likewise.
2260 (init_mq_netlink): Call __pthread_barrier_init instead of
2261 pthread_barrier_init.
2264 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2265 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2266 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
2267 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2269 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2273 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2274 strong alias of _IO_fflush. Use libc_hidden_def.
2275 * libio/iofflush_u.c (fflush_unlocked): Rename to
2276 __fflush_unlocked and define as weak alias of __fflush_unlocked.
2277 Use libc_hidden_weak.
2278 * include/stdio.h (__fflush_unlocked): Declare. Use
2280 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2282 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2286 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2287 define as weak alias of __addseverity.
2288 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2290 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2291 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2292 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2295 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2296 (__tfind): Likewise.
2297 (__tdelete): Likewise.
2298 (__twalk): Likewise.
2299 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2300 __twalk to GLIBC_PRIVATE.
2301 * include/search.h (__tsearch): Use libc_hidden_proto.
2302 (__tfind): Likewise.
2303 (__tdelete): Likewise.
2304 (__twalk): Likewise.
2305 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2306 Call __tdelete instead of tdelete.
2307 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2308 tfind. Call __tsearch instead of tsearch.
2309 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2310 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2312 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2315 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2316 (dprintf): Define as a weak alias of __dprintf, not a strong
2318 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
2319 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2321 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2323 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2324 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2327 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2329 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2333 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2334 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
2335 (in6addr_loopback): Rename to __in6addr_loopback and define as
2336 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
2337 * include/netinet/in.h (__in6addr_loopback): Declare. Use
2339 (__in6addr_any): Likewise.
2340 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2342 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2344 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2346 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
2348 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2349 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2350 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2351 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2352 redirections for pow.
2353 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2354 * sysdeps/x86_64/fpu/Versions: New versions added.
2355 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2356 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2357 build of SSE, AVX2 and AVX512 IFUNC versions.
2358 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2359 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2360 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2361 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2362 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2363 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2364 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2365 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2366 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2367 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2368 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2369 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2370 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2371 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2372 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2373 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2374 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2375 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2376 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2377 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2378 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2379 * NEWS: Mention addition of x86_64 vector pow.
2381 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2382 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2383 redirections for expf.
2384 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2385 * sysdeps/x86_64/fpu/Versions: New versions added.
2386 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2387 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2388 build of SSE, AVX2 and AVX512 IFUNC versions.
2389 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2390 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2391 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2392 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2393 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2394 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2395 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2396 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2397 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2398 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2399 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2400 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2401 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2402 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2403 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2404 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2405 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2406 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2407 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2408 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2409 * NEWS: Mention addition of x86_64 vector expf.
2411 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2412 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2413 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2414 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2415 redirections for exp.
2416 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2417 * sysdeps/x86_64/fpu/Versions: New versions added.
2418 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2419 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2420 build of SSE, AVX2 and AVX512 IFUNC versions.
2421 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2422 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2423 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2424 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2425 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2426 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2427 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2428 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2429 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2430 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2431 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2432 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2433 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2434 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2435 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2436 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2437 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2438 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2439 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2440 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2441 * NEWS: Mention addition of x86_64 vector exp.
2443 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2444 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2445 redirections for logf.
2446 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2447 * sysdeps/x86_64/fpu/Versions: New versions added.
2448 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2449 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2450 build of SSE, AVX2 and AVX512 IFUNC versions.
2451 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2452 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2453 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2454 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2455 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2456 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2457 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2458 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2459 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2460 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2461 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2462 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2463 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2464 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2465 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2466 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2467 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2468 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2469 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2470 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2471 * NEWS: Mention addition of x86_64 vector logf.
2473 * bits/libm-simd-decl-stubs.h: Added stubs for log.
2474 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2475 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2476 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2477 redirections for log.
2478 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2479 * sysdeps/x86_64/fpu/Versions: New versions added.
2480 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2481 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2482 build of SSE, AVX2 and AVX512 IFUNC versions.
2483 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2484 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2485 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2486 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2487 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2488 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2489 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2490 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2491 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2492 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2493 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2494 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2495 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2497 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2498 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2499 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2500 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2501 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2502 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2503 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2504 * NEWS: Mention addition of x86_64 vector log.
2506 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
2508 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2509 cfi_adjust_cfa_offset argument.
2510 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2511 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2514 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2515 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2516 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2517 ordering using ldar.
2518 (_dl_tlsdesc_dynamic): Likewise.
2519 (_dl_tlsdesc_return_lazy): Likewise.
2520 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2521 relaxed atomics instead of volatile and synchronize with release store.
2522 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2524 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2526 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
2528 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2529 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2530 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2531 * sysdeps/x86_64/fpu/Versions: New versions added.
2532 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2533 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2534 build of SSE, AVX2 and AVX512 IFUNC versions.
2535 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2536 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2537 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2538 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2539 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2540 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2541 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2542 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2543 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2544 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2545 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2546 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2547 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2548 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2549 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2550 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2551 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2552 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2553 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2554 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2555 * NEWS: Mention addition of x86_64 vector sinf.
2557 2015-06-14 Joseph Myers <joseph@codesourcery.com>
2559 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2560 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2561 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2563 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2564 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2566 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2569 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2570 strong alias of _IO_fputs. Use libc_hidden_def.
2571 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2572 and define as weak alias of __fputs_unlocked. Use
2574 * include/stdio.h (__fputs_unlocked): Declare. Use
2576 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2580 * resolv/netdb.h [__USE_POSIX]: Change condition to
2582 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2584 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2585 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2586 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2587 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2588 [XPG4 || UNIX98] (AI_ALL): Likewise.
2589 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2590 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2591 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2592 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2593 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2594 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2595 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2596 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2597 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2598 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2599 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2600 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2601 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2602 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2603 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2604 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2605 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2606 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2607 [XPG4 || UNIX98] (gai_strerror): Likewise.
2608 [XPG4 || UNIX98] (getaddrinfo): Likewise.
2609 [XPG4 || UNIX98] (getnameinfo): Likewise.
2612 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2613 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2615 (getgrent): Likewise.
2616 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2618 [XPG3 || POSIX2008] (endgrent): Likewise.
2619 [XPG3] (setgrent): Likewise.
2620 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2622 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2625 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2626 define as weak alias of __getlogin_r. Use libc_hidden_weak.
2627 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2628 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2629 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2630 * include/unistd.h (__getlogin_r): Declare. Use
2632 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2633 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2635 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2636 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2637 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2639 2015-06-12 Martin Sebor <msebor@redhat.com>
2642 * Makerules (check-install-supported): New target.
2643 (install): Add check-install-supported as a dependency.
2644 * manual/install.texi (Installing the C Library): Document
2645 that overriding prefix and exec_prefix is not supported.
2647 * INSTALL: Regenerate from the above.
2649 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2652 * posix/Versions (libc): Export __libc_pread at version
2654 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2656 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2661 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2662 (cvt_symbol): Use weak_alias instead of strong_alias.
2663 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2664 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2666 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2667 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2670 * inet/herrno.c (h_errno): Rename to __h_errno.
2671 (__libc_h_errno): Define as alias of __h_errno not h_errno.
2672 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2673 to __h_errno instead of h_errno.
2674 * nptl/herrno.c (h_errno): Rename to __h_errno.
2675 (__h_errno_location): Refer to __h_errno not h_errno.
2676 * resolv/Versions (h_errno): Rename to __h_errno.
2677 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2679 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2681 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
2683 * configure.ac: More strict check for AVX512 assembler support.
2684 * configure: Regenerated.
2686 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2687 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2688 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2689 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2690 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2691 * sysdeps/x86_64/fpu/Versions: New versions added.
2692 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2693 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2694 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2695 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2696 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2697 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2698 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2699 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2700 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2701 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2702 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2703 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2704 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2705 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2706 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2707 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2709 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2710 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2711 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2712 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2713 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2714 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2715 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2716 * NEWS: Mention addition of x86_64 vector sin.
2718 2015-06-11 Florian Weimer <fweimer@redhat.com>
2720 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2723 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2726 * nptl/pt-interp.c: New file.
2727 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2729 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2730 $(common-objpfx)runtime-linker.h.
2732 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
2734 * Makeconfig (+interp): Remove unused variable.
2735 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2736 only. Depend on $(common-objpfx)runtime-linker.h instead of
2737 $(elf-objpfx)runtime-linker.h.
2738 ($(elf-objpfx)runtime-linker.h): Rename to
2739 $(common-objpfx)runtime-linker.h and move ...
2740 * Makerules [$(build-shared) = yes]: ... here.
2741 * elf/interp.c: Include <runtime-linker.h> instead of
2742 <elf/runtime-linker.h>.
2744 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2746 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2747 (__gettimeofday_syscall): Remove vsyscall fallback.
2748 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2749 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2750 Add syscall fallback function.
2751 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2752 if vDSO is not present.
2753 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2755 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2758 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2760 2015-06-09 Joseph Myers <joseph@codesourcery.com>
2763 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2765 (wcscmp): Define as weak alias of WCSCMP.
2766 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2768 (USE_HIDDEN_DEF): Define.
2769 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2770 __wcscoll. Don't use libc_hidden_weak.
2771 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2773 * sysdeps/i386/i686/multiarch/wcscmp-c.c
2774 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2776 (weak_alias): Undefine and redefine.
2777 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2778 __wcscmp and define as weak alias of __wcscmp.
2779 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2780 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
2781 (__wcscoll): Likewise.
2782 (wcscmp): Don't use libc_hidden_proto.
2783 (wcscoll): Likewise.
2784 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2786 * posix/regexec.c (check_node_accept_bytes): Likewise.
2787 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2789 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2790 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2793 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2794 __fstatvfs and define as weak alias of __fstatvfs. Use
2796 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2797 and define as weak alias of __statvfs. Use libc_hidden_weak.
2798 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2799 Define as alias of __fstatvfs, not fstatvfs.
2800 (fstatvfs64): Likewise.
2801 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2802 Define as alias of __statvfs, not statvfs.
2803 (statvfs64): Likewise.
2804 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2807 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2810 (HAVE_GETCPU_VSYSCALL): Define.
2811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2812 (HAVE_GETCPU_VSYSCALL): Likewise.
2813 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2814 * sysdeps/unix/sysv/linux/sched_getcpu.c
2815 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2816 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2817 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2819 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2820 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2821 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2824 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2825 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2826 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2827 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2829 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
2831 * sysdeps/x86_64/fpu/Makefile: New file.
2832 * sysdeps/x86_64/fpu/Versions: New file.
2833 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2834 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2835 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2836 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2837 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2838 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2839 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2840 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2841 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2842 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2843 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2844 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2845 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2846 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2847 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2848 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2849 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2850 * sysdeps/x86_64/configure.ac: Options for libmvec build.
2851 * sysdeps/x86_64/configure: Regenerated.
2852 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2853 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2854 * manual/install.texi (Configuring and compiling): Document
2856 * INSTALL: Regenerated.
2857 * NEWS: Mention addition of libmvec and x86_64 vector cos.
2859 * math/Makefile: Added rules for vector tests.
2860 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2861 declaration under condition.
2862 * math/test-double-vlen2.h: New file.
2863 * math/test-double-vlen4.h: New file.
2864 * math/test-double-vlen8.h: New file.
2865 * math/test-vec-loop.h: Added initialization macro.
2866 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2867 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2868 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2869 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2870 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2871 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2872 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2873 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2874 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2875 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2876 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2878 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2879 * sysdeps/x86_64/fpu/Versions: New versions added.
2880 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2881 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2882 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2883 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2884 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2885 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2886 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2887 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2888 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2889 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2890 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2891 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2892 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2893 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2894 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2895 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2896 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2897 * NEWS: Mention addition of x86_64 vector cosf.
2899 * math/Makefile: Added CFLAGS for new tests.
2900 * math/test-float-vlen16.h: New file.
2901 * math/test-float-vlen4.h: New file.
2902 * math/test-float-vlen8.h: New file.
2903 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2904 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2905 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2906 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2907 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2908 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2909 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2910 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2911 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2912 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2913 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2915 2015-06-09 Marko Myllynen <myllynen@redhat.com>
2917 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2918 * locale/programs/ld-ctype.c: Likewise.
2920 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
2922 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2923 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2924 bit_ZMM16_31_state): New macro.
2925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2926 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2928 2015-06-08 Joseph Myers <joseph@codesourcery.com>
2930 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2932 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
2934 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2936 2015-06-05 Joseph Myers <joseph@codesourcery.com>
2939 * libio/memstream.c (open_memstream): Rename to __open_memstream
2940 and define as weak alias of __open_memstream.
2941 * include/stdio.h (__open_memstream): Declare. Use
2943 (open_memstream): Don't use libc_hidden_proto.
2944 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2946 * posix/getopt.c (_getopt_internal_r): Likewise.
2947 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2949 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2950 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2951 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2954 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2958 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2959 [__USE_XOPEN2K8]. Remove redundant #endif.
2960 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2961 Remove redundant #if.
2962 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2964 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2965 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2968 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2969 (__iswlower): Likewise.
2970 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
2971 (__iswlower): Likewise.
2972 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2973 instead of towlower.
2974 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2975 instead of iswlower. Call __towupper instead of towupper.
2976 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2977 instead of iswalnum.
2979 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2981 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2984 2015-06-05 Florian Weimer <fweimer@redhat.com>
2988 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2989 Check for overflow properly. Check for O_APPEND. Ignore large
2990 file system block sizes. Add comments about problems.
2991 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2992 * manual/filesys.texi (Storage Allocation): New node.
2994 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2996 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2997 cancellable syscalls.
2998 (SYS_ify): Add guard to no redefine it.
2999 (INLINE_SYSCALL): Likewise.
3000 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3001 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3002 SYSCALL_CANCEL instead.
3003 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3004 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3005 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3006 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3007 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3008 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3009 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3010 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3011 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3012 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3013 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3014 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3015 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3016 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3017 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3018 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3020 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3021 (__libc_pread64): Likewise.
3022 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3023 (__libc_preadv): Likewise.
3024 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3025 (__libc_readv64): Likewise.
3026 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3027 (__libc_pwrite): Likewise.
3028 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3029 (__libc_pwrite64): Likewise.
3030 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3031 (__libc_pwritev): Likewise.
3032 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3033 (__libc_pwritev64): Likewise.
3034 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3035 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3036 (sync_file_range): Likewise.
3037 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3039 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3041 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3042 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3043 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3044 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3045 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3046 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3047 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3048 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3052 (__libc_read64): Likewise.
3053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3062 (__libc_pread64): Likewise.
3063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3066 (__libc_pwrite64): Likewise.
3067 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3068 (sync_file_range): Likewise.
3069 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3070 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3071 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3072 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3073 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3074 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3075 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3076 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3077 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3078 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3079 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3080 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3081 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3082 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3083 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3084 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3085 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3086 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3087 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3089 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3091 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3092 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3094 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3095 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3096 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3097 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3099 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3100 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3101 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3102 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3103 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3105 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
3107 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3109 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3110 Use VDSO routines for gettimeofday, clock_gettime if
3112 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3113 Declare VDSO symbols.
3114 * sysdeps/unix/sysv/linux/arm/sysdep.h:
3115 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3116 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3117 * sysdeps/unix/sysv/linux/arm/Versions: Add
3118 __vdso_clock_gettime.
3120 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3122 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3123 be an inline implementation regardless of library is built within.
3124 (open_not_cancel_2): Likewise.
3125 (__read_nocancel): Likewise.
3126 (__write_nocancel): Likewise.
3127 (openat_not_cancel): Likewise.
3128 (openat_not_cancel_3): Likewise.
3129 (openat64_not_cancel): Likewise.
3130 (openat64_not_cancel_3): Likewise.
3131 (__close_nocancel): Likewise.
3132 (pause_not_cancel): Likewise.
3133 (nanosleep_not_cancel): Likewise.
3134 (sigsuspend_not_cancel): Likewise.
3136 2015-06-04 Torvald Riegel <triegel@redhat.com>
3139 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3141 (__pthread_rwlock_rdlock_slow): Likewise.
3142 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3144 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3146 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3147 * nptl/tst-rwlock16.c: New file.
3148 * nptl/Makefile (tests): Add new test.
3150 2015-06-04 Torvald Riegel <triegel@redhat.com>
3153 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3154 missing wake-up of readers.
3155 * nptl/tst-rwlock15.c: New file.
3156 * nptl/Makefile (tests): Add new test.
3158 2015-06-03 Roland McGrath <roland@hack.frob.com>
3160 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3161 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3162 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3163 and __nacl_supply_interface_rtld.
3164 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3165 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3166 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3167 Add __nacl_supply_interface_rtld.
3168 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3170 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
3172 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3174 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3175 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3177 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
3179 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3180 __signbit* with standard C99 macros.
3181 * math/e_exp10l.c: Likewise.
3182 * math/e_exp2l.c: Likewise.
3183 * math/e_scalb.c: Likewise.
3184 * math/e_scalbf.c: Likewise.
3185 * math/e_scalbl.c: Likewise.
3186 * math/s_ldexp.c: Likewise.
3187 * math/s_ldexpf.c: Likewise.
3188 * math/s_ldexpl.c: Likewise.
3189 * math/w_atan2.c: Likewise.
3190 * math/w_atan2f.c: Likewise.
3191 * math/w_atan2l.c: Likewise.
3192 * math/w_cosh.c: Likewise.
3193 * math/w_coshf.c: Likewise.
3194 * math/w_coshl.c: Likewise.
3195 * math/w_exp10.c: Likewise.
3196 * math/w_exp10f.c: Likewise.
3197 * math/w_exp10l.c: Likewise.
3198 * math/w_exp2.c: Likewise.
3199 * math/w_exp2f.c: Likewise.
3200 * math/w_exp2l.c: Likewise.
3201 * math/w_fmod.c: Likewise.
3202 * math/w_fmodf.c: Likewise.
3203 * math/w_fmodl.c: Likewise.
3204 * math/w_hypot.c: Likewise.
3205 * math/w_hypotf.c: Likewise.
3206 * math/w_hypotl.c: Likewise.
3207 * math/w_jnl.c: Likewise.
3208 * math/w_lgamma.c: Likewise.
3209 * math/w_lgamma_r.c: Likewise.
3210 * math/w_lgammaf.c: Likewise.
3211 * math/w_lgammaf_r.c: Likewise.
3212 * math/w_lgammal.c: Likewise.
3213 * math/w_lgammal_r.c: Likewise.
3214 * math/w_pow.c: Likewise.
3215 * math/w_powf.c: Likewise.
3216 * math/w_powl.c: Likewise.
3217 * math/w_remainder.c: Likewise.
3218 * math/w_remainderf.c: Likewise.
3219 * math/w_remainderl.c: Likewise.
3220 * math/w_scalb.c: Likewise.
3221 * math/w_scalbf.c: Likewise.
3222 * math/w_scalbl.c: Likewise.
3223 * math/w_scalbln.c: Likewise.
3224 * math/w_scalblnf.c: Likewise.
3225 * math/w_scalblnl.c: Likewise.
3226 * math/w_sinh.c: Likewise.
3227 * math/w_sinhf.c: Likewise.
3228 * math/w_sinhl.c: Likewise.
3229 * math/w_tgamma.c: Likewise.
3230 * math/w_tgammaf.c: Likewise.
3231 * math/w_tgammal.c: Likewise.
3232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3233 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3234 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3235 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3236 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3237 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3238 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3239 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3240 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3241 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3242 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3243 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3244 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3245 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3246 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3247 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3248 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3249 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3250 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3251 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3252 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3253 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3254 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3255 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3256 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3257 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3258 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3259 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3261 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3262 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3263 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3264 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3265 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3266 * stdio-common/printf_fp.c: Likewise.
3267 * stdio-common/printf_fphex.c: Likewise.
3268 * stdio-common/printf_size.c: Likewise.
3270 2015-06-03 Joseph Myers <joseph@codesourcery.com>
3273 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3275 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3277 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3278 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3279 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3280 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3281 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3282 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3283 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3284 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3285 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3286 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3289 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3290 weak alias of __wmemchr. Use libc_hidden_weak.
3291 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
3292 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3295 2015-06-02 Roland McGrath <roland@hack.frob.com>
3298 * elf/tst-tlsalign-extern.c: New file.
3299 * elf/tst-tlsalign-extern-static.c: New file.
3300 * elf/tst-tlsalign-vars.c: New file.
3301 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3302 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3303 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3304 ($(objpfx)tst-tlsalign-extern-static): Likewise.
3305 (test-xfail-tst-tlsalign-extern-static): New variable.
3307 2015-06-02 Joseph Myers <joseph@codesourcery.com>
3309 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3310 Use variable name _sc_err instead of err.
3311 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3313 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3314 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3315 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3316 (INLINE_SYSCALL): Likewise.
3318 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3319 * include/string.h (__strnlen): Use libc_hidden_proto.
3320 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3321 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3322 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3323 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3324 (libc_hidden_def): Undefine and redefine.
3325 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3326 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3328 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3330 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3333 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3334 weak alias of __towlower. Use libc_hidden_weak.
3335 (towupper): Rename to __towupper and define as weak alias of
3336 __towupper. Use libc_hidden_weak.
3337 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
3338 (__towupper): Likewise.
3339 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3340 __towlower instead of towlower.
3342 2015-06-02 Roland McGrath <roland@hack.frob.com>
3344 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3345 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3347 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3349 * sysdeps/aarch64/libm-test-ulps: Update.
3351 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3353 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3355 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3356 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3357 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3358 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3359 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3360 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3361 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3363 2015-06-01 Martin Sebor <msebor@redhat.com>
3366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3367 (__setcontext): Use extended four-operand version of mtsf whenever
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3370 (__novec_swapcontext): Likewise.
3372 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3374 * benchtests/scripts/compare_bench.py: New file.
3375 * benchtests/scripts/import_bench.py (mean): New function.
3376 (split_list): Likewise.
3377 (do_for_all_timings): Likewise.
3378 (compress_timings): Likewise.
3380 * benchtests/scripts/import_bench.py: New file.
3381 * benchtests/scripts/validate_benchout.py: Import import_bench
3382 instead of jsonschema.
3383 (validate_bench): Remove function.
3384 (main): Use import_bench.
3386 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
3388 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3389 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3391 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3395 2015-05-28 Roland McGrath <roland@hack.frob.com>
3397 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3398 set THREAD_SELF->tid to a magic value and futex-wake it.
3399 Pass its address to the thread_exit system call.
3400 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3402 * sysdeps/nacl/lowlevellock.h: New file.
3403 * sysdeps/nacl/lll_timedwait_tid.c: New file.
3405 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3406 Add TIMEOUT to current time, don't subtract it.
3408 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
3412 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3413 ($(objpfx)tst-audit2.out): Also depend on
3414 $(objpfx)tst-auditmod9b.so.
3415 * elf/tst-audit2.c: Include <dlfcn.h>.
3416 (calloc_called): New.
3417 (calloc): Allow to be called more than once.
3418 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3420 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
3422 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3423 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3425 2015-05-27 Marko Myllynen <myllynen@redhat.com>
3427 * stdlib/monetary.h: Fix comment.
3429 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
3431 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3432 Avoid using variables in #defines that might cause shadowing.
3433 (INTERNAL_VSYSCALL_CALL): Likewise.
3435 2015-05-26 Roland McGrath <roland@hack.frob.com>
3437 * sysdeps/nacl/lll_timedlock_wait.c: New file.
3439 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3440 * nptl/lll_timedlock_wait.c: ... to this new file.
3441 * nptl/Makefile (libpthread-routines): Add it.
3442 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3443 * nptl/lll_timedwait_tid.c: ... to this new file.
3444 * nptl/Makefile (libpthread-routines): Add it.
3445 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3446 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3447 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3448 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3449 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3450 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3451 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3452 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3453 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3454 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3456 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3458 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3459 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3460 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3461 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3462 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3463 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3464 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3465 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3466 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3467 * sysdeps/unix/sysv/linux/tile/sysdep.h
3468 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3469 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3470 using vDSO syscall macro.
3472 2015-05-26 Andriy Rysin <arysin@gmail.com>
3475 * uk_UA: Fix sorting order for Ukrainian locale
3477 2015-05-26 Marko Myllynen <myllynen@redhat.com>
3479 * stdlib/monetary.h: Fix comment.
3481 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
3484 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3485 st_mtim and st_ctim members.
3486 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3487 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3488 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3489 (struct stat64): Likewise.
3490 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3491 (struct stat64): Likewise.
3492 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3493 (struct stat64): Likewise.
3495 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3497 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3498 Define and include sysdep-vdso.h.
3499 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3501 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3503 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3504 Define with VDSO_SYMBOL and use PTR_MANGLE.
3505 (__vdso_clock_gettime): Likewise.
3506 (__vdso_clock_getres): Likewise.
3507 (_libc_vdso_platform_setup): Likewise.
3508 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3510 (_libc_vdso_platform_setup): Likewise.
3511 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3513 (__vdso_clock_gettime): Likewise.
3514 (__vdso_clock_getres): Likewise.
3515 (__vdso_get_tbfreq): Likewise.
3516 (__vdso_getcpu): Likewise.
3517 (__vdso_time): Likewise.
3518 (__vdso_sigtramp_rt64): Likewise.
3519 (__vdso_signtramp32): Likewise.
3520 (__vdso_sigtramp_rt32): Likewise.
3521 (_libc_vdso_platform_setup): Likewise.
3522 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3524 (__vdso_clock_gettime): Likewise.
3525 (__vdso_clock_getres): Likewise.
3526 (_libc_vdso_platform_setup): Likewise.
3527 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3529 (__vdso_clock_gettime): Likewise.
3530 (_libc_vdso_platform_setup): Likewise.
3531 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3533 (__vdso_getcpu): Likewise.
3534 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3535 Use VDSO_SYMBOL macro to define.
3536 (__vdso_clock_gettime): Likewise.
3537 (__vdso_clock_getres): Likewise.
3538 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3540 (__vdso_clock_gettime): Likewise.
3541 (__vdso_clock_getres): Likewise.
3542 (__vdso_get_tbfreq): Likewise.
3543 (__vdso_getcpu): Likewise.
3544 (__vdso_time): Likewise.
3545 (__vdso_sigtramp_rt64): Likewise.
3546 (__vdso_signtramp32): Likewise.
3547 (__vdso_sigtramp_rt32): Likewise.
3548 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3550 (__vdso_clock_gettime): Likewise.
3551 (__vdso_clock_getres): Likewise.
3552 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3554 (__vdso_clock_gettime): Likewise.
3555 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3557 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
3559 (INTERNAL_VSYSCALL): Likewise.
3560 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3562 (INTERNAL_VSYSCALL): Likewise.
3563 (INTERNAL_VSYSCALL_NCS): Likewise.
3564 (INTERNAL_VSYSCALL_CALL): New macro.
3565 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3566 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3568 (INTERNAL_VSYSCALL): Likewise.
3569 (INTERNAL_VSYSCALL_NCS): Likewise.
3570 (INTERNAL_VSYSCALL_CALL): New macro.
3571 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3573 (INLINE_VSYSCALL): Remove macro.
3574 (INTERNAL_VSYSCALL): Remove macro.
3575 (INTERNAL_VSYSCALL_NCS): Remove macro.
3576 (INTERNAL_VSYSCALL_CALL): New macro.
3577 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3578 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3579 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3580 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3581 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3583 (INLINE_VSYSCALL): Remove macro.
3584 (INTERNAL_VSYSCALL): Likewise.
3585 (INTERNAL_VSYSCALL_NCS): Likewise.
3586 (INTERNAL_VSYSCALL_CALL): New macro.
3587 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3588 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3589 PTR_DEMANGLE on vDSO pointer.
3590 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3591 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3593 (INTERNAL_SYSCALL): Likewise.
3594 (INTERNAL_VSYSCALL_NCS): Remove macro.
3595 (INTERNAL_VSYSCALL_CALL): New macro.
3596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3598 (INTERNAL_VSYSCALL): Likewise.
3599 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3600 sysdep-vdso.h instead of libc-vdso.h.
3601 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3603 (INLINE_VSYSCALL): Likewise.
3604 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3605 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3607 (INLINE_VSYSCALL): Likewise.
3608 (INTERNAL_VSYSCALL): Likewise.
3609 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3610 * sysdeps/unix/sysv/linux/timespec_get.c
3611 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3612 (timespec_get): Use ANSI prototype.
3613 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3614 and definition for Linux.
3616 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
3618 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3619 * include/libc-symbols.h: libmvec_hidden_* macro series added.
3621 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
3625 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3626 for missing DT_PLTRELSZ.
3628 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
3630 Remove obsolete aliases that broke 'locale -a'
3632 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3633 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3634 breaking some applications that use 'locale -a' output.
3635 Change the encoding of this file from Latin-1 to ASCII to avoid
3636 other potential problems with people grepping this file.
3638 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3640 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3641 -fasynchronous-unwind-tables.
3642 (CFLAGS-sendto.c): Likewise.
3643 (CFLAGS-sendmsg.c): Likewise.
3644 (CFLAGS-connect.c): Likewise.
3645 (CFLAGS-recvmsg.c): Likewise.
3646 (CFLAGS-recvfrom.c): Likewise.
3647 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3648 (SOCKETCALL): New macro: non-cancellable socketcall.
3649 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3650 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3651 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3652 * sysdeps/unix/sysv/linux/accept.c: New file.
3653 * sysdeps/unix/sysv/linux/bind.c: Likewise.
3654 * sysdeps/unix/sysv/linux/connect.c: Likewise.
3655 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3656 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3657 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3658 * sysdeps/unix/sysv/linux/listen.c: Likewise.
3659 * sysdeps/unix/sysv/linux/recv.c: Likewise.
3660 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3661 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3662 * sysdeps/unix/sysv/linux/send.c: Likewise.
3663 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3664 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3665 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3666 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3667 * sysdeps/unix/sysv/linux/socket.c: Likewise.
3668 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3669 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3671 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3672 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3673 instead of __internal_xxx function.
3674 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3676 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3677 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3678 instead of __internal_xxx function.
3679 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3681 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3682 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3683 instead of __internal_xxx function.
3684 * sysdeps/unix/sysv/linux/accept.S: Remove file.
3685 * sysdeps/unix/sysv/linux/bind.S: Likewise.
3686 * sysdeps/unix/sysv/linux/connect.S: Likewise.
3687 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3688 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3689 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3690 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3691 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3692 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3693 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3694 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3695 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3696 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3697 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3698 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3699 * sysdeps/unix/sysv/linux/listen.S: Likewise.
3700 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3701 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3702 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3703 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3706 * sysdeps/unix/sysv/linux/recv.S: Likewise.
3707 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3708 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3709 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3710 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3711 * sysdeps/unix/sysv/linux/send.S: Likewise.
3712 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3713 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3714 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3715 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3716 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3717 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3718 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3719 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3720 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3721 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3722 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3723 socketcall is implemented in GLIBC.
3725 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3727 * soft-fp/fmadf4.c: Include <libc-internal.h>.
3728 (__fma): Ignore uninitialized warnings around packing.
3729 * soft-fp/fmasf4.c: Include <libc-internal.h>.
3730 (__fmaf): Ignore uninitialized warnings around packing.
3731 * soft-fp/fmatf4.c: Include <libc-internal.h>.
3732 (__fmal): Ignore uninitialized warnings around packing.
3734 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3735 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3736 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3737 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3739 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3740 switch statement into default case.
3741 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3743 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3744 a conditional in forcing "inexact".
3745 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3748 2015-05-22 Roland McGrath <roland@hack.frob.com>
3750 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3751 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3752 for each INTERNAL_SYSCALL use.
3754 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3757 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3758 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3762 * string/basename.c (basename): Rename to __basename and define as
3763 weak alias of __basename. Use libc_hidden_weak.
3764 * include/string.h (__basename): Declare. Use libc_hidden_proto.
3765 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3766 __basename instead of basename.
3767 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3769 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3771 2015-05-18 Florian Weimer <fweimer@redhat.com>
3773 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3774 (_IO_JUMPS_FILE_plus): New.
3775 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3776 _IO_CAST_FIELD_ACCESS.
3777 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3778 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3779 * libio/freopen.c (freopen): Likewise.
3780 * libio/freopen64.c (freopen64): Likewise.
3781 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3782 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3783 * libio/iofwide.c (_IO_fwide): Likewise.
3784 * libio/memstream.c (open_memstream): Likewise.
3785 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3786 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3787 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3789 2015-05-21 Joseph Myers <joseph@codesourcery.com>
3791 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3792 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3794 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3795 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3797 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3798 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3801 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3804 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3805 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3807 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3808 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3809 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3811 2015-05-21 Florian Weimer <fweimer@redhat.com>
3813 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3814 Adjust jump table label generation macros.
3816 2015-05-21 Florian Weimer <fweimer@redhat.com>
3818 * stdio-common/vfprintf.c (vfprintf): Move local variables
3819 args_malloced, specs, specs_malloced, and the code after
3820 do_positional to the printf_positional function.
3821 (printf_positional): New function.
3823 2015-05-21 Florian Weimer <fweimer@redhat.com>
3825 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3827 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3828 STEP4_TABLE, process_arg): Move macro definitions
3829 out of the vfprintf function. (Cosmetic change only.)
3831 2015-05-21 Carlos O'Donell <carlos@redhat.com>
3833 * benchtests/Makefile (stdio-common-bench): Define.
3834 (benchset): Add stdio-common-bench.
3835 * sprintf-inputs: New file.
3836 * sprintf-source.c: New file.
3838 2015-05-21 Andreas Schwab <schwab@suse.de>
3842 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3843 of struct __res_state.
3844 * resolv/res_send.c (__libc_res_nsend): Likewise.
3845 (get_nsaddr): New function.
3846 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3849 2015-05-20 Joseph Myers <joseph@codesourcery.com>
3851 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3852 -D_POSIX_C_SOURCE=199506L.
3854 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3856 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3857 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3858 Do not mention otherwise.
3859 [POSIX] (_XOPEN_VERSION): Do not expect.
3860 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3861 [POSIX] (_POSIX2_C_BIND): Likewise.
3862 [POSIX] (_POSIX2_VERSION): Likewise.
3863 [POSIX] (_XOPEN_XPG2): Likewise.
3864 [POSIX] (_XOPEN_XPG3): Likewise.
3865 [POSIX] (_XOPEN_XPG4): Likewise.
3866 [POSIX] (_XOPEN_UNIX): Likewise.
3867 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3868 [POSIX] (_POSIX_BARRIERS): Likewise.
3869 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3870 [POSIX] (_POSIX_CPUTIME): Likewise.
3871 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3872 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3873 [POSIX] (_POSIX_SHELL): Likewise.
3874 [POSIX] (_POSIX_SPAWN): Likewise.
3875 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3876 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3877 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3878 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3879 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3880 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3881 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3882 [POSIX] (_XBS5_LP64_OFF64): Likewise.
3883 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3884 [POSIX] (_POSIX_TIMEOUTS): Likewise.
3885 [POSIX] (_POSIX2_PBS): Likewise.
3886 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3887 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3888 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3889 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3890 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3891 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3892 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3893 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3894 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3895 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3896 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3897 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3898 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3899 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3900 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3901 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3902 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3903 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3904 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3905 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3906 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3907 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3908 [POSIX] (_SC_2_C_BIND): Likewise.
3909 [POSIX] (_SC_2_C_VERSION): Likewise.
3910 [POSIX] (_SC_2_PBS): Likewise.
3911 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3912 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3913 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3914 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3915 [POSIX] (_SC_2_PBS_TRACK): Likewise.
3916 [POSIX] (_SC_ATEXIT_MAX): Likewise.
3917 [POSIX] (_SC_BARRIERS): Likewise.
3918 [POSIX] (_SC_BASE): Likewise.
3919 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3920 [POSIX] (_SC_DEVICE_IO): Likewise.
3921 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3922 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3923 [POSIX] (_SC_FD_MGMT): Likewise.
3924 [POSIX] (_SC_FIFO): Likewise.
3925 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3926 [POSIX] (_SC_FILE_LOCKING): Likewise.
3927 [POSIX] (_SC_FILE_SYSTEM): Likewise.
3928 [POSIX] (_SC_IOV_MAX): Likewise.
3929 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3930 [POSIX] (_SC_NETWORKING): Likewise.
3931 [POSIX] (_SC_PAGE_SIZE): Likewise.
3932 [POSIX] (_SC_PASS_MAX): Likewise.
3933 [POSIX] (_SC_PIPE): Likewise.
3934 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3935 [POSIX] (_SC_REGEXP): Likewise.
3936 [POSIX] (_SC_SHELL): Likewise.
3937 [POSIX] (_SC_SIGNALS): Likewise.
3938 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3939 [POSIX] (_SC_SPIN_LOCKS): Likewise.
3940 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3941 [POSIX] (_SC_USER_GROUPS): Likewise.
3942 [POSIX] (_SC_USER_GROUPS_R): Likewise.
3943 [POSIX] (_SC_STREAMS): Likewise.
3944 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3945 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3946 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3947 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3948 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3949 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3950 [POSIX] (_PC_FILESIZEBITS): Likewise.
3951 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3952 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3953 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3954 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3955 [POSIX] (uid_t): Likewise.
3956 [POSIX] (gid_t): Likewise.
3957 [POSIX] (off_t): Likewise.
3958 [POSIX] (pid_t): Likewise.
3959 [POSIX] (cuserid): Allow.
3960 (_SC_2_CHAR_TERM): Require constant.
3961 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3962 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3965 2015-05-20 Roland McGrath <roland@hack.frob.com>
3967 * sysdeps/nacl/pthread-pids.h: New file.
3968 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3969 (create_thread): Use __nacl_get_tid to initialize PD->tid.
3971 * nptl/pthread-pids.h: New file.
3972 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3973 * nptl/nptl-init.c: Include <pthread-pids.h>.
3974 (__pthread_initialize_minimal_internal):
3975 Call __pthread_initialize_pids instead of set_tid_address syscall.
3977 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3978 * sysdeps/posix/usleep.c: ... here.
3980 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3982 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3983 call_pselect6 object.
3984 [$(subdir) = io]: Remove call_sync_file_range object.
3985 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3986 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3987 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3988 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3990 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
3992 * math/s_cproj.c: Add include "math_private.h".
3993 * math/s_cprojf.c: Likewise.
3994 * math/s_cprojl.c: Likewise.
3996 2015-05-19 Joseph Myers <joseph@codesourcery.com>
3999 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4000 high mantissa bit when testing whether P is a NaN.
4001 * math/libm-test.inc (remainder_test_data): Add more tests.
4002 (remquo_test_data): Likewise.
4005 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4006 below -32, return the argument, with underflow if subnormal.
4007 * math/auto-libm-test-in: Add more tests of atanh.
4008 * math/auto-libm-test-out: Regenerated.
4010 2015-05-19 Roland McGrath <roland@hack.frob.com>
4013 * nptl/tst-sem15.c: New file.
4014 * nptl/Makefile (tests): Add it.
4015 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4016 s/<</>>/ to fix typo in EOVERFLOW check.
4017 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4019 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4021 * manual/strings.texi (envz_remove): Fix typo in safety
4024 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
4025 Steve Ellcey <sellcey@imgtec.com>
4027 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4028 in order to avoid strict alias warnings.
4029 (iruserok_af): Ditto for ra.
4031 2015-05-19 James Lemke <jwlemke@codesourcery.com>
4035 (magicbyte): Convert to a function and avoid returning 0x01.
4036 (mem2mem_check): Avoid using a length byte equal to the magic byte.
4037 (mem2chunk_check): Fix unsigned comparisons to zero.
4038 Hoist defs of sz and magic.
4040 2015-05-19 Richard Henderson <rth@redhat.com>
4042 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4044 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4046 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4049 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4050 * malloc/arena.c (arena_lock): Check if arena is corrupt.
4051 (reused_arena): Find a non-corrupt arena.
4052 (heap_trim): Pass arena to unlink.
4053 * malloc/hooks.c (malloc_check_get_size): Pass arena to
4055 (top_check): Likewise.
4056 (free_check): Likewise.
4057 (realloc_check): Likewise.
4058 * malloc/malloc.c (malloc_printerr): Add arena argument.
4060 (munmap_chunk): Adjust.
4061 (ARENA_CORRUPTION_BIT): New macro.
4062 (arena_is_corrupt): Likewise.
4063 (set_arena_corrupt): Likewise.
4064 (sysmalloc): Use mmap if there are no usable arenas.
4065 (_int_malloc): Likewise.
4066 (__libc_malloc): Don't fail if arena_get returns NULL.
4067 (_mid_memalign): Likewise.
4068 (__libc_calloc): Likewise.
4069 (__libc_realloc): Adjust for additional argument to
4071 (_int_free): Likewise.
4072 (malloc_consolidate): Likewise.
4073 (_int_realloc): Likewise.
4074 (_int_memalign): Don't touch corrupt arenas.
4075 * malloc/tst-malloc-backtrace.c: New test case.
4077 * Makefile (summarize-tests): Fix return value on success.
4079 * manual/string.texi (Envz Functions): Add envz_remove.
4081 2015-05-18 Roland McGrath <roland@hack.frob.com>
4083 * sysdeps/posix/opendir.c: Include <stdbool.h>.
4084 (invalid_name): New function, broken out of ...
4085 (__opendirat): ... here. Call it.
4086 (need_isdir_precheck): New function, broken out of ...
4087 (__opendirat): ... here. Call it.
4088 Use __fxstatat64, not __xstatat64.
4089 (opendir_oflags): New function, broken out of ...
4090 (__opendirat): ... here. Call it.
4091 (opendir_tail): New function, broken out of ...
4092 (__opendirat): ... here. Call it.
4093 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4094 opendir_tail, rather than punting to __opendirat.
4095 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4097 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4099 * .gitignore: Ignore generated *.pyc.
4101 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
4103 * include/stdio.h: Define __need_wint_t.
4104 * test-skeleton.c: Avoid `for' loop initial declaration.
4105 * nptl/tst-initializers1.c: Use test-skeleton.c.
4107 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4110 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4112 2015-05-15 Joseph Myers <joseph@codesourcery.com>
4115 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4116 (__ieee754_atanh): Force underflow exception for results with
4117 small absolute value.
4118 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4119 (__ieee754_atanhf): Force underflow exception for results with
4120 small absolute value.
4121 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4122 (__ieee754_atanh): Force underflow exception for results with
4123 small absolute value.
4124 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4125 (__ieee754_atanhf): Force underflow exception for results with
4126 small absolute value.
4127 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4128 (__ieee754_atanhl): Force underflow exception for results with
4129 small absolute value.
4130 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4131 (__ieee754_atanhl): Force underflow exception for results with
4132 small absolute value.
4133 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4134 (__ieee754_atanhl): Force underflow exception for results with
4135 small absolute value.
4136 * math/auto-libm-test-in: Do not allow missing underflow
4137 exceptions from atanh.
4138 * math/auto-libm-test-out: Regenerated.
4141 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4142 2**-28 as threshold for returning x or +/- 1/x.
4143 * math/auto-libm-test-in: Add more tests of tan.
4144 * math/auto-libm-test-out: Regenerated.
4147 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4148 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4149 * math/auto-libm-test-in: Add another test of lgamma.
4150 * math/auto-libm-test-out: Regenerated.
4152 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
4154 * stdio-common/printf_fp.c (___printf_fp): Use abs.
4155 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
4156 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4157 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4158 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
4159 (ADD2A): Use fabs. (SUB2A): Use fabs.
4160 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4161 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4162 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4163 (log1): Use fabs. (my_log2): Use fabs.
4164 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4165 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4166 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4167 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4168 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4169 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
4170 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
4171 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
4172 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
4173 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4174 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4176 2015-05-15 Joseph Myers <joseph@codesourcery.com>
4179 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4180 as threshold for returning 1 - x.
4181 * math/auto-libm-test-in: Add more tests of erfc.
4182 * math/auto-libm-test-out: Regenerated.
4184 2015-05-14 Joseph Myers <joseph@codesourcery.com>
4187 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4188 threshold for large arguments.
4189 * math/auto-libm-test-in: Add another test of atan.
4190 * math/auto-libm-test-out: Regenerated.
4193 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4194 (__log1p): Force underflow exception for results with small
4196 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4197 (__log1pf): Force underflow exception for results with small
4199 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4200 (__log1p): Force underflow exception for results with small
4202 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4203 (__log1pf): Force underflow exception for results with small
4205 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4206 (__log1pl): Force underflow exception for results with small
4208 * math/auto-libm-test-in: Do not allow missing underflow
4209 exceptions from log1p.
4210 * math/auto-libm-test-out: Regenerated.
4212 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
4213 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4216 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4218 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
4220 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4221 (libmvec): New variable.
4222 * configure.ac: Added option for mathvec build.
4223 * configure: Regenerated.
4224 * mathvec/Depend: New file.
4225 * mathvec/Makefile: New file.
4226 * shlib-versions: Added libmvec.
4227 * math/Makefile: Added rule for libm.so installation.
4229 * bits/math-vector.h: New file.
4230 * bits/libm-simd-decl-stubs.h: New header.
4231 * math/Makefile (headers): Added new header
4232 libm-simd-decl-stubs.h.
4233 * math/math.h (__MATHCALL_VEC): New macro.
4235 * math/gen-libm-have-vector-test.sh: Script generates series of macros
4236 for conditions in testing functions.
4237 * math/Makefile: Added call of libm-have-vector-test.sh.
4238 * math/libm-test.inc (HAVE_VECTOR): New macros.
4240 * math/libm-test.inc: START refactored.
4241 * math/test-double.c (TEST_MATHVEC): Add define.
4242 * math/test-float.c: Likewise.
4243 * math/test-idouble.c: Likewise.
4244 * math/test-ifloat.c: Likewise.
4245 * math/test-ildoubl.c: Likewise.
4246 * math/test-ldouble.c: Likewise.
4247 * sysdeps/generic/math-tests-arch.h
4248 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4251 * math/test-double.c (FUNC_TEST): New macro.
4252 * math/test-float.c: Likewise.
4253 * math/test-idouble.c: Likewise.
4254 * math/test-ifloat.c: Likewise.
4255 * math/test-ildoubl.c: Likewise.
4256 * math/test-ldouble.c: Likewise.
4257 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4259 2015-05-13 Roland McGrath <roland@hack.frob.com>
4261 * sysdeps/nacl/fdopendir.c: New file.
4263 * dirent/scandir-tail.c: New file.
4264 * dirent/scandir64-tail.c: New file.
4265 * dirent/Makefile (routines): Add them.
4266 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4267 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4268 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4269 [!SCANDIR] (SCANDIR_TAIL): New macro.
4270 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4271 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4272 (SCANDIRAT): Macro removed.
4273 (SCANDIR_TAIL): New macro.
4274 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4275 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4276 (SCANDIRAT): Just call __opendirat and __scandir_tail.
4277 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4278 (READDIR): Macro removed.
4279 (SCANDIR_TAIL): New macro.
4280 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4281 (SCANDIR_TAIL): New macro.
4283 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4284 * dirent/scandir-cancel.c: ... to this new file.
4285 * dirent/Makefile (routines): Add it.
4286 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4287 * sysdeps/unix/sysv/linux/i386/scandir64.c
4288 (SKIP_SCANDIR_CANCEL): Macro removed.
4289 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4291 * dirent/tst-scandir.c: New file.
4292 * dirent/tst-scandir64.c: New file.
4293 * dirent/Makefile (tests): Add them.
4295 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
4298 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4300 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
4302 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4305 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
4307 * benchtests/bench-strcoll.c: New benchmark.
4308 * benchtests/Makefile: Generate locales and run benchmark.
4309 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4310 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4311 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4312 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4313 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4314 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4315 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4316 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4317 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4318 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4319 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4320 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4321 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4322 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4323 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4324 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4325 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4326 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4327 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4328 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4329 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4330 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4331 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4332 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4334 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
4336 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4337 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4339 2015-05-12 Roland McGrath <roland@hack.frob.com>
4341 * posix/uname-values.h: New file.
4342 * posix/uname.c: Include that instead of <config-name.h>.
4343 * sysdeps/nacl/uname-values.h: New file.
4344 * sysdeps/arm/nacl/uname-values.h: New file.
4346 2015-05-12 Joseph Myers <joseph@codesourcery.com>
4348 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4349 splitting into fields.
4351 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
4353 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4354 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4355 * locale/localeinfo.h: Add enum collation_encoding_type.
4356 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4357 * programs/ld-collate.c (collate_output): Add encoding type info.
4358 * string/strcoll_l.c (STRDIFF): New function.
4359 * (STRCOLL): Use STRDIFF to skip over equal prefix.
4360 * wcsmbs/wcscoll_l.c: Define STRDIFF.
4362 2015-05-11 Joseph Myers <joseph@codesourcery.com>
4365 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4366 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
4367 <fpu_control.h> instead of <math/fpu_control.c>.
4368 * sysdeps/mips/mips32/fpu/Makefile: New file.
4370 2015-05-11 Andreas Schwab <schwab@suse.de>
4373 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4375 (_nss_compat_endgrent): Call nss_endgrent.
4376 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4378 (_nss_compat_endpwent): Call nss_endpwent.
4379 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4380 needent, call nss_setspent only if non-zero.
4381 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4382 (internal_endspent): Don't call nss_endspent.
4383 (_nss_compat_endspent): Call nss_endspent.
4384 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4385 Remove. All uses removed.
4386 (internal_setent): Remove parameter stayopen, add parameter
4387 stream. Use it instead of global variable.
4388 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4389 (internal_endent, internal_getent): Add parameter stream. Use it
4390 instead of global variable.
4391 (CONCAT(_nss_files_end,ENTNAME))
4392 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4393 (_nss_files_get##name##_r): Pass local stream. Remove locking.
4394 * nss/nss_files/files-alias.c (position, last_use): Remove. All
4396 (internal_setent, internal_endent): Add parameter stream. Use it
4397 instead of global variable.
4398 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4400 (get_next_alias): Add parameter stream.
4401 (_nss_files_getaliasent_r): Pass global stream.
4402 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
4403 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4404 (_nss_files_gethostbyname4_r): Pass local stream to
4405 internal_setent, internal_getent and internal_endent. Remove
4408 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4410 * tst-strfmon1.c (tests): Update expected currency symbol.
4412 2015-05-08 Roland McGrath <roland@hack.frob.com>
4414 * sysdeps/nacl/gethostname.c: New file.
4416 2015-05-08 Joseph Myers <joseph@codesourcery.com>
4418 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4420 * math/auto-libm-test-out: Regenerated.
4421 * sysdeps/i386/fpu/libm-test-ulps: Update.
4422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4424 2015-05-08 Carlos O'Donell <carlos@redhat.com>
4427 * stdlib/tst-setcontext3.c: New file.
4428 * stdlib/tst-setcontext3.sh: New file.
4429 * stdlib/Makefile (tests): Add tst-setcontext3.
4430 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4431 to verify test program created output file.
4432 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4433 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4434 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4435 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4437 2015-05-06 Roland McGrath <roland@hack.frob.com>
4440 * elf/tst-tlsalign.c: New file.
4441 * elf/tst-tlsalign-static.c: New file.
4442 * elf/tst-tlsalign-lib.c: New file.
4443 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4444 (tests-static): Add tst-tlsalign-static.
4445 (modules-names): Add tst-tlsalign-lib.
4446 (test-xfail-tst-tlsalign): New variable.
4447 (test-xfail-tst-tlsalign-static): New variable.
4449 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4450 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4452 2015-05-06 Joseph Myers <joseph@codesourcery.com>
4454 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4455 csqrt, erfc, sin and sincos.
4456 * math/auto-libm-test-out: Regenerated.
4457 * sysdeps/i386/fpu/libm-test-ulps: Update.
4458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4460 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4462 * sysdeps/aarch64/libm-test-ulps: Update.
4464 2015-05-05 Joseph Myers <joseph@codesourcery.com>
4466 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4467 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4468 * math/auto-libm-test-out: Regenerated.
4469 * sysdeps/i386/fpu/libm-test-ulps: Update.
4470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4472 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
4475 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4476 (wcsncpy): Likewise.
4478 2015-05-05 Florian Weimer <fweimer@redhat.com>
4480 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4481 Assume __ASSUME_FALLOCATE is always true.
4482 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4483 (__posix_fallocate64_l64): Likweise.
4484 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4485 (posix_fallocate): Likewise.
4486 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4487 (__posix_fallocate64_l64): Likewise.
4488 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4489 [!__ASSUME_FALLOCATE]: Add comment.
4491 2015-05-05 Florian Weimer <fweimer@redhat.com>
4493 * sysdeps/unix/sysv/linux/i386/Makefile
4494 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4495 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4496 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4497 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4498 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4499 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4500 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4502 2015-05-02 Joseph Myers <joseph@codesourcery.com>
4504 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4505 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
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-01 Joseph Myers <joseph@codesourcery.com>
4513 * math/auto-libm-test-in: Add more tests of tgamma.
4514 * math/auto-libm-test-out: Regenerated.
4515 * sysdeps/i386/fpu/libm-test-ulps: Update.
4516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4518 * math/auto-libm-test-in: Add more tests of tanh.
4519 * math/auto-libm-test-out: Regenerated.
4520 * sysdeps/i386/fpu/libm-test-ulps: Update.
4521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4523 * math/auto-libm-test-in: Add more tests of tan.
4524 * math/auto-libm-test-out: Regenerated.
4525 * sysdeps/i386/fpu/libm-test-ulps: Update.
4526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4528 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4529 * math/auto-libm-test-out: Regenerated.
4530 * sysdeps/i386/fpu/libm-test-ulps: Update.
4531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4533 * math/auto-libm-test-in: Add another test of pow.
4534 * math/auto-libm-test-out: Regenerated.
4535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4537 * math/auto-libm-test-in: Add more tests of lgamma.
4538 * math/auto-libm-test-out: Regenerated.
4539 * sysdeps/i386/fpu/libm-test-ulps: Update.
4540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4542 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4544 * math/auto-libm-test-out: Regenerated.
4545 * sysdeps/i386/fpu/libm-test-ulps: Update.
4546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4548 2015-05-01 Mark Wielaard <mjw@redhat.com>
4550 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4551 Elf64_Chdr structs and ELFCOMPRESS constants.
4553 2015-05-01 Joseph Myers <joseph@codesourcery.com>
4555 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4557 * math/auto-libm-test-out: Regenerated.
4558 * sysdeps/i386/fpu/libm-test-ulps: Update.
4559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4561 * math/auto-libm-test-in: Add more tests of erf and erfc.
4562 * math/auto-libm-test-out: Regenerated.
4563 * sysdeps/i386/fpu/libm-test-ulps: Update.
4564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4566 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
4568 * config.h.in (HAVE_AARCH64_BE): Add.
4570 2015-04-30 Joseph Myers <joseph@codesourcery.com>
4572 * math/auto-libm-test-in: Add more tests of csqrt.
4573 * math/auto-libm-test-out: Regenerated.
4574 * sysdeps/i386/fpu/libm-test-ulps: Update.
4575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4577 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4578 * math/auto-libm-test-out: Regenerated.
4579 * sysdeps/i386/fpu/libm-test-ulps: Update.
4580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4582 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4584 2015-04-29 Roland McGrath <roland@hack.frob.com>
4586 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4587 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4589 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4590 (euidaccess, eaccess): Define as weak aliases.
4592 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4593 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
4594 but __suseconds_t is often 'long int' so some sources assume that
4595 type is being used (e.g. they use %ld to print tv_usec).
4597 2015-04-29 Florian Weimer <fweimer@redhat.com>
4600 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4602 * nss/tst-nss-getpwent.c: New file.
4603 * nss/Makefile (tests): Add new test.
4605 2015-04-28 Joseph Myers <joseph@codesourcery.com>
4608 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4609 exponents less than 48 as cases where high part of mantissa needs
4610 examining to determine whether argument is integral.
4611 * math/libm-test.inc (round_test_data): Add more tests.
4613 2015-04-28 Mark Wielaard <mjw@redhat.com>
4615 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4617 2015-04-27 David S. Miller <davem@davemloft.net>
4619 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4621 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4623 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
4626 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4628 2015-04-27 Florian Weimer <fweimer@redhat.com>
4631 * time/tzset.c (parse_tzname): Return error on memory allocation
4633 * test-skeleton.c (struct temp_name_list): Change type of name
4634 member to non-const.
4635 (add_temp_file): Create a copy of the file name.
4636 (delete_temp_files): Deallocate memory.
4637 (create_temp_file): Add comment.
4639 2015-04-24 Florian Weimer <fweimer@redhat.com>
4641 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4642 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4644 2015-04-24 Roland McGrath <roland@hack.frob.com>
4646 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4647 * sysdeps/arm/configure: Regenerated.
4649 2015-04-24 Florian Weimer <fweimer@redhat.com>
4652 * time/tzfile.c (__tzfile_read): Check for large values of
4653 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
4654 * time/tzset.c (__tzstring_len): New function, based on the old
4655 __tzstring function.
4656 (__tzstring): Call __tzstring_len.
4657 (parse_tzname): New helper function extracted from
4658 __tzset_parse_tz. Call __tzstring_len, without making a copy of
4660 (parse_offset): New helper function extracted from
4661 __tzset_parse_tz. Replace switch with fallthrough with
4662 initialization before sscanf.
4663 (parse_rule): Likewise.
4664 (__tzset_parse_tz): Rewrite using the new helper functions. Use
4665 new-style function definition.
4666 * timezone/Makefile (tests): Add tst-tzset.
4667 (tst-tzset.out): Dependencies on time zone files.
4668 (tst-tzset-ENV): Set TZDIR.
4669 (testdata/XT%): Copy crafted time zone files.
4670 * timezone/README: Mention crafted time zone files.
4671 * timezone/testdata/XT1, timezone/testdata/XT2,
4672 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4674 * timezone/tst-tzset.c: New test.
4676 2015-04-24 Florian Weimer <fweimer@redhat.com>
4678 * Makeconfig (+gccwarn): Remove -Winline.
4680 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4682 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4684 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4686 * NEWS: Mention sysconf() cache information support for s390.
4687 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4689 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
4691 * math/k_casinh.c (__kernel_casinh): Use __copysign.
4692 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4693 (__nearbyint): Likewise.
4694 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4695 (copysignl): Likewise.
4697 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
4700 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4701 based on padding. (CVE-2015-1781)
4703 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4705 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4707 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4708 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4709 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4710 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4711 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4712 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4713 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4714 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4715 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4716 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4717 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4718 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4719 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4720 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4721 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4722 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4723 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4724 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4725 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4726 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4727 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4728 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4729 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4731 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
4733 * stdlib/setenv.c (__add_to_environ):
4734 Dump core quickly if setenv (..., NULL, ...) is called.
4735 This time, do it the right way, and pacify GCC with a pragma.
4737 2015-04-17 Roland McGrath <roland@hack.frob.com>
4739 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4740 IMAP->l_prev cannot be null, and #if out the code for the contrary
4741 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4742 believe that NS (&_dl_ns[NSID]) could point outside the array.
4744 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4745 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4746 before using NSID as an index.
4748 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
4751 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4752 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4753 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4755 2015-04-17 Roland McGrath <roland@hack.frob.com>
4757 Add preliminary port to Google Native Client on ARM.
4758 * abi-tags (.*-.*-nacl.*): New entry.
4759 * sysdeps/arm/nacl: New directory.
4760 * sysdeps/nacl: New directory.
4762 2015-04-16 David S. Miller <davem@davemloft.net>
4764 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4765 lowlevellock-futex.h
4767 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
4769 * sysdeps/tile/configure.ac: New file.
4770 * sysdeps/tile/configure: Regenerated.
4772 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4774 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
4775 conditionals for weak_alias and libc_hidden_weak.
4776 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4777 libc_hidden_weak and weak_alias.
4778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4779 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4780 and weak_alias for static one.
4782 2015-04-15 David S. Miller <davem@davemloft.net>
4784 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4786 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4789 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4790 Use signed comparision instead of substraction to avoid
4792 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4793 Take the sign of ret.
4794 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4795 Do not expect precise return values. Only the sign matters.
4796 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4797 * wcsmbs/test-wcsncmp.c: New File.
4798 * string/test-strncmp.c: Add wcsncmp support.
4800 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4803 * math/w_log1p.c: New file.
4804 * math/w_log1pf.c: Likewise.
4805 * math/w_log1pl.c: Likewise.
4806 * math/Makefile (libm-calls): Add w_log1p.
4807 * math/s_log1pl.c (log1pl): Remove weak_alias.
4808 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4809 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4810 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4811 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4812 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4813 [NO_LONG_DOUBLE] (log1pl): Likewise.
4814 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4815 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4816 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4817 (log1p): Remove long_double_symbol.
4818 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4819 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4820 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4821 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4822 remove weak_alias for corresponding log1p function.
4823 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4824 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4825 * sysdeps/ia64/fpu/w_log1p.c: New file.
4826 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4827 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4828 * math/libm-test.inc (log1p_test_data): Add errno expectations.
4830 2015-04-10 Joseph Myers <joseph@codesourcery.com>
4833 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4834 decimal exponent by 1.
4835 * stdlib/tst-strtod-round-data: Add more tests.
4836 * stdlib/tst-strtod-round.c (tests): Regenerated.
4838 2015-04-09 Joseph Myers <joseph@codesourcery.com>
4840 * math/auto-libm-test-in: Add more tests of clog and clog10.
4841 * math/auto-libm-test-out: Regenerated.
4842 * sysdeps/i386/fpu/libm-test-ulps: Update.
4843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4845 2015-04-09 Roland McGrath <roland@hack.frob.com>
4847 * Makeconfig (module-cppflags): Exclude all .v.i files.
4848 (skip-module-cppflags): Variable removed.
4850 * configure.ac (libc_config_ok): Initialize before reading
4851 preconfigure scripts, not after.
4852 * configure: Regenerated.
4854 * test-skeleton.c (TIMEOUT): Move #define to top level.
4855 (main): Grok environment variable TEST_DIRECT. If set, print
4856 test expectation details into that file and then behave as if
4859 2015-04-09 Florian Weimer <fweimer@redhat.com>
4861 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4864 2015-04-08 David S. Miller <davem@davemloft.net>
4866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4868 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4870 * math/auto-libm-test-in: Add more tests of atanh.
4871 * math/auto-libm-test-out: Regenerated.
4872 * sysdeps/i386/fpu/libm-test-ulps: Update.
4873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4875 * math/auto-libm-test-in: Add more tests of atan.
4876 * math/auto-libm-test-out: Regenerated.
4877 * sysdeps/i386/fpu/libm-test-ulps: Update.
4878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4880 2015-04-08 Florian Weimer <fweimer@redhat.com>
4882 * elf/pldd.c (main): Rewrite to use struct
4883 scratch_buffer instead of extend_alloca.
4884 * elf/pldd-xx.c (find_maps): Likewise.
4885 * grp/initgroups.c: Include <scratch_buffer.h> instead of
4887 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4888 scratch_buffer instead of extend_alloca.
4889 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4890 grp/compat-initgroups.c.
4891 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4892 Rewrite to use struct scratch_buffer instead of extend_alloca.
4893 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4894 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4896 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4898 * math/auto-libm-test-in: Add more tests of cbrt.
4899 * math/auto-libm-test-out: Regenerated.
4900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4902 * math/auto-libm-test-in: Add more tests of cabs.
4903 * math/auto-libm-test-out: Regenerated.
4904 * sysdeps/i386/fpu/libm-test-ulps: Update.
4905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4909 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4910 (__ieee754_atan2): Set FE_TONEAREST mode for internal
4912 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4914 * math/auto-libm-test-out: Regenerated.
4915 * sysdeps/i386/fpu/libm-test-ulps: Update.
4916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4919 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4920 (atan): Set FE_TONEAREST mode for internal computations.
4921 * math/auto-libm-test-in: Add more tests of atan.
4922 * math/auto-libm-test-out: Regenerated.
4924 2015-04-07 James Cowgill <james410@cowgill.org.uk>
4927 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4929 2015-04-07 Florian Weimer <fweimer@redhat.com>
4931 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4933 2015-04-07 Florian Weimer <fweimer@redhat.com>
4935 * include/scratch_buffer.h: New file.
4936 * malloc/scratch_buffer_grow.c: Likewise.
4937 * malloc/scratch_buffer_grow_preserve.c: Likewise.
4938 * malloc/scratch_buffer_set_array_size.c: Likewise.
4939 * malloc/tst-scratch_buffer.c: Likewise.
4940 * malloc/Makefile (routines): Add scratch_buffer_grow.
4941 (tests): Add test case.
4942 * malloc/Versions (GLIBC_PRIVATE): Export
4943 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4944 __libc_scratch_buffer_set_array_size.
4946 2015-04-06 Richard Henderson <rth@redhat.com>
4948 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4949 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4951 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4952 unsigned int before printing.
4954 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4957 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4958 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4960 2015-04-02 Florian Weimer <fweimer@redhat.com>
4962 * include/libc-internal.h (libc_max_align_t): Define.
4964 2015-04-02 Andreas Schwab <schwab@suse.de>
4967 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4969 2015-04-02 Mel Gorman <mgorman@suse.de>
4972 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4973 as well as the main arena.
4975 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4978 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4979 sharing L2 cache to 2 for Silvermont/Knights Landing.
4981 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4984 * config.make.in (have-protected-data): New.
4985 * configure.ac: Check linker support for protected data symbol.
4986 * configure: Regenerated.
4987 * elf/Makefile (modules-names): Add tst-protected1moda and
4988 tst-protected1modb if $(have-protected-data) is yes.
4989 (tests): Add tst-protected1a and tst-protected1b if
4990 $(have-protected-data) is yes.
4991 ($(objpfx)tst-protected1a): New.
4992 ($(objpfx)tst-protected1b): Likewise.
4993 (tst-protected1modb.so-no-z-defs): Likewise.
4994 * elf/tst-protected1a.c: New file.
4995 * elf/tst-protected1b.c: Likewise.
4996 * elf/tst-protected1mod.h: Likewise.
4997 * elf/tst-protected1moda.c: Likewise.
4998 * elf/tst-protected1modb.c: Likewise.
5000 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
5003 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5004 indicates it is called from do_lookup_x on relocation against
5005 protected data, skip the data definion in the executable from
5007 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5008 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5009 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5010 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5011 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5013 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5014 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5015 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5016 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5017 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5018 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5020 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
5022 * sysdeps/nptl/pthread.h: Remove duplicate definition of
5023 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5025 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
5027 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5029 * sysdeps/x86_64/nptl/tls.h: Ditto.
5031 2015-03-27 Roland McGrath <roland@hack.frob.com>
5033 * dlfcn/tststatic.c (main): Converted to ...
5034 (do_test): ... this.
5035 (TEST_FUNCTION): New macro.
5036 Include test-skeleton.c.
5038 2015-03-26 Alan Modra <amodra@gmail.com>
5040 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5041 Don't segfault if ifunc resolver returns a NULL. Do set plt to
5042 zero for undefined weak.
5043 (elf_machine_plt_conflict): Similarly.
5045 2015-03-25 Joseph Myers <joseph@codesourcery.com>
5047 * math/auto-libm-test-in: Add more tests of acosh, asinh and
5049 * math/auto-libm-test-out: Regenerated.
5050 * sysdeps/i386/fpu/libm-test-ulps: Update.
5051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5053 * math/auto-libm-test-in: Add another test of asin.
5054 * math/auto-libm-test-out: Regenerated.
5055 * sysdeps/i386/fpu/libm-test-ulps: Update.
5056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5058 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5060 (LLL_EBX_REG): Likewise.
5061 (LLL_ENTER_KERNEL): Likewise.
5063 * math/auto-libm-test-in: Add more tests of asin.
5064 * math/auto-libm-test-out: Regenerated.
5065 * sysdeps/i386/fpu/libm-test-ulps: Update.
5066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5069 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5070 libc_do_syscall_args): New structure.
5071 (INTERNAL_SYSCALL_MAIN_0): New macro.
5072 (INTERNAL_SYSCALL_MAIN_1): Likewise.
5073 (INTERNAL_SYSCALL_MAIN_2): Likewise.
5074 (INTERNAL_SYSCALL_MAIN_3): Likewise.
5075 (INTERNAL_SYSCALL_MAIN_4): Likewise.
5076 (INTERNAL_SYSCALL_MAIN_5): Likewise.
5077 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
5078 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5079 Replace conditional definitions by conditional definitions of ....
5080 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
5081 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5082 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5083 (libpthread-sysdep_routines): Add libc-do-syscall.
5084 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5085 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5086 to __NR_futex not 240.
5088 2015-03-25 Alan Modra <amodra@gmail.com>
5090 * NEWS: Advertise TLS optimization.
5091 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5092 (DT_PPC_NUM): Increment.
5093 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5094 (CHECK_STATIC_TLS): Use here.
5095 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5097 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5098 * sysdeps/powerpc/dl-tls.c: New file.
5099 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5100 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5101 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5102 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5107 2015-03-25 Alan Modra <amodra@gmail.com>
5109 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5110 for overlapping .opd entries" to "support...".
5111 * sysdeps/powerpc/powerpc64/configure: Regenerate
5113 2015-03-25 Joseph Myers <joseph@codesourcery.com>
5115 * math/auto-libm-test-in: Add more tests of acos.
5116 * math/auto-libm-test-out: Regenerated.
5117 * sysdeps/i386/fpu/libm-test-ulps: Update.
5118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5120 * math/auto-libm-test-in: Add more tests of expm1.
5121 * math/auto-libm-test-out: Regenerated.
5122 * sysdeps/i386/fpu/libm-test-ulps: Update.
5123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5125 2015-03-24 Joseph Myers <joseph@codesourcery.com>
5127 * math/auto-libm-test-in: Add more tests of cosh and sinh.
5128 * math/auto-libm-test-out: Regenerated.
5129 * sysdeps/i386/fpu/libm-test-ulps: Update.
5130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5132 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5135 * math/auto-libm-test-in: Add more tests of log2.
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 2015-03-23 Roland McGrath <roland@hack.frob.com>
5142 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5143 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
5144 _IO_IS_APPENDING bit in READ_WRITE instead.
5146 2015-03-23 Florian Weimer <fweimer@redhat.com>
5148 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5149 (__determine_cpumask_size): Replace extend_alloca with a
5150 variable-length array. Do not treat res == 0 as an error.
5152 2015-03-23 Florian Weimer <fweimer@redhat.com>
5155 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5156 and integer overflow.
5157 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5158 (main): Add integer overflow tests.
5159 * manual/pattern.texi (Calling Wordexp): Document additional use
5162 2015-03-23 Alan Modra <amodra@gmail.com>
5164 * config.h.in: Remove HAVE_ASM_PPC_REL16.
5165 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5166 and false branch of conditional.
5167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5170 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
5172 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5174 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5175 unused declaration of _hurd_intr_rpc_msg_in_trap.
5176 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5177 defined instead of whether it is non-zero.
5178 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5179 input constraint instead of both input and output constraint. Use ecx
5180 clobber instead of %ecx.
5181 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5182 mutex_unlock): Use a statement expression instead of an expression list.
5183 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5184 type to vm_size_t instead of vm_address_t.
5185 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5186 defined instead of whether it is non-zero.
5187 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5188 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5189 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5190 comparisons with mapaddr.
5191 * nscd/nscd-client.h: Include <time.h>.
5192 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5193 9th parameter to __vm_region instead of int.
5194 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5195 * scripts/check-local-headers.sh (exclude): Add device/,
5196 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5199 2015-03-19 Roland McGrath <roland@hack.frob.com>
5201 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5202 to account for alignment padding.
5203 * sysdeps/arm/memmove.S: Likewise.
5205 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
5207 * sysdeps/unix/sysv/linux/generic/README: New file.
5209 2015-03-18 Joseph Myers <joseph@codesourcery.com>
5212 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5213 (futex_abstimed_wait)
5214 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5215 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5216 of lll_futex_timed_wait.
5218 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
5221 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5223 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
5230 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5231 entries with Static TLS too. Skip entries past the end of the
5232 allocated DTV, from Alan Modra.
5233 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
5234 Static TLS DTV entry set up from...
5235 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5236 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5237 * nptl/allocatestack.c (init_one_static_tls): ... and here...
5238 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5240 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
5241 that the slot we find is associated with the given map before
5242 using its generation count.
5243 * nptl_db/db_info.c: Include ldsodefs.h.
5244 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5245 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5246 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5247 (link_map::l_tls_offset): New struct field.
5248 (dtv_t::counter): Likewise.
5249 (rtld_global): New struct.
5250 (_rtld_global): New rtld variable.
5251 (dl_tls_dtv_slotinfo_list): New rtld global field.
5252 (dtv_slotinfo_list): New struct.
5253 (dtv_slotinfo): Likewise.
5254 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5255 (td_lookup): Rename to...
5256 (td_mod_lookup): ... this. Use new mod parameter instead of
5258 * nptl_db/td_thr_tlsbase.c: Include link.h.
5259 (dtv_slotinfo_list, dtv_slotinfo): New functions.
5260 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
5261 addresses even if the DTV is out of date or missing them.
5262 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5263 index zero-length arrays.
5264 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5265 (td_lookup): Make it a macro implemented in terms of...
5266 (td_mod_lookup): ... this declaration.
5267 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5268 (DB_MAIN_VARIABLE): Likewise.
5270 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
5273 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5275 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
5277 * stdlib/setenv.c (__add_to_environ): Revert previous change.
5279 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
5282 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5283 (atomic_add, atomic_increment_and_test)
5284 (atomic_decrement_and_test): Fix 64-bit arithmetic.
5286 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
5288 * stdlib/setenv.c (__add_to_environ):
5289 Dump core quickly if setenv (..., NULL, ...) is called.
5291 2015-03-13 Roland McGrath <roland@hack.frob.com>
5293 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5294 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5295 all the necessary asm magic in one place.
5296 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5299 2015-03-13 Carlos O'Donell <carlos@redhat.com>
5302 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5303 traced file mtime. Use consistent log message.
5304 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5305 (register_traced_file): Call install_watches. Always set mtime.
5306 (invalidate_cache): Iterate over all trace files. Call install_watches.
5307 (inotify_check_files): Don't inline. Handle watching parent
5308 directories and configuration file movement in and out.
5309 (handle_inotify_events): New function.
5310 (main_loop_poll): Call handle_inotify_events.
5311 (main_loop_epoll): Likewise.
5312 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5313 (struct traced_file): Use array of inotify fds. Add parent directory,
5315 (struct database_dyn): Remove unused file_mtime.
5316 (init_traced_file): New inline function.
5317 (define_traced_file): New macro.
5318 * nss/nss_db/db-init.c: Use define_traced_file.
5319 (_nss_db_init): Use init_traced_file.
5320 * nss/nss_files/files-init.c: Use define_traced_file.
5321 (_nss_files_init): Use init_traced_file.
5323 2015-03-12 Joseph Myers <joseph@codesourcery.com>
5325 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5326 [_LIBC]: Do not include <stdlib.h>.
5327 [!_LIBC] (abort): Remove declaration.
5328 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5329 _FP_STATIC_ASSERT instead of conditionally calling abort.
5330 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5331 (_FP_EXTEND_CNAN): Likewise.
5332 (FP_TRUNC): Likewise.
5333 (__FP_CLZ): Likewise.
5334 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5336 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
5338 * manual/string.texi (XPG basename): Fix prototype.
5340 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5343 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5344 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5345 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5346 (__setcontext): Likewise.
5347 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5348 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5349 Call rt_sigprocmask syscall one time to set new signal mask
5350 and retrieve the current signal mask instead of two calls.
5351 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5352 (__swapcontext): Likewise.
5353 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5354 * stdlib/tst-setcontext2.c: New file.
5356 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5358 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5360 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
5363 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5366 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5369 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5371 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5373 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5374 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5376 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5377 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5378 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5379 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5380 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5381 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5383 * nptl_db/td_symbol_list.c (td_lookup): Remove
5384 HAVE_ASM_GLOBAL_DOT_NAME code.
5385 * sysdeps/powerpc/powerpc64/configure.ac: Remove
5386 HAVE_ASM_GLOBAL_DOT_NAME check.
5387 * sysdeps/powerpc/powerpc64/configure: Regenerate.
5388 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5389 (DOT_LABEL): Remove define.
5390 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5391 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5392 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5393 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5394 (__TLS_GET_ADDR): Likewise.
5395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5396 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5398 2015-03-11 Carlos O'Donell <carlos@redhat.com>
5401 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5402 (_FPU_SETCW): Initialize cw from fpsr before storing.
5403 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5404 (fesetexceptflag): Rewrite using fpu_control.h.
5405 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5407 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
5410 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5412 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5414 2015-03-11 Joseph Myers <joseph@codesourcery.com>
5416 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5417 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5419 (_FP_FMA): Likewise.
5420 (_FP_DIV): Likewise.
5422 2015-03-10 Roland McGrath <roland@hack.frob.com>
5424 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5425 with 0 in that case.
5426 * Makefile (summarize-tests): New canned sequence, factored out of
5427 commands for targets tests and xtests. Display summary lines that
5428 don't start with PASS: or XFAIL: rather than ones that do start with
5429 ERROR: or FAIL:. Make the commands fail if any summary lines fail
5430 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5431 do start with ERROR: or FAIL:.
5432 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5433 (except for [$(build-shared) = yes]).
5434 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5435 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5436 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5437 * nptl/Makefile: Revert 2015-03-04 changes.
5438 [$(CXX) empty] (tests-unsupported): New variable.
5439 * debug/Makefile: Likewise.
5441 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5442 gnulib file. Replace __attribute with __attribute__ throughout.
5444 2015-03-10 Carlos O'Donell <carlos@redhat.com>
5446 * sysdeps/hppa/fpu/libm-test-ulps: Update.
5448 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5451 * math/auto-libm-test-in: Add another test of pow.
5452 * math/auto-libm-test-out: Regenerated.
5454 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5456 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5457 $(config-cflags-nofma).
5459 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5461 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5462 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5463 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5464 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5465 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5466 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5467 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5468 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5469 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5470 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5471 Add comment on closing #endif.
5473 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5475 * posix/wordexp.c (CHAR_IN_SET): New macro.
5476 (parse_param): Use it.
5478 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5480 * sysdeps/powerpc/fpu/libm-test-ulps: update.
5482 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5485 * posix/wordexp.c (parse_param): Fix buffer overflow.
5486 * posix/wordexp-test.c (test_case): Add test case.
5488 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5491 * posix/wordexp.c (parse_backtick): Fix off-by-one.
5492 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5494 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5497 * posix/wordexp-test.c (test_case): Add test for BZ #18043
5498 (do_bz18043): Delete.
5500 (testit): Refactor to have words at the edge of unreadable page.
5502 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5505 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5506 Cleanup read-only streams as well.
5507 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5509 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5511 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5514 2015-03-07 Joseph Myers <joseph@codesourcery.com>
5516 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
5518 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5519 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5520 * soft-fp/op-common.h (_FP_DECL): Likewise.
5522 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
5524 * elf/ifuncdep2.c (global): Replace
5525 __attribute__((visibility("protected"))) with
5526 asm (".protected global").
5527 * elf/ifuncmod1.c (global): Likewise.
5528 * elf/ifuncmod5.c (global): Likewise.
5530 2015-03-06 Joseph Myers <joseph@codesourcery.com>
5532 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5533 <asm/sfp-machine.h> instead of <sfp-machine.h>.
5535 2015-03-06 Roland McGrath <roland@hack.frob.com>
5537 * manual/install.texi (Configuring and compiling):
5538 Document test-wrapper-env-only.
5539 * INSTALL: Regenerated.
5541 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5544 * posix/wordexp.c (parse_param): Fix buffer overflow.
5545 * posix/wordexp-test.c (do_bz18043): Add test case.
5547 2015-03-06 Vincent Bernat <vincent@bernat.im>
5549 * time/tst-strptime2.c (do_test): Ensure failing tests are
5551 * time/tst-strptime3.c (do_test): Likewise.
5553 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
5555 Fix aio_error thread-safety.
5556 * sysdeps/pthread/aio_error.c: New file
5557 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5560 2015-03-06 Florian Weimer <fweimer@redhat.com>
5562 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5563 (group_number, vfprintf): Use it.
5564 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5565 (JUMP, REF): Use it.
5566 (WORK_BUFFER_SIZE): New enum constant.
5567 (process_arg, vfprintf): Use it.
5569 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
5571 * manual/errno.texi (Error Messages): Complete example function
5572 by adding missing #define.
5573 (program_invocation_name): Add statement indicating GNU
5574 extension and reference which header file declares the variable.
5575 (program_invocation_short_name): Likewise.
5577 2015-03-06 Mike Frysinger <vapier@gentoo.org>
5579 * manual/errno.texi (Error Messages): Delete strerror ISO C89
5582 2015-03-05 Roland McGrath <roland@hack.frob.com>
5584 * Makeconfig (test-wrapper-env-only): New variable.
5585 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5586 then use that with $(test-wrapper-env-only) rather than using
5587 $(test-wrapper-env) $(run-program-env) $($*-ENV).
5589 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
5592 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5593 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5594 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5595 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5596 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5597 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5598 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5599 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5601 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5602 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5604 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5606 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5608 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5610 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5611 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5613 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5615 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5616 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5618 2015-03-04 Roland McGrath <roland@hack.frob.com>
5620 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5621 (ETH_ALEN): New macro.
5622 (struct ether_addr): Use it for length of ether_addr_octet.
5624 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5625 (setdb): Don't call __nss_configure_lookup for "rpc".
5626 (do_test): Don't call test_rpc.
5627 (output_rpcent, test_rpc): Functions moved ...
5628 * sunrpc/test-rpcent.c: ... to this new file.
5629 * sunrpc/Makefile (tests): Add it.
5631 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5633 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5634 * nptl/tst-signal6.c: Likewise.
5635 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5636 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5638 * configure.ac (libc_cv_cxx_link_ok): New check.
5639 Reset CXX to empty if it fails to link.
5640 * configure: Regenerated.
5641 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5642 bug-atexit3-lib only if $(CXX) is nonempty.
5643 * nptl/Makefile (tests): Likewise for tst-cancel24.
5644 (tests, tests-static): Likewise for tst-cancel24-static.
5645 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5646 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5647 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5648 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5650 2015-03-04 Andreas Schwab <schwab@suse.de>
5653 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5654 for non-GCC compilers.
5655 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5658 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5661 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5662 integer before bitwise and assembly operations.
5663 (feclearexcept): Likewise.
5664 * math/test-fenvinline.c: New file.
5665 * math/Makefile: Add test-fenvinline test.
5667 2015-03-03 Alan Modra <amodra@gmail.com>
5670 * scripts/localplt.awk: Strip off symbol version.
5671 * NEWS: Mention bug fix.
5673 2015-03-02 Roland McGrath <roland@hack.frob.com>
5675 * sysdeps/pthread/timer_routines.c
5676 (timer_free_list, thread_free_list, thread_active_list): Make static.
5678 2015-03-02 Joseph Myers <joseph@codesourcery.com>
5681 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5682 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5684 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5685 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5687 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5688 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5691 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5694 * posix/fnmatch_loop.c (END): Detect invalid pattern.
5695 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5697 2015-03-02 Andreas Schwab <schwab@suse.de>
5699 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5702 2015-03-02 Florian Weimer <fweimer@redhat.com>
5704 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5705 Return error status.
5707 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
5710 * locale/findlocale.c (_nl_find_locale): Introduce const
5711 version of loc_name and drop unsafe type casts.
5713 2015-02-27 Roland McGrath <roland@hack.frob.com>
5715 * dlfcn/tststatic2.c (main): Converted to ...
5716 (do_test): ... this.
5717 (TEST_FUNCTION): New macro.
5718 Include test-skeleton.c.
5720 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
5723 * elf/Makefile (tests): Add vismain only if PIE is enabled.
5724 (tests-pie): Add vismain.
5725 (CFLAGS-vismain.c): New.
5726 * elf/vismain.c: Add comments for PIE requirement.
5728 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5732 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5733 0x1p-56L as threshold for just returning the argument.
5734 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5735 0x1p-32L as threshold for just returning the argument.
5736 * math/auto-libm-test-in: Add more tests of atanh.
5737 * math/auto-libm-test-out: Regenerated.
5738 * sysdeps/i386/fpu/libm-test-ulps: Update.
5739 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5741 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5743 * string/bcopy.c (bcopy): Call memmove for performance.
5745 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5747 * string/bzero.c (__bzero): Call memset for performance.
5749 2015-02-27 John David Anglin <dave.anglin@bell.net>
5752 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5755 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5757 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5759 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5761 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5762 (__kernel_standard): Use CSTR macro when setting exc.name.
5763 * sysdeps/ieee754/Makefile [$(subdir) = math]
5764 (CFLAGS-k_standard.c): Remove variable.
5766 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5767 setting p and q from "else if" to "else".
5769 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5771 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5773 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5775 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5777 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5782 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5783 return pi/2 for arguments below 0x1p-113L.
5784 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5785 return pi/2 for arguments below 0x1p-106L.
5786 * math/auto-libm-test-in: Add more tests of acos.
5787 * math/auto-libm-test-out: Regenerated.
5790 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5792 (__ieee754_asin): Force underflow exception for results with small
5794 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5796 (__ieee754_asinf): Force underflow exception for results with
5797 small absolute value.
5798 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5799 (__ieee754_asin): Force underflow exception for results with small
5801 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5802 (__ieee754_asinf): Force underflow exception for results with
5803 small absolute value.
5804 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5805 (__ieee754_asinl): Force underflow exception for results with
5806 small absolute value.
5807 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5808 (__ieee754_asinl): Force underflow exception for results with
5809 small absolute value.
5810 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5811 (__ieee754_asinl): Force underflow exception for results with
5812 small absolute value.
5813 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5815 * math/auto-libm-test-in: Do not mark underflow exceptions as
5816 possibly missing for bug 16351.
5817 * math/auto-libm-test-out: Regenerated.
5820 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5821 of power of 2 down when low part has opposite sign.
5822 * math/libm-test.inc (logb_test_data): Add more tests.
5824 2015-02-26 Andreas Schwab <schwab@suse.de>
5827 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5828 over collating symbol inside a bracket expression. Minor cleanup.
5829 * posix/tst-fnmatch3.c (do_test): Add test case.
5831 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5834 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5835 Adjust exponent of power of 2 down when low part has opposite
5837 * math/libm-test.inc (ilogb_test_data): Add more tests.
5839 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
5842 * locale/findlocale.c (_nl_find_locale): Fix constness error in
5843 the previous change.
5846 * locale/findlocale.c (_nl_find_locale): Retry archive search
5847 after alias expansion.
5849 2015-02-25 Roland McGrath <roland@hack.frob.com>
5851 * iconv/tst-iconv3.c (main): Converted to ...
5852 (do_test): ... this.
5853 (TEST_FUNCTION): New macro.
5854 Include test-skeleton.c.
5856 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5857 (convert): Make function static.
5858 (test_unalign): Likewise. Add const to argument pointee types.
5859 (main): Replace with static function do_test.
5860 Print "Succeeded." only if RET is zero.
5861 (TEST_FUNCTION): New macro.
5862 Include test-skeleton.c.
5864 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5865 returns a null pointer.
5867 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5869 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5870 to __memcpy_ppc only for static builds.
5872 2015-02-25 Joseph Myers <joseph@codesourcery.com>
5875 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5876 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5877 * math/auto-libm-test-in: Add more tests of asinh.
5878 * math/auto-libm-test-out: Regenerated.
5879 * sysdeps/i386/fpu/libm-test-ulps: Update.
5880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5882 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
5885 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5886 and ip6_mtuinfo definitions here.
5887 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5888 in this define too. Update comment.
5890 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
5892 * elf/sprof.c (load_shobj): Tweak error message to match others.
5894 2015-02-24 Kevin Easton <kevin@guarana.org>
5896 [BZ #16145] (partial fix)
5897 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5898 to reduce lock contention.
5900 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
5902 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5903 (struct timex): Update time comment.
5904 (ADJ_SETOFFSET): Define.
5906 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5909 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5910 2**56 not 2**28 as threshold for log (2x) formula.
5911 * math/auto-libm-test-in: Add more tests of acosh.
5912 * math/auto-libm-test-out: Regenerated.
5913 * sysdeps/i386/fpu/libm-test-ulps: Update.
5914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5916 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5918 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5919 parenthesis around the buf assignment.
5920 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5922 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5925 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5926 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5927 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5928 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5929 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5930 * math/libm-test.inc (scalb_test_data): Add more tests.
5932 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5935 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5936 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5938 2015-02-24 Eric Rannaud <e@nanocritical.com>
5941 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5942 * io/bits/fcntl2.h (open): Use it.
5944 * io/open.c (__libc_open): Likewise.
5945 * io/open64.c (__libc_open64): Likewise.
5946 * io/open64_2.c (__open64_2): Likewise.
5947 * io/open_2.c (__open_2): Likewise.
5948 * io/openat.c (__openat): Likewise.
5949 * io/openat64.c (__openat64): Likewise.
5950 * io/openat64_2.c (__openat64_2): Likewise.
5951 * io/openat_2.c (__openat_2): Likewise.
5952 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5953 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5954 * sysdeps/posix/open64.c (__libc_open64): Likewise.
5955 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5956 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5957 (__open_nocancel): Likewise.
5958 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5959 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5960 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5962 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5965 * resolv/gethnamaddr.c (getanswer): Skip logging if
5966 RES_USE_DNSSEC is set.
5967 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5969 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5971 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5973 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
5975 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5976 201304L, for Unicode 7.
5978 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
5981 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5982 shared library. Add gmon-start.os otherwise.
5983 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5984 $(objpfx)gmon-start.os if builing shared library.
5985 ($(objpfx)g$(static-start-installed-name)): Likewise.
5987 2015-02-23 Andreas Schwab <schwab@suse.de>
5989 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5991 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5994 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5995 (enlarge_userbuf): Likewise.
5997 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
5999 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6000 * math/atest-exp.c (TIMEOUT): Adjust to 200.
6001 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6002 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6004 2015-02-20 Joseph Myers <joseph@codesourcery.com>
6006 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6007 expression inside statement expression.
6009 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6011 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6012 <sysdeps/nptl/lowlevellock.h> and remove macros and
6013 functions that are now defined there.
6014 (SYS_futex): Remove.
6015 (lll_compare_and_swap): Remove.
6016 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6018 2015-02-19 Joseph Myers <joseph@codesourcery.com>
6021 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6022 instead of scandirat.
6023 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6024 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6025 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6027 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6028 (__scandirat): Declare. Use libc_hidden_proto.
6029 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6031 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6033 2015-02-18 Joseph Myers <joseph@codesourcery.com>
6036 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6038 (__ieee754_atan2): For results with small absolute value, force
6039 underflow exception and remove excess range and precision from
6041 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6043 (__ieee754_atan2f): For results with small absolute value, force
6044 underflow exception and remove excess range and precision from
6046 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6048 (__atan): For results with small absolute value, force underflow
6049 exception and remove excess range and precision from return value.
6050 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6052 (__atanf): For results with small absolute value, force underflow
6053 exception and remove excess range and precision from return value.
6054 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6056 (__ieee754_atan2): Force underflow exception for results with
6057 small absolute value.
6058 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6060 (atan): Force underflow exception for results with small absolute
6062 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6063 (__atanf): Force underflow exception for results with small
6065 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6067 (__atanl): Force underflow exception for results with small
6069 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6070 (__atanl): Force underflow exception for results with small
6072 * sysdeps/x86/fpu/bits/mathinline.h
6073 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6074 (__ieee754_atan2): Only define inline for long double.
6075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6076 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6077 * math/auto-libm-test-in: Do not mark underflow exceptions as
6078 possibly missing for bug 15319. Add more tests of atan2.
6079 * math/auto-libm-test-out: Regenerated.
6080 * math/libm-test.inc (casin_test_data): Do not mark underflow
6081 exceptions as possibly missing for bug 15319.
6082 (casinh_test_data): Likewise.
6083 * sysdeps/i386/fpu/libm-test-ulps: Update.
6085 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
6087 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6088 * sysdeps/mips/bits/endian.h: Fix comments.
6090 2015-02-18 Joseph Myers <joseph@codesourcery.com>
6093 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6094 (hdestroy_r): Likewise.
6095 (hsearch_r): Likewise.
6096 (__hcreate_r): Declare and use libc_hidden_proto.
6097 (__hdestroy_r): Likewise.
6098 (__hsearch_r): Likewise.
6099 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6100 (hcreate): Call __hcreate_r instead of hcreate_r.
6101 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6102 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6103 as weak alias of __hcreate_r.
6104 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6106 (hsearch_r): Rename to __hsearch_r and define as weak alias of
6108 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6110 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6111 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6112 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6113 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6115 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6117 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6118 arena_lock into a single arena_get.
6120 2015-02-17 Carlos O'Donell <carlos@redhat.com>
6122 * dl-reloc.c: Inlucde libc-internal.h.
6123 (_dl_try_allocate_static_tls): Call ALIGN_UP.
6124 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6125 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6126 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6127 (grow_heap): Likewise.
6128 * malloc/malloc.c: Include libc-internal.h.
6129 (do_check_malloc): Call powerof2.
6130 (sysmalloc): Use pagesize. Call ALIGN_UP.
6131 (systrim): Use pagesize.
6132 (mremap_chunk): Use pagesize. Call ALIGN_UP.
6133 (__libc_valloc): Use pagesize.
6134 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6136 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6139 * include/sys/resource.h (__getrlimit64): Declare. Use
6141 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6142 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
6143 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6145 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6147 [!getrlimit64] (getrlimit64): Define as weak alias of
6148 __getrlimit64. Use libc_hidden_weak.
6149 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6150 using __getrlimit64 not __new_getrlimit64.
6151 (__GI_getrlimit64): Likewise.
6152 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6154 (__GI_getrlimit64): Likewise.
6155 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6157 (getrlimit): Add __getrlimit64 alias.
6158 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6160 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6162 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6163 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6165 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6167 * libio/fileops.c: Add missing sys/mman.h
6168 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6170 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6172 * manual/math.texi (Errors in Math Functions): Clarify goals
6173 regarding inexact and underflow exceptions.
6175 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
6177 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6178 * sysdeps/mips/memset.S: Ditto.
6180 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
6182 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6184 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6186 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6187 (__v1longjmp): Remove versioned symbol.
6188 (__v1siglongjmp): Remove alias and versioned symbol.
6189 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6190 (__v2siglongjmp): Likewise.
6192 2015-02-16 Torvald Riegel <triegel@redhat.com>
6194 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6196 2015-02-16 Mike Frysinger <vapier@gentoo.org>
6198 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6200 2015-02-16 Joseph Myers <joseph@codesourcery.com>
6203 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6204 zero result does not depend on the sign resulting from
6206 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6208 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6209 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6210 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6211 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6212 * math/libm-test.inc (remquo_test_data): Add more tests.
6214 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
6216 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6217 Problem reported by J William Piggott.
6219 2015-02-16 Joseph Myers <joseph@codesourcery.com>
6222 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6223 products 4 * y and 2 * y where those would overflow.
6224 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6226 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6227 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6228 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6229 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6230 * math/libm-test.inc (remquo_test_data): Add more tests.
6232 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6234 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6235 [defined _COMPILING_NEWLIB].
6236 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6237 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6239 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6240 [!defined __mips_isa_rev || __mips_isa_rev < 6].
6242 2015-02-16 Torvald Riegel <triegel@redhat.com>
6244 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6247 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
6250 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6251 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6252 HOST_STACK_END_ADDR): Likewise.
6254 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
6256 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6257 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6258 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6260 2015-02-13 Roland McGrath <roland@hack.frob.com>
6262 * sysdeps/generic/c++-types.data: New file.
6263 * sysdeps/generic/ld.abilist: New file.
6264 * sysdeps/generic/libBrokenLocale.abilist: New file.
6265 * sysdeps/generic/libanl.abilist: New file.
6266 * sysdeps/generic/libc.abilist: New file.
6267 * sysdeps/generic/libcrypt.abilist: New file.
6268 * sysdeps/generic/libdl.abilist: New file.
6269 * sysdeps/generic/libm.abilist: New file.
6270 * sysdeps/generic/libpthread.abilist: New file.
6271 * sysdeps/generic/libresolv.abilist: New file.
6272 * sysdeps/generic/librt.abilist: New file.
6274 2015-02-13 Joseph Myers <joseph@codesourcery.com>
6277 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6278 Compute absolute value of x as modified by fmod, not original
6280 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6281 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
6282 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
6283 RUN_TEST_ffI_f1_mod8.
6284 (remquo_test_data): Add more tests.
6286 2015-02-13 Roland McGrath <roland@hack.frob.com>
6288 * sysdeps/init_array/pt-crti.S: New file.
6290 2015-02-13 Joseph Myers <joseph@codesourcery.com>
6293 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6294 __builtin_fmaf instead of relying on contraction of a * b + c.
6296 2015-02-12 J William Piggott <elseifthen@gmx.com>
6299 * manual/time.texi: correct the zoneinfo path in the TZ Variable
6302 2015-02-12 Joseph Myers <joseph@codesourcery.com>
6305 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6306 __builtin_fma instead of relying on contraction of a * b + c.
6308 2015-02-12 Roland McGrath <roland@hack.frob.com>
6310 * Makeconfig (ASFLAGS): Add -Werror=undef.
6311 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6312 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6313 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6315 * Makeconfig (after-link): New variable.
6316 (+link-pie, +link-pie-tests): Use it.
6317 (+link-static, +link-static-tests): Likewise.
6318 (+link, +link-tests): Likewise.
6319 * Makerules (build-module, build-module-asneeded): Likewise.
6320 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6322 * elf/Makefile ($(objpfx)ld.so): Likewise.
6324 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
6327 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6328 both struct timeval and struct timespec.
6330 2015-02-12 Joseph Myers <joseph@codesourcery.com>
6333 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6335 (__ieee754_exp2l): Do not multiply small fractional parts by
6337 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6339 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6340 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6341 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6342 * math/auto-libm-test-in: Add more tests of exp2.
6343 * math/auto-libm-test-out: Regenerated.
6345 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6347 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6350 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6352 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6355 2015-02-12 Andreas Schwab <schwab@suse.de>
6358 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6359 Filter out elision flags from value returned in kind.
6360 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6361 * nptl/tst-pthread-mutexattr.c: New file.
6363 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
6365 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6366 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6367 into gnu-gnu, and update comment to refer to abi-tags.
6369 2015-02-11 Joseph Myers <joseph@codesourcery.com>
6372 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6373 (__sincos): Set errno to EDOM for infinite argument.
6374 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6375 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6376 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6377 (__sincosl): Set errno to EDOM for infinite argument.
6378 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6379 (__sincosl): Set errno to EDOM for infinite argument.
6380 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6381 (__sincosl): Set errno to EDOM for infinite argument.
6382 * math/libm-test.inc (sincos_test_data): Test errno setting.
6384 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
6386 * string/strxfrm_l.c: Remove #define STRCMP.
6387 * string/strcoll_l.c: Remove #define STRLEN.
6388 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6389 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6391 2015-02-10 Joseph Myers <joseph@codesourcery.com>
6393 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6394 * sysdeps/mips/mips32/sfp-machine.h: ... here.
6395 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6396 * sysdeps/mips/mips64/Makefile: ... here.
6397 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6398 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6399 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6400 * sysdeps/mips/mips64/sfp-machine.h: ... here.
6401 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6402 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6403 * sysdeps/mips/mips64/n64/Implies: Likewise.
6405 2015-02-10 Roland McGrath <roland@hack.frob.com>
6407 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6408 <sys/time.h>, <string.h>, and <errno.h>.
6409 (dest_offset, dest_address, value, zero): Remove unused variables.
6410 (ldouble): Remove typedef.
6411 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6412 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
6414 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6415 (check): Function removed.
6417 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
6418 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6419 Don't call set_sigaction_FP and remove_sigaction_FP here.
6420 (ldouble_test): Just use 'long double' as macro argument, no need for
6421 the 'ldouble' typedef.
6422 (do_test): Set up SIGFPE handler at start, using plain signal rather
6423 than sigaction. Fix code style.
6425 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
6428 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6431 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6433 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6434 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6436 * sysdeps/powerpc/configure.ac: Remove file.
6437 * sysdeps/powerpc/configure: Likewise.
6439 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6440 [sysdep_routines]: Remove wordcopy-power6 object.
6441 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6442 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6443 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6444 (__memmove_ppc32): Likewise.
6445 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6447 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6448 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6449 Remove preprocessor.
6451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6452 [sysdep_routines]: Remove wide chars objects.
6453 [wcsmbs]: New rule for wide char objects.
6455 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6456 Remove wordcopy-power6 obejct.
6457 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6458 Use local call for wordcopy and memcpy symbols.
6459 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6460 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6461 implementation for loader.
6462 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6464 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6465 Remove wordcopy-power7 object.
6466 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6467 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6468 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6469 (_wordcopy_fwd_dest_aligned): Likewise.
6470 (_wordcopy_bwd_aligned): Likewise.
6471 (_wordcopy_bwd_dest_aligned): Likewise.
6473 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6474 Rewrite to call __memmove_ppc instead of include default
6477 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6478 Remove wide chars objects.
6479 [wcsmbs]: New rule for wide char objects.
6481 2015-02-09 Andreas Schwab <schwab@suse.de>
6484 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6485 in terms of __O_DIRECTORY.
6487 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6489 * time/getdate.c: Include <stdbool.h>.
6490 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6492 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6495 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
6497 Add ersatz _Static_assert on older C hosts
6498 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6499 pre-C11 C platform that is not known to support _Static_assert.
6501 2015-02-07 Richard Braun <rbraun@sceen.net>
6503 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6505 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6507 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6509 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6510 priority against unexistent AIO_PRIO_DELTA_MAX.
6511 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6513 * misc/fchflags.c (fchflags): Likewise.
6514 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6515 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6516 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6517 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6518 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6520 [__USE_MISC] (chflags, fchflags): Declare functions.
6521 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6522 EINVAL when nfds is greater than FD_SETSIZE.
6523 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6524 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6526 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6527 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6528 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6530 * hurd/hurd/signal.h (_hurd_self_sigstate,
6531 _hurd_critical_section_lock, _hurd_critical_section_unlock):
6532 Explicit casts from void *.
6533 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6534 * abi-tags: Rename gnu-gnu os into gnu.
6537 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6538 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6539 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6540 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6541 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6542 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6545 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6546 duplicates ADDR->sun_path with sockaddr LEN limitation.
6547 * sysdeps/mach/hurd/connect.c: Include <string.h>
6548 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6549 * sysdeps/mach/hurd/sendmsg.c: Likewise.
6550 * sysdeps/mach/hurd/sendto.c: Likewise.
6551 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6552 implementing it by hand.
6554 2015-02-06 Roland McGrath <roland@hack.frob.com>
6556 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6557 Use sfi_breg on ldr.
6558 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6561 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6563 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6564 Test SIGSETXID only if it's defined.
6566 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6568 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6569 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
6571 * nptl/tst-align2.c: Moved ...
6572 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6573 * nptl/Makefile (tests): Remove tst-align2.
6574 * sysdeps/unix/sysv/linux/Makefile
6575 [$(subdir) = nptl] (tests): Add tst-align-clone.
6576 * nptl/tst-getpid1.c: Moved ...
6577 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6578 * nptl/tst-getpid2.c: Moved ...
6579 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6580 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6581 * sysdeps/unix/sysv/linux/Makefile
6582 [$(subdir) = nptl] (tests): ... here.
6583 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6584 * sysdeps/unix/sysv/linux/Makefile
6585 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6587 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6588 Drop trailing \n from perror argument. Use return rather than exit.
6590 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6592 * nptl/tst-cancel21.c (do_test): Likewise.
6593 * debug/tst-backtrace6.c: Include <signal.h> first thing.
6594 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6595 [!SA_SIGINFO]: Make it a stub test.
6597 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6598 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6600 * posix/tst-getlogin.c: Move to ...
6601 * login/tst-getlogin.c: ... here.
6602 * posix/Makefile (tests): Move tst-getlogin to ...
6603 * login/Makefile (tests): ... here.
6605 * libio/tst-atime.c (do_test): Move local variables SV and E
6606 inside [ST_NOATIME] conditional.
6608 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6610 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6612 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6613 (wait_code): New function replaces macro.
6614 Call nanosleep rather than syscall.
6616 * nptl/pt-system.c: Rewritten. Put everything under
6617 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6618 Use IFUNC to redirect when possible.
6620 * nptl/pt-longjmp.c: Rewritten. Put everything under
6621 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6622 Use IFUNC to redirect when possible.
6624 * nptl/pt-fork.c: Rewritten. Put everything under
6625 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6626 Use IFUNC to redirect when possible.
6627 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6629 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6630 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6631 unconditionally nowadays. This included the only reference to
6632 __vdso_clock_gettime that appears outside libc proper.
6633 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6634 Remove version set (containing only __vdso_clock_gettime).
6635 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6636 Add attribute_hidden.
6637 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6638 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6639 libc_hidden_data_def.
6640 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6641 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6643 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6644 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6645 setrpcent, and getrpcport to ...
6646 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6647 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6648 getrpcbynumber_r, and getrpcent_r to ...
6649 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6650 * inet/getrpcbyname.c: Moved ...
6651 * sunrpc/getrpcbyname.c: ... here.
6652 * inet/getrpcbyname_r.c: Moved ...
6653 * sunrpc/getrpcbyname_r.c: ... here.
6654 * inet/getrpcbynumber.c: Moved ...
6655 * sunrpc/getrpcbynumber.c: ... here.
6656 * inet/getrpcbynumber_r.c: Moved ...
6657 * sunrpc/getrpcbynumber_r.c: ... here.
6658 * inet/getrpcent.c: Moved ...
6659 * sunrpc/getrpcent.c: ... here.
6660 * inet/getrpcent_r.c: Moved ...
6661 * sunrpc/getrpcent_r.c: ... here.
6662 * inet/Makefile (routines): Move those to ...
6663 * sunrpc/Makefile (routines): ... here.
6664 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6665 the $(subdirs) list.
6666 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
6667 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6668 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6669 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6671 * elf/Makefile (routines): Include $(all-dl-routines), not just
6673 (rtld-routines): Likewise. Use = rather than :=.
6674 * sysdeps/aarch64/Makefile [$(subdir) = elf]
6675 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6676 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6677 * sysdeps/arm/Makefile: Likewise.
6678 * sysdeps/i386/Makefile: Likewise.
6679 * sysdeps/x86_64/Makefile: Likewise.
6680 * sysdeps/hppa/Makefile [$(subdir) = elf]
6681 (sysdep_routines, sysdep-rtld-routines): Don't add
6682 $(sysdep-dl-routines) to these.
6683 * sysdeps/ia64/Makefile: Likewise.
6684 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6685 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6686 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6687 Don't add dl-static to these; sysdep-dl-routines alone is enough.
6688 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6689 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6690 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6691 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6692 * sysdeps/powerpc/Makefile [$(subdir) = elf]
6693 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6694 these; sysdep-dl-routines alone is enough.
6696 2015-02-06 Joseph Myers <joseph@codesourcery.com>
6699 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6700 where multiplication results in zero and third argument is finite
6702 * math/auto-libm-test-in: Add more tests of fma.
6703 * math/auto-libm-test-out: Regenerated.
6705 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6706 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6707 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6708 (_FP_CMP_EQ): Likewise.
6709 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6711 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6712 extra argument CHECK_NAN. Redefine as wrapper around
6715 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
6717 * version.h (RELEASE): Set to "stable".
6718 (VERSION): Set to "2.21"
6719 * include/features.h (__GLIBC_MINOR__): Set to 21.
6721 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6723 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6724 Paul Eggert <eggert@cs.ucla.edu>
6727 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6728 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6729 size in bytes. Store needed elements in wpmax. Use needed size
6730 in bytes for extend_alloca.
6732 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
6734 * manual/install.texi: Latest tested versions are GCC 4.9.2,
6735 binutls 2.25, and texinfo 5.2.
6736 * INSTALL: Regenerate.
6737 * sysdeps/nios2/configure: Regenerate.
6738 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6739 * manual/contrib.texi: Update.
6763 * po/pt_BR.po: Update.
6772 * po/zh_CN.po: Update.
6773 * po/zh_TW.po: Update.
6775 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6776 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6777 * sysdeps/hppa/dl-irel.h: Remove #warning.
6778 * sysdeps/hppa/entry.h: Provide prototype for
6779 __canonicalize_funcptr_for_compare and cast argument.
6780 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6781 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6782 * sysdeps/hppa/sotruss-lib.c: New file.
6783 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6784 (atomic_compare_and_exchange_val_acq): Use __typeof__.
6785 (atomic_compare_and_exchange_bool_acq): Likewise.
6786 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6787 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6789 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6790 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6791 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6793 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6795 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6796 called function in non-PIC case.
6798 2015-01-31 David S. Miller <davem@davemloft.net>
6800 * sysdeps/sparc/sparc32/bits/atomic.h
6801 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6802 unlock not after it.
6803 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6804 volatile register usage warnings from the compiler.
6806 * sysdeps/sparc/nptl/sem_init.c: Delete.
6807 * sysdeps/sparc/nptl/sem_post.c: Delete.
6808 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6809 * sysdeps/sparc/nptl/sem_wait.c: Delete.
6810 * sysdeps/sparc/sparc32/sem_init.c: New file.
6811 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6812 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6813 padding explicitly initialized.
6814 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6815 padding for in-semaphore spinlock.
6816 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6817 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6818 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6819 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6820 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6821 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6822 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6823 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6825 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6826 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6828 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
6831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6832 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6833 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6835 (index_AVX_Fast_Unaligned_Load): Likewise.
6836 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6837 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6838 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6839 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6840 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6841 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6842 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6843 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6844 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6846 2015-01-29 Andreas Schwab <schwab@suse.de>
6848 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6850 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6853 * nscd/nscd_stat.c (send_stats): Initialize DATA.
6855 2015-01-28 Martin Sebor <msebor@redhat.com>
6857 * math/README.libm-test: Clarify. Add "How to read the test output."
6859 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
6861 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6864 2015-01-28 Joseph Myers <joseph@codesourcery.com>
6866 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6867 (__HAVE_64B_ATOMICS): Define to 0.
6869 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6872 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6873 value to set as new flag.
6876 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6877 and use _ARCH_PPCSQ instead.
6878 (__ieee754_sqrt): Likewise.
6879 (__ieee754_sqrtf): Likewise.
6880 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6881 _ARCH_PPCSQ is defined.
6882 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6884 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6885 _ARCH_PPCSQ is defined.
6886 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6888 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6890 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6892 * iconv/loop.c: Suppress array out of bound warning caused by GCC
6893 bug (GCC BZ #64739).
6895 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
6897 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6898 Mark _retval as used.
6899 (lll_futex_wake_unlock): Likewise.
6900 (lll_futex_timed_wait_requeue_pi): Likewise.
6902 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6903 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6906 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6909 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6910 (__bswap_64): Mark as __always_inline.
6912 2015-01-25 Bram <bug_rh@spam.wizbit.be>
6915 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6916 when none of the search directories exist.
6918 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6921 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6922 power8 in .machine directive.
6925 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6926 set dependency from opd value.
6928 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6931 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6934 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6937 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6939 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6941 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6942 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6943 Replace 1UL with (uint64_t) 1.
6944 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6947 2015-01-23 Roland McGrath <roland@hack.frob.com>
6949 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6950 (if_freenameindex): Likewise.
6952 * resource/getrlimit64.c: Add missing libc_hidden_def.
6954 2015-01-22 Joseph Myers <joseph@codesourcery.com>
6956 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6958 (_FP_FMA): Likewise.
6959 (_FP_TO_INT_ROUND): Likewise.
6960 (_FP_FROM_INT): Likewise.
6962 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6965 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6966 Make code racy and cancel safe.
6968 2015-01-21 Carlos O'Donell <carlos@redhat.com>
6970 * sysdeps/arm/unwind-resume.h: Fix copyright year.
6971 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6974 * pwd/tst-getpw.c: Rewrite.
6977 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6978 (modules-names): Add moddummy1 and moddummy2.
6979 ($(objpfx)tst-rec-dlopen): Define.
6980 * dlfcn/moddummy1.c: New file.
6981 * dlfcn/moddummy2.c: New file.
6982 * dlfcn/tst-rec-dlopen.c: New file.
6983 * elf/dl-cache.c (_dl_load_cache_lookup):
6984 Return char*. Copy result with alloca/strcpy/strdup.
6985 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6986 returns char*. Free cached. If not saving realname
6988 * elf/dl-open.c (dl_open_worker): Do not assert that
6989 _r_debug->r_state is RT_CONSISTENT.
6990 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6993 2015-01-21 Torvald Riegel <triegel@redhat.com>
6994 Carlos O'Donell <carlos@redhat.com>
6997 * nptl/sem_waitcommon.c: New file.
6998 * nptl/sem_wait.c: Include sem_waitcommon.c.
6999 (__sem_wait_cleanup, do_futex_wait): Remove.
7000 (__new_sem_wait): Adapt.
7001 (__new_sem_trywait): New function.
7002 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7003 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7004 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7005 (sem_timedwait): Adapt.
7006 * nptl/sem_post.c (__new_sem_post): Adapt.
7007 (futex_wake): New function.
7008 (__old_sem_post): Add release MO fence.
7009 * nptl/sem_open.c (sem_open): Adapt.
7010 * nptl/sem_init.c (__new_sem_init): Adapt.
7011 (futex_private_if_supported): New function.
7012 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7013 (__old_sem_getvalue): Add using previous code.
7014 * sysdeps/nptl/internaltypes.h: Adapt.
7015 * nptl/tst-sem13.c (do_test): Adapt.
7016 * nptl/tst-sem11.c (main): Adapt.
7017 * nptl/sem_trywait.c: Remove.
7018 * nptl/DESIGN-sem.txt: Remove.
7019 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7020 (gen-as-const-headers): Remove structsem.sym.
7021 * nptl/structsem.sym: Remove.
7022 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7023 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7024 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7025 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7026 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7027 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7028 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7029 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7030 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7031 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7032 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7033 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7034 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7035 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7036 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7037 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7038 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7039 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7040 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7041 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7042 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7043 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7045 2015-01-20 Carlos O'Donell <carlos@redhat.com>
7047 * INSTALL: Regenerated.
7049 * po/libc.pot: Regenerated.
7051 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
7052 Sandra Loosemore <sandra@codesourcery.com>
7053 Andrew Jenner <andrew@codesourcery.com>
7054 Joseph Myers <joseph@codesourcery.com>
7055 Nathan Sidwell <nathan@codesourcery.com>
7057 * NEWS: Mention new Nios II port.
7058 * sysdeps/nios2/Implies: New file.
7059 * sysdeps/nios2/Makefile: New file.
7060 * sysdeps/nios2/Subdirs: New file.
7061 * sysdeps/nios2/Versions: New file.
7062 * sysdeps/nios2/__longjmp.S: New file.
7063 * sysdeps/nios2/abort-instr.h: New file.
7064 * sysdeps/nios2/backtrace.c: New file.
7065 * sysdeps/nios2/bits/endian.h: New file.
7066 * sysdeps/nios2/bits/fenv.h: New file.
7067 * sysdeps/nios2/bits/link.h: New file.
7068 * sysdeps/nios2/bits/setjmp.h: New file.
7069 * sysdeps/nios2/bsd-_setjmp.S: New file.
7070 * sysdeps/nios2/bsd-setjmp.S: New file.
7071 * sysdeps/nios2/configure: New generated file.
7072 * sysdeps/nios2/configure.ac: New file.
7073 * sysdeps/nios2/crti.S: New file.
7074 * sysdeps/nios2/crtn.S: New file.
7075 * sysdeps/nios2/dl-init.c: New file.
7076 * sysdeps/nios2/dl-machine.h: New file.
7077 * sysdeps/nios2/dl-sysdep.h: New file.
7078 * sysdeps/nios2/dl-tls.h: New file.
7079 * sysdeps/nios2/dl-trampoline.S: New file.
7080 * sysdeps/nios2/gccframe.h: New file.
7081 * sysdeps/nios2/gmp-mparam.h: New file.
7082 * sysdeps/nios2/jmpbuf-offsets.h: New file.
7083 * sysdeps/nios2/jmpbuf-unwind.h: New file.
7084 * sysdeps/nios2/ldsodefs.h: New file.
7085 * sysdeps/nios2/libc-tls.c: New file.
7086 * sysdeps/nios2/libm-test-ulps: New file.
7087 * sysdeps/nios2/machine-gmon.h: New file.
7088 * sysdeps/nios2/math-tests.h: New file.
7089 * sysdeps/nios2/math_private.h: New file.
7090 * sysdeps/nios2/memusage.h: New file.
7091 * sysdeps/nios2/nptl/Makefile: New file.
7092 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7093 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7094 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7095 * sysdeps/nios2/nptl/pthreaddef.h: New file.
7096 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7097 * sysdeps/nios2/nptl/tls.h: New file.
7098 * sysdeps/nios2/preconfigure: New file.
7099 * sysdeps/nios2/s_fma.c: New file.
7100 * sysdeps/nios2/s_fmaf.c: New file.
7101 * sysdeps/nios2/setjmp.S: New file.
7102 * sysdeps/nios2/sfp-machine.h: New file.
7103 * sysdeps/nios2/sotruss-lib.c: New file.
7104 * sysdeps/nios2/stackguard-macros.h: New file.
7105 * sysdeps/nios2/stackinfo.h: New file.
7106 * sysdeps/nios2/start.S: New file.
7107 * sysdeps/nios2/sysdep.h: New file.
7108 * sysdeps/nios2/tls-macros.h: New file.
7109 * sysdeps/nios2/tst-audit.h: New file.
7110 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7111 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7112 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7113 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7114 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7115 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7116 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7117 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7118 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7119 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7120 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7121 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7122 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7123 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7124 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7125 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7126 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7127 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7128 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7129 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7130 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7131 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7132 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7133 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7134 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7135 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7136 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7137 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7138 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7139 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7140 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7141 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7142 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7143 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7144 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7145 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7146 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7147 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7148 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7149 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7150 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7151 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7152 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7153 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7155 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7158 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7159 (getutent): Use weak_alias in non SHARED case
7160 and default_symbol_version in SHARED case.
7161 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7162 (getutent_r, pututline): Likewise.
7163 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7164 (getutid): Likewise.
7165 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7166 (getutid_r): Likewise.
7167 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7168 (getutline): Likewise.
7169 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7170 (getutline_r): Likewise.
7171 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7172 (updwtmp): Likewise.
7174 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7177 * sysdeps/s390/s390-32/memcmp.S
7178 (memcmp_g5): Rename to __memcmp_g5.
7179 * sysdeps/s390/s390-32/memcpy.S
7180 (memcpy_g5): Rename to __memcpy_g5.
7181 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7182 (memcpy_mvcle) Rename to __memcpy_mvcle.
7183 * sysdeps/s390/s390-32/memset.S
7184 (memset_g5): Rename to __memset_g5.
7185 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7186 (IFUNC_RESOLVE): Prefix ifunc-resolve function
7187 and use prefixed functions.
7188 * sysdeps/s390/s390-32/multiarch/memcmp.S
7189 (memcmp_z196): Rename to __memcmp_z196.
7190 (memcmp_z10): Rename to __memcmp_z10.
7191 (memcmp): Set alias to __memcmp_g5.
7192 (bcmp): Set alias to __memcmp_g5.
7193 * sysdeps/s390/s390-32/multiarch/memcpy.S
7194 (memcpy_z196): Rename to __memcpy_z196.
7195 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7196 (memcpy_z10): Rename to __memcpy_z10.
7197 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7198 (memcpy): Set alias to __memcpy_g5.
7199 * sysdeps/s390/s390-32/multiarch/memset.S
7200 (memset_z196): Rename to __memset_z196.
7201 Jump to __memset_mvcle instead of memset_mvcle.
7202 (memset_z10): Rename to __memset_z10.
7203 Jump to __memset_mvcle instead of memset_mvcle.
7204 (memset_mvcle) Rename to __memset_mvcle.
7205 (memset): Set alias to __memset_g5.
7206 * sysdeps/s390/s390-64/memcmp.S
7207 (memcmp_z900): Rename to __memcmp_z900.
7208 * sysdeps/s390/s390-64/memcpy.S
7209 (memcpy_z900): Rename to __memcpy_z900.
7210 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7211 (memcpy_mvcle) Rename to __memcpy_mvcle.
7212 * sysdeps/s390/s390-64/memset.S
7213 (memset_z900): Rename to __memset_z900.
7214 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7215 (IFUNC_RESOLVE): Prefix ifunc-resolve function
7216 and use prefixed functions.
7217 * sysdeps/s390/s390-64/multiarch/memcmp.S
7218 (memcmp_z196): Rename to __memcmp_z196.
7219 (memcmp_z10): Rename to __memcmp_z10.
7220 (memcmp): Set alias to __memcmp_z900.
7221 (bcmp): Set alias to __memcmp_z900.
7222 * sysdeps/s390/s390-64/multiarch/memcpy.S
7223 (memcpy_z196): Rename to __memcpy_z196.
7224 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7225 (memcpy_z10): Rename to __memcpy_z10.
7226 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7227 (memcpy): Set alias to __memcpy_z900.
7228 * sysdeps/s390/s390-64/multiarch/memset.S
7229 (memset_z196): Rename to __memset_z196.
7230 Jump to __memset_mvcle instead of memset_mvcle.
7231 (memset_z10): Rename to __memset_z10.
7232 Jump to __memset_mvcle instead of memset_mvcle.
7233 (memset_mvcle) Rename to __memset_mvcle.
7234 (memset): Set alias to __memset_z900.
7236 2015-01-14 Joseph Myers <joseph@codesourcery.com>
7239 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7240 __fesetenv instead of fesetenv.
7242 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7244 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7247 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7249 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7252 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7253 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7254 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7255 strncmp-power8 object.
7256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7257 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7258 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7261 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7262 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7264 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7265 trailing byte check.
7267 2015-01-13 David S. Miller <davem@davemloft.net>
7269 * include/signal.h (__sigreturn): Guard with __USE_MISC.
7271 2015-01-13 Roland McGrath <roland@hack.frob.com>
7273 * login/logout.c (logout): Use memset rather than bzero.
7274 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7275 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7276 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7277 (_gethtbyaddr): Likewise.
7278 * locale/programs/simple-hash.c (bcopy): Macro removed.
7280 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7282 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7283 Add strcmp-power8 object.
7284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7285 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7286 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7287 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7288 __strcmp_power8 implementation.
7289 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7292 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7293 Add strncpy-power8 and stpncpy-power8 objects.
7294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7295 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7297 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7298 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7299 __stpncpy_power8 implementation.
7300 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7301 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7302 __strncpy_power8 implementation.
7303 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7304 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7307 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7308 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7309 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7311 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7312 strncat-power8 object.
7313 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7314 __strcat_power8 implementation.
7315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7316 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7317 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7318 optimized strcat for power8.
7320 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7321 strcpy-power8 and stpcpy-power8 objects.
7322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7323 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7325 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7326 multiarch stpcpy implementation for POWER8.
7327 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7328 multiarch strcpy implementation for POWER8.
7329 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7330 __strcpy_power8 function.
7331 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7333 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7337 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
7340 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7341 weights and rules. Use do_xfrm_cached if data fits in cache,
7342 do_xfrm otherwise. Moved former main loop to...
7343 * (do_xfrm_cached): New function.
7344 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7345 find_idx, find_position and stack_push.
7346 * (find_idx): New function.
7347 * (find_position): Likewise.
7348 * localedata/sort-test.sh: Added test run for do_xfrm.
7349 * localedata/xfrm-test.c (main): Added command line option
7350 -nocache to run the test with strings that are too large for
7353 2015-01-13 Torvald Riegel <triegel@redhat.com>
7355 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7356 variable to lll_futex_wake call, not the value itself.
7358 2015-01-12 Joseph Myers <joseph@codesourcery.com>
7361 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7362 twom64. Adjust value to 0x1p-64L.
7363 (__scalblnl): Only return standard underflowing result for K <=
7364 -64 not K <= -63; adjust exponent for underflowing result by 64
7366 * math/libm-test.inc (scalbn_test_data): Add more tests.
7367 (scalbln_test_data): Likewise.
7370 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7372 (__scalblnl): Get new exponent of adjusted subnormal value from ES
7374 * math/libm-test.inc (scalbn_test_data): Add more tests.
7375 (scalbln_test_data): Likewise.
7377 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7378 Stefani Seibold <stefani@seibold.net>
7380 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7381 (sysdep_routines): Add dl-vdso here, ...
7382 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7383 (sysdep_routines): ... not here.
7384 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7385 fallback when vDSO is not presented.
7386 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7387 Define with libc_hidden_proto/libc_hidden_data_def definitions.
7388 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7389 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7390 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7391 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7392 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7393 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7394 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7396 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
7397 fallback configurable symbol when vDSO is not available.
7398 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7399 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
7400 be able to redefine fallback symbol when vDSO is not available.
7401 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7402 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7404 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7406 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7407 (TLS_INIT_TP): Add tm_capable initialization.
7408 (TLS_DEFINE_INIT_TP): Likewise.
7409 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7411 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7412 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7414 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7415 transactoion is lock elision is built and TCB tm_capable is set.
7416 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7418 (INTERNAL_SYSCALL_NCS): Likewise.
7419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7420 (INTERNAL_SYSCALL_NCS): Likewise.
7421 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7423 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7425 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7426 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7427 and remove it for 32 bits case.
7428 [pthread_rwlock_t] (__rwelision): New field for lock elision.
7429 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7431 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7432 Disable lock elision with rdlocks if elision is not available.
7434 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7435 (sysdep_routines): Add lock elision objects.
7436 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7437 [pthread_mutex_t] (__spins): Rework to add lock elision field.
7438 [pthread_mutex_t] (__elision): Add field.
7439 [__PTHREAD_SPINS]: Adjust to init lock elision field.
7440 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7441 elision definitions for powerpc.
7442 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7443 implementation of lock elision for powerpc.
7444 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7445 implementation of timed lock elision for powerpc.
7446 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7447 implementation of trylock with lock elision for powerpc.
7448 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7449 implementaion of unlock for lock elision for powerpc.
7450 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7451 automatic enable lock elision for mutexes.
7452 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7453 transaction execution definitions for powerpc.
7454 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7456 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7457 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7458 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7459 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7462 2015-01-09 Roland McGrath <roland@hack.frob.com>
7464 * sysdeps/posix/shm-directory.c: Use <> rather than ""
7465 for #include of <shm-directory.h>.
7467 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
7469 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7470 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7472 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
7475 * NEWS: Mention bug fix.
7476 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7477 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7478 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7480 2015-01-09 Torvald Riegel <triegel@redhat.com>
7482 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7484 2015-01-09 Torvald Riegel <triegel@redhat.com>
7486 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7488 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7490 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7491 pointer and cast to uintptr_t.
7493 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7495 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7497 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7499 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7501 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7504 2015-01-08 Roland McGrath <roland@hack.frob.com>
7506 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7507 <nptl/pthreadP.h> instead.
7508 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7510 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7512 [__SIGRTMIN] (init): Function removed.
7513 [__SIGRTMIN] (initialized): Variable removed.
7514 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7515 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7516 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7517 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7518 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7519 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7520 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7521 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7522 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7523 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7524 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7525 * sysdeps/nptl/allocrtsig.c: New file.
7526 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7527 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7528 * sysdeps/generic/testrtsig.h: File removed.
7530 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7531 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7533 * nptl/nptl-init.c (pthread_functions): Conditionalize
7534 .ptr__nptl_setxid initialization on [SIGSETXID].
7536 * sysdeps/nptl/sys/procfs.h: New file.
7537 * nptl_db/Makefile (headers): Add it.
7538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7540 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7541 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7542 * nptl/pthread_attr_setaffinity.c: Include it.
7543 * nptl/pthread_setattr_default_np.c: Likewise.
7544 * nptl/check-cpuset.h: New file.
7546 2015-01-08 Richard Henderson <rth@redhat.com>
7548 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7549 (CFLAGS-tst-execstack-prog.c): Likewise.
7550 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7552 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
7553 Sandra Loosemore <sandra@codesourcery.com>
7554 Andrew Jenner <andrew@codesourcery.com>
7555 Joseph Myers <joseph@codesourcery.com>
7556 Nathan Sidwell <nathan@codesourcery.com>
7558 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7559 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7560 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7561 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7562 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7563 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7564 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7565 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7566 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7567 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7568 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7569 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7570 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7571 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7572 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7573 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7574 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7576 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7578 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7579 timespec struct member in syscall macro.
7580 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7581 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7582 first timeval struct member in syscall macro.
7583 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7585 2015-01-07 Joseph Myers <joseph@codesourcery.com>
7588 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7589 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7590 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7591 __feupdateenv and define as weak alias of __feupdateenv. Use
7593 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7595 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7596 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
7597 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7598 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7600 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7601 __feupdateenv and define as weak alias of __feupdateenv. Use
7603 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7605 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7606 __feupdateenv and define as weak alias of __feupdateenv. Use
7608 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7610 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7611 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7612 (__feupdateenv): Likewise.
7613 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7614 __feupdateenv and define as weak alias of __feupdateenv. Use
7616 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7617 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7619 * sysdeps/tile/math_private.h (__feupdateenv): New inline
7621 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7623 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7624 __feupdateenv instead of feupdateenv.
7625 (default_libc_feupdateenv_test): Likewise.
7626 (libc_feresetround_ctx): Likewise.
7628 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7630 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7633 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
7635 * posix/regcomp.c (parse_bracket_exp): Initialize type to
7636 COLL_SYM in a couple of places to avoid uninitialized variable
7637 wanings on tilegx gcc 4.8.2.
7639 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7641 * sysdeps/aarch64/strcpy.S: New file.
7642 * sysdeps/aarch64/stpcpy.S: New file.
7645 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7647 * sysdeps/aarch64/strrchr.S: New file.
7650 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
7653 * stdlib/setenv.c: Fix memory leak when setting large,
7656 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
7659 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7660 and tabs from buffer before parsing fstab entry.
7661 * misc/tst-mntent.c (main): Add test for mount entry with
7662 trailing spaces and tabs.
7664 2015-01-06 Joseph Myers <joseph@codesourcery.com>
7667 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
7668 * math/fesetround.c (fesetround): Rename to __fesetround and
7669 define as weak alias of __fesetround. Use libm_hidden_weak.
7670 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7671 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7672 * sysdeps/arm/fesetround.c (fesetround): Likewise.
7673 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7674 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7675 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7676 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7677 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7678 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7679 __fesetround_inline.
7680 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7681 __fesetround_inline instead of __fesetround.
7682 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7683 __fesetround and define as weak alias of __fesetround. Use
7684 libm_hidden_weak. Call __fesetround_inline instead of
7686 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7687 __fesetround and define as weak alias of __fesetround. Use
7689 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7691 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7692 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7693 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7694 * sysdeps/tile/math_private.h (__fesetround): New inline function.
7695 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7696 __fesetround and define as weak alias of __fesetround. Use
7698 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7699 __fesetround instead of fesetround.
7700 (default_libc_feholdexcept_setround): Likewise.
7701 (libc_feholdsetround_ctx): Likewise.
7702 (libc_feholdsetround_noex_ctx): Likewise.
7705 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7706 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7707 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7708 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7709 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7710 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7711 define as weak alias of __fesetenv. Use libm_hidden_weak.
7712 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7713 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7714 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7715 define as weak alias of __fesetenv. Use libm_hidden_weak.
7716 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7717 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7718 define as weak alias of __fesetenv. Use libm_hidden_weak.
7719 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7721 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7722 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7724 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7725 define as weak alias of __fesetenv. Use libm_hidden_weak.
7726 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7727 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7728 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7729 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7730 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7731 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7732 __fesetenv instead of fesetenv.
7733 (libc_feresetround_noex_ctx): Likewise.
7734 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7735 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7736 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7737 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7738 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7739 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7740 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7741 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7742 (__feupdateenv): Likewise.
7743 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7744 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7745 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7746 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7748 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7751 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7752 addresses have been freed.
7754 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7756 * resolv/res_init.c (__res_vinit): Improve comments about nserv
7759 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
7761 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7762 Clean up check_pf allocation pattern. addresses
7764 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7766 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7767 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7768 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7769 * nptl/pthread_exit.c (__pthread_exit): Likewise.
7770 * nptl/pthread_join.c (pthread_join): Likewise.
7771 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7772 * sysdeps/posix/waitid.c (__waitid): Likewise.
7773 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7774 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7775 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7776 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7777 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7779 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7780 (__libc_pread64): Likewise.
7781 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7782 (__libc_pwrite): Likewise.
7783 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7784 (__libc_pwrite64): Likewsie.
7785 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7786 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7787 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7788 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7789 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7790 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7791 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7795 (__libc_pread64): Likewise.
7796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7799 (__libc_pwrite64): Likewise.
7800 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7801 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7802 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7803 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7804 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7805 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7806 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7807 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7808 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7809 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7810 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7811 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7812 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7813 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7814 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7815 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7818 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7820 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7821 (CFLAGS-test-double.c): Likewise.
7822 (CFLAGS-test-ldouble.c): Likewise.
7823 (CPPFLAGS-test-ifloat.c): Likewise.
7824 (CPPFLAGS-test-idouble.c): Likewise.
7825 (CPPFLAGS-test-ildoubl.c): Likewise.
7826 (CFLAGS-test-test-fenv.c): Remove variable.
7827 (CFLAGS-test-misc.c): Likewise.
7829 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
7832 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7833 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7834 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7835 CLOCKS_PER_SEC == 1000000.
7836 * time/clocktest.c (main): Replace %ld with %jd and cast to
7839 2015-01-05 Roland McGrath <roland@hack.frob.com>
7841 * sysdeps/generic/unwind-resume.h: New file.
7842 * sysdeps/gnu/unwind-resume.c: Include it.
7843 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7844 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7846 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7847 global rather than static.
7848 (_Unwind_Resume): Update user.
7849 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7850 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
7851 rather than static. Add __attribute__ ((cold)).
7852 (_Unwind_Resume, __gcc_personality_v0): Update callers.
7853 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7854 * sysdeps/arm/arm-unwind-resume.S: New file.
7855 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7856 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7857 * sysdeps/arm/Makefile [$(subdir) = csu]
7858 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7859 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7860 Add rt-arm-unwind-resume.
7862 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7863 Add pt-arm-unwind-resume.
7864 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7865 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7867 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7870 * include/fenv.h (__feholdexcept): Declare. Use
7872 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7873 define as weak alias of __feholdexcept. Use libm_hidden_weak.
7874 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7875 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7876 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7877 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7878 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7879 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7880 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7881 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7882 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7883 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7884 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7885 (feholdexcept): Likewise.
7886 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7887 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7888 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7889 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7890 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7891 __feholdexcept instead of feholdexcept.
7892 (default_libc_feholdexcept_setround): Likewise.
7894 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7896 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7897 to avoid using stl/str to align destination.
7899 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7901 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7903 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7906 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7907 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7908 Define as weak alias not strong alias.
7910 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7912 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7913 bltzal with addiupc.
7914 (RTLD_START): Ditto.
7916 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
7918 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7919 for __vdso_* functions in declarations.
7920 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7922 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7923 INTERNAL_VSYSCALL): Use struct return types to check for error.
7925 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7926 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7927 function with cast from llround().
7928 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7929 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7932 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7935 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7936 Define as weak alias not strong alias.
7939 * ctype/ctype-c99.c: New file. isblank implementation moved from
7941 * ctype/ctype-extn.c: ... here.
7942 (__isblank_l): Move to ...
7943 * ctype/ctype-c99_l.c: ... here. New file.
7944 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7945 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7947 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7948 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7949 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7950 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7951 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7954 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7955 (posix_fadvise64): Define as weak alias not strong alias.
7956 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7957 (posix_fallocate64): Likewise.
7958 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7960 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7961 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7962 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7963 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7964 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7966 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
7969 * NEWS: Mention bug fix.
7970 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7971 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7972 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7973 (HOST_STACK_END_ADDR): Likewise.
7975 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7978 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
7979 * math/fegetround.c (fegetround): Rename to __fegetround and
7980 define as weak alias of __fegetround. Use libm_hidden_weak.
7981 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7982 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7983 * sysdeps/arm/fegetround.c (fegetround): Likewise.
7984 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7985 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7986 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7987 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7988 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7989 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7990 Undefine after rather than before function definition; use
7991 parentheses around function name in definition.
7992 (__fegetround): Also undefine macro after function definition.
7993 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7994 __fegetround and define as weak alias of __fegetround. Use
7995 libm_hidden_weak. Do not undefine as macro.
7996 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7998 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7999 __fegetround and define as weak alias of __fegetround. Use
8001 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8002 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8003 * sysdeps/tile/math_private.h (__fegetround): New inline function.
8004 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8005 __fegetround and define as weak alias of __fegetround. Use
8007 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8008 __fegetround instead of fegetround.
8011 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8012 Condition macro definition on [__USE_MISC].
8015 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8016 (struct sigaction): Change type of sa_flags field to int.
8019 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8020 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8023 * nptl/version.c (banner): Use single year in copyright notice.
8025 * NEWS: Update copyright dates.
8026 * catgets/gencat.c (print_version): Likewise.
8027 * csu/version.c (banner): Likewise.
8028 * debug/catchsegv.sh: Likewise.
8029 * debug/pcprofiledump.c (print_version): Likewise.
8030 * debug/xtrace.sh (do_version): Likewise.
8031 * elf/ldconfig.c (print_version): Likewise.
8032 * elf/ldd.bash.in: Likewise.
8033 * elf/pldd.c (print_version): Likewise.
8034 * elf/sotruss.sh: Likewise.
8035 * elf/sprof.c (print_version): Likewise.
8036 * iconv/iconv_prog.c (print_version): Likewise.
8037 * iconv/iconvconfig.c (print_version): Likewise.
8038 * locale/programs/locale.c (print_version): Likewise.
8039 * locale/programs/localedef.c (print_version): Likewise.
8040 * login/programs/pt_chown.c (print_version): Likewise.
8041 * malloc/memusage.sh (do_version): Likewise.
8042 * malloc/memusagestat.c (print_version): Likewise.
8043 * malloc/mtrace.pl: Likewise.
8044 * manual/libc.texinfo: Likewise.
8045 * nptl/version.c (banner): Likewise.
8046 * nscd/nscd.c (print_version): Likewise.
8047 * nss/getent.c (print_version): Likewise.
8048 * nss/makedb.c (print_version): Likewise.
8049 * posix/getconf.c (main): Likewise.
8050 * scripts/test-installation.pl: Likewise.
8051 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8053 2015-01-02 Will Newton <will.newton@linaro.org>
8055 * sysdeps/arm/armv7/configure: Removed.
8056 * sysdeps/arm/armv7/configure.ac: Likewise.
8058 2015-01-02 Joseph Myers <joseph@codesourcery.com>
8060 * All files with FSF copyright notices: Update copyright dates
8061 using scripts/update-copyrights.
8062 * intl/plural.c: Regenerated.
8063 * locale/programs/charmap-kw.h: Likewise.
8064 * locale/programs/locfile-kw.h: Likewise.
8066 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8068 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8070 2014-12-31 Joseph Myers <joseph@codesourcery.com>
8073 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8074 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8075 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8076 and define as weak alias of __fegetenv. Use libm_hidden_weak.
8077 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8078 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8079 define as weak alias of __fegetenv. Use libm_hidden_weak.
8080 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8081 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8082 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8083 define as weak alias of __fegetenv. Use libm_hidden_weak.
8084 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8085 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8086 define as weak alias of __fegetenv. Use libm_hidden_weak.
8087 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8089 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8090 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8092 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8093 define as weak alias of __fegetenv. Use libm_hidden_weak.
8094 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8095 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8096 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8097 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8098 and define as weak alias of __fegetenv. Use libm_hidden_weak.
8099 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8100 __fegetenv instead of fegetenv.
8101 (libc_feholdsetround_noex_ctx): Likewise.
8103 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
8105 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8106 (Elf_MIPS_ABIFlags_v0): New structure.
8107 (EF_MIPS_FP64): Define.
8108 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8109 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8110 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8111 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8112 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8113 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8114 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8115 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8116 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8117 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8118 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8119 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8120 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8121 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8122 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8123 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8124 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8125 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8126 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8127 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8128 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8129 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8131 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8133 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8134 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8135 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8136 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8137 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8138 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8139 * sysdeps/mips/tst-abi-interlink.c: Likewise.
8140 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8141 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8142 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8143 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8144 record the current FP ABI extension.
8145 (mips-mode-switch): Define to show if kernel headers support mode
8147 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8148 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8149 supported SYSV ABI version to 3.
8150 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8153 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8154 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8156 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8158 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8160 2014-12-31 Joseph Myers <joseph@codesourcery.com>
8162 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8163 __fegetround and redefine to call __fegetround. Remove condition
8164 on [!__NO_MATH_INLINES].
8165 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8167 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8168 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8170 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8171 instead of <fenv_libc.h>.
8172 (__llrintl): Call fegetround instead of __fegetround.
8173 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8174 instead of <fenv_libc.h>.
8175 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8176 (__lrintl): Call fegetround instead of __fegetround.
8177 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8178 instead of <fenv_libc.h>.
8179 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8180 (__rintl): Call fegetround instead of __fegetround.
8182 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8184 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8187 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
8190 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8191 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8192 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8194 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
8196 * sysdeps/i386/tls-macros.h: Include <features.h>.
8197 (TLS_LE): Use non-PIC version for GCC >= 5.0.
8201 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8202 define for GCC >= 5.0.
8204 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
8206 * math/test-fenv.c (test_single_exception, set_single_exc,
8207 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8208 feexcp_mask_test, feenable_test, fe_single_test): Add
8209 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8210 case where they are not used.
8211 * math/libm-test.inc: Likewise.
8212 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8213 unused in the absence of FP rounding/exception support.
8214 * stdio-common/tst-printf-round.c: Likewise.
8215 * stdlib/tst-strtod-round.c: Likewise.
8216 * stdlib/tst-strtod-underflow.c: Likewise.
8218 2014-12-30 Joseph Myers <joseph@codesourcery.com>
8221 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8222 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8223 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8224 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8226 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8227 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8228 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8230 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8231 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8233 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8235 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8236 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8237 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8239 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8241 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8242 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8243 (__feraiseexcept): Likewise.
8244 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8245 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8247 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8248 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8250 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8251 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8252 Use libm_hidden_def.
8253 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8255 (feraiseexcept): Define as weak not strong alias. Use
8257 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8258 New inline function. Factored out of ...
8259 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
8260 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8261 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8263 * math/w_acos.c (__acos): Likewise.
8264 * math/w_asin.c (__asin): Likewise.
8265 * math/w_ilogb.c (__ilogb): Likewise.
8266 * math/w_j0.c (y0): Likewise.
8267 * math/w_j1.c (y1): Likewise.
8268 * math/w_jn.c (yn): Likewise.
8269 * math/w_log.c (__log): Likewise.
8270 * math/w_log10.c (__log10): Likewise.
8271 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8272 * sysdeps/aarch64/fpu/math_private.h
8273 (libc_feupdateenv_test_aarch64): Likewise.
8274 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8275 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8276 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8277 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8278 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8279 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8280 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8281 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8282 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8283 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8285 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
8288 * io/test-utime.c (main): Replace %ld with %jd and cast to
8290 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8291 * nptl/tst-mutex5.c: Include <stdint.h>.
8292 (do_test): Replace %ld with %jd and cast to intmax_t.
8293 * posix/tst-regex.c (run_test): Likewise.
8294 (run_test_backwards): Likewise.
8295 * rt/tst-clock.c: Include <stdint.h>.
8296 (clock_test): Replace %ld with %jd and cast to intmax_t.
8297 * rt/tst-cpuclock1.c: Include <stdint.h>.
8298 (do_test): Replace %lu with %ju and cast to uintmax_t.
8299 * rt/tst-cpuclock2.c: Include <stdint.h>.
8300 (do_test): Replace %lu with %ju and cast to uintmax_t.
8301 * rt/tst-mqueue1.c: Include <stdint.h>.
8302 (check_attrs): Replace %ld with %jd and cast to intmax_t.
8303 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8305 * rt/tst-mqueue4.c (do_test): Likewise.
8306 * rt/tst-timer4.c: Include <stdint.h>.
8307 (check_ts): Replace %ld with %jd and cast to intmax_t.
8308 (do_test): Likewise.
8309 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8310 and cast to intmax_t.
8311 * sysdeps/pthread/tst-timer.c (main): Likewise.
8312 * time/clocktest.c (main): Likewise.
8313 * time/tst-posixtz.c (do_test): Likewise.
8314 * timezone/tst-timezone.c (main): Likewise.
8316 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
8317 H.J. Lu <hongjiu.lu@intel.com>
8319 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8320 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8321 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8322 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8323 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8324 version if bit_Fast_Unaligned_Load is set.
8325 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8326 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8327 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8328 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8329 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8330 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8331 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8332 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8333 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8334 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8336 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8337 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8338 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8339 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8341 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
8343 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8344 instead of #if to avoid a Wundef warning.
8345 * stdlib/tst-limits.c (do_test): Likewise.
8347 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8348 parallel other exception macros.
8349 (fegetenv): Convert from macro to extern inline so that it applies
8350 retroactively to inline functions already seen by the compiler.
8351 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8353 * posix/Makefile (before-compile): Use $(objpfx) for
8354 posix-conf-vars-def.h.
8356 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8358 * posix/getconf.c (main): Use size_t for type of I.
8359 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8362 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8363 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8364 * posix/posix-envs.def: Likewise.
8365 * sysdeps/posix/sysconf.c: Likewise.
8366 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8367 (specs): Remove array.
8368 * scripts/gen-posix-conf-vars.awk: Support generation of specs
8371 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8372 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8373 (__sysconf): Use CONF_IS_* macros.
8375 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8376 ($(objpfx)posix-conf-vars-def.h): New target.
8377 * posix/posix-conf-vars.list: New file.
8378 * posix/posix-conf-vars.h: New file.
8379 * posix/confstr.c: Include posix-conf-vars.h.
8380 (confstr): Use CONF_IS_* macros.
8381 * posix/posix-envs.def: Include posix-conf-vars.h. Use
8383 * scripts/gen-posix-conf-vars.awk: New file.
8385 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
8387 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8388 fegetround): Add no-op macros to avoid linknamespace issues.
8390 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8391 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8393 * sysdeps/unix/sysv/linux/tile/sysdep.h
8394 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8395 assembly-specific section to avoid a redefinition warning.
8397 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8398 long before casting to pointer to avoid a cast warning.
8400 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
8402 * sysdeps/tile/tilegx/Implies: New file.
8404 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
8406 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8408 2014-12-23 Florian Weimer <fweimer@redhat.com>
8410 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8412 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8414 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8416 * sysdeps/unix/sysv/linux/utimes.c: Do not include
8417 <kernel-features.h>.
8418 (__utimes) [__NR_utimes]: Make code unconditional.
8419 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8420 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8421 (__ASSUME_UTIMES): Do not undefine.
8422 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8423 (__ASSUME_UTIMES): Likewise.
8424 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8425 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8426 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8427 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8429 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8431 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8433 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
8436 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8437 alias to weak alias for j0l, y0l.
8438 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8439 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8442 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8445 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8447 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8448 to zero if not already defined.
8450 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8453 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8454 (__kernel_standard_f): Remove. Moved to k_standardf.c.
8455 (__kernel_standard_l): Remove. Moved to k_standardl.c with
8456 (char *) casts added.
8457 * sysdeps/ieee754/k_standardf.c: New file.
8458 * sysdeps/ieee754/k_standardl.c: Likewise.
8459 * math/Makefile (libm-support): Remove k_standard.
8460 (libm-calls): Add k_standard.
8462 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8464 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8465 Optimize to avoid an unnecessary FPCR read.
8467 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8469 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8470 Optimize to reduce FPCR/FPSR accesses.
8472 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8474 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8475 Call libc_fetestexcept_aarch64.
8477 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8479 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8480 Call libc_fesetround_aarch64.
8482 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8485 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8486 (__bind): Do not define as weak alias.
8487 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8489 (__getsockname): Do not define as weak alias.
8491 2014-12-22 Will Newton <will.newton@linaro.org>
8493 * manual/install.texi: Document that we require bison 2.7
8495 * INSTALL: Regenerate.
8496 * configure.ac: Use AC_CHECK_PROG_VER instead of
8497 AC_PATH_PROG when checking for bison and check for
8498 version 2.7 or above.
8499 * configure: Regenerate.
8501 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
8504 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8505 * sysdeps/tile/ffsll.c (ffsll): To here.
8507 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8509 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8511 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8513 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8515 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8516 hidden ___tls_get_addr.
8517 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8518 hidden __tls_get_addr.
8519 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8520 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8523 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
8525 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8528 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8530 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8531 from "call _dl_init@PLT".
8532 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8534 2014-12-21 Anders Kaseorg <andersk@mit.edu>
8536 * manual/search.texi: (Array Sort Function): Clarify stable sorting
8539 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
8541 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8543 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8546 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8549 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8551 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8553 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8554 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8555 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8556 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8557 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8559 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8561 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8562 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8563 (PTR_SUBU): Use subu for mips32r6/mips64r6.
8564 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8565 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8567 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8569 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
8571 * string/strncat.c (STRNCAT): Simplify implementation.
8573 2014-12-19 David S. Miller <davem@davemloft.net>
8575 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8576 access the quad as both a long double and as a series of 4 words.
8578 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8579 link_map->l_info array access.
8581 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8583 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8585 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8586 * math/atest-exp2.c (TIMEOUT): Likewise.
8587 * math/atest-sincos.c (TIMEOUT): Likewise.
8589 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8591 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8592 -Wno-error with -fno-builtin-lround.
8594 2014-12-19 Torvald Riegel <triegel@redhat.com>
8596 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8597 Contains futex constants and functions moved over from ...
8598 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
8599 <lowlevellock-futex.h>.
8600 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8601 (lll_timedwait_tid): Add comments and parentheses around macro
8604 2014-12-19 Torvald Riegel <triegel@redhat.com>
8606 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8607 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
8608 (__lll_private_flag): Remove.
8609 (lll_futex_wait): Likewise.
8610 (lll_futex_timed_wait): Likewise.
8611 (lll_futex_wake): Likewise.
8612 (lll_futex_requeue): Likewise.
8613 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8614 (__lll_timedwait_tid): Spell out argument names.
8615 (lll_timedwait_tid): Add comments and parentheses around macro
8617 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8618 LLL_SHARED and LLL_PRIVATE usable from assembly code.
8620 2014-12-19 Torvald Riegel <triegel@redhat.com>
8622 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8623 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8624 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8625 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8626 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8627 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8628 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8629 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8630 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8631 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8632 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8633 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8634 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8635 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8636 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8637 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8638 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8639 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8640 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8642 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8644 * sysdeps/x86_64/x32/Makefile: New file.
8646 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8648 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8649 1L with (mp_limb_t) 1.
8651 2014-12-17 Roland McGrath <roland@hack.frob.com>
8653 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8654 * nptl/libc_pthread_init.c: ... here.
8655 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8656 * nptl/register-atfork.c: ... here.
8658 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8659 Use pthread_sigmask rather than INTERNAL_SYSCALL.
8660 Use assert_perror to check its return value.
8661 (__gai_create_helper_thread): Likewise.
8663 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8665 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8667 2014-12-17 Joseph Myers <joseph@codesourcery.com>
8670 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8672 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8674 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8676 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8678 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8679 (profil_counter): Likewise.
8680 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8681 (profil_counter): Likewise.
8682 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8684 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8686 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8687 (profil_counter): Likewise.
8688 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8690 [!__profil_counter] (profil_counter): Define as weak alias of
8692 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8693 (profil_counter): Rename to __profil_counter.
8694 [!__profil_counter] (profil_counter): Define as weak alias of
8696 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8697 (profil_counter): Rename to __profil_counter.
8698 [!__profil_counter] (profil_counter): Define as weak alias of
8700 * sysdeps/posix/profil.c: Update comment referring to
8702 (__profil): Use __profil_counter instead of profil_counter.
8703 * sysdeps/posix/sprofil.c (profil_counter): Rename to
8704 __profil_counter. Use __profil_counter_ushort and
8705 __profil_counter_uint in definitions.
8706 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8707 instead of profil_counter_uint and profil_counter_ushort.
8710 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8711 define as weak alias of __inet_makeaddr.
8712 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8713 as weak alias of __inet_addr.
8714 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8715 as weak alias of __inet_pton. Use libc_hidden_weak.
8716 * include/arpa/inet.h (__inet_pton): Declare. Use
8718 (inet_makeaddr): Don't use libc_hidden_proto.
8719 (__inet_makeaddr): Declare. Use libc_hidden_proto.
8720 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8721 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
8722 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8724 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8725 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8727 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
8729 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8731 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8733 * stdio-common/bug-vfprintf-nargs.c (do_test):
8734 Cast value to intptr_t to avoid format warning
8735 for usage with PRIdPTR printing macro.
8737 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8739 * libio/tst-widetext.c (do_test):
8740 Use format type %td instead of %Zd for ptrdiff_t
8741 in order to avoid format warning.
8743 2014-12-17 Andreas Schwab <schwab@suse.de>
8745 * nscd/mem.c (gc): Add size_t cast to match printf format.
8747 2014-12-16 Roland McGrath <roland@hack.frob.com>
8749 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8750 (init): Apply PTR_MANGLE to pointers before storing them.
8751 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8754 2014-12-16 Joseph Myers <joseph@codesourcery.com>
8757 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8758 define as weak alias of __memrchr.
8759 (__memrchr): Do not define as strong alias of memrchr.
8760 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8762 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8763 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8764 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8767 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8768 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
8769 (if_indextoname): Rename to __if_indextoname and define as weak
8770 alias of __if_indextoname. Use libc_hidden_weak.
8771 (if_freenameindex): Rename to __if_freenameindex and define as
8772 weak alias of __if_freenameindex.
8773 (if_nameindex): Rename to __if_nameindex and define as weak alias
8775 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8776 __if_nametoindex and define as weak alias of __if_nametoindex.
8777 Use libc_hidden_weak.
8778 (if_freenameindex): Rename to __if_freenameindex and define as
8779 weak alias of __if_freenameindex.
8780 (if_nameindex): Rename to __if_nameindex and define as weak alias
8782 (if_indextoname): Rename to __if_indextoname and define as weak
8783 alias of __if_indextoname. Use libc_hidden_weak.
8784 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8785 __if_nametoindex and define as weak alias of __if_nametoindex.
8786 Use libc_hidden_weak.
8787 (if_freenameindex): Rename to __if_freenameindex and define as
8788 weak alias of __if_freenameindex. Use libc_hidden_weak.
8789 (if_nameindex_netlink): Use __if_freenameindex instead of
8791 (if_nameindex): Rename to __if_nameindex and define as weak alias
8792 of __if_nameindex. Use libc_hidden_weak.
8793 (if_indextoname): Rename to __if_indextoname and define as weak
8794 alias of __if_indextoname. Use libc_hidden_weak.
8795 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8797 [!_ISOMAC] (__if_freenameindex): Likewise.
8798 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8800 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8802 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8803 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8804 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8805 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8806 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8807 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8808 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8810 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8812 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8813 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8815 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8817 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8818 subscript above bounds'
8820 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8823 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
8825 * libio/tst-fopenloc.c: Use test-skeleton.c.
8827 * stdlib/tst-bsearch.c: Use test-skeleton.c.
8828 (entry): Rename to ITEM.
8829 (do_test, comp): Adjust.
8831 * stdio-common/tst-fseek.c: Use test-skeleton.c.
8833 2014-12-16 Torvald Riegel <triegel@redhat.com>
8835 * string/tester.c: Include <libc-internal.h>.
8836 (test_memset): Ignore -Wmemset-transposed-args.
8838 2014-12-16 Torvald Riegel <triegel@redhat.com>
8840 * misc/tst-mntent2.c (do_test): Fix warning.
8842 2014-12-16 Torvald Riegel <triegel@redhat.com>
8844 * elf/tst-unique4lib.cc(a): Mark as used.
8846 2014-12-16 Florian Weimer <fweimer@redhat.com>
8849 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8852 2014-12-16 Allan McRae <allan@archlinux.org>
8854 * stdio-common/Makefile (tests): Re-add bug26.
8856 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
8859 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8862 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
8864 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8865 (__lll_lock_wait): Likewise.
8866 (__lll_timedlock_wait): Likewise.
8867 (__lll_timedwait_tid): Likewise.
8868 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8869 (__lll_robust_timedlock_wait): Likewise.
8870 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8871 (lll_cond_trylock): Likewise.
8872 (__lll_lock): Likewise.
8873 (__lll_robust_lock): Likewise.
8874 (__lll_cond_lock): Likewise.
8875 (lll_robust_cond_lock): Likewise.
8876 (__lll_timedlock): Likewise.
8877 (__lll_robust_timedlock): Likewise.
8878 (__lll_unlock): Likewise.
8879 (__lll_robust_unlock): Likewise.
8880 (lll_wait_tid): Likewise.
8881 (lll_timedwait_tid): Likewise.
8883 2014-12-15 Torvald Riegel <triegel@redhat.com>
8885 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8887 2014-12-15 Torvald Riegel <triegel@redhat.com>
8889 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8891 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8893 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8894 * stdio-common/tst-sprintf.c: Likewise.
8896 2014-12-15 Torvald Riegel <triegel@redhat.com>
8898 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8900 2014-12-15 Jeff Law <law@redhat.com>
8903 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8904 on the heap. (CVE-2012-3406)
8905 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8906 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
8907 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8909 2014-12-15 Will Newton <will.newton@linaro.org>
8911 * manual/install.texi: Bump required version of texinfo
8913 * INSTALL: Regenerated.
8914 * configure.ac: Check for makeinfo version 4.7 and above.
8915 * configure: Regenerated.
8917 2014-12-12 Roland McGrath <roland@hack.frob.com>
8919 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8920 PREFIX, string constant to insert between directory and name.
8921 * sysdeps/posix/shm_open.c: Update caller.
8922 * sysdeps/posix/shm_unlink.c: Likewise.
8923 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8924 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8925 (SEM_SHM_PREFIX): New macro.
8926 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8927 [$(have-thread-library) = no].
8928 * nptl/Makefile (libpthread-routines): Add shm-directory.
8929 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8930 * sysdeps/nptl/shm-directory.h: New file.
8931 * sysdeps/posix/shm-directory.c
8932 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8933 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8934 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8936 (__where_is_shmfs): Function removed.
8937 (mountpoint, defaultmount, defaultdir, __namedsem_once):
8939 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8941 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
8943 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8944 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8945 unconditional for use inside libpthread.
8946 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8948 2014-12-12 Roland McGrath <roland@hack.frob.com>
8950 * nptl/pthread_getaffinity.c: New file.
8951 * nptl/pthread_setaffinity.c: New file.
8952 * nptl/pthread_getname.c: New file.
8953 * nptl/pthread_setname.c: New file.
8955 * nptl/pthread_create.c (START_THREAD_DEFN)
8956 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8958 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8959 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8961 * resolv/res_send.c (send_vc): Disable warning resplen may
8962 be used uninitialized.
8964 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8967 (ATTR_NULL): New define checks ATTR against NULL.
8968 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8969 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8971 2014-12-11 James Lemke <jwlemke@codesourcery.com>
8975 (mem2mem_check): Revert my previous change.
8976 (malloc_check_get_size): Revert my previous change.
8977 (mem2chunk_check): Revert my previous change.
8979 2014-12-11 Roland McGrath <roland@hack.frob.com>
8981 * sysdeps/posix/shm-directory.c: New file.
8982 * sysdeps/posix/shm-directory.h: New file.
8983 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8984 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8985 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
8986 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8987 Transmute EPERM to EACCES.
8988 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8990 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
8991 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8993 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8995 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8996 pointer and cast to uintptr_t.
8997 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8998 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8999 Add cast to avoid warning.
9000 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9002 2014-12-11 Joseph Myers <joseph@codesourcery.com>
9004 * nptl/semaphore.h: Move to ...
9005 * sysdeps/pthread/semaphore.h: ... here.
9006 * Makefile (installed-headers): Change nptl/semaphore.h to
9007 sysdeps/pthread/semaphore.h.
9009 2014-12-11 Roland McGrath <roland@hack.frob.com>
9011 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9012 generated error format strings.
9014 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9015 -Wformat-extra-args warnings for scanf formats.
9016 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9017 test of zero-length format (duh).
9018 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9019 corner-case scanf format test.
9020 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9021 generated fprintf format string.
9022 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9023 corner-case sprintf format tests.
9024 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9025 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9026 -Wformat-extra-args warnings throughout.
9027 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9028 (CFLAGS-scanf4.c): Likewise.
9029 (CFLAGS-scanf7.c): Likewise.
9030 (CFLAGS-tst-sprintf.c): Likewise.
9031 (CFLAGS-tst-printf.c): Likewise.
9032 (CFLAGS-tst-printfsz.c): Likewise.
9034 2014-12-11 Joseph Myers <joseph@codesourcery.com>
9036 * include/cpio.h: New file.
9037 * include/fmtmsg.h: Likewise.
9039 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
9040 corresponding format argument to size_t.
9041 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
9043 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
9044 corresponding format argument to size_t.
9045 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
9047 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
9048 corresponding format argument to size_t.
9049 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9050 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9051 (CFLAGS-tst-mbswcs2.c): Likewise.
9052 (CFLAGS-tst-mbswcs3.c): Likewise.
9053 (CFLAGS-tst-mbswcs4.c): Likewise.
9054 (CFLAGS-tst-mbswcs5.c): Likewise.
9055 (CFLAGS-tst-trans.c): Likewise
9057 2014-12-11 Roland McGrath <roland@hack.frob.com>
9059 * posix/regexbug1.c (main): Use "%s" format with regerror results,
9060 rather than assuming they won't contain any '%'s.
9062 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
9064 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9065 inhibit_loop_to_libcall to avoid recursive calls.
9066 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9067 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9069 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
9071 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9074 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
9076 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9077 integer value instead of boolean.
9079 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
9081 * malloc/malloc.c: Fix powerof2 check.
9083 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9085 * locale/programs/locfile.h (maybe_swap_uint32):
9086 Remove inline and add unused attribute.
9088 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9090 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9091 Truncating assembler expression to a .long expression.
9093 2014-12-11 Andreas Schwab <schwab@suse.de>
9095 * elf/rtld.c (struct map_args): Constify str member.
9096 (do_preload): Constify fname argument.
9098 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9100 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9101 constants definition.
9103 2014-12-11 Andreas Schwab <schwab@suse.de>
9106 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9107 FORCE_ELISION instead of DO_ELISION.
9108 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9110 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9113 * iconvdata/gconv-modules: Remove duplicate entry.
9115 2014-12-11 Will Newton <will.newton@linaro.org>
9117 Merge gettext 0.19.3 into intl/.
9119 This involves a number of cosmetic changes to comments
9120 and ANSI function definitions and prototypes throughout
9121 all the files. The gettext copyright header is used but
9122 with the date ranges taken from the glibc copy.
9124 * NEWS: Add gettext merge to 2.21.
9125 * intl/bindtextdom.c: Switch to gettext copyright.
9126 Use ANSI definitions and prototypes.
9127 Use gl_* locking primitives rather than __libc_* ones.
9128 Use __builtin_expect rather than __glibc_likely/unlikely.
9129 * intl/dcgettext.c: Switch to gettext copyright.
9130 Use ANSI definitions and prototypes.
9131 * intl/dcigettext.c: Switch to gettext copyright.
9132 Use ANSI definitions and prototypes.
9133 (INTDIV0_RAISES_SIGFPE): New define.
9134 Use gl_* locking primitives rather than __libc_* ones.
9135 Include eval-plural.h instead of plural-eval.c.
9136 Use __builtin_expect rather than __glibc_likely/unlikely.
9137 * intl/dcngettext.c: Switch to gettext copyright.
9138 Use ANSI definitions and prototypes.
9139 * intl/dgettext.c: Likewise.
9140 * intl/dngettext.c: Likewise.
9141 * intl/plural-eval.c: Renamed to...
9142 * intl/eval-plural.h: ...this.
9143 * intl/explodename.c: Switch to gettext copyright.
9144 Use ANSI definitions and prototypes.
9145 (_nl_explode_name): Use strchr instead of __rawmemchr.
9146 * intl/finddomain.c: Switch to gettext copyright.
9147 Use ANSI definitions and prototypes.
9148 Use gl_* locking primitives rather than __libc_* ones.
9149 (_nl_find_domain): Use malloc rather than alloca for
9150 allocation of temporary locale name.
9151 * intl/gettext.c: Switch to gettext copyright.
9152 Use ANSI definitions and prototypes.
9153 * intl/gettextP.h: Switch to gettext copyright.
9154 Use ANSI definitions and prototypes.
9155 Use gl_* locking primitives rather than __libc_* ones.
9156 * intl/gmo.h: Switch to gettext copyright.
9157 (struct sysdep_string): Move struct segment_pair outside of
9159 * intl/hash-string.c: Use ANSI definitions and prototypes.
9160 * intl/hash-string.h: Switch to gettext copyright.
9161 Use ANSI definitions and prototypes.
9162 * intl/l10nflist.c: Switch to gettext copyright.
9163 Use ANSI definitions and prototypes.
9164 (_nl_normalize_codeset): Avoid integer overflow.
9165 * intl/loadinfo.h: Switch to gettext copyright.
9166 Use ANSI definitions and prototypes.
9167 (LIBINTL_DLL_EXPORTED): New define.
9168 (PATH_SEPARATOR): New define.
9169 * intl/loadmsgcat.c: Switch to gettext copyright.
9170 * intl/localealias.c: Switch to gettext copyright.
9171 Use ANSI definitions and prototypes.
9172 (_nl_expand_alias): Use PATH_SEPARATOR.
9173 * intl/ngettext.c: Switch to gettext copyright.
9174 Use ANSI definitions and prototypes.
9175 * intl/plural-exp.c: Likewise.
9176 * intl/plural-exp.h: Switch to gettext copyright.
9177 Use ANSI definitions and prototypes.
9178 (struct expression): Move definition of enum operator outside
9179 of struct definition.
9180 * intl/plural.c: Regenerate.
9181 * intl/plural.y: Switch to gettext copyright.
9182 Use ANSI definitions and prototypes.
9184 * intl/textdomain.c: Switch to gettext copyright.
9185 Use ANSI definitions and prototypes.
9186 Use gl_* locking primitives rather than __libc_* ones.
9188 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
9190 * debug/warning-nop.c: Add used atrribute.
9192 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9194 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9196 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9197 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9198 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9200 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9201 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9204 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9205 Undefine after defining function. Define as weak alias of
9206 __wcschr. Use libc_hidden_weak.
9207 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
9208 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9209 (libc_hidden_def): Also define __GI___wcschr alias.
9210 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9211 __wcschr and define as weak alias of __wcschr.
9212 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9214 [!WCSCHR] (DEFAULT_WCSCHR): Define.
9215 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9216 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
9217 libc_hidden_weak. Do not use libc_hidden_def.
9218 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9219 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9220 __GI___wcschr alias.
9221 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9222 [IS_IN (libc)] (wcschr): Define as macro expanding to
9224 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9225 [IS_IN (libc)] (__wcschr_power6): Likewise.
9226 [IS_IN (libc)] (__wcschr_power7): Likewise.
9227 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
9229 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9231 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9232 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9233 __wcschr and define as weak alias of __wcschr. Use
9234 libc_hidden_builtin_def.
9235 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9236 as weak alias of __wcschr. Use libc_hidden_weak.
9237 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9239 * time/era.c (_nl_init_era_entries): Likewise.
9240 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9242 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9243 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9245 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9247 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9248 format for long int variable.
9250 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
9253 * manual/search.texi: (Array Sort Function): Remove claim how to make
9256 2014-12-10 Andreas Schwab <schwab@suse.de>
9259 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9260 user-controlled locks.
9262 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
9264 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9267 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9269 * configure.ac (--disable-werror): New configure option.
9270 (enable_werror): New AC_SUBST.
9271 * configure: Regenerated.
9272 * config.make.in (enable-werror): New variable.
9273 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9275 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9276 * manual/install.texi (Configuring and compiling): Document
9278 * INSTALL: Regenerated.
9279 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9280 (CFLAGS-tst-chk2.c): Likewise.
9281 (CFLAGS-tst-chk3.c): Likewise.
9282 (CFLAGS-tst-chk4.cc): Likewise.
9283 (CFLAGS-tst-chk5.cc): Likewise.
9284 (CFLAGS-tst-chk6.cc): Likewise.
9285 (CFLAGS-tst-lfschk1.c): Likewise.
9286 (CFLAGS-tst-lfschk2.c): Likewise.
9287 (CFLAGS-tst-lfschk3.c): Likewise.
9288 (CFLAGS-tst-lfschk4.cc): Likewise.
9289 (CFLAGS-tst-lfschk5.cc): Likewise.
9290 (CFLAGS-tst-lfschk6.cc): Likewise.
9292 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9293 (main): Disable -Wdeprecated-declarations around calls to
9294 register_printf_function.
9296 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9297 (do_test): Disable -Wdiv-by-zero around some calls to
9298 fwrite_unlocked and fread_unlocked.
9300 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9301 (DIAG_POP_NEEDS_COMMENT): Likewise.
9302 (_DIAG_STR1): Likewise.
9303 (_DIAG_STR): Likewise.
9304 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9305 * stdio-common/bug21.c: Include <libc-internal.h>.
9306 (do_test): Disable -Wformat around call to sscanf.
9307 * stdio-common/scanf14.c: Include <libc-internal.h>.
9308 (main): Disable -Wformat around some calls to scanf functions.
9310 2014-12-09 Torvald Riegel <triegel@redhat.com>
9312 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9314 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9316 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9317 stack variable alignment.
9319 2014-12-06 Joseph Myers <joseph@codesourcery.com>
9322 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9323 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9324 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9325 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9326 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9327 __getrlimit instead of getrlimit.
9328 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9329 __gettimeofday instead of gettimeofday.
9330 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9332 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9334 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9335 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9337 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9338 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9340 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9342 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9343 for wide-character tests.
9345 2014-12-04 Roland McGrath <roland@hack.frob.com>
9347 * io/openat64.c: #include <libc-internal.h>
9348 (__openat64): Prototypify. Use ignore_value on MODE.
9349 * io/openat.c: Likewise.
9350 * misc/reboot.c: #include <libc-internal.h>
9351 (reboot): Prototypify. Use ignore_value on HOWTO.
9352 * misc/ptrace.c: #include <libc-internal.h>
9353 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
9355 2014-12-04 Joseph Myers <joseph@codesourcery.com>
9357 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9358 XPG4, UNIX98 and XOPEN2K.
9359 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9361 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9363 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9365 * libio/fileops.c: Use ISO C style for function definitions.
9366 * libio/iofopen.c: Likewise.
9367 * libio/wfileops.c: Likewise.
9370 * libio/fileops.c (_IO_new_file_underflow): Unset cached
9372 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9373 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9374 (fgets_func): Function pointer to fgets and fgetws.
9375 (do_ftell_test): Add test to verify ftell value after read
9377 (do_test): Set fgets_func.
9379 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9380 O_TRUNC flag for w and w+ modes.
9381 (do_rewind_test): Likewise.
9382 (do_ftell_test): Likewise.
9383 (do_write_test): Likewise.
9386 * libio/fileops.c (do_ftell): Seek only when there are
9388 * libio/wfileops.c (do_ftell_wide): Likewise.
9389 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9391 (do_one_test): Call it.
9393 2014-12-03 Joseph Myers <joseph@codesourcery.com>
9395 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9396 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9397 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9399 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9400 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9401 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9403 2014-12-02 Joseph Myers <joseph@codesourcery.com>
9405 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9407 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9410 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9411 as weak alias of __getifaddrs. Use libc_hidden_weak.
9412 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9413 __freeifaddrs. Use libc_hidden_weak.
9414 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9415 define as weak alias of __getifaddrs. Use libc_hidden_weak.
9416 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9417 __freeifaddrs. Use libc_hidden_weak.
9418 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9419 __getifaddrs and define as weak alias of __getifaddrs. Use
9421 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9422 __freeifaddrs. Use libc_hidden_weak.
9423 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9425 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9426 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9428 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
9431 * sysdeps/mips/start.S (__start): Use indirect jump to call
9434 2014-12-02 Joseph Myers <joseph@codesourcery.com>
9436 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9438 * nptl/tst-mutex1.c: Include <stdbool.h>.
9439 [!ATTR] (ATTR_NULL): New macro.
9440 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9441 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9442 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9444 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9448 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9449 Change conditional to [__USE_MISC].
9452 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9454 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9456 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9458 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9460 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9461 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9462 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9463 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9464 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9465 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9466 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9467 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9468 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9470 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9472 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9474 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9475 Remove strpbrk objects.
9476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9477 (__libc_ifunc_impl_list): Remove strpbrk implementation.
9478 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9479 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9480 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9481 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9483 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9484 Remove strcspn objects.
9485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9486 (__libc_ifunc_impl_list): Remove strcspn implementation.
9487 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9488 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9489 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9490 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9492 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9493 Remove strspn objetcs.
9494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9495 (__libc_ifunc_impl_list): Remove strspn implementation.
9496 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9497 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9498 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9499 * sysdeps/powerpc/powerpc64/strspn.S: New file.
9501 2014-12-01 James Lemke <jwlemke@codesourcery.com>
9505 (mem2mem_check): Add a terminator to the chain of checking blocks.
9506 (malloc_check_get_size): Use it here.
9507 (mem2chunk_check): Ditto.
9509 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9511 * sysdeps/powerpc/powerpc64/strtok.S: New file.
9512 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9514 2014-11-29 Carlos O'Donell <carlos@redhat.com>
9516 * bits/ioctl-types.h: Indent preprocessor directives correctly.
9518 * nptl/nptl-init.c: Include libc-internal.h.
9519 (__pthread_initialize_minimal_internal): Use ROUND_UP.
9521 * elf/ldconfig.c (search_dir): Expand comment.
9523 2014-11-29 Joseph Myers <joseph@codesourcery.com>
9525 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9527 (linknamespace-symlist-stdlibs-tests): Likewise.
9528 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9529 instead of $(objpfx)symlist-stdlibs.
9530 (linknamespace-libs-isoc): New variable.
9531 (linknamespace-libs): Use $(linknamespace-libs-isoc).
9532 (linknamespace-libs-ISO): New variable.
9533 (linknamespace-libs-ISO99): Likewise.
9534 (linknamespace-libs-ISO11): Likewise.
9535 (linknamespace-libs-XPG3): Likewise.
9536 (linknamespace-libs-XPG4): Likewise.
9537 (linknamespace-libs-POSIX): Likewise.
9538 (linknamespace-libs-UNIX98): Likewise.
9539 (linknamespace-libs-XOPEN2K): Likewise.
9540 (linknamespace-libs-POSIX2008): Likewise.
9541 (linknamespace-libs-XOPEN2K8): Likewise.
9542 ($(objpfx)symlist-stdlibs): Replace by
9543 $(linknamespace-symlist-stdlibs-tests). Use
9544 $(linknamespace-libs-$*) as set of libraries.
9545 ($(linknamespace-header-tests)): Update dependencies. Use
9546 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9547 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9548 * conform/linknamespace.pl: Remove comment about considering
9549 definitions of symbols from irrelevant libraries.
9551 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
9554 * elf/dl-tls.c: Include <atomic.h>.
9555 (oom): Remove #ifdef SHARED/#endif.
9556 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9557 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
9558 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9560 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9561 * nptl/Makefile (tests): Add tst-stack4.
9562 (modules-names): Add tst-stack4mod.
9563 ($(objpfx)tst-stack4): New.
9564 (tst-stack4mod.sos): Likewise.
9565 ($(objpfx)tst-stack4.out): Likewise.
9566 ($(tst-stack4mod.sos)): Likewise.
9568 * nptl/tst-stack4.c: New file.
9569 * nptl/tst-stack4mod.c: Likewise.
9571 2014-11-27 J. Brown <jb999@gmx.de>
9573 * sysdeps/x86/bits/string.h: Add recent CPUs.
9575 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9577 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9580 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9583 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9586 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
9588 * nscd/connections.c: Include libc-internal.h because of macro
9591 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9593 * string/bits/string3.h (__warn_memset_zero_len): Don't
9594 declare for gcc newer than 5.0.
9595 (memset): Don't test for zero-length __LEN for gcc newer than
9598 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9600 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9601 size_t for %zu format.
9603 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9604 difference, not %ju.
9606 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9608 * include/libc-internal.h (ignore_value): New macro.
9609 * nscd/connections.c (restart): Wrap calls to setuid and setgid
9612 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9615 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9616 pthread_cleanup_push to void *.
9618 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9623 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9624 instead of 1L << 52.
9626 * libio/bug-rewind.c (do_test): Check fwscanf return values.
9627 * libio/bug-rewind2.c (do_test): Likewise.
9629 * debug/test-stpcpy_chk-ifunc.c: Remove file.
9630 * debug/test-strcpy_chk-ifunc.c: Likewise.
9631 * wcsmbs/test-wcschr-ifunc.c: Likewise.
9632 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9633 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9634 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9635 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9636 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9637 * Rules [$(multi-arch) = no] (tests): Do not filter out
9639 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9640 * debug/Makefile (tests-ifunc): Remove variable.
9641 (tests): Do not add $(tests-ifunc).
9642 * wcsmbs/Makefile (tests-ifunc): Remove variable.
9643 (tests): Do not add $(tests-ifunc).
9644 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9645 [TEST_IFUNC]: Remove conditionals.
9646 * string/test-string.h (TEST_IFUNC): Remove macro.
9647 [TEST_IFUNC]: Remove conditionals.
9649 * string/test-strchr.c [!WIDE] (L): New macro.
9650 [WIDE] (L): Likewise.
9651 (check1): Use CHAR instead of char. Use L on string and character
9654 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
9656 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9658 * sysdeps/powerpc/bits/atomic.h
9659 (__arch_atomic_exchange_and_add_32_acq): Add definition.
9660 (__arch_atomic_exchange_and_add_32_rel): Likewise.
9661 (atomic_exchange_and_add_acq): Likewise.
9662 (atomic_exchange_and_add_rel): Likewise.
9663 * sysdeps/powerpc/powerpc32/bits/atomic.h
9664 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9665 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9666 * sysdeps/powerpc/powerpc64/bits/atomic.h
9667 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9668 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9670 2014-11-26 Torvald Riegel <triegel@redhat.com>
9672 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9673 Change synchronization of __sched_fifo_min_prio and
9674 __sched_fifo_max_prio.
9675 * nptl/pthread_mutexattr_getprioceiling.c
9676 (pthread_mutexattr_getprioceiling): Likewise.
9677 * nptl/pthread_mutexattr_setprioceiling.c
9678 (pthread_mutexattr_setprioceiling): Likewise.
9679 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9680 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9683 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9685 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9688 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9690 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9691 third argument const.
9693 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
9695 fnmatch: work around GCC compiler warning bug with uninit var
9696 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9697 This works around a bug with x86-64 GCC 4.9.2 and earlier
9698 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9699 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9700 used uninitialized in this function [-Wmaybe-uninitialized]".
9702 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9704 * posix/bug-regex31.c (main): Return RES not 0.
9706 2014-11-25 Anton Blanchard <anton@samba.org>
9708 * sysdeps/powerpc/bits/atomic.h
9709 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9711 2014-11-24 Sterling Augustine <saugustine@google.com>
9713 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9715 2014-11-24 Ryan Cumming <etaoins@gmail.com>
9718 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9720 2014-11-24 Joseph Myers <joseph@codesourcery.com>
9723 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9724 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9726 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9727 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9729 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9731 * string/strncpy.c (strncpy): Improve performance by using memset.
9733 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9735 * string/strcpy.c (strcpy):
9736 Improve performance by using strlen and memcpy.
9738 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
9740 * string/strcoll_l.c (get_next_seq): __always_inline.
9741 * string/strcoll_l.c (do_compare): __always_inline.
9743 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9745 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9747 * include/mqueue.h: Likewise.
9748 * include/stdlib.h: Likewise.
9750 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9751 (get_null_defines): Adjust.
9752 * sunrpc/Makefile: Adjust comment.
9753 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9754 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9755 (CFLAGS-interp.c): Likewise.
9756 (CFLAGS-ldconfig.c): Likewise.
9757 (CPPFLAGS-.os): Likewise.
9758 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9759 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9760 * extra-modules.mk (extra-modules.mk): Likewise.
9761 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9762 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9763 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9764 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9765 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9766 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9767 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9768 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9769 * iconvdata/Makefile (CPPFLAGS): Likewise.
9770 (cpp-srcs-left): Add libof for all iconvdata routines.
9771 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9772 * include/assert.h: Likewise.
9773 * include/ctype.h: Likewise.
9774 * include/errno.h: Likewise.
9775 * include/libc-symbols.h: Likewise.
9776 * include/math.h: Likewise.
9777 * include/netdb.h: Likewise.
9778 * include/resolv.h: Likewise.
9779 * include/stdio.h: Likewise.
9780 * include/stdlib.h: Likewise.
9781 * include/string.h: Likewise.
9782 * include/sys/stat.h: Likewise.
9783 * include/wctype.h: Likewise.
9784 * intl/l10nflist.c: Likewise.
9785 * libidn/idn-stub.c: Likewise.
9786 * libio/libioP.h: Likewise.
9787 * nptl/libc_multiple_threads.c: Likewise.
9788 * nptl/pthreadP.h: Likewise.
9789 * posix/regex_internal.h: Likewise.
9790 * resolv/res_hconf.c: Likewise.
9791 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9792 * sysdeps/arm/memmove.S: Likewise.
9793 * sysdeps/arm/sysdep.h: Likewise.
9794 * sysdeps/generic/_itoa.h: Likewise.
9795 * sysdeps/generic/symbol-hacks.h: Likewise.
9796 * sysdeps/gnu/errlist.awk: Likewise.
9797 * sysdeps/gnu/errlist.c: Likewise.
9798 * sysdeps/i386/i586/memcpy.S: Likewise.
9799 * sysdeps/i386/i586/memset.S: Likewise.
9800 * sysdeps/i386/i686/memcpy.S: Likewise.
9801 * sysdeps/i386/i686/memmove.S: Likewise.
9802 * sysdeps/i386/i686/mempcpy.S: Likewise.
9803 * sysdeps/i386/i686/memset.S: Likewise.
9804 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9805 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9806 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9807 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9808 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9809 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9810 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9811 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9812 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9813 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9814 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9815 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9816 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9817 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9818 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9819 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9820 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9821 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9822 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9823 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9824 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9825 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9826 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9827 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9828 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9829 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9830 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9831 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9832 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9833 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9834 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9835 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9837 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9838 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9839 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9840 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9841 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9842 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9843 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9844 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9845 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9846 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9847 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9848 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9849 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9850 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9851 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9852 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9853 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9854 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9855 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9856 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9857 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9858 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9859 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9860 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9861 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9862 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9863 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9864 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9865 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9866 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9867 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9868 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9869 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9870 * sysdeps/posix/closedir.c: Likewise.
9871 * sysdeps/posix/opendir.c: Likewise.
9872 * sysdeps/posix/readdir.c: Likewise.
9873 * sysdeps/posix/rewinddir.c: Likewise.
9874 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9875 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9876 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9877 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9878 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9879 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9880 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9881 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9882 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9883 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9884 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9885 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9886 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9887 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9888 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9889 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9890 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9891 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9892 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9893 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9894 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9895 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9896 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9897 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9898 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9899 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9900 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9901 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9902 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9904 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9905 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9906 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9908 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9909 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9910 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9911 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9912 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9913 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9914 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9915 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9916 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9917 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9918 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9919 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9920 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9921 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9922 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9923 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9924 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9925 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9926 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9927 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9928 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9929 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9930 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9931 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9932 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9933 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9934 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9935 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9936 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9937 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9938 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9939 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9940 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9941 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9942 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9943 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9944 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9945 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9946 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9947 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9948 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9949 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9950 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9951 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9952 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9953 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9954 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9955 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9956 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9957 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9958 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9959 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9960 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9961 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9962 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9963 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9964 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9965 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9966 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9967 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9968 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9969 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9970 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9971 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9972 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9973 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9974 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9975 * sysdeps/unix/alpha/sysdep.S: Likewise.
9976 * sysdeps/unix/alpha/sysdep.h: Likewise.
9977 * sysdeps/unix/make-syscalls.sh: Likewise.
9978 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9979 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9980 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9981 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9982 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9983 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9984 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9985 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9986 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9987 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9988 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9989 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9990 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9991 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9992 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9993 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9994 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9995 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9996 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9997 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9998 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9999 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10000 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10001 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10002 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10003 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10004 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10007 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10008 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10009 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10010 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10011 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10012 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10014 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10015 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10016 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10017 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10018 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10019 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10020 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10021 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10022 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10025 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10026 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10028 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10029 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10030 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10031 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10032 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10033 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10034 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10036 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10037 * sysdeps/x86_64/memcpy.S: Likewise.
10038 * sysdeps/x86_64/memmove.c: Likewise.
10039 * sysdeps/x86_64/memset.S: Likewise.
10040 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10041 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10042 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10043 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10044 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10045 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10046 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10047 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10048 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10049 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10050 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10051 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10052 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10053 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10054 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10055 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10056 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10057 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10058 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10059 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10060 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10061 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10062 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10063 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10064 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10065 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10066 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10067 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10068 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10069 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10070 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10071 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10072 * sysdeps/x86_64/strcmp.S: Likewise.
10074 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10076 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10077 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10078 * elf/rtld-Rules: Likewise.
10079 * elf/setup-vdso.h: Likewise.
10080 * include/assert.h: Likewise.
10081 * include/bits/stdlib-float.h: Likewise.
10082 * include/errno.h: Likewise.
10083 * include/sys/stat.h: Likewise.
10084 * include/unistd.h: Likewise.
10085 * sysdeps/aarch64/setjmp.S: Likewise.
10086 * sysdeps/alpha/setjmp.S: Likewise.
10087 * sysdeps/arm/__longjmp.S: Likewise.
10088 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10089 * sysdeps/arm/setjmp.S: Likewise.
10090 * sysdeps/arm/sysdep.h: Likewise.
10091 * sysdeps/generic/_itoa.h: Likewise.
10092 * sysdeps/generic/dl-sysdep.h: Likewise.
10093 * sysdeps/generic/ldsodefs.h: Likewise.
10094 * sysdeps/i386/dl-tls.h: Likewise.
10095 * sysdeps/i386/setjmp.S: Likewise.
10096 * sysdeps/m68k/setjmp.c: Likewise.
10097 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10098 * sysdeps/mach/hurd/opendir.c: Likewise.
10099 * sysdeps/posix/getcwd.c: Likewise.
10100 * sysdeps/posix/opendir.c: Likewise.
10101 * sysdeps/posix/profil.c: Likewise.
10102 * sysdeps/powerpc/dl-procinfo.h: Likewise.
10103 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10104 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10105 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10106 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10107 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10108 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10109 * sysdeps/s390/dl-tls.h: Likewise.
10110 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10111 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10112 * sysdeps/sh/sh3/setjmp.S: Likewise.
10113 * sysdeps/sh/sh4/setjmp.S: Likewise.
10114 * sysdeps/unix/alpha/sysdep.h: Likewise.
10115 * sysdeps/unix/arm/sysdep.S: Likewise.
10116 * sysdeps/unix/i386/sysdep.S: Likewise.
10117 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10118 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10119 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10120 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10121 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10122 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10123 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10124 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10125 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10126 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10127 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10128 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10129 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10132 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10133 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10134 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10135 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10136 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10137 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10139 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10140 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10141 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10142 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10144 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10145 * sysdeps/x86_64/setjmp.S: Likewise.
10147 * include/math.h: Use IS_IN instead of IS_IN_libm.
10148 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10149 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10150 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10151 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10152 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10153 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10154 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10155 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10156 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10157 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10158 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10159 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10160 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10161 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10162 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10163 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10164 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10165 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10166 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10167 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10168 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10169 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10170 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10171 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10172 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10173 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10174 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10175 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10176 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10177 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10178 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10179 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10180 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10191 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10192 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10193 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10194 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10195 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10196 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10202 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10203 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10204 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10205 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10206 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10207 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10208 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10209 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10210 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10211 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10212 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10213 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10214 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10215 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10217 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10219 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10220 * nptl/pthreadP.h: Likewise.
10221 * nptl_db/structs.def: Likewise.
10222 * sysdeps/arm/sysdep.h: Likewise.
10223 * sysdeps/nptl/bits/libc-lock.h: Likewise.
10224 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10225 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10226 * sysdeps/unix/alpha/sysdep.h: Likewise.
10227 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10228 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10229 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10230 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10231 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10232 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10233 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10234 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10235 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10236 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10237 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10238 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10239 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10240 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10245 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10247 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10248 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10249 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10250 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10251 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10252 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10254 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10255 * nptl/pthreadP.h: Likewise.
10256 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10257 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10258 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10259 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10260 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10261 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10262 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10263 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10264 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10265 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10266 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10267 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10272 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10273 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10274 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10276 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10277 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10278 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10279 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10281 * dlfcn/dladdr.c: Use IS_IN.
10282 * dlfcn/dladdr1.c: Likewise.
10283 * dlfcn/dlclose.c: Likewise.
10284 * dlfcn/dlerror.c: Likewise.
10285 * dlfcn/dlinfo.c: Likewise.
10286 * dlfcn/dlmopen.c: Likewise.
10287 * dlfcn/dlopen.c: Likewise.
10288 * dlfcn/dlsym.c: Likewise.
10289 * dlfcn/dlvsym.c: Likewise.
10291 * include/ifaddrs.h: Use IS_IN.
10292 * inet/check_pf.c: Likewise.
10293 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10294 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10296 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10298 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10299 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10301 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10302 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10305 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10307 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10308 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10309 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10310 * include/libc-symbols.h (IS_IN_LIB): New macro.
10311 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10312 * include/netdb.h: Likewise.
10313 * include/stap-probe.h: Remove all uses of IN_LIB.
10315 * Makeconfig (module-cppflags-real): Define MODULE_NAME
10316 instead of IN_MODULE.
10317 * include/libc-symbols.h (IN_MODULE): Define using
10319 (PASTE_NAME, PASTE_NAME1): New macros.
10320 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10322 (STAP_PROBE_ASM): Likewise.
10324 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
10326 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10327 __mach_init in dlopened libc.
10329 2014-11-22 Mike Frysinger <vapier@gentoo.org>
10331 * sysdeps/arm/preconfigure.ac: Delete EABI check.
10332 * sysdeps/arm/preconfigure: Regenerate.
10334 2014-11-21 Roland McGrath <roland@hack.frob.com>
10336 * nptl/pthread_create.c (__pthread_create_2_1): Set
10337 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10338 when copying values from IATTR into PD.
10340 2014-11-21 Will Newton <will.newton@linaro.org>
10341 Andrew Pinski <andrew.pinski@caviumnetworks.com>
10343 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10344 Refactor inline-asm. Also add comment.
10346 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10347 ElfW macro instead of hardcoded Elf64 types.
10348 (la_aarch64_gnu_pltenter): Likewise.
10349 * sysdeps/aarch64/dl-machine.h
10350 (elf_machine_runtime_setup): Use ElfW(Addr).
10352 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10353 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10354 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10355 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10356 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10357 (R_AARCH64_TLS_DTPMOD64): Rename to ..
10358 (R_AARCH64_TLS_DTPMOD): This.
10359 (R_AARCH64_TLS_DTPREL64): Rename to ...
10360 (R_AARCH64_TLS_DTPREL): This.
10361 (R_AARCH64_TLS_TPREL64): Rename to ...
10362 (R_AARCH64_TLS_TPREL): This.
10363 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10364 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10365 R_AARCH64_TLS_TPREL64.
10366 (elf_machine_rela): Likewise.
10368 2014-11-21 Torvald Riegel <triegel@redhat.com>
10370 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10371 by setting it to 0. 64b atomics are not supported currently.
10373 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10376 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10377 search domain names.
10379 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10383 * resolv/res_query.c (__libc_res_nquerydomain): Retain
10385 * posix/tst-getaddrinfo5.c: New.
10386 * posix/Makefile (tests): Add it.
10388 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10392 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10393 after parsing line but before break_if_match.
10394 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10395 if there is a protocol mismatch.
10397 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10399 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10400 because the potential race is on the user-supplied stream.
10402 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10404 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10405 string literal if not passed a buffer.
10406 * manual/job.texi (ctermid): Update reasoning, note deviation
10407 from posix, suggest mtasurace when not passed a buffer, for
10408 future non-preliminary safety notes.
10410 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10412 * manual/users.texi (cuserid): Fix MT-Safety note for the case
10413 of not passing it a buffer.
10414 Reported by Peng Haitao.
10416 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10418 * manual/Makefile ($(objpfx)stamp-summary): Require
10419 check-safety.sh to pass.
10420 * manual/check-safety.sh: Wish for verification that every
10421 @deftypefn and @deftypefun is followed by a @safety remark.
10423 2014-11-20 Roland McGrath <roland@hack.frob.com>
10425 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10427 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10428 PTHREAD_CANCEL_ASYNCHRONOUS.
10429 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10432 * nptl/default-sched.h: New file.
10433 * sysdeps/unix/sysv/linux/default-sched.h: New file.
10434 * nptl/pthread_create.c: Include it.
10435 (__pthread_create_2_1): Use collect_default_sched instead of making
10436 Linux syscalls here directly.
10438 2014-11-20 Torvald Riegel <triegel@redhat.com>
10440 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10441 __pthread_once): Use C11 atomics.
10443 2014-11-20 Torvald Riegel <triegel@redhat.com>
10445 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10447 2014-11-20 Torvald Riegel <triegel@redhat.com>
10449 * include/atomic.h (__atomic_link_error, __atomic_check_size,
10450 atomic_thread_fence_acquire, atomic_thread_fence_release,
10451 atomic_thread_fence_seq_cst, atomic_load_relaxed,
10452 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10453 atomic_compare_exchange_weak_relaxed,
10454 atomic_compare_exchange_weak_acquire,
10455 atomic_compare_exchange_weak_release,
10456 atomic_exchange_acquire, atomic_exchange_release,
10457 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10458 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10459 atomic_fetch_and_acquire,
10460 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10462 2014-11-20 Torvald Riegel <triegel@redhat.com>
10464 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10465 USE_ATOMIC_COMPILER_BUILTINS): Define.
10466 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10467 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10468 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10469 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10470 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10471 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10472 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10473 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10474 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10475 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10476 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10477 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10478 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10479 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10480 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10481 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10482 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10483 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10484 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10485 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10486 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10487 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10488 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10489 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10490 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10491 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10492 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10493 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10494 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10495 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10496 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10497 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10498 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10499 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10500 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10501 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10502 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10503 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10504 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10505 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10507 2014-11-19 Roland McGrath <roland@hack.frob.com>
10509 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10510 the sched_priority value here. It was already checked when the user
10511 called pthread_attr_setschedparam.
10513 * nptl/tst-bad-schedattr.c: New file.
10514 * nptl/Makefile (tests): Add it.
10516 2014-11-19 Carlos O'Donell <carlos@redhat.com>
10517 Florian Weimer <fweimer@redhat.com>
10518 Joseph Myers <joseph@codesourcery.com>
10519 Adam Conrad <adconrad@0c3.net>
10520 Andreas Schwab <schwab@suse.de>
10521 Brooks <bmoses@google.com>
10524 * wordexp-test.c (__dso_handle): Add prototype.
10525 (__register_atfork): Likewise.
10526 (__app_register_atfork): New function.
10527 (registered_forks): New global.
10528 (register_fork): New function.
10529 (test_case): Add 3 new tests for WRDE_CMDSUB.
10530 (main): Call __app_register_atfork.
10531 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10532 fork count is non-zero fail the test.
10533 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10535 (parse_dollars): Remove check for WRDE_NOCMD.
10536 (parse_dquote): Likewise.
10538 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10540 * Makeconfig (built-modules): List non-library modules to be
10542 (module-cppflags): Include libc-modules.h for
10543 everything except shlib-versions.v.i.
10544 (CPPFLAGS): Use it.
10545 (before-compile): Add libc-modules.h.
10546 ($(common-objpfx)libc-modules.h,
10547 $(common-objpfx)libc-modules.stmp): New targets.
10548 (common-generated): Add libc-modules.h and libc-modules.stmp.
10549 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10550 * include/libc-symbols.h: Don't include libc-modules.h.
10551 * include/libc-modules.h: Remove file.
10552 * scripts/gen-libc-modules.awk: New script to generate
10554 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10555 Depend on libc-modules.stmp.
10557 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10559 * Makeconfig (in-module): Get value of libof set for the
10561 (CPPFLAGS): Use $(in-module).
10562 * Makerules: Don't suffix routine names for nonlib.
10563 * include/libc-modules.h: New file.
10564 * include/libc-symbols.h: Include libc-modules.h
10565 (IS_IN): New macro to replace IS_IN_* macros.
10566 * elf/Makefile: Set libof-* for each routine.
10567 * elf/rtld-Rules: Likewise.
10568 * extra-modules.mk: Likewise.
10569 * iconv/Makefile: Likewise.
10570 * iconvdata/Makefile: Likewise.
10571 * locale/Makefile: Likewise.
10572 * malloc/Makefile: Likewise.
10573 * nss/Makefile: Likewise.
10574 * sysdeps/gnu/Makefile: Likewise.
10575 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10576 * sysdeps/unix/sysv/linux/Makefile: Likewise.
10577 * sysdeps/s390/s390-64/Makefile: Likewise.
10578 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
10579 CPPFLAGS for nscd instead of nonlib.
10581 2014-11-18 Roland McGrath <roland@hack.frob.com>
10583 * nptl/createthread.c: New file.
10585 * nptl/createthread.c: Moved ...
10586 * sysdeps/unix/sysv/linux/createthread.c: ... here.
10588 * nptl/createthread.c: Add proper top-line comment.
10589 (do_clone): Folded into ...
10590 (create_thread): ... here. Take new arguments STOPPED_START and
10591 THREAD_RAN. Always set PD->stopped_start to something here. Don't
10592 increment __nptl_threads, do event-reporting logic, do
10593 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10594 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
10595 resource cleanup if sched_setaffinity or sched_setscheduler fails,
10596 just send SIGCANCEL.
10597 * nptl/pthread_create.c: Forward-declare create_thread before
10598 including createthread.c.
10599 (start_thread): Use new macro START_THREAD_DEFN to replace defining
10600 declaration, and new macro START_THREAD_SELF to replace argument.
10601 Remove return statement.
10602 (report_thread_creation): New function.
10603 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
10604 synchronization logic, and __nptl_nthreads increment here, around
10605 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
10606 PD->parent_cancelhandling here, before create_thread. When
10607 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10608 __deallocate_stack, and ENOMEM translation here.
10610 2014-11-18 Joseph Myers <joseph@codesourcery.com>
10613 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10614 (mptwo): Rename to __mptwo.
10615 (__inv): Use __mptwo instead of mptwo.
10616 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10617 (mptwo): Rename to __mptwo.
10618 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10619 of mpone and __mptwo instead of mptwo.
10620 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10622 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10623 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10624 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10625 of mpone and __mptwo instead of mptwo.
10626 (__mpranred): Use __mpone instead of mpone.
10627 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10629 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10630 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10631 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10632 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10633 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10634 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10635 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10636 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10637 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10638 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10639 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10640 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10641 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10642 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10643 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10644 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10645 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10646 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10647 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10649 2014-11-18 Tom de Vries <tom@codesoucery.com>
10651 * manual/signal.texi (Primitives Interrupted by Signals): In section,
10652 replace BSD Handler xref with BSD Signal Handling.
10654 2014-11-17 Richard Henderson <rth@redhat.com>
10656 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10657 (_FP_PACK_RAW_2): Remove.
10658 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10659 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10660 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10661 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10662 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10663 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10664 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10665 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10666 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10667 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10668 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10669 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10670 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10671 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10672 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10673 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10675 2014-11-14 Roland McGrath <roland@hack.frob.com>
10677 * signal/signal.h [__USE_MISC]
10678 (struct sigvec): Remove type.
10679 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10680 (sigvec): Remove declaration.
10681 * sysdeps/posix/sigvec.c: Moved ...
10682 * signal/sigvec.c: ... here, replacing old file.
10683 (struct sigvec): New type, copied from old signal.h definition.
10684 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10685 (__sigvec): Convert definition to prototype.
10686 (sigvec): Replace weak_alias with compat_symbol.
10687 * signal/Versions (libc: GLIBC_2.21): New version set.
10688 * include/signal.h: Remove __sigvec declaration.
10689 * sysdeps/unix/bsd/sigvec.c: Remove file.
10690 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10691 * manual/signal.texi (BSD Handler): Remove subsection.
10692 Move siginterrupt up to ...
10693 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
10694 (Blocking in BSD): Fold subsection into its parent.
10695 * NEWS: Mention sigvec removal.
10697 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10699 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10700 (DLA_FMS): Make definition conditional only on [__FMA4__].
10701 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10704 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10705 Make definition conditional only on [PROF].
10706 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10708 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10709 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10711 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10713 * include/signal.h (__sigpause): Move declaration above call to
10715 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10717 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10718 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10720 2014-11-14 David S. Miller <davem@davemloft.net>
10722 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10723 Define before including <string/memcpy.c> and <string/mempcpy.c>.
10725 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10727 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10728 * configure: Regenerated.
10729 * manual/install.texi (Tools for Compilation): Document a
10730 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10731 compiler verified to work.
10732 * INSTALL: Regenerated.
10734 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10735 redeclare with asm name.
10736 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10737 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10738 including <string.h>.
10739 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10740 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10741 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10742 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10743 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10744 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10745 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10747 2014-11-13 Joseph Myers <joseph@codesourcery.com>
10749 * stdlib/strtol.c (__strtol): Use prototype definition.
10752 * stdlib/strtol.c (SYM__): New macro.
10753 (SYM__1): Likewise.
10754 (__strtol): Likewise.
10755 (strtol): Rename to __strtol and define as weak alias of
10756 __strtol. Use libc_hidden_weak.
10758 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10760 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10761 Use numbered labels in inline assembly.
10763 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10765 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10766 Add setjmp LIBC_PROBE.
10767 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10769 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10770 Add longjmp, longjmp_target LIBC_PROBE.
10771 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10774 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10776 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10777 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10778 to get rid of unused variable warning.
10780 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10782 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10783 Check for unwind_backtrace == NULL only in SHARED case.
10784 (__backchain_backtrace): Compile only in SHARED case.
10785 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10787 (__backchain_backtrace): Declare as static.
10789 2014-11-12 Roland McGrath <roland@hack.frob.com>
10791 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10792 (__libc_multiple_threads_ptr): Variable moved ...
10793 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10795 2014-11-12 Joseph Myers <joseph@codesourcery.com>
10797 * conform/GlibcConform.pm: New file.
10798 * conform/conformtest.pl: Use GlibcConform module.
10799 * conform/linknamespace.pl: New file.
10800 * conform/list-header-symbols.pl: Likewise.
10801 * conform/Makefile (linknamespace-symlists-base): New variable.
10802 (linknamespace-symlists-tests): Likewise.
10803 (linknamespace-header-base): Likewise.
10804 (linknamespace-header-tests): Likewise.
10805 (tests-special): Add new tests.
10806 ($(linknamespace-symlists-tests)): New rule.
10807 (linknamespace-libs): New variable.
10808 ($(objpfx)symlist-stdlibs): New rule.
10809 ($(linknamespace-header-tests)): Likewise.
10810 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10811 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10812 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10813 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10814 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10815 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10816 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10817 (test-xfail-ISO/math.h/linknamespace): Likewise.
10818 (test-xfail-ISO/signal.h/linknamespace): Likewise.
10819 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10820 (test-xfail-ISO/time.h/linknamespace): Likewise.
10821 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10822 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10823 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10824 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10825 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10826 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10827 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10828 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10829 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10830 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10831 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10832 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10833 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10834 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10835 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10836 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10837 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10838 (test-xfail-XPG3/search.h/linknamespace): Likewise.
10839 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10840 (test-xfail-XPG3/time.h/linknamespace): Likewise.
10841 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10842 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10843 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10844 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10845 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10846 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10847 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10848 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10849 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10850 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10851 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10852 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10853 (test-xfail-XPG4/search.h/linknamespace): Likewise.
10854 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10855 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10856 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10857 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10858 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10859 (test-xfail-XPG4/time.h/linknamespace): Likewise.
10860 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10861 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10862 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10863 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10864 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10865 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10866 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10867 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10868 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10869 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10870 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10871 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10872 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10873 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10874 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10875 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10876 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10877 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10878 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10879 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10880 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10881 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10882 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10883 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10884 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10885 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10886 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10887 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10888 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10889 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10890 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10891 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10892 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10893 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10894 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10895 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10896 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10897 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10898 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10899 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10900 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10901 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10902 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10903 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10904 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10905 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10906 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10907 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10908 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10909 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10910 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10911 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10912 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10913 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10914 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10915 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10916 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10917 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10918 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10919 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10920 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10921 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10922 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10923 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10924 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10925 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10926 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10927 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10928 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10929 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10930 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10931 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10932 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10933 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10934 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10935 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10936 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10937 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10938 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10939 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10940 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10941 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10942 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10943 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10944 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10945 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10946 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10947 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10948 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10949 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10950 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10951 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10952 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10953 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10954 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10955 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10956 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10957 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10958 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10959 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10960 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10961 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10962 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10963 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10964 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10965 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10966 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10967 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10968 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10969 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10970 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10973 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10977 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10978 (memmem): Rename to __memmem and define as weak alias of
10979 __memmem. Use libc_hidden_weak.
10980 (__memmem): Use libc_hidden_def.
10981 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
10982 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10986 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10987 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
10988 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10989 and define as weak alias of __fgets_unlocked. Use
10991 (__fgets_unlocked): Use libc_hidden_def.
10992 * include/stdio.h (__fgets_unlocked): Declare. Use
10994 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10995 __fgets_unlocked instead of fgets_unlocked.
10996 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10997 (GET_NPROCS_CONF_PARSER): Likewise.
10998 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10999 (GET_NPROCS_CONF_PARSER): Likewise.
11002 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11003 weak alias of __wmemset. Use libc_hidden_weak.
11004 (__wmemset): Use libc_hidden_def.
11005 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
11006 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11010 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11011 with asm name __mempcpy.
11012 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11015 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11016 and define as weak alias of __rawmemchr.
11017 (__rawmemchr): Do not define as strong alias of rawmemchr.
11020 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11021 alias of __qsort_r.
11022 (qsort): Call __qsort_r instead of qsort_r.
11023 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11024 (__qsort_r): Declare. Call libc_hidden_proto.
11025 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11026 instead of qsort_r.
11027 * nscd/gai.c (__qsort_r): Define to qsort_r.
11028 * posix/tst-rfc3484.c (__qsort_r): Likewise.
11029 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11030 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11033 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11034 define as weak alias of __malloc_info.
11037 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11038 as weak alias of __rewinddir. Don't use libc_hidden_def.
11039 (__rewinddir): Use libc_hidden_def.
11040 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11041 as weak alias of __rewinddir. Don't use libc_hidden_def.
11042 (__rewinddir): Use libc_hidden_def.
11043 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11044 weak alias of __rewinddir. Don't use libc_hidden_def.
11045 (__rewinddir): Use libc_hidden_def.
11046 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11047 (__rewinddir): Use libc_hidden_proto.
11048 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11050 (__getcwd): Use __rewinddir instead of rewinddir.
11053 * libio/fileno.c (fileno): Rename to __fileno and define as weak
11054 alias of __fileno. Use libc_hidden_weak.
11055 (__fileno): Use libc_hidden_def.
11056 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11057 * libio/ftello.c (ftello): Rename to __ftello and define as weak
11059 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11061 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11062 (__fread_unlocked): Define as strong alias of _IO_fread. Use
11064 (fread_unlocked): Don't use libc_hidden_ver.
11065 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11066 and define as weak alias of __fread_unlocked. Don't use
11068 (__fread_unlocked): Use libc_hidden_def.
11069 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
11070 (ftello): Don't use libc_hidden_proto.
11071 (__ftello): Declare. Use libc_hidden_proto.
11072 (fread_unlocked): Don't use libc_hidden_proto.
11073 (__fread_unlocked): Declare. Use libc_hidden_proto.
11074 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11075 and __ftello instead of fileno, fread_unlocked and ftello.
11077 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11079 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11081 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11083 (_dl_start_user): Likewise.
11084 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11086 2014-11-12 Carlos O'Donell <carlos@redhat.com>
11087 Siddhesh Poyarekar <siddhesh@redhat.com>
11089 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11090 Move argv and envp down instead of moving argc up.
11091 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11093 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
11096 * test-skeleton.c (main): Return successful if one of
11097 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11098 * string/tst-strcoll-overflow.c: Define expected status.
11100 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
11103 * locale/iso-639.def: Define Bhili and Tulu language codes.
11105 2014-11-11 Alan Hayward <alan.hayward@arm.com>
11107 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11109 2014-11-10 Renlin Li <Renlin.Li@arm.com>
11112 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11114 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11116 * configure.ac: Updated check of minimal required version to
11118 * manual/install.texi (Tools for Compilation): Updated version
11120 * configure: Regenerated.
11121 * INSTALL: Likewise.
11123 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
11125 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11128 2014-11-07 Joseph Myers <joseph@codesourcery.com>
11130 * include/sys/wait.h (__libc_waitpid): Remove declaration.
11131 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11132 (__waitpid): Don't define as alias. Use libc_hidden_def not
11134 (waitpid): Define as alias of __waitpid.
11135 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11137 (__waitpid): Don't define as alias. Use libc_hidden_def not
11139 (waitpid): Define as alias of __waitpid.
11140 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11141 __libc_waitpid alias.
11142 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11143 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11145 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11146 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11147 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11149 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11151 (__waitpid): Don't define as alias. Use libc_hidden_def not
11153 (waitpid): Define as alias of __waitpid.
11155 2014-11-06 Carlos O'Donell <carlos@redhat.com>
11157 * manual/llio.texi: Add comment that write safety has been
11160 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11161 (localplt-build-dso): Add elf/ld.so.
11162 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11163 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11164 and free for ld.so.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11166 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11171 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11172 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11173 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11174 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11175 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11176 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11177 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11178 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11179 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11180 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11181 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11183 2014-11-05 Joseph Myers <joseph@codesourcery.com>
11186 * include/libc-symbols.h (INTUSE): Remove macro.
11187 (INTDEF): Likewise.
11188 (INTVARDEF): Likewise.
11189 (_INTVARDEF): Likewise.
11190 (INTDEF2): Likewise.
11191 (INTVARDEF2): Likewise.
11192 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11193 rtld_hidden_def instead of INTVARDEF.
11194 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11195 (_dl_starting_up_internal): Remove declaration.
11196 (_dl_starting_up): Use rtld_hidden_proto.
11197 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11199 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11200 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11202 * elf/dl-writev.h (_dl_writev): Likewise.
11203 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11204 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11205 _dl_starting_up_internal.
11207 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11209 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11212 2014-11-05 Will Newton <will.newton@linaro.org>
11214 * benchtests/Makefile: (bench-malloc): Add malloc thread
11215 scalability benchmark.
11216 * benchtests/bench-malloc-threads.c: New file.
11218 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
11220 * sysdeps/aarch64/strchrnul.S: New file.
11222 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11224 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11226 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11228 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11230 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11232 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11234 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11237 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
11239 * catgets/test-gencat.c: Use test-skeleton.c.
11240 * catgets/tst-catgets.c: Likewise.
11241 * csu/tst-empty.c: Likewise.
11242 * elf/tst-audit2.c: Likewise.
11243 * elf/tst-global1.c: Likewise.
11244 * elf/tst-pathopt.c: Likewise.
11245 * elf/tst-piemod1.c: Likewise.
11246 * elf/tst-tls10.c: Likewise.
11247 * elf/tst-tls11.c: Likewise.
11248 * elf/tst-tls12.c: Likewise.
11249 * gnulib/tst-gcc.c: Likewise.
11250 * iconvdata/tst-e2big.c: Likewise.
11251 * iconvdata/tst-loading.c: Likewise.
11252 * iconv/tst-iconv1.c: Likewise.
11253 * iconv/tst-iconv2.c: Likewise.
11254 * inet/test-inet6_opt.c: Likewise.
11255 * inet/tst-gethnm.c: Likewise.
11256 * inet/tst-network.c: Likewise.
11257 * inet/tst-ntoa.c: Likewise.
11258 * intl/tst-codeset.c: Likewise.
11259 * intl/tst-gettext2.c: Likewise.
11260 * intl/tst-gettext3.c: Likewise.
11261 * intl/tst-ngettext.c: Likewise.
11262 * intl/tst-translit.c: Likewise.
11263 * io/test-stat.c: Likewise.
11264 * libio/test-fmemopen.c: Likewise.
11265 * libio/tst-freopen.c: Likewise.
11266 * libio/tst-sscanf.c: Likewise.
11267 * libio/tst-ungetwc1.c: Likewise.
11268 * libio/tst-ungetwc2.c: Likewise.
11269 * libio/tst-widetext.c: Likewise.
11270 * localedata/tst-ctype.c: Likewise.
11271 * localedata/tst-digits.c: Likewise.
11272 * localedata/tst-leaks.c: Likewise.
11273 * localedata/tst-mbswcs1.c: Likewise.
11274 * localedata/tst-mbswcs2.c: Likewise.
11275 * localedata/tst-mbswcs3.c: Likewise.
11276 * localedata/tst-mbswcs4.c: Likewise.
11277 * localedata/tst-mbswcs5.c: Likewise.
11278 * localedata/tst-setlocale.c: Likewise.
11279 * localedata/tst-trans.c: Likewise.
11280 * localedata/tst-wctype.c: Likewise.
11281 * localedata/tst-xlocale1.c: Likewise.
11282 * login/tst-grantpt.c: Likewise.
11283 * malloc/tst-calloc.c: Likewise.
11284 * malloc/tst-malloc.c: Likewise.
11285 * malloc/tst-mallocstate.c: Likewise.
11286 * malloc/tst-mcheck.c: Likewise.
11287 * malloc/tst-mtrace.c: Likewise.
11288 * malloc/tst-obstack.c: Likewise.
11289 * math/atest-exp2.c: Likewise.
11290 * math/atest-exp.c: Likewise.
11291 * math/atest-sincos.c: Likewise.
11292 * math/test-matherr.c: Likewise.
11293 * math/test-misc.c: Likewise.
11294 * math/test-powl.c: Likewise.
11295 * math/tst-definitions.c: Likewise.
11296 * misc/tst-dirname.c: Likewise.
11297 * misc/tst-efgcvt.c: Likewise.
11298 * misc/tst-fdset.c: Likewise.
11299 * misc/tst-hsearch.c: Likewise.
11300 * misc/tst-mntent2.c: Likewise.
11301 * nptl/tst-sem7.c: Likewise.
11302 * nptl/tst-sem8.c: Likewise.
11303 * nptl/tst-sem9.c: Likewise.
11304 * nss/test-netdb.c: Likewise.
11305 * posix/tst-fnmatch.c: Likewise.
11306 * posix/tst-getlogin.c: Likewise.
11307 * posix/tst-gnuglob.c: Likewise.
11308 * posix/tst-mmap.c: Likewise.
11309 * pwd/tst-getpw.c: Likewise.
11310 * resolv/tst-inet_ntop.c: Likewise.
11311 * rt/tst-timer.c: Likewise.
11312 * stdio-common/test-fseek.c: Likewise.
11313 * stdio-common/test-popen.c: Likewise.
11314 * stdio-common/test-vfprintf.c: Likewise.
11315 * stdio-common/tst-cookie.c: Likewise.
11316 * stdio-common/tst-fileno.c: Likewise.
11317 * stdio-common/tst-gets.c: Likewise.
11318 * stdio-common/tst-obprintf.c: Likewise.
11319 * stdio-common/tst-perror.c: Likewise.
11320 * stdio-common/tst-sprintf2.c: Likewise.
11321 * stdio-common/tst-sprintf3.c: Likewise.
11322 * stdio-common/tst-sprintf.c: Likewise.
11323 * stdio-common/tst-swprintf.c: Likewise.
11324 * stdio-common/tst-tmpnam.c: Likewise.
11325 * stdio-common/tst-unbputc.c: Likewise.
11326 * stdio-common/tst-wc-printf.c: Likewise.
11327 * stdlib/tst-environ.c: Likewise.
11328 * stdlib/tst-fmtmsg.c: Likewise.
11329 * stdlib/tst-limits.c: Likewise.
11330 * stdlib/tst-rand48-2.c: Likewise.
11331 * stdlib/tst-rand48.c: Likewise.
11332 * stdlib/tst-random2.c: Likewise.
11333 * stdlib/tst-random.c: Likewise.
11334 * stdlib/tst-strtol.c: Likewise.
11335 * stdlib/tst-strtoll.c: Likewise.
11336 * stdlib/tst-tls-atexit.c: Likewise.
11337 * stdlib/tst-xpg-basename.c: Likewise.
11338 * string/test-ffs.c: Likewise.
11339 * string/tst-bswap.c: Likewise.
11340 * string/tst-inlcall.c: Likewise.
11341 * string/tst-strtok.c: Likewise.
11342 * string/tst-strxfrm.c: Likewise.
11343 * sysdeps/x86_64/tst-audit10.c: Likewise.
11344 * sysdeps/x86_64/tst-audit3.c: Likewise.
11345 * sysdeps/x86_64/tst-audit4.c: Likewise.
11346 * sysdeps/x86_64/tst-audit5.c: Likewise.
11347 * time/tst-ftime_l.c: Likewise.
11348 * time/tst-getdate.c: Likewise.
11349 * time/tst-mktime3.c: Likewise.
11350 * time/tst-mktime.c: Likewise.
11351 * time/tst-posixtz.c: Likewise.
11352 * time/tst-strptime2.c: Likewise.
11353 * time/tst-strptime3.c: Likewise.
11354 * wcsmbs/tst-btowc.c: Likewise.
11355 * wcsmbs/tst-mbrtowc.c: Likewise.
11356 * wcsmbs/tst-mbsrtowcs.c: Likewise.
11357 * wcsmbs/tst-wchar-h.c: Likewise.
11358 * wcsmbs/tst-wcpncpy.c: Likewise.
11359 * wcsmbs/tst-wcrtomb.c: Likewise.
11360 * wcsmbs/tst-wcsnlen.c: Likewise.
11361 * wcsmbs/tst-wcstof.c: Likewise.
11363 2014-11-04 Joseph Myers <joseph@codesourcery.com>
11366 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11368 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11370 (_dl_mcount): Use rtld_hidden_proto.
11371 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11373 * elf/rtld.c (_rtld_global_ro): Likewise.
11376 * elf/dl-init.c (_dl_init): Don't use INTDEF.
11377 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11378 of _dl_init_internal.
11379 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11380 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11381 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11382 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11383 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11384 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11385 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11386 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11387 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11388 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11389 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11390 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11391 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11392 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11393 * sysdeps/tile/dl-start.S (_start): Likewise.
11394 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11395 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11398 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11399 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11400 (rtld_progname): Make macro definition unconditional.
11401 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11403 (dlmopen_doit): Do not use INTUSE with _dl_argv.
11404 (dl_main): Likewise.
11405 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11406 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11407 instead of _dl_argv_internal.
11408 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11409 __GI__dl_argv instead of INTUSE(_dl_argv).
11410 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11411 __GI__dl_argv instead of _dl_argv_internal.
11413 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11414 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11416 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11417 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11419 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11420 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11422 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11423 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11425 2014-11-04 Andreas Schwab <schwab@suse.de>
11427 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11429 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11431 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11432 mtvsrd instruction in binary form.
11434 2014-11-03 Andreas Schwab <schwab@suse.de>
11437 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11438 for less than MB_LEN_MAX use a local buffer of that size.
11439 * libio/tst-fputws.c: New file.
11440 * libio/Makefile (tests): Add tst-fputws.
11442 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
11444 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11445 the size of the fpu_fr.fpu_dregs[] array.
11447 2014-11-01 Joseph Myers <joseph@codesourcery.com>
11449 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11450 (__nanosleep): Do not define as alias.
11451 (nanosleep): Define as alias of __nanosleep.
11452 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11453 __libc_nanosleep name.
11455 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11457 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11458 install.texi in comment.
11460 2014-10-31 Torvald Riegel <triegel@redhat.com>
11462 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11463 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11464 ... add here and use lwsync or sync ...
11465 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11466 ... and add here using lwsync.
11468 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
11470 * elf/dl-machine-reject-phdr.h: New file.
11471 * elf/dl-load.c: #include that.
11472 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11473 if that returned true.
11475 2014-10-31 Roland McGrath <roland@hack.frob.com>
11478 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11479 gen-as-const-headers chunk. Add a big scare comment after the last
11480 safe place to touch before-compile.
11482 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11484 * manual/install.texi (Tools for Compilation): Update autoconf
11485 version requirements.
11486 * INSTALL: Regenerated.
11488 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11489 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11490 (__libc_pselect): Likewise.
11493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11498 2014-10-31 Torvald Riegel <triegel@redhat.com>
11500 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11501 correct barrier instruction.
11502 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11504 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11507 2014-10-30 Roland McGrath <roland@hack.frob.com>
11509 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11510 after defining inlines. Instead, just use parens to defeat macro
11511 expansion of __isctype in its declaration.
11513 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11515 * include/sys/uio.h (__libc_readv): Remove declaration.
11516 (__libc_writev): Likewise.
11517 * misc/readv.c (__libc_readv): Rename to __readv.
11518 (__readv): Do not define as alias.
11519 (readv): Define as alias of __readv.
11520 * misc/writev.c (__libc_writev): Rename to __writev.
11521 (__writev): Do not define as alias.
11522 (writev): Define as alias of __writev.
11523 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11524 (__readv): Do not define as alias.
11525 (readv): Define unconditionally as alias of __readv.
11526 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11527 (__writev): Do not define as alias.
11528 (writev): Define unconditionally as alias of __writev.
11529 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11531 (writev): Do not define __libc_writev name.
11533 2014-10-30 Roland McGrath <roland@hack.frob.com>
11535 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11536 (convert_charseq): New function, broken out of ...
11537 (use_from_charmap): ... here. Call it.
11538 (use_to_charmap): Use convert_charseq and free instead of duplicating
11539 its code with a variable-length stack struct.
11541 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11543 * include/fcntl.h (__libc_creat): Remove declaration.
11544 * io/creat.c (__libc_creat): Rename to creat.
11545 (creat): Do not define as alias.
11546 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11547 of creat instead of __libc_creat.
11548 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11550 (creat): Do not define as alias.
11551 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11553 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11555 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11558 2014-10-29 Carlos O'Donell <carlos@redhat.com>
11560 * manual/llio.texi: Add comments discussing why write() may be
11561 considered MT-unsafe on Linux.
11563 2014-10-28 Carlos O'Donell <carlos@redhat.com>
11565 * dl-load.c (local_strdup): Remove.
11566 (expand_dynamic_string_token): Use __strdup.
11567 (decompose_rpath): Likewise.
11568 (_dl_map_object): Likewise.
11570 2014-10-28 Joseph Myers <joseph@codesourcery.com>
11573 * sysdeps/generic/unwind-dw2-fde.c
11574 (__register_frame_info_bases_internal): Do not declare.
11575 (__register_frame_info_table_bases_internal): Likewise.
11576 (__deregister_frame_info_bases_internal): Likewise.
11577 (__register_frame_info_bases): Declare and use hidden_proto before
11578 definition. Use hidden_def instead of INTDEF.
11579 (__register_frame_info_table_bases): Likewise.
11580 (__deregister_frame_info_bases): Likewise.
11581 (__register_frame_info): Do not use INTUSE.
11582 (__register_frame): Likewise.
11583 (__register_frame_info_table): Likewise.
11584 (__register_frame_table): Likewise.
11585 (__deregister_frame_info): Likewise.
11586 (__deregister_frame): Likewise.
11588 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
11590 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11591 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11593 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11595 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11598 2014-10-27 Joseph Myers <joseph@codesourcery.com>
11601 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11602 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11603 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11604 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11605 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11606 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11607 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11608 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11609 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11610 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11611 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11612 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11613 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11615 (setfsuid): Likewise.
11616 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11617 (setfsuid): Likewise.
11618 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11619 (setfsuid): Likewise.
11620 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11622 (setfsuid): Likewise.
11623 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11624 (setfsuid): Likewise.
11625 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11627 (setfsuid): Likewise.
11629 2014-10-27 Andreas Schwab <schwab@suse.de>
11632 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11633 check for Slow_SSE4_2 feature bit.
11634 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11635 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11636 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11637 Likewise. Fix check for Fast_Unaligned_Load feature bit.
11639 2014-10-24 Roland McGrath <roland@hack.frob.com>
11641 * configure.ac: Validate compiler version with a empirical test of
11642 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11644 * configure: Regenerated.
11646 * inet/htons.c (htons): Prototypify.
11647 * inet/htonl.c (htonl): Likewise.
11649 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11651 * string/strncat.c (strncat): Improve performance by using strlen.
11653 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11655 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11657 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11659 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11660 Call libc_fetestexcept_aarch64.
11662 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11664 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11665 Call libc_feholdexcept_aarch64.
11667 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11669 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11670 Call get_rounding_mode.
11672 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11674 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11677 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11679 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11682 2014-10-24 Joseph Myers <joseph@codesourcery.com>
11685 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11686 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11687 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11688 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11689 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11690 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11691 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11692 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11693 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11694 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11695 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11696 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11697 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11698 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11699 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11700 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11701 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11702 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11703 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11704 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11705 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11706 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11707 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11708 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11709 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11710 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11711 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11712 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11713 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11714 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11715 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11716 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11717 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11718 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11719 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11720 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11721 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11722 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11723 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11724 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11725 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11727 (geteuid): Likewise.
11728 (getgid): Likewise.
11729 (getuid): Likewise.
11730 (getresgid): Likewise.
11731 (getresuid): Likewise.
11732 (getgroups): Likewise.
11733 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11734 (geteuid): Likewise.
11735 (getgid): Likewise.
11736 (getuid): Likewise.
11737 (getresgid): Likewise.
11738 (getresuid): Likewise.
11739 (getgroups): Likewise.
11740 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11741 (geteuid): Likewise.
11742 (getgid): Likewise.
11743 (getuid): Likewise.
11744 (getresgid): Likewise.
11745 (getresuid): Likewise.
11746 (getgroups): Likewise.
11747 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11749 (geteuid): Likewise.
11750 (getgid): Likewise.
11751 (getuid): Likewise.
11752 (getresgid): Likewise.
11753 (getresuid): Likewise.
11754 (getgroups): Likewise.
11755 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11756 (geteuid): Likewise.
11757 (getgid): Likewise.
11758 (getuid): Likewise.
11759 (getresgid): Likewise.
11760 (getresuid): Likewise.
11761 (getgroups): Likewise.
11762 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11764 (geteuid): Likewise.
11765 (getgid): Likewise.
11766 (getuid): Likewise.
11767 (getgroups): Likewise.
11770 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11771 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11772 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11773 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11774 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11775 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11776 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11777 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11778 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11779 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11780 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11781 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11782 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11784 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11785 (lchown): Likewise.
11786 (fchown): Likewise.
11787 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11789 (lchown): Likewise.
11790 (fchown): Likewise.
11791 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11792 (lchown): Likewise.
11793 (fchown): Likewise.
11794 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11796 (lchown): Likewise.
11797 (fchown): Likewise.
11799 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11801 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11804 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11806 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11809 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11811 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11812 Remove unused include.
11814 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11816 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11817 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11818 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11819 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11821 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
11822 Helge Deller <deller@gmx.de>
11825 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11826 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11827 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11829 2014-10-23 Joseph Myers <joseph@codesourcery.com>
11832 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11833 Remove macro definition.
11834 (__ashrdi3_v_glibc20): Likewise.
11835 (__lshrdi3_v_glibc20): Likewise.
11836 (__cmpdi2_v_glibc20): Likewise.
11837 (__ucmpdi2_v_glibc20): Likewise.
11838 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11839 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11840 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11841 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11842 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11843 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11845 2014-10-22 Roland McGrath <roland@hack.frob.com>
11847 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11848 old GNU extension [0] syntax.
11849 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11850 alloca rather than an array member with variable length.
11851 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11852 * nscd/nscd.c (invalidate_db): New function, broken out of ...
11853 (parse_opt): ... here. Likewise use alloca there.
11854 Validate the -i argument before checking for rootness.
11855 (send_shutdown): New function, broken out of ...
11856 (parse_opt): ... here.
11858 2014-10-22 Roland McGrath <roland@hack.frob.com>
11860 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11861 macro to get at the _rt_local_ro field.
11862 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11863 ([PIC] case) or _dl_hwcap ([!PIC] case).
11864 * sysdeps/arm/setjmp.S: Likewise.
11866 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11867 * sysdeps/arm/configure.ac: New check to define it.
11868 * sysdeps/arm/configure: Regenerated.
11869 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11870 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11871 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11872 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11873 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11874 Use move/movt pair instead of a load.
11875 (LDST_GLOBAL): Macro removed.
11876 (LDR_GLOBAL): New macro replaces it.
11877 (LDR_HIDDEN): New macro.
11878 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11879 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11881 * setjmp/tst-setjmp-static.c: New file.
11882 * setjmp/Makefile (tests): Add it.
11883 (tests-static): New variable.
11885 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
11888 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11890 2014-10-21 Joseph Myers <joseph@codesourcery.com>
11893 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11895 2014-10-21 Roland McGrath <roland@hack.frob.com>
11897 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11899 2014-10-20 Roland McGrath <roland@hack.frob.com>
11901 * io/fts.c (dirent_not_directory): New function.
11902 (fts_build): Call it.
11904 2014-10-20 Roland McGrath <roland@hack.frob.com>
11906 * nptl/version.c (__nptl_main): Use normal __write rather than
11908 (banner): Update copyright years.
11910 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11912 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11913 * nptl/pthread_cond_timedwait.c: Likewise.
11914 * nptl/pthread_mutex_timedlock.c: Likewise.
11915 * nptl/sem_timedwait.c: Likewise.
11917 * sysdeps/nptl/bits/libc-lock.h
11918 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11919 (__libc_lock_init_recursive): Return void, not 0.
11920 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11921 (__libc_rwlock_init): Likewise.
11922 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11924 2014-10-20 Torvald Riegel <triegel@redhat.com>
11927 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11928 (__pthread_once_slow): ... here.
11929 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11930 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11932 2014-10-20 Torvald Riegel <triegel@redhat.com>
11935 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11936 __PTHREAD_ONCE_FORK_GEN_INCR): New.
11937 * sysdeps/nptl/fork.c (__libc_fork): Use them.
11938 * nptl/pthread_once.c (__pthread_once): Likewise.
11941 2014-10-20 Joseph Myers <joseph@codesourcery.com>
11944 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11946 (writev): Use __libc_writev as strong name.
11947 * sysdeps/unix/sysv/linux/readv.c: Remove file.
11948 * sysdeps/unix/sysv/linux/writev.c: Likewise.
11950 2014-10-17 Roland McGrath <roland@hack.frob.com>
11952 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11954 * sysdeps/i386/nptl/tls.h
11955 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11956 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11958 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11959 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11960 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11961 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11962 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11963 Call CHECK_THREAD_SYSINFO instead of doing an assert.
11965 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11966 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11968 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11970 (__pthread_mutex_init): ... here. Call it.
11971 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11972 Conditionalize PI cases on [__NR_futex].
11973 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11974 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11975 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11977 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11978 conditional on [SIGSETXID].
11979 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11980 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11981 is defined. Likewise for SIGSETXID.
11982 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11983 Conditionalize definitions on [SIGSETXID].
11984 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11985 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11986 unblocking on [SIGCANCEL].
11988 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11989 [__NR_set_robust_list].
11991 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11993 * string/strcoll_l.c (get_next_seq): Fix up formatting.
11994 (do_compare): Likewise.
11996 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
11999 * string/strcoll_l.c: Don't include stdio.h.
12000 (coll_seq): Remove members idxarr and rulearr.
12001 (get_next_seq_cached): Remove function.
12002 (get_next_seq): Likewise.
12003 (get_next_seq_nocache): Rename to get_next_seq.
12004 (do_compare): Remove function.
12005 (do_compare_nocache): Rename to do_compare.
12006 (STRCOLL): Remove weight and rules cache.
12008 2014-10-16 Roland McGrath <roland@hack.frob.com>
12010 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12011 * sysdeps/arm/sfp-machine.h: ... to here.
12012 * sysdeps/arm/Implies: Remove arm/soft-fp.
12014 2014-10-14 Joseph Myers <joseph@codesourcery.com>
12016 * conform/data/sys/utsname.h-data (*_t): Allow.
12017 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12018 [POSIX] (WEXITED): Do not expect constant.
12019 [POSIX] (WSTOPPED): Likewise.
12020 [POSIX] (WNOHANG): Likewise.
12021 [POSIX] (WNOWAIT): Likewise.
12022 [POSIX] (siginfo_t): Do not expect type or elements.
12023 [POSIX] (pid_t): Do not expect type.
12024 [POSIX] (signal.h): Do not allow header.
12025 [POSIX] (sys/resource.h): Likewise.
12026 [POSIX] (si_*): Do not allow pattern.
12027 [POSIX] (W*): Likewise.
12028 [POSIX] (P_*): Likewise.
12029 [POSIX] (BUS_*): Likewise.
12030 [POSIX] (CLD_*): Likewise.
12031 [POSIX] (FPE_*): Likewise.
12032 [POSIX] (ILL_*): Likewise.
12033 [POSIX] (POLL_*): Likewise.
12034 [POSIX] (SEGV_*): Likewise.
12035 [POSIX] (SI_*): Likewise.
12036 [POSIX] (TRAP_*): Likewise.
12037 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12040 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
12043 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12044 infinite loop when __recvmsg returns 0.
12046 2014-10-10 Joseph Myers <joseph@codesourcery.com>
12048 * CANCEL-FCT-WAIVE: Remove file.
12049 * CANCEL-FILE-WAIVE: Likewise.
12052 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12053 instead of INTVARDEF.
12054 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12055 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12056 rtld_hidden_data_def instead of INTVARDEF.
12057 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12058 * elf/dl-deps.c (expand_dst): Likewise.
12059 * elf/dl-load.c (_dl_dst_count): Likewise.
12060 (_dl_dst_substitute): Likewise.
12061 (decompose_rpath): Likewise.
12062 (_dl_init_paths): Likewise.
12063 (open_path): Likewise.
12064 (_dl_map_object): Likewise.
12065 * elf/rtld.c (dl_main): Likewise.
12066 (process_dl_audit): Likewise.
12067 (process_envvars): Likewise.
12068 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12069 Remove declaration.
12070 (__libc_enable_secure): Use rtld_hidden_proto.
12072 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12075 (add_path): New function broken out of _dl_rtld_di_serinfo.
12076 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
12078 2014-10-09 Joseph Myers <joseph@codesourcery.com>
12080 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12081 parentheses around macro arguments.
12082 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12083 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12084 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12085 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12086 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12087 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12088 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12089 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12090 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12091 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12092 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12093 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12094 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12095 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12096 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12097 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12098 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12099 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12100 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12101 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12102 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12103 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12104 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12105 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12106 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12107 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12108 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12109 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12110 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12111 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12112 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12113 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12114 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12115 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12116 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12117 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12119 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12120 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12121 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12122 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12123 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12124 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12125 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12126 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12127 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12128 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12129 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12130 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12131 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12132 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12133 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12134 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12135 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12136 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12137 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12138 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12139 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12140 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12141 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12142 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12143 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12144 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12145 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12146 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12147 (_FP_FRAC_SRS_1): Likewise.
12148 (_FP_FRAC_CLZ_1): Likewise.
12149 (_FP_MUL_MEAT_1_imm): Likewise.
12150 (_FP_MUL_MEAT_1_wide): Likewise.
12151 (_FP_MUL_MEAT_1_hard): Likewise.
12152 (_FP_SQRT_MEAT_1): Likewise.
12153 (_FP_FRAC_ASSEMBLE_1): Likewise.
12154 (_FP_FRAC_DISASSEMBLE_1): Likewise.
12155 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12156 (__FP_CLZ_2): Likewise.
12157 (_FP_MUL_MEAT_2_wide): Likewise.
12158 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12159 (_FP_MUL_MEAT_2_gmp): Likewise.
12160 (_FP_MUL_MEAT_2_120_240_double): Likewise.
12161 (_FP_SQRT_MEAT_2): Likewise.
12162 (_FP_FRAC_ASSEMBLE_2): Likewise.
12163 (_FP_FRAC_DISASSEMBLE_2): Likewise.
12164 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12165 (_FP_FRAC_CLZ_4): Likewise.
12166 (_FP_MUL_MEAT_4_wide): Likewise.
12167 (_FP_MUL_MEAT_4_gmp): Likewise.
12168 (_FP_SQRT_MEAT_4): Likewise.
12169 (_FP_FRAC_ASSEMBLE_4): Likewise.
12170 (_FP_FRAC_DISASSEMBLE_4): Likewise.
12171 * soft-fp/op-common.h (_FP_CMP): Likewise.
12172 (_FP_CMP_EQ): Likewise.
12173 (_FP_CMP_UNORD): Likewise.
12174 (_FP_TO_INT): Likewise.
12175 (_FP_FROM_INT): Likewise.
12176 [!__FP_CLZ] (__FP_CLZ): Likewise.
12177 (_FP_DIV_HELP_imm): Likewise.
12178 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12180 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12181 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12182 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12183 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12184 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12185 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12186 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12187 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12188 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12189 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12190 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12191 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12192 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12193 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12194 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12195 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12196 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12197 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12198 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12199 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12200 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12201 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12202 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12203 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12204 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12205 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12206 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12207 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12208 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12209 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12210 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12211 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12212 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12213 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12214 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12215 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12216 (FP_UNPACK_RAW_SP): Likewise.
12217 (FP_PACK_RAW_S): Likewise.
12218 (FP_PACK_RAW_SP): Likewise.
12219 (FP_UNPACK_S): Likewise.
12220 (FP_UNPACK_SP): Likewise.
12221 (FP_UNPACK_SEMIRAW_S): Likewise.
12222 (FP_UNPACK_SEMIRAW_SP): Likewise.
12223 (FP_PACK_S): Likewise.
12224 (FP_PACK_SP): Likewise.
12225 (FP_PACK_SEMIRAW_S): Likewise.
12226 (FP_PACK_SEMIRAW_SP): Likewise.
12227 (_FP_SQRT_MEAT_S): Likewise.
12228 (FP_CMP_S): Likewise.
12229 (FP_CMP_EQ_S): Likewise.
12230 (FP_CMP_UNORD_S): Likewise.
12231 (FP_TO_INT_S): Likewise.
12232 (FP_FROM_INT_S): Likewise.
12234 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12236 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12237 (FP_EX_INVALID_IMZ): Likewise.
12238 (FP_EX_INVALID_IMZ_FMA): Likewise.
12239 (FP_EX_INVALID_ISI): Likewise.
12240 (FP_EX_INVALID_ZDZ): Likewise.
12241 (FP_EX_INVALID_IDI): Likewise.
12242 (FP_EX_INVALID_SQRT): Likewise.
12243 (FP_EX_INVALID_CVI): Likewise.
12244 (FP_EX_INVALID_VC): Likewise.
12245 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12246 "invalid" exceptions.
12247 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12248 (_FP_ADD_INTERNAL): Likewise.
12249 (_FP_MUL): Likewise.
12250 (_FP_FMA): Likewise.
12251 (_FP_DIV): Likewise.
12252 (_FP_CMP_CHECK_NAN): Likewise.
12253 (_FP_SQRT): Likewise.
12254 (_FP_TO_INT): Likewise.
12255 (FP_EXTEND): Likewise.
12257 2014-10-09 Allan McRae <allan@archlinux.org>
12259 * po/fr.po: Update French translation from translation project.
12261 2014-10-09 Joseph Myers <joseph@codesourcery.com>
12264 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12266 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12267 (__cxa_atexit): Use libc_hidden_proto.
12268 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12271 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12273 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12274 [!_ISOMAC] (__iswspace_l_internal): Likewise.
12275 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12276 [!_ISOMAC] (__iswctype_internal): Likewise.
12277 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12278 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12280 (fcntl): Remove __fcntl_internal alias.
12281 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12282 __connect_internal alias.
12283 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12286 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12287 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12289 (_FP_CHECK_FLUSH_ZERO): New macro.
12290 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12291 (_FP_CMP): Likewise.
12292 (_FP_CMP_EQ): Likewise.
12293 (_FP_TO_INT): Do not set inexact for subnormal arguments if
12295 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12296 (FP_TRUNC): Likewise.
12298 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12299 treated as invalid conversion, not as normal exponent.
12301 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12302 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
12303 (_FP_CMP_EQ): Likewise.
12304 (_FP_CMP_UNORD): Likewise.
12305 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12306 (FP_CMP_EQ_D): Likewise.
12307 (FP_CMP_UNORD_D): Likewise.
12308 * soft-fp/extended.h (FP_CMP_E): Likewise.
12309 (FP_CMP_EQ_E): Likewise.
12310 (FP_CMP_UNORD_E): Likewise.
12311 * soft-fp/quad.h (FP_CMP_Q): Likewise.
12312 (FP_CMP_EQ_Q): Likewise.
12313 (FP_CMP_UNORD_Q): Likewise.
12314 * soft-fp/single.h (FP_CMP_S): Likewise.
12315 (FP_CMP_EQ_S): Likewise.
12316 (FP_CMP_UNORD_S): Likewise.
12317 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12318 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12319 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12320 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12321 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12322 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12323 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12324 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12325 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12326 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12327 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12328 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12329 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12331 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12333 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12334 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12336 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12338 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12339 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12340 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12341 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12343 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12345 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12346 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12348 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12350 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12351 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12352 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12353 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12356 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12357 a subnormal result, set the underflow exception if trapping on
12358 underflow is enabled.
12359 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12360 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12361 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12363 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12364 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12365 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12366 * soft-fp/extendxftf2.c (__extendxftf2): Use
12367 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12369 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12370 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12371 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12372 FP_HANDLE_EXCEPTIONS.
12373 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12374 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12375 FP_HANDLE_EXCEPTIONS.
12376 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12377 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12378 FP_HANDLE_EXCEPTIONS.
12379 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12380 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12381 FP_HANDLE_EXCEPTIONS.
12383 2014-10-08 Joseph Myers <joseph@codesourcery.com>
12386 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12387 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12389 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12390 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12392 (__adjtimex): Define using libc_hidden_ver.
12393 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12394 Remove declaration.
12395 (ntp_gettime): Call __adjtimex directly.
12396 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12397 Remove declaration.
12398 (ntp_gettimex): Call __adjtimex directly.
12399 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12400 __adjtimex_internal alias.
12402 2014-10-08 Roland McGrath <roland@hack.frob.com>
12405 * nscd/nscd.c (more_help): Rewrite list of tables collection
12406 using xstrdup and asprintf.
12408 * nscd/nscd_conf.c: Remove local xstrdup declaration.
12410 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12411 Roland McGrath <roland@hack.frob.com>
12413 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12414 (do_lookup_unique): ... local function 'enter' here; update callers.
12416 2014-10-06 Joseph Myers <joseph@codesourcery.com>
12418 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12419 compat_symbol calls on [SHARED].
12420 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12421 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12423 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12424 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12425 (oldsetrlimit): Remove.
12426 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12428 (lchown): New syscall entry.
12429 (oldsetrlimit): Remove.
12430 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12431 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12432 (oldsetrlimit): Remove.
12433 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12436 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12437 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12438 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12439 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12440 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12441 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12442 (fchown): Likewise.
12443 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12444 (fchown): Likewise.
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12448 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12450 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12451 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12452 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12453 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12454 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12456 (__old_sem_post): Likewise.
12458 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
12460 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12461 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12462 HAVE_CLOCK_GETTIME_VSYSCALL macros.
12463 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12464 Use INLINE_VSYSCALL macro.
12465 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12466 __vdso_clock_gettime.
12467 * sysdeps/unix/sysv/linux/tile/init-first.c
12468 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12469 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12470 __vdso_clock_gettime.
12472 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12473 to set up frame more cleanly.
12475 * sysdeps/tile/memcmp.c: New file.
12477 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12479 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12480 * sysdeps/tile/tilegx/strcasestr.c: New file.
12481 * sysdeps/tile/tilegx/strnlen.c: New file.
12482 * sysdeps/tile/tilegx/strstr.c: New file.
12484 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12486 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
12488 * nptl/tst-setuid3.c: Write errors to stdout.
12490 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12493 (preload): New functions broken out of _dl_map_object_deps.
12494 (_dl_map_object_deps): Remove a nested function. Update call sites.
12496 2014-10-01 Joseph Myers <joseph@codesourcery.com>
12499 * sysdeps/unix/sysv/linux/execve.c: Remove file.
12500 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12502 2014-10-01 Steve Ellcey <sellcey@mips.com>
12504 * sysdeps/mips/strcmp.S: New.
12506 2014-09-30 Joseph Myers <joseph@codesourcery.com>
12509 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12510 (linkat): Likewise.
12511 (mkdirat): Likewise.
12512 (readlinkat): Likewise.
12513 (renameat): Likewise.
12514 (symlinkat): Likewise.
12515 (unlinkat): Likewise.
12516 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12517 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12518 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12519 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12520 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12521 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12522 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12524 2014-09-30 Will Newton <will.newton@linaro.org>
12526 * math/math.h: Define long double math functions if
12527 _LIBC_TEST is defined.
12528 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12530 * localedata/Makefile: Move assignment to tests-special
12531 into an ifdef testing run-built-tests.
12532 * timezone/Makefile: Likewise.
12534 2014-09-29 Joseph Myers <joseph@codesourcery.com>
12536 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12537 with $(BASH) not $(SHELL).
12539 2014-09-29 Carlos O'Donell <carlos@redhat.com>
12540 Matthew LeGendre <legendre1@llnl.gov>
12543 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12546 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12548 * stdio-common/printf_fp.c
12549 (hack_digit): New function, broken out of ...
12550 (__printf_fp): ... local function here. Update call sites.
12551 hack_digit now takes an additional parameter that is a pointer
12552 to a struct of the referenced locals. Those locals moved inside
12553 the struct and references updated.
12555 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
12557 * aclocal.m4: Require autoconf 2.69.
12558 * configure: Regenerated.
12559 * sysdeps/aarch64/configure: Likewise.
12560 * sysdeps/alpha/configure: Likewise.
12561 * sysdeps/arm/armv7/configure: Likewise.
12562 * sysdeps/arm/configure: Likewise.
12563 * sysdeps/ia64/configure: Likewise.
12564 * sysdeps/mach/configure: Likewise.
12565 * sysdeps/mips/configure: Likewise.
12566 * sysdeps/s390/configure: Likewise.
12567 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12570 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12572 * sysdeps/ia64/configure.ac: Likewise.
12574 2014-09-26 Joseph Myers <joseph@codesourcery.com>
12576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12577 specify symbol version for ld.so. Do not include entry for
12579 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12580 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12581 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12584 * Makeconfig [$(build-shared) = yes]
12585 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12587 [$(build-shared) = yes && $(soversions.mk-done) = t]
12588 ($(common-objpfx)gnu/lib-names.h): Remove rule.
12589 [$(build-shared) = yes && $(soversions.mk-done) = t]
12590 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
12592 [$(build-shared) = yes && $(soversions.mk-done) = t]
12593 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12595 [$(build-shared) = yes && $(soversions.mk-done) = t]
12596 (common-generated): Don't append gnu/lib-names.h and
12597 gnu/lib-names.stmp here.
12598 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12599 (lib-names-h-abi): New variable.
12600 [$(build-shared) = yes && $(soversions.mk-done) = t]
12601 (lib-names-stmp-abi): Likewise.
12602 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12603 abi-variants] (before-compile): Append
12604 $(common-objpfx)$(lib-names-h-abi).
12605 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12606 abi-variants] (common-generated): Append gnu/lib-names.h.
12607 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12608 abi-variants] (install-others-nosubdir): Depend on
12609 $(inst_includedir)/$(lib-names-h-abi).
12610 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12611 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12612 [$(build-shared) = yes && $(soversions.mk-done) = t]
12613 ($(common-objpfx)$(lib-names-h-abi)): New rule.
12614 [$(build-shared) = yes && $(soversions.mk-done) = t]
12615 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12616 [$(build-shared) = yes && $(soversions.mk-done) = t]
12617 (common-generated): Append $(lib-names-h-abi) and
12618 $(lib-names-stmp-abi).
12619 * scripts/lib-names.awk: Do not handle multi being set.
12620 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12622 (abi-lp64_be-ld-soname): Likewise.
12623 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12625 (abi-hard-ld-soname): Likewise.
12626 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12627 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12629 (abi-o32_hard-ld-soname): Likewise.
12630 (abi-o32_soft_2008-ld-soname): Likewise.
12631 (abi-o32_hard_2008-ld-soname): Likewise.
12632 (abi-n32_soft-ld-soname): Likewise.
12633 (abi-n32_hard-ld-soname): Likewise.
12634 (abi-n32_soft_2008-ld-soname): Likewise.
12635 (abi-n32_hard_2008-ld-soname): Likewise.
12636 (abi-n64_soft-ld-soname): Likewise.
12637 (abi-n64_hard-ld-soname): Likewise.
12638 (abi-n64_soft_2008-ld-soname): Likewise.
12639 (abi-n64_hard_2008-ld-soname): Likewise.
12640 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12642 (abi-64-v2-ld-soname): Likewise.
12643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12645 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12647 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12649 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12651 (abi-64-ld-soname): Likewise.
12652 (abi-x32-ld-soname): Likewise.
12653 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12655 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12657 2014-09-23 Joseph Myers <joseph@codesourcery.com>
12660 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12661 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12662 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12663 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12664 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12665 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12666 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12667 syscall entry for GLIBC_2.2 symbol version.
12668 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12671 (setrlimit): Likewise.
12672 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12675 2014-09-23 Will Newton <will.newton@linaro.org>
12677 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12678 _LINUX_ARM_SYSDEP_H include guard too.
12679 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12682 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12684 * sysdeps/unix/sysv/linux/eventfd.c:
12685 Make first argument unsigned.
12686 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12687 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12689 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
12691 * socket/recvmmsg.c (recvmmsg): Drop const argument.
12692 * socket/sys/socket.h: Likewise
12693 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12695 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12697 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12699 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
12701 * time/tst-ftime.c: New test.
12702 * time/Makefile (tests): Add tst-ftime.
12704 2014-09-17 Joseph Myers <joseph@codesourcery.com>
12706 * soft-fp/extended.h: Fix comment formatting.
12707 * soft-fp/op-1.h: Likewise.
12708 * soft-fp/op-2.h: Likewise.
12709 * soft-fp/op-4.h: Likewise.
12710 * soft-fp/op-8.h: Likewise.
12711 * soft-fp/op-common.h: Likewise.
12712 * soft-fp/soft-fp.h: Likewise.
12714 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12716 2014-09-16 Joseph Myers <joseph@codesourcery.com>
12719 * Makeconfig (soversions-default-setname): Remove variable.
12720 ($(common-objpfx)soversions.i): Don't pass default_setname to
12722 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12723 oldest_abi to abi-versions.awk.
12724 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12725 * config.make.in (oldest-abi): Remove variable.
12726 * configure.ac (--enable-oldest-abi): Remove configure option.
12727 * configure: Regenerated.
12728 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12730 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12731 * scripts/soversions.awk: Do not handle default_setname variable.
12732 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12734 * sysdeps/mach/hurd/configure: Regenerated.
12735 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12737 * sysdeps/unix/sysv/linux/configure: Regenerated.
12739 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12741 * elf/Makefile (CFLAGS-interp.c): Remove.
12742 ($(elf-objpfx)runtime-linker.h): Generate header with linker
12744 * elf/interp.c: Include generated runtime-linker.h
12746 * Makerules (lib%.so): Don't include $(+interp) in
12748 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12749 * dlfcn/eval.c: Remove file.
12751 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12755 * misc/sys/cdefs.h: Define __extern_always_inline for clang
12759 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12761 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12762 Jakub Jelinek <jakub@redhat.com>
12765 * libio/stdio.h: Check definition of __fortify_function
12766 instead of __extern_always_inline to include bits/stdio2.h.
12767 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12768 check if __extern_always_inline is defined.
12769 [__USE_MISC || __USE_XOPEN]: Likewise.
12770 [__USE_ISOC99] Likewise.
12771 * misc/sys/cdefs.h (__fortify_function): Define only if
12772 __extern_always_inline is defined.
12773 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12774 __extern_always_inline and __extern_inline only for g++-4.3
12775 and newer or a compatible gcc.
12777 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
12780 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12781 last change to handle zero prefix length.
12783 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12785 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12788 * posix/getconf.c (vars): Add _POSIX_IPV6 and
12789 _POSIX_RAW_SOCKETS.
12791 2014-09-13 Allan McRae <allan@archlinux.org>
12793 * po/ru.po: Update Russian translation from translation project.
12795 2014-09-12 Roland McGrath <roland@hack.frob.com>
12797 * locale/programs/locale.c (show_locale_vars): Inline local function
12798 into its sole call site. Clean up some style nits.
12799 (print_item): New function, broken out of ...
12800 (show_info): ... local function here. Clean up style nits.
12802 * locale/programs/ld-ctype.c (set_one_default): New function, broken
12804 (set_class_defaults): ... local function set_default here.
12805 Define set_default as a macro locally to pass constant parameters.
12806 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12807 rather than a shared local.
12809 * stdlib/rpmatch.c (try): New function, broken out of ...
12810 (rpmatch): ... local function here. Also, prototypify definition.
12812 2014-09-12 Joseph Myers <joseph@codesourcery.com>
12814 * scripts/soversions.awk: Do not handle configuration names.
12815 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12816 vendor and os variables to soversions.awk.
12817 * configure.ac: Do not modify gnu-* host_os.
12818 * configure: Regenerated
12819 * shlib-versions: Remove first column with configuration names.
12820 * nptl/shlib-versions: Likewise.
12821 * nptl_db/shlib-versions: Likewise.
12822 * sysdeps/hppa/shlib-versions: Likewise.
12823 * sysdeps/m68k/shlib-versions: Likewise.
12824 * sysdeps/mach/hurd/shlib-versions: Likewise.
12825 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12826 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12827 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12828 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12829 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12830 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12831 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12832 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12835 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12836 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12837 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12838 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12839 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12840 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12841 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12842 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12845 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12848 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12850 Condition symbol version definitions on [HAVE_ELFV2_ABI].
12852 * shlib-versions: Remove OS-specific entries. Moved to files in
12854 * sysdeps/mach/hurd/shlib-versions: New file.
12855 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12857 * nptl/shlib-versions: Remove architecture-specific entries.
12858 Moved to files in sysdeps.
12859 * shlib-versions: Likewise.
12860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12862 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12863 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12864 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12865 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12867 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12868 (UDP_NO_CHECK6_RX): Likewise.
12870 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12872 * sysdeps/posix/sysconf.c (__sysconf): Spell
12873 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12875 2014-08-12 Florian Weimer <fweimer@redhat.com>
12877 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12879 * iconv/Versions (__gconv_transliterate): Export for use from
12881 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12882 (struct __gconv_trans_data, __gconv_trans_fct,
12883 __gconv_trans_context_fct, __gconv_trans_query_fct,
12884 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12886 (struct __gconv_step_data): Remove __trans member.
12887 (__gconv_transliterate): Declaration moved from gconv_int.h. No
12888 longer hidden. Remove unused trans_data argument.
12889 * iconv/gconv_int.h (struct trans_struct): Remove definition.
12890 (__gconv_translit_find): Remove declaration.
12891 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
12893 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12894 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12895 trans_data argument. Add hidden definition.
12896 (__gconv_translit_find): Remove.
12897 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12898 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12899 * iconv/skeleton.c: Remove transliteration initialization.
12900 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12901 __gconv_step_data initialization.
12902 * libio/iofwide.c (__libio_translit_): Remove.
12903 (_IO_fwide): Adjust struct __gconv_step_data initialization.
12904 * wcsmbs/btowc.c (__btowc): Likewise.
12905 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12906 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12907 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12908 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12909 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12910 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12911 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12912 * wcsmbs/wctob.c (wctob): Likewise.
12914 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12917 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12918 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
12920 * sysdeps/x86/Makefile: Adjust.
12922 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12923 Roland McGrath <roland@hack.frob.com>
12925 * locale/weight.h: Add include guard.
12926 (findidx): Make static rather than auto; take new parameters
12927 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12928 * locale/weightwc.h: Likewise.
12929 * posix/fnmatch_loop.c
12930 (FCT): Change type of EXTRA from int32_t to wint_t.
12931 Don't include either header inside the function.
12932 Call FINDIDX rather than findidx, and pass new arguments.
12933 #undef FINDIDX at the end of the file.
12934 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12935 FINDIDX before including fnmatch_loop.c for the non-wide version.
12936 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12937 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12938 for the wide version.
12939 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12940 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12941 Pass new arguments to findidx.
12942 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12943 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12944 Don't #include it inside the function. Pass new arguments to findidx.
12945 * posix/regex_internal.h
12946 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12947 (re_string_elem_size_at): Don't #include it inside the function.
12948 Pass new arguments to findidx.
12949 * string/strcoll_l.c: #include WEIGHT_H at top level.
12950 (get_next_seq): Don't #include it inside the function.
12951 Pass new arguments to findidx.
12952 (get_next_seq_nocache): Likewise.
12953 * string/strxfrm_l.c: #include WEIGHT_H at top level.
12954 (STRXFRM): Don't #include it inside the function.
12955 Pass new arguments to findidx.
12957 2014-09-11 Florian Weimer <fweimer@redhat.com>
12960 * malloc/malloc.c (unlink): Turn asserts into a call to
12963 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
12966 * libio/wfileops (do_ftell_wide): Free OUT.
12968 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
12970 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12972 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12975 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12976 group if the current group is empty.
12978 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12980 * benchtests/bench-memset.c (test_main): Add more test from size
12981 from 32 to 512 bytes.
12982 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12983 Add POWER8 memset object.
12984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12985 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12986 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12988 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12990 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12991 multiarch POWER8 memset optimization.
12992 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12993 POWER8 memset optimization.
12995 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12996 Remove bzero multiarch objects.
12997 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12998 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12999 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13000 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13002 [__bzero]: Redefine to specific name.
13003 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13004 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13005 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13007 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13008 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13010 2014-09-10 Florian Weimer <fweimer@redhat.com>
13012 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13013 warnings into errors.
13015 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13016 __cxa_thread_atexit_impl prototype.
13018 2014-09-09 Steve Ellcey <sellcey@mips.com>
13020 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13021 Fix capitalization of error message.
13023 2014-09-09 Steve Ellcey <sellcey@mips.com>
13025 * sysdeps/mips/preconfigure: Modify ABI tests.
13027 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
13029 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13031 2014-09-07 Roland McGrath <roland@hack.frob.com>
13032 Carlos O'Donell <carlos@systemhalted.org>
13034 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13035 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13036 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13037 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13038 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13039 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13040 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13041 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13042 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13043 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13044 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13045 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13046 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13047 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13048 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13049 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13050 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13051 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13052 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13053 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13054 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13055 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13056 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13057 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13058 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13059 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13060 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13061 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13062 Deconditionalize the code that was previously under [RESET_PID].
13063 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13064 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13065 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13066 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13069 2014-09-08 Allan McRae <allan@archlinux.org>
13071 * version.h (RELEASE): Set to "development".
13072 (VERSION): Set to "2.20.90"
13074 2014-09-07 Allan McRae <allan@archlinux.org
13076 * version.h (RELEASE): Set to "stable".
13077 (VERSION): Set to "2.20"
13078 * include/features.h (__GLIBC_MINOR__): Set to 20.
13080 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13083 * po/ko.po: Update Korean translation from translation project.
13085 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
13088 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13089 macro for handling signed relocations.
13091 2014-09-03 Florian Weimer <fweimer@redhat.com>
13094 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13095 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13097 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13098 * iconvdata/ibm935.c (BODY): Likewise.
13099 * iconvdata/ibm937.c (BODY): Likewise.
13100 * iconvdata/ibm939.c (BODY): Likewise.
13101 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13103 * iconvdata/Makefile (iconv-test.out): Pass module list to test
13105 * iconvdata/run-iconv-test.sh: New test loop for checking for
13108 2014-09-02 Khem Raj <raj.khem@gmail.com>
13110 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13113 2014-09-01 Allan McRae <allan@archlinux.org>
13115 * po/eo.po: Update Esperanto translation from translation project.
13117 * po/ca.po: Update Catalan translation from translation project.
13119 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13121 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13122 __proc_dostop call.
13124 2014-08-27 Mark Wielaard <mjw@redhat.com>
13127 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13128 to call set_thread_area instead of hand written asm.
13129 (__NR_set_thread_area): Removed define.
13130 (TLS_FLAG_WRITABLE): Likewise.
13131 (__ASSUME_SET_THREAD_AREA): Remove check.
13132 (TLS_EBX_ARG): Remove define.
13133 (TLS_LOAD_EBX): Likewise.
13135 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13137 Simplify atomicity of socket creation in bind.
13139 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13140 looking up the name after linking the file.
13142 2014-08-27 Allan McRae <allan@archlinux.org>
13144 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13146 2014-08-26 Florian Weimer <fweimer@redhat.com>
13149 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13150 trans_compare, open_translit, __gconv_translit_find):
13151 Remove module loading code.
13153 2014-08-26 Allan McRae <allan@archlinux.org>
13155 * po/vi.po: Update Vietnamese translation from translation project.
13157 * po/uk.po: Update Ukrainian translation from translation project.
13159 * po/fr.po: Update French translation from translation project.
13161 * po/ru.po: Update Russian translation from translation project.
13163 * po/pl.po: Update Polish translation from translation project.
13165 * po/cs.po: Update Czech translation from translation project.
13167 * po/de.po: Update German translation from translation project.
13169 * po/bg.po: Update Bulgarian translation from translation project.
13171 * po/sv.po: Update Sweedish translation from translation project.
13173 * po/nl.po: Update Dutch translation from translation project.
13175 * po/es.po: Update Spanish translation from translation project.
13177 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13179 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13181 * catgets/Makefile (CPPFLAGS-gencat): Remove.
13182 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13183 (CPPFLAGS-iconvconfig): Likewise.
13184 * timezone/Makefile (CPPFLAGS-zic): Likewise.
13186 * include/libc-symbols.h: Remove unnecessary check for
13188 * nptl/pthreadP.h: Likewise.
13189 * sysdeps/aarch64/setjmp.S: Likewise.
13190 * sysdeps/alpha/setjmp.S: Likewise.
13191 * sysdeps/arm/sysdep.h: Likewise.
13192 * sysdeps/i386/setjmp.S: Likewise.
13193 * sysdeps/m68k/setjmp.c: Likewise.
13194 * sysdeps/posix/getcwd.c: Likewise.
13195 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13196 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13197 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13198 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13199 * sysdeps/sh/sh3/setjmp.S: Likewise.
13200 * sysdeps/sh/sh4/setjmp.S: Likewise.
13201 * sysdeps/unix/alpha/sysdep.h: Likewise.
13202 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13203 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13204 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13205 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13208 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13210 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13211 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13212 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13213 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13215 * sysdeps/x86_64/setjmp.S: Likewise.
13217 2014-08-13 Joseph Myers <joseph@codesourcery.com>
13220 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13222 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13223 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13225 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13227 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13230 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13231 and __x86_64__ when disabling x87 inline functions.
13233 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
13236 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13237 asm statement with __cpuid_count.
13239 2014-08-12 Mike Frysinger <vapier@gentoo.org>
13241 * configure.ac: Change __ehdr_start code to dereference the struct.
13242 Run readelf on the output to look for relocations.
13243 * configure: Regenerated.
13245 2014-08-12 Joseph Myers <joseph@codesourcery.com>
13248 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13250 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13252 2014-08-12 Roland McGrath <roland@hack.frob.com>
13254 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13256 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
13259 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13260 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13262 2014-08-12 Sean Anderson <seanga2@gmail.com>
13264 * malloc/malloc.c: Fix typo in comment.
13266 2014-08-09 Allan McRae <allan@archlinux.org>
13268 * Regenerate libc.po.
13270 2014-08-08 Mike Frysinger <vapier@gentoo.org>
13272 * intl/tst-gettext2.sh: Check every lang file for creation.
13274 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
13276 * sysdeps/aarch64/fpu/math_private.h
13277 (libc_feholdsetround_noex_aarch64_ctx): New function.
13279 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
13281 * sysdeps/arm/armv6/strcpy.S (strcpy):
13282 Fix performance issue in misaligned cases.
13284 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13286 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13287 Move definition from termios.h.
13288 (struct termio): Likewise.
13289 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13290 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13291 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13292 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13294 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13295 Move definition to ioctl-types.h
13296 (struct termio): Likewise.
13297 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13298 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13299 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13300 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13303 2014-08-05 Richard Henderson <rth@redhat.com>
13305 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13307 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13309 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13310 Use __feraiseexcept.
13311 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13312 Protect libm symbols with IS_IN_libm.
13314 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13316 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
13318 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13320 2014-08-04 Will Newton <will.newton@linaro.org>
13322 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13325 2014-08-04 Mike Frysinger <vapier@gentoo.org>
13327 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13328 variants for each function.
13330 2014-08-04 Roland McGrath <roland@hack.frob.com>
13332 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13334 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13335 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13337 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13338 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13339 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13340 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13341 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13342 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13343 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13344 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13345 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13346 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13347 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13348 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13349 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13350 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13351 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13352 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13353 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13354 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13355 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13356 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13357 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13358 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13359 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13360 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13361 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13362 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13363 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13364 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13365 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13366 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13367 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13368 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13369 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13370 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13371 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13372 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13373 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13374 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13375 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13376 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13377 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13378 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13379 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13380 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13381 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13382 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13383 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13384 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13385 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13386 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13387 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13388 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13389 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13391 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13392 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13394 2014-08-04 Roland McGrath <roland@hack.frob.com>
13396 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13397 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13398 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13399 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13400 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13401 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13403 2014-08-04 Roland McGrath <roland@hack.frob.com>
13405 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13406 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13407 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13408 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13410 2014-08-04 Roland McGrath <roland@hack.frob.com>
13412 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13413 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13414 (__libc_vfork): Define function under this name.
13415 (__vfork): Define as an alias.
13416 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13417 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13419 2014-08-04 Roland McGrath <roland@hack.frob.com>
13421 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13422 that was previously under [RESET_PID].
13423 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13425 2014-08-04 Andreas Schwab <schwab@suse.de>
13427 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13429 2014-08-03 Mike Frysinger <vapier@gentoo.org>
13431 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13434 2014-08-01 Roland McGrath <roland@hack.frob.com>
13436 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13438 2014-08-01 Richard Henderon <rth@redhat.com>
13440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13441 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13442 typo in exact zero test.
13443 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13444 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13445 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13447 2014-08-01 Roland McGrath <roland@hack.frob.com>
13449 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13450 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13451 * sysdeps/arm/sysdep.h: ... here.
13452 [!__ASSEMBLER__]: Include <stdint.h>.
13454 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13456 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13457 (HAVE_WCTYPE_H): Likewise.
13458 (HAVE_ISWCTYPE): Likewise.
13459 (ENABLE_NLS): Likewise.
13460 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13461 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13463 * posix/regex_internal.c: Check if DEBUG is defined and is
13466 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13467 (HAVE_MBSRTOWCS): Likewise.
13468 * posix/fnmatch.c: Include string.h unconditionally.
13470 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13472 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13475 2014-07-31 Roland McGrath <roland@hack.frob.com>
13477 * sysdeps/generic/safe-fatal.h: New file.
13478 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13479 * nptl/forward.c: Include it.
13480 (__pthread_unwind): Use __safe_fatal as default action, rather
13481 than a bogus use of INTERNAL_SYSCALL that could never work.
13483 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13484 * configure.ac (libc_cv_builtin_trap): New test.
13485 * configure: Regenerated.
13486 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13487 (ABORT_INSTRUCTION): Define using __builtin_trap.
13489 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13490 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13491 * sysdeps/nptl/nptl-signals.h: New file.
13492 * nptl/pthreadP.h: Include <nptl-signals.h>.
13494 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13496 * sysdeps/s390/s390-64/utf16-utf32-z9.c
13497 (ONE_DIRECTION): Define.
13498 * sysdeps/s390/s390-64/utf8-utf16-z9.c
13499 (ONE_DIRECTION): Define.
13500 * sysdeps/s390/s390-64/utf8-utf32-z9.c
13501 (ONE_DIRECTION): Define.
13503 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13505 * sysdeps/s390/Makefile: Delete file.
13506 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13507 * sysdeps/s390/__longjmp.c: Delete file.
13508 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13509 Remove fields __flags and __reserved.
13510 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13511 and add versioning.
13512 * sysdeps/s390/rtld-__longjmp.c: Delete file.
13513 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13514 * sysdeps/s390/rtld-setjmp.S: Likewise.
13515 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13516 * sysdeps/s390/s390-32/__longjmp.c: ... here.
13517 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13518 * sysdeps/s390/s390-32/setjmp.S: ... here.
13520 (__sigsetjmp): Remove setting __flags field.
13521 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13522 * sysdeps/s390/s390-64/__longjmp.c: ... here.
13523 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13524 * sysdeps/s390/s390-64/setjmp.S: ... here.
13526 (__sigsetjmp): Remove setting __flags field.
13527 * sysdeps/s390/setjmp.S: Delete file.
13528 * sysdeps/s390/sigjmp.c: Likewise.
13529 * sysdeps/s390/v1-longjmp.c: Likewise.
13530 * sysdeps/s390/v1-setjmp.h: Likewise.
13531 * sysdeps/s390/v1-sigjmp.c: Likewise.
13532 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13533 Remove v1-longjmp_chk.
13534 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13535 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13536 Include debug/longjmp_chk.c and add versioning.
13537 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13538 Include nptl/pt-longjmp.c and add versioning.
13539 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13540 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13541 Include __longjmp.c.
13542 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13544 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13545 (__getcontext): Remove setting __flags field.
13547 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13548 Don't restore upper high grps.
13549 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13551 (__swapcontext): Remove setting uc_flags field.
13552 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13554 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13555 Include __longjmp.c.
13556 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13558 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13559 (__getcontext): Remove setting __flags field.
13561 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13562 (__swapcontext): Remove setting uc_flags field.
13563 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13564 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13565 Remove fields uc_high_gprs and __reserved.
13566 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13567 New file with reverted content.
13568 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13569 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13571 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13574 2014-07-31 Andreas Schwab <schwab@suse.de>
13576 * config.h.in (HAVE_IFUNC): Define to 0.
13577 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13580 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
13582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13583 memmove-avx-unaligned, memcpy-avx-unaligned and
13584 mempcpy-avx-unaligned.
13585 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13586 Add tests for AVX memcpy functions.
13587 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13588 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13590 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13591 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13593 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13594 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13596 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13597 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13598 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13600 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13603 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13606 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
13609 * manual/llio.texi: Add section about open file description locks.
13610 * manual/examples/ofdlocks.c: Example of open file description
13612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13613 F_OFD_SETLK, and F_OFD_SETLKW.
13615 2014-07-23 Allan McRae <allan@archlinux.org>
13617 * po/es.po: Update Spanish translation from translation project.
13619 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
13621 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13623 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
13626 * sysdeps/arm/dl-machine.h (elf_machine_rela)
13627 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13628 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13630 2014-07-17 Joseph Myers <joseph@codesourcery.com>
13633 * math/fesetenv.c (__fesetenv)
13634 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13635 * math/feupdateenv.c (__feupdateenv)
13636 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13638 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13639 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13640 (__ASSUME_SOCKETCALL): Do not define.
13642 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13643 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13644 (__ASSUME_SOCKETCALL): Do not define.
13645 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13646 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13647 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13648 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13649 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13650 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13651 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13652 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13654 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13655 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13656 (__ASSUME_SOCKETCALL): Do not define.
13657 (__ASSUME_IPC64): Define unconditionally.
13658 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13659 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13660 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13661 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13662 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13663 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13664 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13667 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13668 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13669 (__ASSUME_SOCKETCALL): Do not define.
13670 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13671 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13672 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13673 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13674 (__ASSUME_REQUEUE_PI): Define unconditionally.
13675 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13676 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13677 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13678 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13679 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13680 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13682 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13683 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13684 (__ASSUME_SOCKETCALL): Do not define.
13685 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13686 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13687 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13688 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13689 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13690 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13692 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13693 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13694 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13695 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13696 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13697 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13698 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13699 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13700 (__ASSUME_GETCPU_SYSCALL): Likewise.
13702 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13703 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
13704 cases for individual architectures.
13705 * sysdeps/gnu/configure: Regenerated.
13706 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13707 LIBC_SLIBDIR_RTLDDIR.
13708 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13709 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13710 LIBC_SLIBDIR_RTLDDIR.
13711 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13713 LIBC_SLIBDIR_RTLDDIR.
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13716 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13717 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13719 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13720 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13722 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13723 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13724 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13725 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13727 * sysdeps/aarch64/shlib-versions: Move to ...
13728 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13729 * sysdeps/alpha/shlib-versions: Move to ...
13730 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13731 * sysdeps/arm/shlib-versions: Move to ...
13732 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13733 * sysdeps/hppa/shlib-versions: Move all contents except for
13734 libgcc_s entry to ...
13735 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
13737 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
13738 * sysdeps/ia64/shlib-versions: Move to ...
13739 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
13741 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
13742 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13743 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13744 * sysdeps/microblaze/shlib-versions: Move to ...
13745 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13746 * sysdeps/mips/shlib-versions: Move to ...
13747 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
13749 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
13750 * sysdeps/tile/shlib-versions: Move to ...
13751 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13752 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13754 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
13755 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13757 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
13759 2014-07-17 Will Newton <will.newton@linaro.org>
13761 * sysdeps/arm/bits/atomic.h
13762 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13763 (__arch_compare_and_exchange_bool_16_int): Likewise.
13764 (__arch_compare_and_exchange_bool_64_int): Likewise.
13766 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13767 into an #else block.
13769 2014-07-16 Roland McGrath <roland@hack.frob.com>
13771 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13772 just Linux configurations. Test empirically that the compiler sets
13773 __ARM_EABI__, rather than using the tuple to decide.
13774 * sysdeps/arm/preconfigure: Regenerated.
13775 * sysdeps/unix/sysv/linux/arm/configure: File removed.
13776 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13777 contents appended ...
13778 * sysdeps/arm/configure.ac: ... here.
13779 * sysdeps/arm/configure: Regenerated.
13781 2014-07-15 Roland McGrath <roland@hack.frob.com>
13783 * nptl/pthread_kill.c: New file.
13784 * nptl/pthread_sigmask.c: New file.
13785 * nptl/pthread_sigqueue.c: New file.
13787 * sysdeps/nptl/lowlevellock.h: New file.
13788 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13789 * sysdeps/nptl/lowlevellock-futex.h: New file.
13791 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13792 Remove dead declarations.
13794 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
13796 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13797 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13798 config-cflags-avx2.
13799 * sysdeps/x86_64/configure.ac: Likewise.
13800 * sysdeps/i386/configure: Regenerated.
13801 * sysdeps/x86_64/configure: Likewise.
13802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13803 memset-avx2 only if config-cflags-avx2 is yes.
13804 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13805 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13807 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13808 only if HAVE_AVX2_SUPPORT is defined.
13809 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13811 2014-07-14 Alan Modra <amodra@gmail.com>
13814 * elf/elf.h (DT_PPC64_NUM): Correct value.
13815 * NEWS: Add to fixed bug list.
13817 2014-07-13 Jim Meyering <meyering@fb.com>
13820 regex: don't deref NULL upon heap allocation failure
13821 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13822 failure in one more place.
13823 To trigger the segfault, configure grep -with-included-regex,
13824 build it, and run these commands:
13825 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13827 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
13829 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13831 2014-07-11 Richard Henderson <rth@redhat.com>
13833 * sysdeps/aarch64/libm-test-ulps: Update.
13835 2014-07-10 Florian Weimer <fweimer@redhat.com>
13838 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13839 * nptl/allocatestack.c (__nptl_setxid_error): New function.
13840 (__nptl_setxid): Initialize error member. Call
13841 __nptl_setxid_error.
13842 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13843 * nptl/descr.h (struct xid_command): Add error member.
13844 * nptl/tst-setuid3.c: New file.
13845 * nptl/Makefile (tests): Add it.
13847 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13849 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13851 (__lll_trylock): Use __lll_base_trylock.
13852 (__lll_cond_trylock): Likewise.
13854 2014-07-10 Roland McGrath <roland@hack.frob.com>
13856 * nptl/pthread_create.c (start_thread): Use atomic_or and
13857 lll_futex_wake directly rather than lll_robust_dead.
13858 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13859 (lll_robust_dead): Macro removed.
13860 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13861 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13862 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13863 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13864 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13865 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13866 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13867 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13868 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13869 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13870 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13871 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13872 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13873 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13874 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13876 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13877 Use atomic_compare_and_exchange_val_acq directly rather than
13878 lll_robust_trylock.
13879 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13880 (__lll_robust_trylock, lll_robust_trylock): Removed.
13881 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13882 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13883 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13884 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13885 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13886 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13887 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13888 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13889 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13890 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13891 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13892 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13893 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13894 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13896 2014-07-02 Florian Weimer <fweimer@redhat.com>
13898 * manual/locale.texi (Locale Names): New section documenting
13899 locale name syntax. Adjust menu and node chaining accordingly.
13900 (Choosing Locale): Reference Locale Names, Locale Categories.
13901 Mention setting LC_ALL=C. Reflect that name syntax is now
13903 (Locale Categories): New section title. Reference Locale Names.
13904 LC_ALL is an environment variable, but not a category.
13905 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13906 description, now in Locale Name. Reference that section. Locale
13907 name syntax is now documented.
13909 2014-07-02 Florian Weimer <fweimer@redhat.com>
13912 * locale/findlocale.c (name_present, valid_locale_name): New
13914 (_nl_find_locale): Use the loc_name variable to store name
13915 candidates. Call name_present and valid_locale_name to check and
13916 validate locale names. Return an error if the locale is invalid.
13918 2014-07-02 Florian Weimer <fweimer@redhat.com>
13920 * locale/setlocale.c (setlocale): Use strdup for allocating
13921 composite name copy.
13923 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13925 Sync up with gnulib.
13926 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13927 [!_LIBC && ENABLE_NLS]: Include gettext.h.
13928 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13929 and _GL_ARG_NONNULL.
13930 [USE_UNLOCKED_IO]: Include unlocked-io.h.
13931 [!_LIBC]: Include code for Windows and Cygwin.
13932 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13933 Include prototype for int strerror_r.
13934 [!_LIBC] (is_open): New function.
13935 (flush_stdout): New function.
13936 (print_errno_message): Use it.
13938 (error_at_line): Likewise.
13939 (error_tail) Add function attribute macros. Use
13942 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13944 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13946 * io/ftw.c: Include sys/param.h unconditionally.
13948 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13951 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13953 (freecache): New function to free CACHE on exit.
13955 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13958 2014-07-09 David S. Miller <davem@davemloft.net>
13960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13962 * sysdeps/sparc/nptl/internaltypes.h: Delete.
13963 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13964 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13965 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13966 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13967 * sysdeps/sparc/nptl/sem_init.c: Likewise.
13968 * sysdeps/sparc/nptl/sem_post.c: Likewise.
13969 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13970 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13971 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13972 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13973 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13974 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13976 2014-07-09 Andreas Schwab <schwab@suse.de>
13978 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13980 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13981 (do_test): Likewise.
13983 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13985 2014-07-09 Will Newton <will.newton@linaro.org>
13987 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13988 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13989 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13990 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13991 * sysdeps/hppa/start.S (_start): Likewise.
13993 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13995 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13997 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14000 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14002 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14003 after checking that it is non-NULL.
14005 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14007 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14009 * sysdeps/powerpc/memmove.c: Remove file.
14010 * sysdeps/powerpc/powerpc32/power4/memcopy.h
14011 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14012 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14013 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14014 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14015 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14016 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14017 string memmove instead of removed powerpc one.
14019 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14020 [weak_alias]: Fix compiler warning due trailing data.
14021 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14022 [weak_alias]: Likewise.
14023 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14024 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14027 (__libc_ifunc_impl_list): Add memmove functions.
14029 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14031 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14033 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14035 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14037 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14039 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14041 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14043 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14045 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14047 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14049 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14051 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14053 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14055 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14057 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14059 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14061 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14063 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14066 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14068 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14069 to avoid alignment traps in non-cacheable memory.
14070 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14074 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14075 file: multiarch power7 memmove.
14076 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14077 multiarch default memmove.
14078 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14079 multiarch memove for powerpc32/power4.
14081 * string/bcopy.c: Use full path to include memmove.c.
14082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14084 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14085 bcopy for powerpc64.
14086 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14087 bcopy for powerpc64.
14088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14089 and memmove implementations.
14090 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14091 optimized multiarch memmove for POWER7/powerpc64.
14092 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14093 default multiarch memmove for powerpc64.
14094 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14095 multiarch for powerpc64.
14096 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14097 for POWER7/powerpc64.
14098 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14099 memmove for POWER7/powerpc64.
14101 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14104 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14105 __ELF_NATIVE_CLASS equal to 64.
14107 2014-07-07 Roland McGrath <roland@hack.frob.com>
14109 * sysdeps/nptl/lowlevellock.h: File removed.
14111 * NEWS: NPTL is no longer an add-on!
14112 * nptl/internaltypes.h: Moved ...
14113 * sysdeps/nptl/internaltypes.h: ... here.
14114 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14115 * sysdeps/nptl/fork.c: Likewise.
14116 * sysdeps/nptl/gai_misc.h: Likewise.
14117 * sysdeps/nptl/librt-cancellation.c: Likewise.
14118 * sysdeps/nptl/jmp-unwind.c: Likewise.
14119 * sysdeps/nptl/setxid.h: Likewise.
14120 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14121 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14122 * sysdeps/unix/sysv/linux/arm/Implies: New file.
14123 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14124 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14125 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14126 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14127 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14128 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14129 * sysdeps/unix/sysv/linux/mips/Implies: New file.
14130 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14131 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14132 * sysdeps/unix/sysv/linux/sh/Implies: New file.
14133 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14134 * sysdeps/unix/sysv/linux/tile/Implies: New file.
14135 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14136 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14137 * nptl/Makeconfig: Moved ...
14138 * sysdeps/nptl/Makeconfig: ... here.
14139 * nptl/configure: File removed.
14140 * nptl/ANNOUNCE: File removed.
14141 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14142 * sysdeps/unix/sysv/linux/configure: Regenerated.
14144 * nptl/Makefile (routines): Add libc_pthread_init,
14145 libc_multiple_threads, register-atfork and unregister-atfork.
14146 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14147 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14148 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14149 pthread-pi-defines.sym, structsem.sym.
14150 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14151 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14152 [$(subdir) = nptl] (tests): Add tst-setgetname.
14153 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14154 * sysdeps/unix/sysv/linux/sigaction.c: Just include
14155 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14156 [!LIBC_SIGACTION]: Remove aliases.
14157 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14158 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14159 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14160 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14161 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14162 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14163 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14164 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14165 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14166 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14167 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14168 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14169 __libc_allocate_rtsig_private.
14170 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14171 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14172 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14173 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14174 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14175 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14176 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14177 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14178 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14179 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14180 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14181 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14182 * nptl/internaltypes.h: ... here.
14183 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14184 * sysdeps/nptl/jmp-unwind.c: ... here.
14185 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14186 * nptl/libc-lowlevellock.c: ... here.
14187 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14188 * nptl/libc_multiple_threads.c: ... here.
14189 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14190 * nptl/libc_pthread_init.c: ... here.
14191 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14192 * nptl/lowlevelbarrier.sym: ... here.
14193 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14194 * nptl/lowlevelcond.sym: ... here.
14195 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14196 * nptl/lowlevellock.c: ... here.
14197 * nptl/lowlevellock.h: Moved ...
14198 * sysdeps/nptl/lowlevellock.h: ... here.
14199 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14200 * nptl/lowlevelrobustlock.c: ... here.
14201 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14202 * nptl/lowlevelrobustlock.sym: ... here.
14203 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14204 * nptl/lowlevelrwlock.sym: ... here.
14205 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14206 * nptl/pt-fork.c: ... here.
14207 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14208 * nptl/pthread-pi-defines.sym: ... here.
14209 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14210 * nptl/pthread_attr_getaffinity.c: ... here.
14211 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14212 * nptl/pthread_attr_setaffinity.c: ... here.
14213 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14214 * nptl/pthread_mutex_cond_lock.c: ... here.
14215 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14217 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14218 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14219 * nptl/pthread_once.c: ... here, replacing old file.
14220 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14221 * nptl/pthread_yield.c: ... here.
14222 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14223 * nptl/register-atfork.c: ... here.
14224 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14225 * nptl/sem_post.c: ... here.
14226 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14227 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14228 * nptl/sem_timedwait.c: ... here.
14229 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14230 * nptl/sem_trywait.c: ... here.
14231 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14232 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14233 * nptl/sem_wait.c: ... here.
14234 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14235 * nptl/structsem.sym: ... here.
14236 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14237 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14238 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14239 * nptl/unregister-atfork.c: ... here.
14240 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14241 * nptl/unwindbuf.sym: ... here.
14242 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14243 * sysdeps/nptl/fork.c: ... here.
14244 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14245 * sysdeps/nptl/fork.h: ... here.
14246 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14247 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14248 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14249 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14250 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14251 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14252 * sysdeps/unix/sysv/linux/getpid.c: ... here.
14253 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14254 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14255 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14256 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14257 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14258 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14259 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14260 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14261 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14262 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14263 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14264 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14265 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14266 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14267 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14268 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14269 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14270 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14271 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14272 * sysdeps/unix/sysv/linux/raise.c: ... here.
14273 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14274 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14275 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14276 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14277 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14278 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14279 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14280 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14281 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14282 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14283 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14284 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14285 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14286 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14287 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14289 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14291 * sysdeps/generic/memcopy.h: Add comment for
14292 MEMCPY_OK_FOR_FWD_MEMMOVE.
14294 2014-07-04 Will Newton <will.newton@linaro.org>
14296 * string/memchr.c: Merge from gnulib.
14297 [_LIBC]: Remove conditionals.
14298 (__ptr_t): Remove define.
14299 (LONG_MAX_32_BITS): Likewise.
14300 (LONG_MAX): Likewise.
14301 (MEMCHR): Use ANSI prototype and optimize algorithm.
14303 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14305 2014-07-03 Roland McGrath <roland@hack.frob.com>
14307 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14308 (lll_futex_timed_wait_bitset): Fix syscall argument count.
14310 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14311 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14312 in a bare environment with no <stdlib.h> installed.
14313 * sysdeps/nptl/configure: Regenerated.
14315 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14317 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14318 AC_EGREP_CPP for kernel header checks, so they only succeed if
14319 including <linux/version.h> actually works right.
14320 * sysdeps/unix/sysv/linux/configure: Regenerated.
14322 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14323 value so it's not diagnosed as unused.
14325 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14326 thing) with "ifeq ($(subdir),rt)".
14328 2014-07-03 Richard Henderson <rth@redhat.com>
14330 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14331 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14332 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14334 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14335 (math_force_eval): New.
14337 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14338 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14340 * sysdeps/alpha/fpu/s_round.c: Remove file.
14341 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14343 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14344 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14345 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14346 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14347 (_dl_start, print_statistics): Likewise.
14348 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14349 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14351 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14352 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14353 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14354 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14355 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14356 (HP_SMALL_TIMING_AVAIL): Define.
14357 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14358 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14359 (HP_SMALL_TIMING_AVAIL): Define.
14360 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14361 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14363 * sysdeps/aarch64/hp-timing.h: New file.
14365 * sysdeps/generic/hp-timing.h: Remove dead comment.
14366 * sysdeps/generic/hp-timing-common.h: New file.
14367 * sysdeps/alpha/hp-timing.h: Include it.
14368 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14369 * sysdeps/i386/i686/hp-timing.h: Likewise.
14370 * sysdeps/ia64/hp-timing.h: Likewise.
14371 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14372 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14373 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14374 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14375 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14376 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14377 (hp_timing_t): New.
14379 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14380 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14381 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14382 * elf/rtld.c (_dl_start_final): Likewise.
14383 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14384 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14385 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14386 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14387 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14388 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14389 (HP_TIMING_DIFF_INIT): Remove.
14390 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14391 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14392 (HP_TIMING_DIFF_INIT): Remove.
14393 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14394 * sysdeps/i386/i686/hp-timing.c: Remove file.
14395 * sysdeps/x86_64/hp-timing.c: Remove file.
14396 * sysdeps/ia64/hp-timing.c: Remove file.
14397 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14398 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14399 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14400 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14402 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14403 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14404 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14405 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14406 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14407 (HP_TIMING_ACCUM): Remove.
14408 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14409 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14410 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14412 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14413 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14414 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14415 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14416 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14417 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14418 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14419 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14421 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14423 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
14425 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14427 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14429 Sync up with gettext.
14430 * intl/loadmsgcat.c: Define O_BINARY if not defined.
14431 [_MSC_VER]: Include malloc.h
14432 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14433 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14434 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
14435 TEMP_FAILURE_RETRY. Cast return of alloca.
14436 [!_LIBC] Call gl_rwlock_init.
14437 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14439 2014-07-02 Roland McGrath <roland@hack.frob.com>
14441 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14442 before checking its value.
14444 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14446 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14448 * debug/memcpy_chk.c: Don't include pagecopy.h.
14449 * debug/mempcpy_chk.c: Likewise.
14450 * string/memcpy.c: Likewise.
14451 * string/memmove.c: Likewise.
14452 * sysdeps/powerpc/memmove.c: Likewise.
14453 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
14454 definition of PAGE_COPY_FWD_MAYBE here...
14455 * sysdeps/generic/pagecopy.h: ... from here.
14456 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14458 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14459 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14461 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14465 (__libc_ifunc_impl_list): Likewise.
14466 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14467 multiarch strcat for PPC64.
14468 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14469 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14471 2014-07-02 Roland McGrath <roland@hack.frob.com>
14473 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14475 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14477 * intl/loadmsgcat.c: Remove declaration of
14478 get_sysdep_segment_value.
14479 (get_sysdep_segment_value): Use ISO C style.
14480 (_nl_load_domain): Use ISO C style. Get rid of redundant
14481 semicolon. Fix typo and formatting in comment.
14482 (_nl_unload_domain): Use ISO C style.
14484 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14486 2014-07-02 Will Newton <will.newton@linaro.org>
14488 * malloc/obstack.c: Merge from gnulib master.
14489 [HAVE_CONFIG_H]: Remove conditional code.
14490 [!_LIBC]: Include config.h.
14491 [!ELIDE_CODE]: Don't include inttypes.h, include
14492 stdint.h unconditionally.
14493 (print_and_abort): Mark as _Noreturn.
14494 (_obstack_allocated_p): Mark as __attribute_pure__.
14495 (obstack_free): Rename to __obstack_free.
14496 [!__attribute__]: Remove conditional code.
14497 * malloc/obstack.h: Merge from gnulib master.
14498 [__cplusplus]: Move conditional down.
14499 [!__attribute_pure__]: Define __attribute_pure__ here
14500 if it is not already defined.
14501 (_obstack_memory_used): Mark as __attribute_pure__.
14502 [!__obstack_free]: Define as obstack_free.
14503 [__GNUC__]: Remove check for ancient NeXT gcc.
14505 2014-07-02 Will Newton <will.newton@linaro.org>
14506 Paul Eggert <eggert@cs.ucla.edu>
14508 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14510 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14512 * resolv/gethnamaddr.c: Add comment warning that the file is
14515 2014-07-01 Carlos O'Donell <carlos@redhat.com>
14517 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14520 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14521 entry for aio_cancel and aio_cancel64.
14522 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14523 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14524 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14525 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14526 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14527 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14528 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14529 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14530 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14531 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14532 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14533 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14534 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14536 2014-07-01 Roland McGrath <roland@hack.frob.com>
14538 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14539 * nptl/pthread_mutex_lock.c: Likewise.
14540 * nptl/pthread_mutex_timedlock.c: Likewise.
14541 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14543 2014-07-01 Richard henderson <rth@redhat.com>
14545 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14546 (__isnan, __isnanl): Remove.
14547 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14549 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14551 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
14553 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14555 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14557 * resolv/nss_dns/dns-host.c (getanswer_r)
14558 [MULTI_PTRS_ARE_ALIASES]: Remove code.
14560 2014-07-01 Joseph Myers <joseph@codesourcery.com>
14562 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14563 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14565 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14566 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14568 2014-07-01 Roland McGrath <roland@hack.frob.com>
14570 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14571 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14573 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14574 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14576 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14577 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14579 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14580 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14582 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14583 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14584 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14585 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14587 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14588 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14589 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14590 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14591 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14593 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14595 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14596 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14597 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14598 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14599 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14600 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14601 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14602 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14603 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14604 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14605 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14606 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14607 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14608 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14609 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14610 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14611 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14612 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14613 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14614 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14616 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14617 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14618 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14619 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14620 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14621 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14622 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14623 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14625 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
14627 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14628 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14629 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14632 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14636 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14638 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14639 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14641 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14643 * sysdeps/arm/libm-test-ulps: Regenerated.
14645 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14646 Roland McGrath <roland@hack.frob.com>
14648 * test-skeleton.c (signal_handler): Kill the whole process group
14649 before killing the child individually.
14650 (main): Report any failure on `setpgid'.
14652 2014-06-30 Roland McGrath <roland@hack.frob.com>
14654 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14655 from _TLS_H to _ARM_NPTL_TLS_H.
14656 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14657 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14659 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14662 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14663 (__expm1l): Return argument unchanged when small but not
14666 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14667 include macro name.
14668 (_FP_UNPACK_RAW_1_P): Likewise.
14669 (_FP_PACK_RAW_1): Likewise.
14670 (_FP_PACK_RAW_1_P): Likewise.
14671 (_FP_MUL_MEAT_1_wide): Likewise.
14672 (_FP_MUL_MEAT_DW_1_hard): Likewise.
14673 (_FP_MUL_MEAT_1_hard): Likewise.
14674 (_FP_DIV_MEAT_1_imm): Likewise.
14675 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14676 (_FP_DIV_MEAT_1_udiv): Likewise.
14677 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14678 (_FP_UNPACK_RAW_2): Likewise.
14679 (_FP_UNPACK_RAW_2_P): Likewise.
14680 (_FP_PACK_RAW_2): Likewise.
14681 (_FP_PACK_RAW_2_P): Likewise.
14682 (_FP_MUL_MEAT_DW_2_wide): Likewise.
14683 (_FP_MUL_MEAT_2_wide): Likewise.
14684 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14685 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14686 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14687 (_FP_MUL_MEAT_2_gmp): Likewise.
14688 (_FP_DIV_MEAT_2_udiv): Likewise.
14689 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14690 (_FP_FRAC_SRL_4): Likewise.
14691 (_FP_FRAC_SRST_4): Likewise.
14692 (_FP_FRAC_SRS_4): Likewise.
14693 (_FP_UNPACK_RAW_4): Likewise.
14694 (_FP_UNPACK_RAW_4_P): Likewise.
14695 (_FP_PACK_RAW_4): Likewise.
14696 (_FP_PACK_RAW_4_P): Likewise.
14697 (_FP_MUL_MEAT_DW_4_wide): Likewise.
14698 (_FP_MUL_MEAT_4_wide): Likewise.
14699 (_FP_MUL_MEAT_4_gmp): Likewise.
14700 (umul_ppppmnnn): Likewise.
14701 (_FP_DIV_MEAT_4_udiv): Likewise.
14702 (__FP_FRAC_ADD_4): Likewise.
14703 (__FP_FRAC_SUB_3): Likewise.
14704 (__FP_FRAC_SUB_4): Likewise.
14705 (__FP_FRAC_DEC_3): Likewise.
14706 (__FP_FRAC_DEC_4): Likewise.
14707 (__FP_FRAC_ADDI_4): Likewise.
14708 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14709 (_FP_FRAC_SRL_8): Likewise.
14710 (_FP_FRAC_SRS_8): Likewise.
14712 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14713 include macro name.
14714 (FP_UNPACK_RAW_EP): Likewise.
14715 (FP_PACK_RAW_E): Likewise.
14716 (FP_PACK_RAW_EP): Likewise.
14717 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14718 (_FP_ISSIGNAN): Likewise.
14719 (_FP_ADD_INTERNAL): Likewise.
14720 (_FP_FMA): Likewise.
14721 (_FP_CMP): Likewise.
14722 (_FP_SQRT): Likewise.
14723 (_FP_TO_INT): Likewise.
14724 (_FP_FROM_INT): Likewise.
14725 (FP_EXTEND): Likewise.
14726 (_FP_DIV_MEAT_N_loop): Likewise.
14728 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14730 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14733 2014-06-29 Joseph Myers <joseph@codesourcery.com>
14736 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14737 result with correct sign in case of exponents that produce
14738 overflow except for X very close to 1.
14740 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
14742 mktime: merge #if/#ifdef usage from glibc
14743 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14744 as that works with both Glibc's and Gnulib's style.
14745 See thread starting at Siddhesh Poyarekar's bug report at:
14746 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14748 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14750 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14751 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14752 * sysdeps/tile/tilegx/memmove.c: Remove file.
14754 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14756 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14757 abi-name definition.
14758 * scripts/soversions.awk: Do not handle or generate ABI lines.
14759 * shlib-versions: Remove ABI entries.
14760 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14761 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14763 2014-06-27 Roland McGrath <roland@hack.frob.com>
14765 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14766 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14767 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14768 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14769 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14770 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14771 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14773 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14775 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14776 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14777 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14778 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14779 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14780 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14781 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14782 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14783 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14784 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14785 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14786 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14787 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14789 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14790 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14791 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14792 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14793 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14794 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14796 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14797 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14799 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14800 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14801 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14802 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14804 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14805 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14806 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14807 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14808 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14809 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14810 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14811 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14813 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14815 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14816 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14818 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14819 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14821 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14822 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14823 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14824 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14826 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14828 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14829 Identical file removed.
14830 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14832 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14833 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14834 Identical file removed.
14835 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14836 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14837 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14839 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14840 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14841 Identical file removed.
14842 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14843 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14844 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14845 Identical file removed.
14846 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14847 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14848 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14849 Identical file removed.
14850 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14851 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14852 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14853 Identical file removed.
14854 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14856 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14857 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14858 Identical file removed.
14859 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14861 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14862 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14863 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14864 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14865 Identical file removed.
14866 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14868 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14870 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14871 Identical file removed.
14872 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14874 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14875 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14876 Identical file removed.
14877 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14879 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14880 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14881 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14882 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14883 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14884 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14886 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14887 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14888 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14890 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14891 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14892 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14893 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14894 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14896 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
14899 * nscd/nscd.c (monitor_child): Return exit status of child
14900 instead of return value from wait syscall.
14902 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14904 * configure.ac (libc_commonpagesize): Remove variable.
14905 (libc_relro_required): Likewise.
14906 (libc_cv_z_relro): Remove configure test.
14907 * configure: Regenerated.
14908 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14910 (libc_relro_required): Likewise.
14911 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14912 (libc_relro_required): Likewise.
14913 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14914 (libc_relro_required): Likewise.
14915 * sysdeps/arm/preconfigure: Regenerated.
14916 * sysdeps/ia64/preconfigure: Remove file.
14917 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14919 (libc_relro_required): Likewise.
14923 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14924 (__ieee754_yn): Set FE_TONEAREST mode internally and then
14925 recompute overflowing results in original rounding mode.
14926 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14927 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14928 recompute overflowing results in original rounding mode.
14929 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14930 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14931 recompute overflowing results in original rounding mode.
14932 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14933 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14934 recompute overflowing results in original rounding mode.
14935 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14936 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14937 recompute overflowing results in original rounding mode.
14938 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14939 (libc_feholdsetround_ctx): New macro.
14940 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14941 * sysdeps/i386/fpu/libm-test-ulps: Update.
14942 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14944 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14946 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14947 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14948 corresponding .cpsetup call.
14950 2014-06-26 Roland McGrath <roland@hack.frob.com>
14952 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14953 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14954 * sysdeps/arm/Makefile [$(subdir) = csu]
14955 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14956 (static-only-routines): Add aeabi_read_tp here.
14957 (shared-only-routines): Add libc-aeabi_read_tp here.
14958 (CFLAGS-libc-start.c): Add -fexceptions here.
14959 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14960 (sysdep_routines, static-only-routines, shared-only-routines):
14961 Don't add to these here.
14962 (CFLAGS-libc-start.c): Likewise.
14964 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14965 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14966 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14967 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14968 * sysdeps/arm/Makefile [$(subdir) = rt]
14969 (librt-sysdep_routines, librt-shared-only-routines):
14970 Append rt-aeabi_unwind_cpp_pr1 here.
14971 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14972 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14973 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14974 (libpthread-sysdep_routines, libpthread-shared-only-routines):
14975 Append nptl-aeabi_unwind_cpp_pr1 here.
14976 (tests): Filter out tst-cleanupx4 here.
14977 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14978 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14979 Don't do those here.
14981 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14983 * scripts/list-sources.sh: Do not handle ports specially.
14985 2014-06-26 Roland McGrath <roland@hack.frob.com>
14987 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14988 * sysdeps/arm/feupdateenv.c: Likewise.
14990 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14992 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14994 * manual/texinfo.tex: Update to version 2014-05-05.10 with
14995 trailing whitespace removed.
14996 * scripts/config.guess: Update to version 2014-03-23.
14997 * scripts/config.sub: Update to version 2014-05-01
14998 * scripts/install-sh: Update to version 2013-12-25.23.
14999 * scripts/move-if-change: Update from gnulib.
15001 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15003 * debug/memmove_chk.c: Remove pagecopy.h include.
15005 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
15007 * time/mktime.c (leapyear): Remove inline keyword. The code is now
15008 identical to gnulib mktime.
15010 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15012 * configure.ac: Do not test for machine being rs6000. Do not test
15013 for powerpc*-*soft.
15014 * configure: Regenerated.
15017 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15019 * configure: Regenerated.
15020 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15021 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15022 Remove configure test.
15023 * sysdeps/arm/configure: Regenerated.
15024 * sysdeps/nptl/configure.ac: Do not check
15025 libc_cv_asm_cfi_directives.
15026 * sysdeps/nptl/configure: Regenerated.
15027 * sysdeps/x86_64/nptl/configure.ac: Remove file.
15028 * sysdeps/x86_64/nptl/configure: Remove generated file.
15029 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15031 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15033 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15035 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15036 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15037 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15040 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15041 instead of whether it is defined.
15042 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15043 * sysdeps/hppa/dl-machine.h: Likewise.
15044 * sysdeps/ia64/dl-machine.h: Likewise.
15045 * sysdeps/m68k/dl-machine.h: Likewise.
15046 * sysdeps/microblaze/dl-machine.h: Likewise.
15047 * sysdeps/mips/dl-machine.: Likewise.
15048 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15049 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15050 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15051 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15052 * sysdeps/sh/dl-machine.h: Likewise.
15053 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15054 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15055 * sysdeps/tile/dl-machine.h: Likewise.
15056 * sysdeps/x86_64/dl-machine.h: Likewise.
15058 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15060 (verify_persistent_db): Likewise.
15062 2014-06-26 Roland McGrath <roland@hack.frob.com>
15064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15065 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15067 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15070 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15073 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15075 Identical file removed.
15076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15077 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15079 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15081 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15083 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15085 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15088 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15090 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15092 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15095 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15097 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15099 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15101 Identical file removed.
15102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15103 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15105 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15108 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15111 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15113 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15115 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15117 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15119 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15122 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15125 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15127 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15130 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15132 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15134 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15136 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15137 * sysdeps/unix/sysv/linux/s390/Versions
15138 (libpthread: GLIBC_2.19): New version set.
15139 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15140 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15141 (librt: GLIBC_2.3.3): New version set.
15142 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15143 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15144 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15145 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15146 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15147 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15148 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15149 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15150 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15151 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15152 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15153 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15154 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15155 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15156 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15157 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15158 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15159 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15160 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15161 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15162 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15163 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15164 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15165 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15166 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15167 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15168 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15169 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15170 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15171 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15172 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15173 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15174 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15175 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15176 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15177 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15178 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15179 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15180 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15181 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15182 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15183 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15184 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15185 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15186 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15188 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15189 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15190 (__libc_vfork): Define the function under this name.
15191 [!NOT_IN_libc] (__vfork): Make this an alias.
15192 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15193 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15194 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15195 (__libc_vfork): Define the function under this name.
15196 [!NOT_IN_libc] (__vfork): Make this an alias.
15197 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15198 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15199 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15200 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15201 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15202 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15204 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15205 code that was previously under [RESET_PID].
15206 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15207 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15208 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15210 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15211 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15212 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15213 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15214 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15215 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15216 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15217 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15218 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15219 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15220 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15222 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15223 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15224 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15225 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15226 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15227 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15228 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15229 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15230 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15231 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15232 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15233 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15234 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15235 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15236 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15237 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15238 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15239 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15240 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15241 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15242 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15243 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15244 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15245 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15246 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15247 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15248 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15249 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15250 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15252 2014-06-25 Roland McGrath <roland@hack.frob.com>
15254 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15255 that was previously under [RESET_PID].
15256 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15258 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15260 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15261 not undefine and redefine.
15262 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15263 [O_CLOEXEC]: Make code unconditional.
15264 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15265 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15266 <kernel-features.h>.
15267 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15268 conditional variable definition.
15269 (shm_open) [O_CLOEXEC]: Make code unconditional.
15270 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15273 * configure.ac (USE_REGPARMS): Don't define here.
15274 * configure: Regenerated.
15275 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15276 * sysdeps/i386/configure: Regenerated.
15278 * nptl/createthread.c: Don't include kernel-features.h.
15279 * nptl/pthread_cancel.c: Likewise.
15280 * nptl/pthread_condattr_setclock.c: Likewise.
15281 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15282 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15283 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15284 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15285 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15286 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15287 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15288 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15289 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15290 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15291 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15292 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15293 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15294 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15295 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15296 * nscd/gai.c: Likewise.
15297 * nss/nss_db/db-open.c: Likewise.
15298 * sysdeps/generic/ldsodefs.h: Likewise.
15299 * sysdeps/sh/nptl/tls.h: Likewise.
15300 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15301 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15302 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15303 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15304 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15305 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15306 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15307 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15308 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15309 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15310 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15311 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15312 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15313 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15314 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15315 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15316 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15317 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15318 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15319 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15320 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15321 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15322 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15323 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15324 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15325 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15326 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15327 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15328 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15329 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15330 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15331 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15332 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15333 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15334 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15335 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15336 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15337 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15338 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15339 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15340 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15341 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15342 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15343 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15344 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15345 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15346 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15347 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15348 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15349 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15350 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15351 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15352 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15353 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15354 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15355 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15356 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15357 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15380 * sysdeps/unix/sysv/linux/pread.c: Likewise.
15381 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15382 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15383 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15384 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15385 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15386 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15387 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15388 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15389 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15390 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15391 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15392 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15393 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15394 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15395 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15396 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15397 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15398 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15399 * sysdeps/unix/sysv/linux/system.c: Likewise.
15400 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15401 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15402 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15403 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15404 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15405 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15406 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15408 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15409 * configure: Regenerated.
15410 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15412 * configure.ac (base_machine): Do not set specially for particular
15414 * configure: Regenerated.
15415 * sysdeps/powerpc/preconfigure: Move machine and base_machine
15416 settings from configure.ac.
15417 * sysdeps/i386/preconfigure: New file.
15418 * sysdeps/s390/preconfigure: Likewise.
15419 * sysdeps/sh/preconfigure: Likewise.
15420 * sysdeps/sparc/preconfigure: Likewise.
15422 2014-06-25 Roland McGrath <roland@hack.frob.com>
15424 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15425 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15426 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15427 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15428 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15429 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15430 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15431 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15432 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15433 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15434 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15435 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15436 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15437 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15438 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15439 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15440 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15441 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15442 * sysdeps/sparc/sparc64/Makefile: ... appended here.
15444 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15445 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15446 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15447 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15448 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15449 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15450 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15451 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15452 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15453 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15454 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15455 * sysdeps/sparc/sparc32/sem_post.c: ... here.
15456 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15457 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15458 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15459 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15460 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15461 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15462 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15463 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15464 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15465 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15466 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15467 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15468 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15469 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15470 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15471 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15472 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15473 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15474 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15475 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15476 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15477 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15478 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15479 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15480 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15481 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15484 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15486 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15489 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15492 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15494 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15497 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15499 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15501 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15503 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15506 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15509 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15511 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15514 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15516 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15518 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15520 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15522 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15525 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15528 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15530 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15533 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15535 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15537 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15539 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15542 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15545 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15547 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15550 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15552 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15554 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15556 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15558 * timezone/checktab.awk: Update from tzcode 2014e.
15559 * timezone/private.h: Likewise.
15560 * timezone/tzfile.h: Likewise.
15561 * timezone/zdump.c: Likewise.
15562 * timezone/zic.c: Likewise.
15564 * sysdeps/unix/sysv/linux/kernel-features.h
15565 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15566 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15567 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15568 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15569 Remove conditional code.
15571 2014-06-25 Will Newton <will.newton@linaro.org>
15573 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15574 (_dl_arm_cap_flags): Add HWCAP2 values.
15575 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15576 (_DL_HWCAP_COUNT): Increase to 37.
15577 (_DL_HWCAP_LAST): New define.
15578 (_DL_HWCAP2_LAST): New define.
15579 (_dl_procinfo): Add support for printing
15581 (_dl_string_hwcap): Use _dl_hwcap_string.
15583 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15587 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15589 * README: Do not mention ports directory.
15591 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15593 * sysdeps/unix/sysv/linux/futimes.c: Do not include
15594 <kernel-features.h>.
15595 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15596 conditional variable definition.
15597 (__futimes): Update comment.
15598 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15599 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15602 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15603 arguments close to 0.
15604 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15606 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15608 * math/auto-libm-test-in: Add more tests of exp10.
15609 * math/auto-libm-test-out: Regenerated.
15610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15612 * sysdeps/unix/sysv/linux/kernel-features.h
15613 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15614 * sysdeps/unix/sysv/linux/readv.c: Do not include
15615 <kernel-features.h>.
15616 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15617 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15618 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15620 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15622 * sysdeps/unix/sysv/linux/writev.c: Do not include
15623 <kernel-features.h>.
15624 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15625 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15626 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15628 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15631 2014-06-25 Will Newton <will.newton@linaro.org>
15633 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15634 comment changes throughout the file. Remove checks
15635 for HAVE_*_H definitions that are not required.
15636 (__gen_tempname): Call abort if an unknown kind value is
15639 2014-06-25 Andreas Schwab <schwab@suse.de>
15642 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15643 scalbln, scalblnf, scalblnl in libc.
15645 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15648 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15649 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15650 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15652 2014-06-24 Roland McGrath <roland@hack.frob.com>
15654 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15655 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15656 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15657 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15659 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15660 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15662 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15663 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15664 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15665 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15666 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15667 * sysdeps/x86/bits/pthreadtypes.h: ... here.
15668 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15669 * sysdeps/x86/bits/semaphore.h: ... here.
15670 * sysdeps/x86/nptl/elide.h: Moved ...
15671 * sysdeps/x86/elide.h: ... here.
15672 * sysdeps/x86_64/nptl/Implies: File removed.
15673 * sysdeps/i386/nptl/Implies: File removed.
15675 2014-06-24 Joseph Myers <joseph@codesourcery.com>
15678 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15679 return the argument for normal arguments with exponent below -64.
15680 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15682 * math/auto-libm-test-in: Add another test of expm1.
15683 * math/auto-libm-test-out: Regenerated.
15686 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15687 calling __erfcl for arguments at least 16.
15688 * math/auto-libm-test-in: Add more tests of erf.
15689 * math/auto-libm-test-out: Regenerated.
15691 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15692 individual architectures.
15693 * sysdeps/unix/sysv/linux/configure: Regenerated.
15694 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15695 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15696 * sysdeps/unix/sysv/linux/powerpc/configure.ac
15697 (ldd_rewrite_script): Define variable.
15698 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15703 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15704 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15705 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15706 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15707 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15708 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15709 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15710 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15712 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15715 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15716 Rename member __data.d to __data.__elision_data.
15718 2014-06-24 Wilco <wdijkstr@arm.com>
15720 * NEWS: Add 16918 to fixed bug list.
15722 2014-06-24 Wilco <wdijkstr@arm.com>
15724 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15726 2014-06-24 Wilco <wdijkstr@arm.com>
15728 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15729 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15730 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15731 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15732 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15733 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15734 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15737 2014-06-24 Wilco <wdijkstr@arm.com>
15739 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15741 2014-06-24 Wilco <wdijkstr@arm.com>
15743 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15744 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15745 * sysdeps/arm/fesetround.c (fesetround): Remove space.
15746 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15748 2014-06-24 Wilco <wdijkstr@arm.com>
15751 * sysdeps/arm/feupdateenv.c (feupdateenv):
15752 Rewrite to reduce FPSCR accesses and fix return value.
15754 2014-06-24 Wilco <wdijkstr@arm.com>
15756 * sysdeps/arm/fclrexcpt.c (feclearexcept):
15757 Optimize to avoid unnecessary FPSCR writes.
15758 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15759 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15760 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15761 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15763 2014-06-24 Wilco <wdijkstr@arm.com>
15765 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15766 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15767 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15768 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15769 Call libc_fetestexcept_vfp.
15770 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15771 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15772 __SOFTFP__ ifdef so that they can be built for softfp.
15774 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15776 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15777 argument type signed char.
15779 * Makerules (check-abi): Dump diff of symlist if the test
15782 2014-06-23 Roland McGrath <roland@hack.frob.com>
15784 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15787 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15788 Remove unused variable ST.
15790 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15794 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15795 small arguments before calling __expm1.
15796 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15797 small arguments before calling __expm1f.
15798 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15799 small arguments before calling __expm1l.
15800 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15802 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15803 * math/auto-libm-test-in: Add more cosh tests. Do not allow
15804 spurious underflow for some cosh tests.
15805 * math/auto-libm-test-out: Regenerated.
15806 * sysdeps/i386/fpu/libm-test-ulps: Update.
15809 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15810 (__ieee754_y1): Set errno if return value overflows.
15811 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15812 (__ieee754_y1f): Set errno if return value overflows.
15813 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15814 (__ieee754_y1l): Set errno if return value overflows.
15815 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15816 (__ieee754_y1l): Set errno if return value overflows.
15817 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15818 * math/auto-libm-test-out: Regenerated.
15820 * math/gen-auto-libm-tests.c: Document use of
15821 ignore-zero-inf-sign.
15822 (input_flag_type): Add value flag_ignore_zero_inf_sign.
15823 (input_flags): Add ignore-zero-inf-sign.
15824 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15825 * math/gen-libm-test.pl (generate_testfile): Handle
15826 ignore-zero-inf-sign.
15827 * math/auto-libm-test-in: Mark some cpow tests with
15828 ignore-zero-inf-sign and some with xfail-rounding.
15829 * math/auto-libm-test-out: Regenerated.
15830 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15831 * sysdeps/i386/fpu/libm-test-ulps: Update.
15832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15835 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15836 overflowing or underflowing operations take place with sign of
15838 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15839 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15840 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15841 (__ieee754_pow): Recompute overflowing and underflowing results in
15842 original rounding mode.
15843 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15844 (__powl_helper): Allow negative argument X and scale negated value
15845 as needed. Avoid passing value outside [-1, 1] to f2xm1.
15846 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15847 overflowing or underflowing operations take place with sign of
15849 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15851 * math/auto-libm-test-in: Add more tests of pow.
15852 * math/auto-libm-test-out: Regenerated.
15853 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15854 (pow_tonearest_test_data): Remove.
15855 (pow_test_tonearest): Likewise.
15856 (pow_towardzero_test_data): Likewise.
15857 (pow_test_towardzero): Likewise.
15858 (pow_downward_test_data): Likewise.
15859 (pow_test_downward): Likewise.
15860 (pow_upward_test_data): Likewise.
15861 (pow_test_upward): Likewise.
15862 (main): Don't call removed functions.
15863 * sysdeps/i386/fpu/libm-test-ulps: Update.
15864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15866 2014-06-23 Roland McGrath <roland@hack.frob.com>
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16042 2014-06-23 Will Newton <will.newton@linaro.org>
16043 Wilco <wdijkstr@arm.com>
16045 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16046 implementation. Include get-rounding-mode.h.
16047 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16048 [!libc_feholdsetround_noex_ctx]: Define
16049 libc_feholdsetround_noex_ctx.
16050 [!libc_feholdsetround_noexf_ctx]: Define
16051 libc_feholdsetround_noexf_ctx.
16052 [!libc_feholdsetround_noexl_ctx]: Define
16053 libc_feholdsetround_noexl_ctx.
16054 (libc_feholdsetround_ctx): New function.
16055 (libc_feresetround_ctx): New function.
16056 (libc_feholdsetround_noex_ctx): New function.
16057 (libc_feresetround_noex_ctx): New function.
16059 2014-06-23 Roland McGrath <roland@hack.frob.com>
16061 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16062 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16063 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16064 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16065 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16066 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16068 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16069 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16070 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16071 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16072 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16073 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16074 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16075 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16076 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16077 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16078 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16080 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16082 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16083 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16084 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16085 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16086 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16088 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16089 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16090 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16091 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16092 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16093 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16094 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16095 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16097 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16098 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16100 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16101 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16102 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16103 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16105 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16106 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16107 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16108 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16109 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16110 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16111 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16112 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16113 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16114 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16116 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16118 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16119 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16120 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16121 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16122 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16123 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16124 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16125 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16126 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16127 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16128 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16129 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16130 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16132 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16133 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16134 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16135 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16136 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16137 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16139 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16140 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16141 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16142 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16143 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16145 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16146 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16147 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16148 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16149 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16150 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16151 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16152 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16153 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16154 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16155 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16156 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16157 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16158 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16159 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16160 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16161 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16162 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16163 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16164 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16165 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16166 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16167 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16168 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16169 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16170 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16171 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16172 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16174 2014-06-23 Joseph Myers <joseph@codesourcery.com>
16176 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16177 (FALLOC_FL_COLLAPSE_RANGE): New macro.
16178 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16179 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16180 (IPV6_PMTUDISC_INTERFACE): Likewise.
16181 (IPV6_PMTUDISC_OMIT): Likewise.
16183 2014-06-23 Andreas Schwab <schwab@suse.de>
16185 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16186 Remove unused errout label.
16188 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16190 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16191 macro: hardware supports Vector Crypto instructions.
16193 2014-06-23 Will Newton <will.newton@linaro.org>
16195 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16196 rather than __builtin_expect.
16198 * elf/dl-lookup.c (undefined_msg): Remove variable.
16199 (_dl_lookup_symbol_x): Replace undefined_msg with string
16202 * elf/dl-lookup.c (do_lookup_unique): New function.
16203 (do_lookup_x): Move STB_GNU_UNIQUE handling code
16204 to a separate function.
16206 2014-06-23 Andreas Schwab <schwab@suse.de>
16209 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16210 before reading the next line.
16212 2014-06-23 Will Newton <will.newton@linaro.org>
16214 * test-skeleton.c (signal_handler): Use printf and %m
16215 rather than perror. Use printf rather than fprintf to
16216 stderr. Use puts rather than fputs to stderr.
16219 2014-06-22 Ludovic Courtès <ludo@gnu.org>
16221 * nscd/nscd.c (thread_info_t): Remove typedef.
16222 (thread_info): Remove variable.
16224 2014-06-21 Allan McRae <allan@archlinux.org>
16226 * NEWS: Mention CVE-2014-4043.
16228 2014-06-20 Roland McGrath <roland@hack.frob.com>
16230 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16231 * nptl/smp.h: ... here.
16233 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16235 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16236 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16237 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16238 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16240 * nptl/allocatestack.c: Include <stack-aliasing.h>.
16241 * nptl/stack-aliasing.h: New file.
16242 * sysdeps/i386/i686/stack-aliasing.h: New file.
16243 * sysdeps/i386/i686/nptl/Makefile: File removed.
16244 * sysdeps/x86_64/stack-aliasing.h: New file.
16245 * sysdeps/x86_64/nptl/Makefile
16246 (CFLAGS-pthread_create.c): Variable removed.
16248 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16249 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16251 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16252 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16255 2014-06-21 Joseph Myers <joseph@codesourcery.com>
16257 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16258 (__ASSUME_SIGFRAME_V2): Remove macro.
16259 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16260 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16261 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16262 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16263 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16264 Declare as function. Remove conditional macro definitions.
16265 (__default_rt_sa_restorer): Likewise.
16266 (__default_sa_restorer_v1): Remove declaration.
16267 (__default_sa_restorer_v2): Likewise.
16268 (__default_rt_sa_restorer_v1): Likewise.
16269 (__default_rt_sa_restorer_v2): Likewise.
16270 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16271 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16272 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16274 2014-06-20 Roland McGrath <roland@hack.frob.com>
16276 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16277 (libpthread-routines): Add sysdep.
16278 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16279 * sysdeps/unix/sysv/linux/sparc/Versions
16280 (libpthread: GLIBC_2.3.3): New version set.
16281 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16282 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16283 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16284 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16285 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
16286 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16288 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16289 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16290 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16291 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16292 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16293 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16294 * sysdeps/sparc/nptl/sem_init.c: ... here.
16295 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16296 * sysdeps/sparc/nptl/sem_post.c: ... here.
16297 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16298 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16299 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16300 * sysdeps/sparc/nptl/sem_wait.c: ... here.
16301 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16302 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16303 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16304 (libpthread-routines): Add cpu_relax.
16305 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16307 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16308 (librt: GLIBC_2.3.3): New version set.
16309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16310 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16311 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16312 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16313 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16314 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16315 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16316 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16318 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16319 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16320 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16321 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16322 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16323 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16324 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16325 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16326 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16327 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16329 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16331 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16333 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16335 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16337 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16339 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16341 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16343 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16345 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16349 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16352 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16356 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16358 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16360 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16363 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16365 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16367 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16369 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16371 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16372 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16373 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16374 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16375 * nscd/nscd.c: Likewise.
16376 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16377 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16378 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16379 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16381 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16382 <kernel-features.h>.
16383 (init_mq_netlink): Remove conditional have_sock_cloexec
16384 definitions. Remove code conditional on have_sock_cloexec < 0.
16385 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16386 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16387 * sysdeps/unix/sysv/linux/opensock.c: Do not include
16388 <kernel-features.h>.
16389 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16390 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16392 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
16394 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16395 Add tests for memset_chk and memset.
16397 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16400 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
16403 * elf/tst-dl-iter-static.c: New file.
16404 * elf/Makefile (tests-static): Add tst-dl-iter-static.
16406 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16409 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16411 * sysdeps/unix/sysv/linux/kernel-features.h
16412 (__ASSUME_F_GETOWN_EX): Remove macro.
16413 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16414 <kernel-features.h>.
16415 (miss_F_GETOWN_EX): Remove variable or macro.
16416 (do_fcntl): Do not check miss_F_GETOWN_EX.
16417 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16419 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16421 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16422 [!__ASSUME_AT_RANDOM]: Remove conditional code.
16423 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16425 * sysdeps/unix/sysv/linux/kernel-features.h
16426 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16427 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16428 [ADJ_OFFSET_SS_READ]: Make code unconditional.
16429 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16431 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
16434 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16435 Fix calculation of the symbol's value.
16436 * sysdeps/arm/tst-armtlsdescloc.c: New file.
16437 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16438 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16439 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16440 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16441 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16442 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16443 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16444 (modules-names): Add `tst-armtlsdescmod',
16445 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16446 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16447 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16448 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16449 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16450 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16451 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16452 ($(objpfx)tst-armtlsdescloc): New dependency.
16453 ($(objpfx)tst-armtlsdescextnow): Likewise.
16454 ($(objpfx)tst-armtlsdescextlazy): Likewise.
16455 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16456 TLS scheme support.
16457 * sysdeps/arm/configure: Regenerate.
16459 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16461 * include/fcntl.h (__atfct_seterrno): Remove prototype.
16462 (__atfct_seterrno_2): Likewise.
16463 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16464 <kernel-features.h>.
16465 (__ASSUME_ATFCTS): Do not undefine and redefine.
16466 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16467 (__have_atfcts): Remove conditional definition.
16468 (__fxstatat([__NR_fstatat64]: Make code unconditional.
16469 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16470 unreachable if [__ASSUME_ATFCTS].
16471 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16472 not undefine and redefine.
16473 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16474 <kernel-features.h>.
16475 (faccessat) [__NR_faccessat]: Make code unconditional.
16476 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16477 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16478 <kernel-features.h>.
16479 (fchmodat) [__NR_fchmodat]: Make code unconditional.
16480 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16481 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16482 <kernel-features.h>.
16483 (fchownat) [__NR_fchownat]: Make code unconditional.
16484 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16485 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16486 <kernel-features.h>.
16487 (futimesat) [__NR_futimesat]: Make code unconditional.
16488 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16489 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16490 <kernel-features.h>.
16491 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16492 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16493 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16494 <kernel-features.h>.
16495 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16496 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16497 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16498 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16499 <kernel-features.h>.
16500 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16501 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16502 * sysdeps/unix/sysv/linux/linkat.c: Do not include
16503 <kernel-features.h>.
16504 (linkat) [__NR_linkat]: Make code unconditional.
16505 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16506 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16507 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16508 <kernel-features.h>.
16509 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16510 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16511 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16512 <kernel-features.h>.
16513 (mkdirat) [__NR_mkdirat]: Make code unconditional.
16514 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16515 * sysdeps/unix/sysv/linux/openat.c: Do not include
16516 <kernel-features.h>.
16517 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16518 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16519 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16520 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16521 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16522 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16523 <kernel-features.h>.
16524 (readlinkat) [__NR_readlinkat]: Make code unconditional.
16525 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
16526 result of INLINE_SYSCALL directly, not via int variable.
16527 * sysdeps/unix/sysv/linux/renameat.c: Do not include
16528 <kernel-features.h>.
16529 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16530 (renameat) [__NR_renameat]: Make code unconditional.
16531 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16532 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16533 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16534 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16535 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16536 (__ASSUME_ATFCTS): Do not undefine and redefine.
16537 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16538 <kernel-features.h>.
16539 (symlinkat) [__NR_symlinkat]: Make code unconditional.
16540 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16541 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16542 <kernel-features.h>.
16543 (unlinkat) [__NR_unlinkat]: Make code unconditional.
16544 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16545 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16546 (__ASSUME_ATFCTS): Do not undefine and redefine.
16547 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16548 <kernel-features.h>.
16549 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16550 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16551 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16552 <kernel-features.h>.
16553 (__xmknodat) [__NR_mknodat]: Make code unconditional.
16554 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16556 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
16558 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16560 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
16563 * posix/regcomp.c (parse_reg_exp): Deallocate partially
16564 constructed tree before returning error.
16565 * posix/bug-regexp36.c: Expand test case.
16567 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
16570 * math/libm-test.inc (scalbln_test_date):
16571 Add errno expectations.
16572 * math/w_scalblnf.c: New File.
16573 Add wrapper which checks for setting errno to ERANGE.
16574 Add weak_alias for corresponding scalbln function.
16575 * math/w_scalbln.c: Likewise.
16576 * math/w_scalblnl.c: Likewise.
16577 * math/Makefile (libm-calls): Add w_scalbln.
16578 * sysdeps/ieee754/flt-32/s_scalblnf.c:
16579 Remove weak_alias for corresponding scalbln function.
16580 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16582 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16583 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16584 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16585 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16586 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16587 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16588 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16589 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16590 Remove long_double_symbol for scalblnl function in libm, libc.
16591 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16592 Add wrapper which checks for setting errno to ERANGE.
16593 Add long_double_symbol for scalblnl function in libm, libc.
16594 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16595 Remove long_double_symbol for scalblnl in libm.
16596 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16597 Add wrapper which checks for setting errno to ERANGE.
16598 Add long_double_symbol for scalblnl function in libm.
16599 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16600 Do not use wrapper because of own implementation.
16602 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
16604 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16605 3 bytes for __pad1 for x32.
16606 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16608 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
16609 H.J. Lu <hongjiu.lu@intel.com>
16611 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16612 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16613 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16614 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16615 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16617 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
16620 * posix/regcomp.c (parse_expression): Deallocate partially
16621 constructed tree before returning error.
16622 * posix/Makefile.c (tests): Add bug-regex36.
16623 (generated): Add bug-regex36.mtrace.
16624 (tests-special): Add $(objpfx)bug-regex36-mem.out
16625 (bug-regex36-ENV): New variable.
16626 ($(objpfx)bug-regex36-mem.out): New rule.
16627 * posix/bug-regex36.c: New file.
16629 2014-06-19 Will Newton <will.newton@linaro.org>
16631 * malloc/malloc.c (systrim): If extra is zero then return
16634 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16636 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16638 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
16640 * sysdeps/aarch64/strchr.S: New file.
16642 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16645 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16646 from arguments -2 or below.
16647 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16648 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16650 2014-06-18 Andreas Schwab <schwab@suse.de>
16653 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16654 of a bracket expr not to run off the end of the string.
16655 * posix/Makefile (tests): Add tst-fnmatch3.
16656 * posix/tst-fnmatch3.c: New file.
16658 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16660 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16661 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16662 [$(cross-compiling) = no]: Likewise.
16663 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16664 [$(cross-compiling) = no]: Likewise.
16666 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16669 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16670 double, adjusted for any remainder from the high double.
16671 * math/libm-test.inc (nearbyint): Add tests.
16674 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16676 * nptl/sysdeps/powerpc/Makefile: Moved ...
16677 * sysdeps/powerpc/nptl/Makefile: ... here.
16678 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16679 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16680 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16681 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16682 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16683 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16684 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16685 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16686 * nptl/sysdeps/powerpc/tls.h: Moved ...
16687 * sysdeps/powerpc/nptl/tls.h: ... here.
16689 2014-06-16 Joseph Myers <joseph@codesourcery.com>
16692 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16693 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16694 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16695 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16696 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16697 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16698 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16699 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16700 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16702 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
16704 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16706 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
16708 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16711 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16714 2014-06-16 Florian Weimer <fweimer@redhat.com>
16717 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16718 non-executed part of the test.
16720 2014-06-16 Andreas Schwab <schwab@suse.de>
16722 * string/bits/string2.h (strdup, strndup): Update feature guard.
16724 2014-06-14 David S. Miller <davem@davemloft.net>
16726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16728 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
16730 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16731 that was previously under [RESET_PID].
16732 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16734 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16735 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16736 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16737 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16738 (__libc_vfork): New strong alias.
16739 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16741 2014-06-14 Andi Kleen <ak@linux.intel.com>
16743 * sysdeps/generic/elide.h: New file.
16745 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
16747 * Makefile (installed-headers): Adjust path of pthread.h header.
16749 2014-06-13 Roland McGrath <roland@hack.frob.com>
16751 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16752 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16753 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16754 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16756 * nptl/sysdeps/s390/Makefile: Moved ...
16757 * sysdeps/s390/nptl/Makefile: ... here.
16758 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16759 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16760 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16761 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16762 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16763 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16764 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16765 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16766 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16767 * sysdeps/s390/nptl/pthreaddef.h: ... here.
16768 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16769 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16770 * nptl/sysdeps/s390/tls.h: Moved ...
16771 * sysdeps/s390/nptl/tls.h: ... here.
16773 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16774 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16776 2014-06-13 David S. Miller <davem@davemloft.net>
16778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16781 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16783 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16785 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16786 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16787 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16788 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16789 Remove RESET_PID cpp guards.
16790 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16791 Remove RESET_PID cpp guards.
16792 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16794 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
16796 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16799 2014-06-13 Andi Kleen <ak@linux.intel.com>
16801 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16802 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16803 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16804 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16805 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16806 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16807 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16808 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16809 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16810 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16811 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16812 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16813 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16814 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16815 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16816 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16817 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16818 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16819 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16820 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16822 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16823 (pthread_rwlock_rdlock): Add elision.
16824 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16825 (pthread_rwlock_wrlock): Add elision.
16826 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16827 (pthread_rwlock_trywrlock): Add elision.
16828 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16829 (pthread_rwlock_tryrdlock): Add elision.
16830 * nptl/pthread_rwlock_unlock.c: Include elide.h.
16831 (pthread_rwlock_tryrdlock): Add elision unlock.
16832 * nptl/sysdeps/pthread/pthread.h:
16833 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16834 (PTHREAD_RWLOCK_INITIALIZER,
16835 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16836 Handle new elision field.
16837 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16838 * sysdeps/arm/nptl/bits/pthreadtypes.h
16839 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16840 * sysdeps/sh/nptl/bits/pthreadtypes.h
16841 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16842 * sysdeps/tile/nptl/bits/pthreadtypes.h
16843 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16844 * sysdeps/a/nptl/bits/pthreadtypes.h
16845 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16846 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16847 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16848 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16849 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16850 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16851 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16852 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16853 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16854 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16855 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16856 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16857 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16858 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16859 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16860 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16861 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16862 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16863 (elision_init): Set try_xbegin to zero when no RTM.
16864 * sysdeps/x86/nptl/bits/pthreadtypes.h
16865 (pthread_rwlock_t): Change __pad1 to __rwelision.
16866 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16868 2014-06-13 Andi Kleen <ak@linux.intel.com>
16870 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16871 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16872 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16873 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16875 2014-06-13 Meador Inge <meadori@codesourcery.com>
16878 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16879 that the cached result has been set before returning it.
16881 2014-06-12 Roland McGrath <roland@hack.frob.com>
16883 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16884 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16885 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16886 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16887 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16888 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16890 * nptl/sysdeps/sparc/Makefile: Moved ...
16891 * sysdeps/sparc/nptl/Makefile: ... here.
16892 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16893 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16894 * nptl/sysdeps/sparc/tls.h: Moved ...
16895 * sysdeps/sparc/nptl/tls.h: ... here.
16896 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16897 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16898 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16899 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16900 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16901 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16902 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16903 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16904 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16905 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16906 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16907 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16908 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16909 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16910 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16911 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16912 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16913 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16915 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16916 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16918 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16919 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16921 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16922 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16925 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16927 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16928 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16930 * sysdeps/pthread/posix-timer.h: Include <list.h>.
16931 (struct list_links): Type removed.
16932 (struct thread_node, struct timer_node): Replace struct list_links
16933 with struct list_head.
16934 (list_unlink_ip): Likewise.
16935 * sysdeps/pthread/timer_routines.c
16936 (timer_free_list, thread_free_list, thread_active_list): Likewise.
16937 (list_append, list_insbefore): Likewise.
16938 (list_init): Function removed.
16939 (thread_init, init_module): Use INIT_LIST_HEAD instead.
16940 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16941 * sysdeps/pthread/Makefile: ... here, new file.
16943 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16944 * sysdeps/nptl/Implies: ... here.
16945 * sysdeps/unix/sysv/linux/Implies: Add nptl.
16946 * nptl/sysdeps/pthread/list.h: Moved ...
16947 * include/list.h: ... here.
16948 * nptl/sysdeps/pthread/createthread.c: Moved ...
16949 * nptl/createthread.c: ... here.
16950 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16951 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16952 * nptl/pt-longjmp.c: ... here.
16953 * nptl/sysdeps/pthread/Makefile: Moved ...
16954 * sysdeps/nptl/Makefile: ... here.
16955 * nptl/sysdeps/pthread/Subdirs: Moved ...
16956 * sysdeps/nptl/Subdirs: ... here.
16957 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16958 * sysdeps/nptl/aio_misc.h: ... here.
16959 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16960 * sysdeps/nptl/bits/libc-lock.h: ... here.
16961 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16962 * sysdeps/nptl/bits/libc-lockP.h: ... here.
16963 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16964 * sysdeps/nptl/bits/stdio-lock.h: ... here.
16965 * nptl/sysdeps/pthread/configure: Moved ...
16966 * sysdeps/nptl/configure: ... here.
16967 * nptl/sysdeps/pthread/configure.ac: Moved ...
16968 * sysdeps/nptl/configure.ac: ... here.
16969 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16970 * sysdeps/nptl/gai_misc.h: ... here.
16971 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16972 * sysdeps/nptl/librt-cancellation.c: ... here.
16973 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16974 * sysdeps/nptl/malloc-machine.h: ... here.
16975 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16976 * sysdeps/nptl/pthread-functions.h: ... here.
16977 * nptl/sysdeps/pthread/pthread.h: Moved ...
16978 * sysdeps/nptl/pthread.h: ... here.
16979 * nptl/sysdeps/pthread/setxid.h: Moved ...
16980 * sysdeps/nptl/setxid.h: ... here.
16981 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16982 * sysdeps/nptl/sigfillset.c: ... here.
16983 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16984 * sysdeps/nptl/tcb-offsets.h: ... here.
16985 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16986 * sysdeps/nptl/tst-mqueue8x.c: ... here.
16987 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16988 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16989 * nptl/sysdeps/pthread/allocalim.h: Moved ...
16990 * sysdeps/pthread/allocalim.h: ... here.
16991 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16992 * sysdeps/pthread/bits/sigthread.h: ... here.
16993 * nptl/sysdeps/pthread/flockfile.c: Moved ...
16994 * sysdeps/pthread/flockfile.c: ... here.
16995 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16996 * sysdeps/pthread/ftrylockfile.c: ... here.
16997 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16998 * sysdeps/pthread/funlockfile.c: ... here.
16999 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17000 * sysdeps/pthread/posix-timer.h: ... here.
17001 * nptl/sysdeps/pthread/timer_create.c: Moved ...
17002 * sysdeps/pthread/timer_create.c: ... here.
17003 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17004 * sysdeps/pthread/timer_delete.c: ... here.
17005 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17006 * sysdeps/pthread/timer_getoverr.c: ... here.
17007 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17008 * sysdeps/pthread/timer_gettime.c: ... here.
17009 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17010 * sysdeps/pthread/timer_routines.c: ... here.
17011 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17012 * sysdeps/pthread/timer_settime.c: ... here.
17013 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17014 * sysdeps/pthread/tst-timer.c: ... here.
17015 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17016 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17018 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17019 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17021 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17022 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17023 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17024 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17025 Update #include target.
17026 * nptl/sysdeps/i386/i686/Makefile: Moved ...
17027 * sysdeps/i386/i686/nptl/Makefile: ... here.
17028 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17029 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17030 Update #include target.
17031 * nptl/sysdeps/i386/i686/tls.h: Moved ...
17032 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
17033 * nptl/sysdeps/i386/Makefile: Moved ...
17034 * sysdeps/i386/nptl/Makefile: ... here.
17035 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17036 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17037 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17038 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17039 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17040 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17041 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17042 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17043 * sysdeps/i386/nptl/pthreaddef.h: ... here.
17044 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17045 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17046 * nptl/sysdeps/i386/tls.h: Moved ...
17047 * sysdeps/i386/nptl/tls.h: ... here.
17049 * sysdeps/sh/Makefile [$(subdir) = csu]
17050 (gen-as-const-headers): Add tcb-offsets.sym.
17051 * nptl/sysdeps/sh/Makefile: File removed.
17052 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17053 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17054 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17055 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17056 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17057 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17058 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17059 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17060 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17061 * sysdeps/sh/nptl/pthreaddef.h: ... here.
17062 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17063 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17064 * nptl/sysdeps/sh/tls.h: Moved ...
17065 * sysdeps/sh/nptl/tls.h: ... here.
17066 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17067 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17068 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17069 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17070 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17071 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17072 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17073 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17074 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17075 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17076 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17077 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17078 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17079 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17080 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17081 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17082 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17083 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17084 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17085 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17086 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17087 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17088 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17089 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17090 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17092 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17093 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17095 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17096 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17097 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17098 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17099 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17100 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17101 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17102 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17103 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17104 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17105 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17106 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17107 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17108 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17109 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17110 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17111 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17112 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17113 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17115 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17117 * posix/spawn_faction_addopen.c: Include string.h.
17119 2014-06-11 Roland McGrath <roland@hack.frob.com>
17121 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17122 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17123 * nptl/sysdeps/x86_64/Makefile: Moved ...
17124 * sysdeps/x86_64/nptl/Makefile: ... here.
17125 * nptl/sysdeps/x86_64/configure: Moved ...
17126 * sysdeps/x86_64/nptl/configure: ... here.
17127 * nptl/sysdeps/x86_64/configure.ac: Moved ...
17128 * sysdeps/x86_64/nptl/configure.ac: ... here.
17129 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17130 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17131 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17132 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17133 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17134 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17135 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17136 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17137 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17138 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17139 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17140 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17141 * nptl/sysdeps/x86_64/tls.h: Moved ...
17142 * sysdeps/x86_64/nptl/tls.h: ... here.
17143 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17144 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17145 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17146 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17148 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17150 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17154 2014-06-11 Joseph Myers <joseph@codesourcery.com>
17156 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17158 [POSIX] (off_t): Likewise.
17159 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17160 [POSIX] (S_ISBLK): Require macro.
17161 [POSIX] (S_ISCHR): Likewise.
17162 [POSIX] (S_ISDIR): Likewise.
17163 [POSIX] (S_ISFIFO): Likewise.
17164 [POSIX] (S_ISREG): Likewise.
17165 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17167 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17169 [POSIX] (time_t): Likewise.
17170 [POSIX] (timer_t): Likewise.
17172 2014-06-11 Florian Weimer <fweimer@redhat.com>
17175 * posix/spawn_int.h (struct __spawn_action): Make the path string
17176 non-const to support deallocation.
17177 * posix/spawn_faction_addopen.c
17178 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17179 * posix/spawn_faction_destroy.c
17180 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
17181 path in all spawn_do_open actions.
17182 * posix/tst-spawn.c (do_test): Exercise the copy operation in
17183 posix_spawn_file_actions_addopen.
17185 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
17187 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17188 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17189 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17190 conditional code always true.
17191 (__libc_vfork): New alias.
17193 2014-06-11 Roland McGrath <roland@hack.frob.com>
17195 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17196 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17198 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17200 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17201 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17203 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17204 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17206 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17207 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17209 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17211 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17212 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17213 multiarch strcmp for PPC64.
17214 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17215 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17217 multiarch optimizations.
17218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17219 (__libc_ifunc_impl_list): Likewise.
17221 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17223 * benchtests/scripts/validate_benchout.py: New script.
17224 * benchtests/Makefile (bench-func): Call it.
17225 * benchtests/scripts/benchout.schema.json: New file.
17227 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
17229 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17230 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17231 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17232 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17233 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17234 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17235 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17236 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17237 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17238 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17239 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17240 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17241 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17242 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17243 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17244 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17348 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17349 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17350 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17351 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17352 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17354 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17356 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17357 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17358 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17359 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17360 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17361 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17362 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17363 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17364 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17365 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17366 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17367 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17368 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17370 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17371 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17373 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17374 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17375 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17376 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17378 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17379 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17380 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17381 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17382 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17383 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17384 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17386 2014-06-10 Wilco <wdijkstr@arm.com>
17388 * math/test-fenv-return.c: New file.
17389 * math/Makefile: Add new test test-fenv-return.
17391 2014-06-10 Joseph Myers <joseph@codesourcery.com>
17394 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17395 when x - 1 is zero.
17396 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17397 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17398 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17399 0.0L for an argument of 1.0L.
17400 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17402 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17403 value when x - 1 is zero.
17404 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17405 * sysdeps/i386/fpu/libm-test-ulps: Update.
17406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17408 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
17411 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17413 2014-06-09 Roland McGrath <roland@hack.frob.com>
17415 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17416 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17418 2014-06-09 Roland McGrath <roland@hack.frob.com>
17420 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17421 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17423 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17424 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17426 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17427 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17429 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17430 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17432 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17433 if not already defined.
17434 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17435 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17436 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17437 (TLS_INIT_TP): Use it.
17438 (TLS_DEFINE_INIT_TP): New macro.
17439 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17441 2014-06-09 Joseph Myers <joseph@codesourcery.com>
17443 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17445 [POSIX] (IXANY): Likewise.
17446 [POSIX] (OLCUC): Likewise.
17447 [POSIX || POSIX2008] (CBAUD): Do not allow.
17448 [POSIX || POSIX2008] (DEFECHO): Likewise.
17449 [POSIX || POSIX2008] (ECHOCTL): Likewise.
17450 [POSIX || POSIX2008] (ECHOKE): Likewise.
17451 [POSIX || POSIX2008] (ECHOPRT): Likewise.
17452 [POSIX || POSIX2008] (EXTA): Likewise.
17453 [POSIX || POSIX2008] (EXTB): Likewise.
17454 [POSIX || POSIX2008] (FLUSHO): Likewise.
17455 [POSIX || POSIX2008] (LOBLK): Likewise.
17456 [POSIX || POSIX2008] (PENDIN): Likewise.
17457 [POSIX || POSIX2008] (SWTCH): Likewise.
17458 [POSIX || POSIX2008] (VDISCARD): Likewise.
17459 [POSIX || POSIX2008] (VDSUSP): Likewise.
17460 [POSIX || POSIX2008] (VLNEXT): Likewise.
17461 [POSIX || POSIX2008] (VREPRINT): Likewise.
17462 [POSIX || POSIX2008] (VSTATUS): Likewise.
17463 [POSIX || POSIX2008] (VWERASE): Likewise.
17464 (B*): Change to B[0123456789]*.
17465 * conform/data/time.h-data [POSIX || UNIX98]
17466 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17467 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17468 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17469 [POSIX] (tm_*): Do not allow.
17471 2014-06-07 Joseph Myers <joseph@codesourcery.com>
17473 * Makefile (install): Don't set LANGUAGE.
17474 * Makefile.in (install): Likewise.
17475 * assert/Makefile (test-assert-ENV): Remove variable.
17476 (test-assert-perr-ENV): Likewise.
17477 * elf/Makefile (neededtest4-ENV): Likewise.
17478 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17479 [$(cross-compiling) = no]: Don't set LANGUAGE.
17480 * io/ftwtest-sh (LANG): Remove variable.
17481 * libio/Makefile (tst-widetext-ENV): Likewise.
17482 * manual/install.texi (Running make install): Don't refer to
17483 environment settings for make install.
17484 * INSTALL: Regenerated.
17485 * nptl/tst-tls6.sh: Don't set LANG.
17486 * posix/globtest.sh (LANG): Remove variable.
17487 * string/Makefile (tester-ENV): Likewise.
17488 (inl-tester-ENV): Likewise.
17489 (noinl-tester-ENV): Likewise.
17490 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17491 [$(cross-compiling) = no]: Don't set LANGUAGE.
17492 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17493 without explicit environment settings.
17495 2014-06-06 Roland McGrath <roland@hack.frob.com>
17497 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17498 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17499 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17500 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17502 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
17504 * crypt/crypt-private.h [DOS]: Add some includes taken from the
17505 other files in the crypt directory.
17506 * crypt/crypt.c: Remove duplicate includes.
17507 * crypt/crypt-entry.c: Likewise.
17508 * crypt/crypt_util.c: Likewise.
17510 2014-06-06 Joseph Myers <joseph@codesourcery.com>
17512 * Makeconfig (run-program-env): New variable.
17513 (run-program-prefix-before-env): Likewise.
17514 (run-program-prefix-after-env): Likewise.
17515 (run-program-prefix): Define in terms of new variables.
17516 (built-program-cmd-before-env): New variable.
17517 (built-program-cmd-after-env): Likewise.
17518 (built-program-cmd): Define in terms of new variables.
17519 (test-program-prefix-before-env): New variable.
17520 (test-program-prefix-after-env): Likewise.
17521 (test-program-prefix): Define in terms of new variables.
17522 (test-program-cmd-before-env): New variable.
17523 (test-program-cmd-after-env): Likewise.
17524 (test-program-cmd): Define in terms of new variables.
17525 * Rules (make-test-out): Use $(run-program-env).
17526 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17527 (help): Do not mention environment variables. Mention
17528 --timeoutfactor option.
17529 (timeoutfactor): New variable.
17530 (blacklist_exports): Remove function.
17531 (exports): Remove variable.
17532 (command): Do not include ${exports}.
17533 * manual/install.texi (Configuring and compiling): Do not mention
17534 test wrappers preserving environment variables. Mention that last
17535 assignment to a variable must take precedence.
17536 * INSTALL: Regenerated.
17537 * benchtests/Makefile (run-bench): Use $(run-program-env).
17538 * catgets/Makefile ($(objpfx)test1.cat): Use
17539 $(built-program-cmd-before-env), $(run-program-env) and
17540 $(built-program-cmd-after-env).
17541 ($(objpfx)test2.cat): Do not specify environment variables
17543 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17544 $(run-program-env) and $(built-program-cmd-after-env).
17545 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17546 $(run-program-env) and $(test-program-cmd-after-env).
17547 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17549 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17550 run_program_env and test_program_cmd_after_env arguments.
17551 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17552 * elf/tst-pathopt.sh: Use run_program_env argument.
17553 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17554 $(test-wrapper-env) and $(run-program-env).
17555 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17556 run_program_env arguments.
17557 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17558 * intl/Makefile ($(objpfx)tst-gettext.out): Use
17559 $(test-program-prefix-before-env), $(run-program-env) and
17560 $(test-program-prefix-after-env).
17561 ($(objpfx)tst-gettext2.out): Likewise.
17562 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17563 run_program_env and test_program_prefix_after_env arguments.
17564 * intl/tst-gettext2.sh: Likewise.
17565 * intl/tst-gettext4.sh: Do not set environment variables
17567 * intl/tst-gettext6.sh: Likewise.
17568 * intl/tst-translit.sh: Likewise.
17569 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17570 $(test-program-prefix-before-env), $(run-program-env) and
17571 $(test-program-prefix-after-env).
17572 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17573 run_program_env and test_program_prefix_after_env arguments.
17574 * math/Makefile (run-regen-ulps): Use $(run-program-env).
17575 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17576 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
17577 explicitly with each use of ${test_wrapper_env}.
17578 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17579 $(test-program-prefix-before-env), $(run-program-env) and
17580 $(test-program-prefix-after-env).
17581 * posix/tst-getconf.sh: Do not set environment variables
17583 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17584 run_program_env and test_program_prefix_after_env arguments.
17585 * stdio-common/tst-printf.sh: Do not set environment variables
17587 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17588 $(test-program-prefix-before-env), $(run-program-env) and
17589 $(test-program-prefix-after-env).
17590 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17591 run_program_env and test_program_prefix_after_env arguments.
17592 Split $test calls into $test_pre and $test.
17593 * timezone/Makefile (build-testdata): Use
17594 $(built-program-cmd-before-env), $(run-program-env) and
17595 $(built-program-cmd-after-env).
17597 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17599 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17600 strlen for non SHARED builds.
17602 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17604 * nptl/allocatestack.c (check_list): Inlined function...
17605 (__reclaim_stacks): ... here.
17607 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17610 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17613 2014-06-05 Joseph Myers <joseph@codesourcery.com>
17615 * Rules (make-test-out): Include
17616 LOCPATH=$(common-objpfx)localedata in default environment.
17617 * debug/Makefile (tst-chk1-ENV): Remove variable.
17618 (tst-chk2-ENV): Likewise.
17619 (tst-chk3-ENV): Likewise.
17620 (tst-chk4-ENV): Likewise.
17621 (tst-chk5-ENV): Likewise.
17622 (tst-chk6-ENV): Likewise.
17623 (tst-lfschk1-ENV): Likewise.
17624 (tst-lfschk2-ENV): Likewise.
17625 (tst-lfschk3-ENV): Likewise.
17626 (tst-lfschk4-ENV): Likewise.
17627 (tst-lfschk5-ENV): Likewise.
17628 (tst-lfschk6-ENV): Likewise.
17629 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17630 (tst-iconv7-ENV): Likewise.
17631 * intl/Makefile (LOCPATH-ENV): Likewise.
17632 (tst-codeset-ENV): Likewise.
17633 (tst-gettext3-ENV): Likewise.
17634 (tst-gettext5-ENV): Likewise.
17635 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17636 (tst-fopenloc-ENV): Likewise.
17637 (tst-fgetws-ENV): Remove variable.
17638 (tst-ungetwc1-ENV): Likewise.
17639 (tst-ungetwc2-ENV): Likewise.
17640 (bug-ungetwc2-ENV): Likewise.
17641 (tst-swscanf-ENV): Likewise.
17642 (bug-ftell-ENV): Likewise.
17643 (tst-fgetwc-ENV): Likewise.
17644 (tst-fseek-ENV): Likewise.
17645 (tst-ftell-partial-wide-ENV): Likewise.
17646 (tst-ftell-active-handler-ENV): Likewise.
17647 (tst-ftell-append-ENV): Likewise.
17648 * posix/Makefile (tst-fnmatch-ENV): Likewise.
17649 (tst-regexloc-ENV): Likewise.
17650 (bug-regex1-ENV): Likewise.
17651 (tst-regex-ENV): Likewise.
17652 (tst-regex2-ENV): Likewise.
17653 (bug-regex5-ENV): Likewise.
17654 (bug-regex6-ENV): Likewise.
17655 (bug-regex17-ENV): Likewise.
17656 (bug-regex18-ENV): Likewise.
17657 (bug-regex19-ENV): Likewise.
17658 (bug-regex20-ENV): Likewise.
17659 (bug-regex22-ENV): Likewise.
17660 (bug-regex23-ENV): Likewise.
17661 (bug-regex25-ENV): Likewise.
17662 (bug-regex26-ENV): Likewise.
17663 (bug-regex30-ENV): Likewise.
17664 (bug-regex32-ENV): Likewise.
17665 (bug-regex33-ENV): Likewise.
17666 (bug-regex34-ENV): Likewise.
17667 (bug-regex35-ENV): Likewise.
17668 (tst-rxspencer-ENV): Likewise.
17669 (tst-rxspencer-no-utf8-ENV): Likewise.
17670 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17671 (tst-sscanf-ENV): Likewise.
17672 (tst-swprintf-ENV): Likewise.
17673 (tst-swscanf-ENV): Likewise.
17674 (test-vfprintf-ENV): Likewise.
17675 (scanf13-ENV): Likewise.
17676 (bug14-ENV): Likewise.
17677 (tst-grouping-ENV): Likewise.
17678 * stdlib/Makefile (tst-strtod-ENV): Likewise.
17679 (tst-strtod3-ENV): Likewise.
17680 (tst-strtod4-ENV): Likewise.
17681 (tst-strtod5-ENV): Likewise.
17682 (testmb2-ENV): Likewise./
17683 * string/Makefile (tst-strxfrm-ENV): Likewise.
17684 (tst-strxfrm2-ENV): Likewise.
17685 (bug-strcoll1-ENV): Likewise.
17686 (test-strcasecmp-ENV): Likewise.
17687 (test-strncasecmp-ENV): Likewise.
17688 * time/Makefile (tst-strptime-ENV): Likewise.
17689 (tst-ftime_l-ENV): Likewise.
17690 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17691 (tst-mbrtowc-ENV): Likewise.
17692 (tst-wcrtomb-ENV): Likewise.
17693 (tst-mbrtowc2-ENV): Likewise.
17694 (tst-c16c32-1-ENV): Likewise.
17695 (tst-mbsnrtowcs-ENV): Likewise.
17697 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17699 * manual/resource.texi (How to get information about the memory
17700 subsystem?): Fix typo.
17701 Reported by Peon de la Parra Ivan <peon@keba.com>
17703 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
17706 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17707 (pthread_spin_lock): Branch out of spin loop to proper location.
17708 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17709 (pthread_spin_lock): Likewise.
17711 * nptl/tst-spin4.c: New test.
17712 * nptl/Makefile (tests): Add tst-spin4.
17714 2014-06-03 Andreas Schwab <schwab@suse.de>
17717 * resolv/res_send.c (send_dg): Reload file descriptor after
17720 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
17722 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17724 2014-06-03 Richard Henderson <rth@redhat.com>
17726 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17727 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17728 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17729 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
17730 in the SAVE_PID block.
17731 (__libc_vfork): New alias.
17732 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17734 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17735 child in registers, not on the stack. Remove RESET_PID conditionals.
17736 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17738 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
17740 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17742 2014-06-03 Wilco <wdijkstr@arm.com>
17744 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17745 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17746 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17747 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17748 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17751 2014-06-03 Wilco <wdijkstr@arm.com>
17753 * sysdeps/aarch64/fpu/math_private.h
17754 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17755 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17756 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17757 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17760 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17762 * crypt/crypt-private.h: Include ufc-crypt.h.
17763 (__b64_from_24bit): Declare extern.
17764 * crypt/crypt_util.c(__b64_from_24bit): New function.
17765 (b64t): New static const variable.
17766 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17767 (b64t): Remove variable.
17768 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17769 * crypt/sha256-crypt.c: Include crypt-private.h.
17770 (b64t): Remove variable.
17771 (__sha256_crypt_r): Remove b64_from_24bit and replace
17772 with __b64_from_24bit.
17773 * crypt/sha512-crypt.c: Likewise.
17775 2014-06-02 Roland McGrath <roland@hack.frob.com>
17777 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17778 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17779 Label the code __libc_vfork rather than __vfork.
17780 [!NOT_IN_libc] (vfork): Define as weak alias.
17781 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17782 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17783 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17785 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17787 * malloc/malloc.c (malloc_info): Fix format specifier for
17790 2014-06-02 Wilco <wdijkstr@arm.com>
17792 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17795 2014-06-02 Wilco <wdijkstr@arm.com>
17798 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17799 Rewrite to reduce FPCR/FPSR accesses.
17801 2014-06-01 David S. Miller <davem@davemloft.net>
17803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17805 2014-05-31 David S. Miller <davem@davemloft.net>
17807 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17808 to occur in round to nearest mode when |x| >= 2.0
17810 2014-05-30 Richard Henderson <rth@twiddle.net>
17812 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17813 (PSEUDO_RET_NOERRNO): Remove.
17814 (ret): Don't redefine.
17815 (ret_NOERRNO): Define in terms of ret.
17816 (ret_ERRVAL): Likewise.
17818 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17819 use of PSEUDO_RET; perform the error check directly.
17821 2014-05-30 Marko Myllynen <myllynen@redhat.com>
17823 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17826 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17828 * malloc/malloc (malloc_info): Fix formatting.
17830 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17831 Roland McGrath <roland@hack.frob.com>
17833 * malloc/malloc (malloc_info): Also print mmapped statistics.
17835 2014-05-30 Roland McGrath <roland@hack.frob.com>
17837 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17838 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17840 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
17842 * malloc/malloc.c (malloc_info): Inline mi_arena.
17844 2014-05-29 Richard Henderson <rth@twiddle.net>
17846 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17847 Remove comma before expanding ASM_ARGS_##nr.
17848 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17849 Make _x0 a strict output; make _x8 a strict input; adjust expansion
17851 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17852 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17853 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17854 (ASM_ARGS_1): Add leading comma.
17856 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17857 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17858 to __errno_location.
17859 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17860 Remove the expected plt for __errno_location.
17862 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17863 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17866 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17867 Always allocate 64 bytes of stack frame. Use ldp/stp to create
17868 it and break it down.
17869 (DOCARGS_0, DOCARGS_1): Do nothing.
17870 (DOCARGS_2): Update to store into the new stack frame.
17871 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17872 (UNDOCARGS_1): Update to restore from the new stack frame.
17873 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17874 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17876 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17877 (SINGLE_THREAD_P): New parameter for result regno.
17878 (PSEUDO): Update to match; use cbz instead of beq.
17880 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17881 Use ENTRY to define the _nocancel entry point. Share the syscall
17882 and syscall error check paths with the cancel path.
17885 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17886 whitespace; tabs before and after asm mnemonics.
17888 2014-05-29 Eric Wong <normalperson@yhbt.net>
17891 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17892 Call fstat64 or stat64 internally, depending on arguments passed.
17893 Replace stat buffer argument with file descriptor argument.
17894 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17895 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17896 Pass fd to __internal_statvfs instead of calling fstat64.
17897 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17898 Pass fd to __internal_statvfs64 instead of calling fstat64.
17899 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17900 Pass -1 to __internal_statvfs instead of calling stat64.
17901 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17902 Pass -1 to __internal_statvfs64 instead of calling stat64.
17904 2014-05-28 Roland McGrath <roland@hack.frob.com>
17906 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17907 that was previously under [RESET_PID].
17908 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17910 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17911 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17913 2014-05-27 Roland McGrath <roland@hack.frob.com>
17915 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17917 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17918 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17920 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
17922 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17924 2014-05-27 Andreas Schwab <schwab@suse.de>
17926 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17928 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17929 * elf/rtld.c (init_tls, dl_main): Likewise.
17930 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17931 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17932 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17933 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17934 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17935 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17936 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17937 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17938 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17939 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17940 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17941 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17942 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17943 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17944 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17945 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17946 * sysdeps/generic/tls.h: Update description.
17948 2014-05-27 Will Newton <will.newton@linaro.org>
17951 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17952 and restore r2 rather than just restoring.
17954 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17957 * libio/tst-ftell-append.c: New test case.
17958 * libio/Makefile (tests): Add test case.
17959 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17961 * libio/wfileops.c (do_ftell_wide): Likewise.
17963 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17967 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17971 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17972 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17973 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17974 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17975 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17976 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17977 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17980 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17983 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17984 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17985 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17986 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17987 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17989 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17990 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17992 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17994 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17996 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17997 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17998 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18000 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18001 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18002 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18003 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18005 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18008 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18011 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18014 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18018 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18021 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18026 conditional [RESET_PID].
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18028 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18030 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18035 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18036 (__libc_vfork): New strong alias.
18037 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18039 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18044 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18045 (__libc_vfork): New strong alias.
18046 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18048 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18051 2014-05-26 Carlos O'Donell <carlos@redhat.com>
18053 * malloc/malloc.c (mi_arena): New function.
18054 (malloc_info): Remove nested function mi_arena. Call non-nosted
18057 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18059 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18061 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18062 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18063 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18064 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18065 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18066 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18067 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18069 2014-05-26 Andreas Schwab <schwab@suse.de>
18072 * locale/programs/repertoire.c (repertoire_read): Add slash
18073 between I18NPATH element and file name.
18074 * locale/programs/locfile.c (locfile_read): Likewise.
18076 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
18078 * nptl/pthread_mutexattr_settype.c
18079 (__pthread_mutexattr_settype):
18080 Disable lock elision for PTHREAD_MUTEX_NORMAL.
18082 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
18084 * nptl/tst-mutex5 (do_test):
18085 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18087 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18089 * benchtests/README: Document 'init' directive.
18090 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18092 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18093 (parse_file): Recognize 'init' directive.
18095 2014-05-26 Kyle McMartin <kyle@redhat.com>
18098 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18099 alignment of struct pthread.
18101 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18104 * nscd/netgroupcache.c (addgetnetgrentX): Look for
18105 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18106 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18107 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18109 2014-05-25 Richard Henderson <rth@twiddle.net>
18111 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18112 (SINGLE_THREAD_P_PIC): Remove.
18113 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18114 (SINGLE_THREAD_P_PIC): Remove.
18116 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18117 branch to syscall error ...
18118 (PSEUDO): ... here.
18119 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18120 from __local_syscall_error to .Lsyscall_error.
18121 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18122 (SYSCALL_ERROR): Update label name.
18124 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18125 Do not use DOARGS/UNDOARGS.
18126 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18127 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18128 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18129 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18130 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18132 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18135 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18136 define if !NOT_IN_libc.
18137 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18138 define with non-default symbol versions.
18140 2014-05-23 Richard Henderson <rth@twiddle.net>
18142 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18143 (vfork, __vfork): Define via compat_symbol.
18145 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18146 [!HAVE_IFUNC] (vfork_compat): Remove.
18147 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18149 2014-05-23 Joseph Myers <joseph@codesourcery.com>
18152 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18153 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18156 2014-05-23 Richard Henderson <rth@twiddle.net>
18158 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18159 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18160 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18161 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18163 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18164 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18165 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18166 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18167 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18168 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18169 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18170 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18171 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18172 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18173 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18174 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18175 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18176 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18177 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18178 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18179 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18180 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18181 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18182 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18183 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18184 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18185 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18186 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18187 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18188 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18189 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18190 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18191 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18192 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18193 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18194 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18195 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18196 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18197 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18198 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18199 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18200 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18201 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18202 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18203 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18204 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18205 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18206 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18207 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18208 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18209 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18210 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18211 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18212 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18213 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18214 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18215 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18216 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18217 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18218 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18220 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18221 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18222 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
18223 before exiting on error.
18224 (__libc_vfork): New strong alias.
18225 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18226 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18228 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18229 that was previously under [RESET_PID].
18230 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18232 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18234 2014-05-23 Joseph Myers <joseph@codesourcery.com>
18237 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18238 value when x - 1 is zero.
18239 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18240 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18241 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18242 0.0L for an argument of 1.0L.
18243 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18245 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18246 value when x - 1 is zero.
18247 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18248 * sysdeps/i386/fpu/libm-test-ulps: Update.
18249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18251 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
18253 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18254 alphasort and versionsort.
18256 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18258 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18260 [copysignf]: Likewise.
18262 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18264 * crypt/md5-crypt.c: Fix formatting.
18266 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
18268 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18269 (b64_from_24bit): New function.
18271 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18273 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18274 libc_hidden_builtin_def to ifunc.
18275 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18276 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18278 2014-05-21 Roland McGrath <roland@hack.frob.com>
18280 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18281 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18283 2014-05-21 Joseph Myers <joseph@codesourcery.com>
18285 * nscd/Depend (linuxthreads): Remove.
18287 * resolv/Depend (linuxthreads): Remove.
18288 * rt/Depend (linuxthreads): Remove.
18290 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18291 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18292 $(common-objpfx)elf/.
18293 (link-libc-before-gnulib): Likewise.
18294 (elfobjdir): Remove variable.
18295 * Makefile (install): Use $(elf-objpfx) instead of
18296 $(common-objpfx)elf/.
18297 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18299 (link-libc-deps): Likewise.
18300 ($(common-objpfx)libc.so): Likewise.
18301 ($(common-objpfx)linkobj/libc.so): Likewise.
18302 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18303 instead of $(common-objpfx)elf/.
18304 (symbolic-link-list): Likewise.
18305 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18306 [$(cross-compiling) = no]: Likewise.
18307 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18309 (static-gnulib-arch): Likewise.
18310 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18311 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18312 $(common-objpfx)elf/.
18314 2014-05-21 Richard Henderson <rth@redhat.com>
18316 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18317 (SINGLE_THREAD_P): Use the correct width load. Fold
18318 into the ldr offset.
18320 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18321 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18323 2014-05-20 Joseph Myers <joseph@codesourcery.com>
18325 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18326 (libgcc_s_resume): Use __attribute_used__.
18327 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18330 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18332 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18333 optimization when used with float constants.
18335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18337 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
18340 * locale/nl_langinfo_l.c: Make direct reference to every
18341 _nl_current_CATEGORY symbol.
18342 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18343 (tests-static): Add tst-langinfo-static.
18344 (tests-special): Add tst-langinfo-static.out.
18345 ($(objpfx)tst-langinfo.out): Redirect output.
18346 ($(objpfx)tst-langinfo-static.out): New.
18347 * localedata/tst-langinfo.sh: Send output to stdout.
18348 * localedata/tst-langinfo-static.c: New file.
18351 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18352 when the shift amount is modulo the limb size.
18354 2014-05-20 Richard Henderson <rth@redhat.com>
18357 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18358 Change type of sa_flags from unsigned int to int.
18361 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18363 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18365 2014-05-20 Will Newton <will.newton@linaro.org>
18367 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18368 Test the return value of the system call in the nocancel case.
18370 2014-05-20 Will Newton <will.newton@linaro.org>
18371 Yvan Roux <yvan.roux@linaro.org>
18373 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18374 #include of asm/ptrace.h.
18375 (PTRACE_GET_THREAD_AREA): Remove #undef.
18376 (PTRACE_GETHBPREGS): Likewise.
18377 (PTRACE_SETHBPREGS): Likewise.
18378 (struct user_regs_struct): New structure.
18379 (struct user_fpsimd_struct): New structure.
18380 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18381 #include of asm/ptrace.h and second #include of sys/user.h.
18382 (PTRACE_GET_THREAD_AREA): Remove #undef.
18383 (PTRACE_GETHBPREGS): Likewise.
18384 (PTRACE_SETHBPREGS): Likewise.
18385 (ELF_NGREG): Use new struct user_regs_struct.
18386 (elf_fpregset_t): Use new struct user_fpsimd_struct.
18388 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18390 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18391 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18393 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18396 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18397 membar to avoid block loads/stores to overlap previous stores.
18399 2014-05-17 Richard Henderson <rth@redhat.com>
18401 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18402 Create the __##syscall_name##_nocancel entry point.
18403 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18404 Remove; let the sysdep-cancel.h code create it.
18406 2014-05-17 David S. Miller <davem@davemloft.net>
18408 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18409 Protect with __USE_GNU.
18410 (TIOCSET_TEMPT): Likewise.
18411 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18412 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18413 these are already provided in bits/ioctl-types.h
18415 2014-05-16 Roland McGrath <roland@hack.frob.com>
18417 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18418 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18420 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18421 Use wait4 regardless of [__NR_waitpid].
18423 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18426 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18427 (_FP_NANSIGN_Q): Set the quiet bit.
18429 2014-05-16 Joseph Myers <joseph@codesourcery.com>
18431 * benchtests/Makefile
18432 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18433 not $(common-objpfx)math/libm.so.
18434 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18435 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18436 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18437 $(common-objpfx)dlfcn/libdl.so.
18438 ($(objpfx)tst-audit8): Depend on $(libm), not
18439 $(common-objpfx)math/libm.so.
18440 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18441 not $(common-objpfx)dlfcn/libdl.so.
18443 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18444 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
18445 [$(build-shared) = yes].
18446 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18447 $(common-objpfx)nptl/libpthread.so.
18448 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18449 $(common-objpfx)math/libm.so$(libm.so-version) or
18450 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18451 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18452 $(common-objpfx)dlfcn/libdl.so.
18453 * setjmp/Makefile (link-libm): Remove variable.
18454 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18455 * stdio-common/Makefile (link-libm): Remove variable.
18456 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18457 * stdlib/Makefile (link-libm): Remove variable.
18458 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18459 ($(objpfx)tst-strtod-round): Likewise.
18460 ($(objpfx)tst-tininess): Likewise.
18461 ($(objpfx)tst-strtod-underflow): Likewise.
18462 ($(objpfx)tst-strtod6): Likewise.
18463 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18464 $(libdl), not $(common-objpfx)nptl/libpthread.so and
18465 $(common-objpfx)dlfcn/libdl.so.
18467 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18469 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18470 BSD terminal modes definitions.
18472 2014-05-16 Roland McGrath <roland@hack.frob.com>
18474 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18475 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18477 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18478 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18479 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18480 Don't do #include_next.
18481 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18482 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18483 Don't do #include_next.
18484 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18485 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18486 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18487 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18489 2014-05-16 Allan McRae <allan@archlinux.org>
18491 * po/sv.po: Update Swedish translation from translation project.
18493 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18496 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
18499 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18500 errno if the TIOCGPTN ioctl fails with an error different than
18502 * login/tst-ptsname.c: New file.
18503 * login/Makefile (tests): Add tst-ptsname.
18506 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18509 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18513 herrno to return EAI_AGAIN.
18515 2014-05-14 Roland McGrath <roland@hack.frob.com>
18517 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18518 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18519 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18520 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18521 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18522 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18523 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18524 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18525 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18526 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18527 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18528 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18529 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18530 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18531 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18532 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18533 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18534 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18535 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18536 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18537 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18538 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18539 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18540 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18541 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18542 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18543 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18544 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18545 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18546 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18548 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18550 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18553 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18555 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18557 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18559 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18561 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18563 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18565 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18567 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18569 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18571 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18573 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18575 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18577 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18579 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18582 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18584 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18586 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18588 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18590 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18592 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18594 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18596 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18598 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18600 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18603 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18605 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18607 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18608 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18609 (libpthread-sysdep_routines): Add elision-related stuff here instead.
18610 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18611 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18612 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18613 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18614 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18615 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18616 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18617 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18618 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18619 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18620 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18621 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18622 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18623 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18624 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18625 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18626 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18627 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18628 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18629 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18630 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18631 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18632 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18633 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18634 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18635 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18636 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18637 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18639 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18640 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18642 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18643 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18644 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18645 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18646 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18647 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18649 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18650 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18652 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18653 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18655 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18656 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18658 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18659 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18660 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18661 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18663 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18664 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18665 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18666 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18667 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18668 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18669 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18670 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18672 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18673 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18675 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18677 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18678 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18679 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18680 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18681 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18683 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18685 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18687 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18688 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18689 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18690 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18691 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18692 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18694 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18695 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18697 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18698 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18700 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18701 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18703 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18704 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18705 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18706 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18708 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18709 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18710 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18711 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18712 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18713 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18714 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18715 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18717 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18718 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18720 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18722 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18723 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18724 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18725 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18726 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18728 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18730 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18732 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18733 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18734 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18735 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18736 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18737 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18738 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18739 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18740 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18741 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18743 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18744 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18746 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18747 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18749 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18750 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18752 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18753 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18754 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18755 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18756 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18757 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18759 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18760 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18761 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18762 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18763 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18764 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18765 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18766 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18768 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18769 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18771 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18773 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18774 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18775 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18776 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18777 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18779 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18781 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18783 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18784 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18785 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18786 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18787 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18788 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18789 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18790 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18791 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18792 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18793 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18795 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18796 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18798 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18799 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18801 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18802 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18803 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18804 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18805 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18806 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18807 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18808 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18809 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18810 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18811 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18812 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18813 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18814 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18815 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18816 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18817 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18818 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18820 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18821 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18822 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18823 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18825 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18826 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18827 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18828 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18829 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18830 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18831 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18832 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18834 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18835 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18837 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18838 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18839 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18840 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18841 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18842 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18843 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18844 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18845 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18846 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18847 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18848 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18849 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18850 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18851 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18852 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18853 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18855 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18856 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18857 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18858 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18859 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18861 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18862 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18863 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18864 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18865 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18866 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18867 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18868 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18869 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18870 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18872 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18873 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18875 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18876 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18877 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18878 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18879 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18880 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18881 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18882 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18883 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18884 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18885 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18886 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18887 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18888 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18889 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18891 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18893 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18895 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18897 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18909 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18910 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18911 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18912 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18913 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18914 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18915 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18916 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18917 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18918 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18919 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18920 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18921 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18922 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
18923 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
18925 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18926 that was previously under [RESET_PID].
18927 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18928 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18929 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18931 * sysdeps/i386/nptl/Implies: New file.
18932 * sysdeps/x86_64/nptl/Implies: New file.
18933 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18934 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18935 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18936 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18938 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18939 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18940 (__libc_vfork): New strong alias.
18941 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18942 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18944 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18945 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18946 (__libc_vfork): New strong alias.
18947 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18948 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18950 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18951 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18952 (__libc_vfork): New strong alias.
18953 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18954 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18955 * nptl/pt-vfork.c: New file.
18956 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18957 (libpthread: GLIBC_2.20): New version set (empty).
18959 2014-05-14 Will Newton <will.newton@linaro.org>
18961 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18964 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18967 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18968 arguments with exponent 65 or above.
18969 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18970 arguments 0x1p113L or above.
18971 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18972 to arguments 0x1p107L or above.
18973 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18974 positive arguments with exponent 65 or above.
18975 * math/auto-libm-test-in: Add more tests of log1p.
18976 * math/auto-libm-test-out: Regenerated.
18979 * math/s_cacos.c (__cacos): Ensure zero real part of result from
18980 non-finite arguments is +0.
18981 * math/s_cacosf.c (__cacosf): Likewise.
18982 * math/s_cacosl.c (__cacosl): Likewise.
18983 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18984 * sysdeps/i386/fpu/libm-test-ulps: Update.
18985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18988 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18990 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18991 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18992 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18993 for explicit high bit of mantissa when testing for argument equal
18995 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18996 * sysdeps/i386/fpu/libm-test-ulps: Update.
18997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19000 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19001 (__erf): Scale by 16 instead of 8 in potentially underflowing
19002 case. Ensure exception if result actually underflows.
19003 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19004 (__erff): Scale by 16 instead of 8 in potentially underflowing
19005 case. Ensure exception if result actually underflows.
19006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19007 (efx8): Remove variable.
19008 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19009 case. Ensure exception if result actually underflows.
19010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19011 (efx8): Remove variable.
19012 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19013 case. Ensure exception if result actually underflows.
19014 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19015 (efx8): Remove variable.
19016 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19017 case. Ensure exception if result actually underflows.
19018 * math/auto-libm-test-in: Add more tests of erf.
19019 * math/auto-libm-test-out: Regenerated.
19021 2014-05-14 Andreas Schwab <schwab@suse.de>
19023 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19024 Remove code conditionalized on USE___THREAD.
19026 * config.h.in (HAVE_PT_CHOWN): Define as 0.
19027 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19030 2014-05-14 Joseph Myers <joseph@codesourcery.com>
19032 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19033 Define unconditionally.
19034 (__ASSUME_O_CLOEXEC): Likewise.
19035 (__ASSUME_SOCK_CLOEXEC): Likewise.
19036 (__ASSUME_IN_NONBLOCK): Likewise.
19037 (__ASSUME_PIPE2): Likewise.
19038 (__ASSUME_EVENTFD2): Likewise.
19039 (__ASSUME_SIGNALFD4): Likewise.
19040 (__ASSUME_DUP3): Likewise.
19041 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19042 (__ASSUME_DUP3): Do not define.
19043 (__ASSUME_EVENTFD2): Likewise.
19044 (__ASSUME_IN_NONBLOCK): Likewise.
19045 (__ASSUME_O_CLOEXEC): Likewise.
19046 (__ASSUME_PIPE2): Likewise.
19047 (__ASSUME_SIGNALFD4): Likewise.
19048 (__ASSUME_SOCK_CLOEXEC): Likewise.
19049 (__ASSUME_UTIMES): Undefine.
19050 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19051 (__ASSUME_UTIMES): Do not define.
19052 (__ASSUME_O_CLOEXEC): Likewise.
19053 (__ASSUME_SOCK_CLOEXEC): Likewise.
19054 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19055 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19057 (__ASSUME_PIPE2): Likewise.
19058 (__ASSUME_EVENTFD2): Likewise.
19059 (__ASSUME_SIGNALFD4): Likewise.
19060 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19061 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19063 (__ASSUME_EVENTFD2): Likewise.
19064 (__ASSUME_SIGNALFD4): Likewise.
19065 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19066 (__ASSUME_32BITUIDS): Likewise.
19067 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19068 (__ASSUME_IPC64): Likewise.
19069 (__ASSUME_ST_INO_64_BIT): Likewise.
19070 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19071 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19072 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19073 (__ASSUME_UTIMES): Do not define.
19074 (__ASSUME_PSELECT): Likewise.
19075 (__ASSUME_PPOLL): Likewise.
19076 (__ASSUME_O_CLOEXEC): Likewise.
19077 (__ASSUME_SOCK_CLOEXEC): Likewise.
19078 (__ASSUME_IN_NONBLOCK): Likewise.
19079 (__ASSUME_PIPE2): Likewise.
19080 (__ASSUME_EVENTFD2): Likewise.
19081 (__ASSUME_SIGNALFD4): Likewise.
19082 (__ASSUME_DUP3): Likewise.
19083 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19084 (__ASSUME_UTIMES): Likewise.
19085 (__ASSUME_O_CLOEXEC): Likewise.
19086 (__ASSUME_SOCK_CLOEXEC): Likewise.
19087 (__ASSUME_IN_NONBLOCK): Likewise.
19088 (__ASSUME_PIPE2): Likewise.
19089 (__ASSUME_EVENTFD2): Likewise.
19090 (__ASSUME_SIGNALFD4): Likewise.
19091 (__ASSUME_DUP3): Likewise.
19092 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19093 (__ASSUME_UTIMES): Likewise.
19094 (__ASSUME_O_CLOEXEC): Likewise.
19095 (__ASSUME_SOCK_CLOEXEC): Likewise.
19096 (__ASSUME_IN_NONBLOCK): Likewise.
19097 (__ASSUME_PIPE2): Likewise.
19098 (__ASSUME_EVENTFD2): Likewise.
19099 (__ASSUME_SIGNALFD4): Likewise.
19100 (__ASSUME_DUP3): Likewise.
19101 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19103 (__ASSUME_UTIMES): Likewise.
19104 (__ASSUME_EVENTFD2): Likewise.
19105 (__ASSUME_SIGNALFD4): Likewise.
19106 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19107 (__ASSUME_O_CLOEXEC): Likewise.
19108 (__ASSUME_SOCK_CLOEXEC): Likewise.
19109 (__ASSUME_IN_NONBLOCK): Likewise.
19110 (__ASSUME_PIPE2): Likewise.
19111 (__ASSUME_EVENTFD2): Likewise.
19112 (__ASSUME_SIGNALFD4): Likewise.
19113 (__ASSUME_DUP3): Likewise.
19114 (__ASSUME_UTIMES): Undefine.
19116 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19117 feclearexcept. Remove symbol versioning code.
19118 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
19119 symbol versioning code.
19120 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
19121 symbol versioning code.
19122 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19123 feupdateenv. Remove symbol versioning code.
19124 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19125 fegetexceptflag. Remove symbol versioning code.
19126 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19127 fesetexceptflag. Remove symbol versioning code.
19128 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19129 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
19130 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19131 (__posix_fadvise64_l32): Remove prototype.
19132 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19135 2014-05-13 Roland McGrath <roland@hack.frob.com>
19137 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19138 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19139 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19140 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19142 2014-05-13 Sami Kerola <kerolasa@iki.fi>
19144 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19145 current working directory
19147 2014-05-13 Roland McGrath <roland@hack.frob.com>
19149 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19150 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19151 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19152 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19153 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19154 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19155 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19156 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19157 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19158 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19159 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19160 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19161 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19162 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19163 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19164 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19165 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19166 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19167 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19168 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19169 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19170 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19171 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19172 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19173 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19174 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19175 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19176 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19177 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19178 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19179 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19180 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19181 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19182 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19183 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19184 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19185 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19186 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19187 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19188 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19189 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19190 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19192 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19193 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19195 * sysdeps/unix/sysv/linux/arm/Makefile
19196 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19197 Add rt-aeabi_unwind_cpp_pr1.
19198 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19199 Add nptl-aeabi_unwind_cpp_pr1.
19200 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19201 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19202 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19203 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19204 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19205 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19207 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19208 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19209 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19210 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19212 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19213 Deconditionalize the code that was previously under [RESET_PID].
19214 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19216 * sysdeps/generic/exit-thread.h: New file.
19217 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19218 * include/unistd.h (__exit_thread): Remove declaration.
19219 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19220 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19221 * csu/libc-start.c: Include <exit-thread.h>.
19222 (LIBC_START_MAIN): Pass no argument to __exit_thread.
19223 * nptl/pthread_create.c: Include <exit-thread.h>.
19224 (start_thread): Call __exit_thread in place of __exit_thread_inline.
19225 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19226 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19227 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19228 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19229 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19230 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19231 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19232 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19233 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19234 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19235 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19236 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19237 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19238 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19239 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19240 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19242 2014-05-13 Andreas Schwab <schwab@suse.de>
19244 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19246 2014-05-12 Joseph Myers <joseph@codesourcery.com>
19248 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19249 (__ASSUME_UTIMES): Do not condition on kernel version.
19250 (__ASSUME_PSELECT): Define unconditionally.
19251 (__ASSUME_PPOLL): Likewise.
19252 (__ASSUME_ATFCTS): Likewise.
19253 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19254 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19255 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19256 (__ASSUME_UTIMENSAT): Define unconditionally.
19257 (__ASSUME_PRIVATE_FUTEX): Likewise.
19258 (__ASSUME_FALLOCATE): Likewise.
19259 (__ASSUME_O_CLOEXEC): Likewise.
19260 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19261 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19262 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19263 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19264 (__ASSUME_IN_NONBLOCK): Likewise.
19265 (__ASSUME_PIPE2): Likewise.
19266 (__ASSUME_EVENTFD2): Likewise.
19267 (__ASSUME_SIGNALFD4): Likewise.
19268 (__ASSUME_DUP3): Likewise.
19269 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19270 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19271 (__ASSUME_AT_RANDOM): Likewise.
19272 (__ASSUME_PREADV): Likewise.
19273 (__ASSUME_PWRITEV): Likewise.
19274 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19275 (__ASSUME_F_GETOWN_EX): Define unconditionally.
19276 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19277 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19278 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19279 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19280 (__ASSUME_O_CLOEXEC): Define unconditionally.
19281 (__ASSUME_PSELECT): Do not undefine conditionally.
19282 (__ASSUME_PPOLL): Likewise.
19283 (__ASSUME_ATFCTS): Likewise.
19284 (__ASSUME_SET_ROBUST_LIST): Likewise.
19285 (__ASSUME_UTIMENSAT): Likewise.
19286 (__ASSUME_FDATASYNC): Define unconditionally.
19287 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19288 (__ASSUME_SIGFRAME_V2): Likewise.
19289 )__ASSUME_EVENTFD2): Likewise.
19290 (__ASSUME_SIGNALFD4): Likewise.
19291 (__ASSUME_PSELECT): Do not undefine conditionally.
19292 (__ASSUME_PPOLL): Likewise.
19293 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19294 (__ASSUME_PSELECT): Define unconditionally.
19295 (__ASSUME_PPOLL): Likewise.
19296 (__ASSUME_O_CLOEXEC): Likewise.
19297 (__ASSUME_SOCK_CLOEXEC): Likewise.
19298 (__ASSUME_IN_NONBLOCK): Likewise.
19299 (__ASSUME_PIPE2): Likewise.
19300 (__ASSUME_EVENTFD2): Likewise.
19301 (__ASSUME_SIGNALFD4): Likewise.
19302 (__ASSUME_DUP3): Likewise.
19303 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19304 (__ASSUME_O_CLOEXEC): Likewise.
19305 (__ASSUME_SOCK_CLOEXEC): Likewise.
19306 (__ASSUME_IN_NONBLOCK): Likewise.
19307 (__ASSUME_PIPE2): Likewise.
19308 (__ASSUME_EVENTFD2): Likewise.
19309 (__ASSUME_SIGNALFD4): Likewise.
19310 (__ASSUME_DUP3): Likewise.
19311 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19312 (__ASSUME_EVENTFD2): Likewise.
19313 (__ASSUME_SIGNALFD4): Likewise.
19314 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19316 2014-05-12 Andreas Schwab <schwab@suse.de>
19319 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19320 (_nss_nis_gethostbyname4_r): Return error if item length is larger
19321 than maximum RPC packet size.
19322 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19323 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19324 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19325 (_nss_nis_getservbyport_r): Likewise.
19327 2014-05-12 Will Newton <will.newton@linaro.org>
19329 * malloc/Makefile (tests): Add tst-mallopt.
19330 * malloc/tst-mallopt.c: New file.
19332 2014-05-09 Roland McGrath <roland@hack.frob.com>
19334 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19335 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19337 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19339 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19340 (tst-tlsmod6.so): Likewise.
19342 2014-05-09 Roland McGrath <roland@hack.frob.com>
19344 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19346 2014-05-09 Joseph Myers <joseph@codesourcery.com>
19349 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19350 and <dl-procinfo.h>.
19351 (__fegetenv): Save SSE state in envp->__eip if supported.
19352 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19353 envp->__eip if supported.
19354 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19355 and <dl-procinfo.h>.
19356 (__fesetenv): Always set __eip, __cs_selector, __opcode,
19357 __data_offset and __data_selector in environment to 0. Set SSE
19358 state if supported.
19359 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19361 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19363 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19365 2014-05-09 Will Newton <will.newton@linaro.org>
19367 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19368 and libc_relro_required for ARM.
19369 * sysdeps/arm/preconfigure: Regenerate.
19371 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
19372 Stefan Liebler <stli@linux.vnet.ibm.com>
19374 * config.make.in (enable-lock-elision): New Makefile variable.
19375 * configure.ac: Likewise.
19376 * configure: Regenerate.
19377 * sysdeps/s390/configure.ac:
19378 Add check for gcc transactions support.
19379 * sysdeps/s390/configure: Regenerate.
19380 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19381 Build elision files if enabled.
19382 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19383 Add lock elision support for s390.
19384 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19385 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19386 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19387 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19388 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19389 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19390 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19392 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19394 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19396 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19398 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19399 (__lll_timedlock_elision, __lll_lock_elision)
19400 (__lll_unlock_elision, __lll_trylock_elision)
19401 (lll_timedlock_elision, lll_lock_elision)
19402 (lll_unlock_elision, lll_trylock_elision): Add.
19403 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19404 (pthread_mutex_t): Add lock elision support for s390.
19406 2014-05-14 Wilco <wdijkstr@arm.com>
19408 * sysdeps/arm/fclrexcpt.c: Cleanup.
19409 * sysdeps/arm/fedisblxcpt.c: Cleanup.
19410 * sysdeps/arm/feenablxcpt.c: Cleanup.
19411 * sysdeps/arm/fegetenv.c: Cleanup.
19412 * sysdeps/arm/fegetexcept.c: Cleanup.
19413 * sysdeps/arm/fegetround.c: Cleanup.
19414 * sysdeps/arm/feholdexcpt.c: Cleanup.
19415 * sysdeps/arm/fesetenv.c: Cleanup.
19416 * sysdeps/arm/fesetround.c: Cleanup.
19417 * sysdeps/arm/feupdateenv.c: Cleanup.
19418 * sysdeps/arm/fgetexcptflg.c: Cleanup.
19419 * sysdeps/arm/fraiseexcpt.c: Cleanup.
19420 * sysdeps/arm/fsetexcptflg.c: Cleanup.
19421 * sysdeps/arm/ftestexcept.c: Cleanup.
19422 * sysdeps/arm/get-rounding-mode.h: Cleanup.
19423 * sysdeps/arm/setfpucw.c: Cleanup.
19425 2014-05-09 Will Newton <will.newton@linaro.org>
19427 * sysdeps/arm/armv7/strcmp.S: New file.
19428 * NEWS: Mention addition of ARMv7 optimized strcmp.
19430 2014-05-08 Roland McGrath <roland@hack.frob.com>
19432 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19433 look for %.ac rather than %.in.
19435 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19436 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19437 * sysdeps/mach/hurd/configure: Regenerated.
19438 * sysdeps/unix/sysv/linux/configure: Regenerated.
19440 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19442 2014-05-07 Steve Ellcey <sellcey@mips.com>
19445 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19449 2014-05-07 Andreas Schwab <schwab@suse.de>
19451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19452 when skipping over non-matching result from nscd.
19454 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
19457 * nptl/sockperf.c (client): Check socket return value.
19460 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19461 nscd security class.
19463 2014-05-06 Roland McGrath <roland@hack.frob.com>
19465 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19466 * sysdeps/arm/unwind.h: ... here.
19468 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
19471 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19474 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19476 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19477 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19478 multiarch strncpy for PPC64.
19479 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19480 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19482 multiarch optimizations.
19483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19484 (__libc_ifunc_impl_list): Likewise.
19485 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19486 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19487 multiarch stpncpy for PPC64.
19488 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19489 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19491 2014-05-06 Andreas Schwab <schwab@suse.de>
19494 * gmon/mcount.c (_MCOUNT_DECL): Use
19495 atomic_compare_and_exchange_bool_acq instead of
19496 catomic_compare_and_exchange_bool_acq.
19498 2014-05-05 Roland McGrath <roland@hack.frob.com>
19500 * elf/Makefile (others, install-bin): Remove pldd.
19501 (pldd-modules): Variable removed.
19502 ($(objpfx)pldd): Target removed.
19503 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19504 (others, install-bin): Append pldd here.
19505 ($(objpfx)pldd): New target.
19507 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19508 to 0, so the first #if test emitted later doesn't see it undefined.
19509 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19510 * sysdeps/gnu/errlist.c: Regenerated.
19512 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19514 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19515 [libc_hidden_builtin_def]: Define to empty value.
19516 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19517 [libc_hidden_builtin_def]: Likewise.
19518 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19519 [libc_hidden_builtin_def]: Likewise.
19520 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19521 [libc_hidden_builtin_def]: Likewise.
19522 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19523 __redirect_memcpy and define ifunc as default hidden symbol.
19524 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19525 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19527 2014-05-04 Adam Conrad <adconrad@0c3.net>
19529 * locale/iso-4217.def: Reintroduce XDR currency.
19531 2014-05-04 Allan McRae <allan@archlinux.org>
19533 * po/eo.po: Update Esperanto translation from translation project.
19535 2014-05-02 Carlos O'Donell <carlos@redhat.com>
19537 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19538 and FEATURE_INDEX_MAX to 1.
19539 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19541 2014-05-01 Steve Ellcey <sellcey@mips.com>
19543 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19544 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19545 * iconvdata/big5.c (ONE_DIRECTION): Define.
19546 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19547 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19548 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19549 * iconvdata/cp932.c (ONE_DIRECTION): Define.
19550 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19551 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19552 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19553 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19554 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19555 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19556 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19557 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19558 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19559 * iconvdata/gbk.c (ONE_DIRECTION): Define.
19560 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19561 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19562 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19563 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19564 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19565 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19566 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19567 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19568 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19569 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19570 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19571 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19572 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19573 * iconvdata/iso646.c (ONE_DIRECTION): Define.
19574 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19575 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19576 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19577 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19578 * iconvdata/johab.c (ONE_DIRECTION): Define.
19579 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19580 * iconvdata/sjis.c (ONE_DIRECTION): Define.
19581 * iconvdata/t.61.c (ONE_DIRECTION): Define.
19582 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19583 * iconvdata/tscii.c (ONE_DIRECTION): Define.
19584 * iconvdata/uhc.c (ONE_DIRECTION): Define.
19585 * iconvdata/unicode.c (ONE_DIRECTION): Define.
19586 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19587 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19588 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19590 2014-05-01 Roland McGrath <roland@hack.frob.com>
19592 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19593 (_IO_JUMPS_OFFSET): Define to 0.
19595 * nptl/sysdeps/pthread/bits/libc-lock.h
19596 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19597 (__libc_lock_define_initialized_recursive): Always define using
19598 initializer. Modern compilers treat uninitialized (implicit zero) and
19599 explicit zero initializers the same (i.e. put the datum in bss).
19601 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19603 * nscd/nscd-client.h: Include <string.h>.
19605 2014-05-01 David S. Miller <davem@davemloft.net>
19608 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19609 multiple zero bytes exist at the end of a string.
19610 Reported by Aurelien Jarno <aurelien@aurel32.net>
19612 * string/test-strcmp.c (check): Add explicit test for situations where
19613 there are multiple zero bytes after the first.
19615 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19618 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19619 when compiling wprintf.
19620 * stdio-common/tstdiomisc.c (t3): New function.
19623 2014-05-01 Steve Ellcey <sellcey@mips.com>
19625 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19626 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19627 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19628 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19630 2014-05-01 Steve Ellcey <sellcey@mips.com>
19632 * stdlib/longlong.h: Updated from GCC.
19634 2014-05-01 Will Newton <will.newton@linaro.org>
19635 Bernard Ogden <bernie.ogden@linaro.org>
19637 * NEWS: Update fixed bug list.
19640 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19642 2014-04-30 David S. Miller <davem@davemloft.net>
19644 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19645 (libc_feholdexcept_setround_sparc_ctx): New function.
19646 (libc_fesetenv_sparc_ctx): Likewise.
19647 (libc_feupdateenv_sparc_ctx): Likewise.
19648 (libc_feholdsetround_sparc_ctx): Likewise.
19649 (libc_feholdexcept_setround_ctx): Define.
19650 (libc_feholdexcept_setroundf_ctx): Likewise.
19651 (libc_feholdexcept_setroundl_ctx): Likewise.
19652 (libc_fesetenv_ctx): Likewise.
19653 (libc_fesetenvf_ctx): Likewise.
19654 (libc_fesetenvl_ctx): Likewise.
19655 (libc_feupdateenv_ctx): Likewise.
19656 (libc_feupdateenvf_ctx): Likewise.
19657 (libc_feupdateenvl_ctx): Likewise.
19658 (libc_feresetround_ctx): Likewise.
19659 (libc_feresetroundf_ctx): Likewise.
19660 (libc_feresetroundl_ctx): Likewise.
19661 (libc_feholdsetround_ctx): Likewise.
19662 (libc_feholdsetroundf_ctx): Likewise.
19663 (libc_feholdsetroundl_ctx): Likewise.
19665 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19666 with __USE_GNU instead of XOPEN cpp guards.
19668 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19671 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19672 with XOPEN cpp guards.
19674 2014-04-30 Julian Brown <julian@codesourcery.com>
19677 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19680 2014-04-30 Joseph Myers <joseph@codesourcery.com>
19683 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19685 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19686 * sysdeps/unix/sysv/linux/configure: Regenerated.
19687 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19688 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19689 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19690 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19691 * README: Update reference to required Linux kernel version.
19692 * manual/install.texi (Linux): Update reference to required Linux
19693 kernel headers version.
19694 * INSTALL: Regenerated.
19696 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19698 [POSIX] (limits.h): Likewise.
19699 [POSIX] (math.h): Likewise.
19700 [POSIX] (sys/wait.h): Likewise.
19701 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19703 [POSIX] (stddef.h): Do not allow header inclusion.
19705 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19707 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19709 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
19711 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19712 Return immediately after lll_futex_wake.
19714 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19717 * nscd/nscd-client.h (datahead_init_common): Initialize entire
19719 (datahead_init_pos): Call datahead_init_common early.
19720 (datahead_init_neg): Likewise.
19722 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19723 datahead_init_neg): New functions.
19724 * nscd/aicache.c (addhstaiX): Use them.
19725 * nscd/grpcache.c (cache_addgr): Likewise.
19726 * nscd/hstcache.c (cache_addhst): Likewise.
19727 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19728 * nscd/netgroupcache.c (do_notfound): Likewise.
19729 (addgetnetgrentX): Likewise.
19730 (addinnetgrX): Likewise.
19731 * nscd/pwdcache.c (cache_addpw): Likewise.
19732 * nscd/servicescache.c (cache_addserv): Likewise.
19734 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19735 Atsushi Onoe <atsushi@onoe.org>
19740 * resolv/res_query.c (__libc_res_nsearch): Return if at least
19741 one response is valid.
19742 * resolv/res_send.c (send_dg): Check for validity of other
19743 response if the current response is a referral.
19745 2014-04-29 Steve Ellcey <sellcey@mips.com>
19747 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19749 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
19752 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19753 Always divide by positive zero when computing -Inf result.
19754 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19755 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19757 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19759 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19760 FPSCR if value do not change.
19761 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19762 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19763 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19764 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19765 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19766 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19769 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
19771 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19772 * sysdeps/unix/sysv/linux/hppa: Move directory from
19773 ports/systeps/unix/sysv/linux/hppa.
19774 * README: Update listing for hppa-*-linux-gnu.
19776 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
19779 * manual/stdio.texi (Hook functions): Fix types of stream hook
19782 * socket/sys/socket.h: Fix typo in comment.
19784 2014-04-28 Wilco <wdijkstr@arm.com>
19786 * sysdeps/arm/fenv_private.h: New file.
19787 * sysdeps/arm/math_private.h: New file.
19788 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19790 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
19792 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19794 (La_x86_64_retval): Likewise.
19796 2014-04-24 Ian Bolton <ian.bolton@arm.com>
19798 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19799 fpsr if value didn't change.
19800 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19801 to fpcr if value didn't change.
19802 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19803 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19804 fpsr or fpcr if value didn't change.
19805 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19806 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19807 fpcr if value didn't change.
19808 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19809 to fpsr if value didn't change.
19811 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19813 * nptl/tst-sem3.c: Use test-skeleton.c
19814 (main): Rename to do_test. Use return instead of
19816 * nptl/tst-sem4.c: Use test-skeleton.c
19817 (main): Rename to do_test.
19819 2014-04-22 David S. Miller <davem@davemloft.net>
19821 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19822 (struct sigaction): New struct member __glibc_reserved0, change
19823 type of sa_flags to int.
19825 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
19827 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19828 (COUNT_LEADING_ZEROS_0): Define for AArch64.
19830 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19832 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19833 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19835 2014-04-22 Will Newton <will.newton@linaro.org>
19836 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
19838 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19839 (__longjmp): Add longjmp and longjmp_target SystemTap
19841 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19842 (__sigsetjmp): Add setjmp SystemTap probe.
19844 2014-04-17 Carlos O'Donell <carlos@redhat.com>
19846 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19847 match manual order.
19849 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19851 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19853 * sysdeps/powerpc/fpu/fenv_private.h
19854 (libc_feholdexcept_setroundl_ctx): Define to
19855 libc_feholdexcept_setround_ppc_ctx.
19856 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19857 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19858 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19859 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19861 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19863 * sysdeps/aarch64/math-tests.h: New file.
19865 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
19867 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19870 Check and set bit_AVX2_Usable.
19871 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19873 (bit_AVX2): Likewise.
19874 (index_AVX2_Usable): Likewise.
19875 (CPUID_AVX2): Likewise.
19876 (HAS_AVX2): Likewise.
19878 2014-04-17 Will Newton <will.newton@linaro.org>
19880 * manual/setjmp.texi (System V contexts): Add note that
19881 calling setcontext on a context created by a call to a
19882 signal handler is undefined. Update text to note that
19883 setcontext from a signal handler is possible but not
19887 * stdlib/tst-setcontext.c: Include signal.h.
19888 (main): Check that the signal stack before and
19889 after swapcontext is the same.
19891 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19892 Re-implement to restore registers in user code and avoid
19893 rt_sigreturn system call.
19895 2014-04-17 Wilco <wdijkstr@arm.com>
19897 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19898 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19899 * math/test-fenv.c: Skip exception trap tests on targets which only
19900 support non-stop mode.
19902 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19903 Wilco Dijkstra <wilco.dijkstra@arm.com>
19905 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19906 (libc_feholdsetround_aarch64_ctx)
19907 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19908 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19909 (libc_feresetround_ctx, libc_feresetroundf_ctx)
19910 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19911 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19912 (libc_feresetround_noexl_ctx): Define.
19914 2014-04-16 Richard Henderson <rth@redhat.com>
19916 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19918 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19921 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19922 const from the non-libc, non-ldso copy.
19924 * sysdeps/alpha/libm-test-ulps: Regenerate.
19926 2014-04-16 Ian Bolton <ian.bolton@arm.com>
19927 Wilco Dijkstra <wilco.dijkstra@arm.com>
19929 * sysdeps/aarch64/fpu/math_private.h: New file.
19931 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
19933 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19935 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
19938 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19939 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19940 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19941 Intel MPX bound registers before _dl_profile_fixup.
19942 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19943 registers after _dl_profile_fixup. Save and restore bound
19944 registers bnd0/bnd1 when calling _dl_call_pltexit.
19945 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19946 (LR_BND_OFFSET): Likewise.
19947 (LRV_BND0_OFFSET): Likewise.
19948 (LRV_BND1_OFFSET): Likewise.
19950 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19952 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19954 * sysdeps/mach/hurd/i386/tls.h: ... here.
19955 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19956 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19959 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19961 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19963 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19965 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19967 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19970 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19971 * sysdeps/s390/configure: Regenerate.
19974 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19975 Set round-to-nearest internally to reduce error accumulation.
19977 2014-04-16 Alan Modra <amodra@gmail.com>
19981 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19982 * math/libm-test.inc (frexp_test_data): Add tests.
19983 * NEWS: Update fixed bug list.
19985 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19987 * benchtests/Makefile: Depend on libraries in build directory.
19988 (bench-math): Separate out math tests.
19989 (bench-pthread): Separate out pthread tests.
19990 (bench): Include math and pthread tests.
19992 2014-04-14 Carlos O'Donell <carlos@redhat.com>
19995 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19996 _dl_debug_initialize.
19998 * configure.ac: Remove SELinux header check.
19999 * configure: Regenerate.
20000 * nscd/selinux.c (perms): Array of const char* to permission names.
20001 (nscd_request_avc_has_perm): Call security_deny_unknown to find
20002 default policy. Call string_to_security_class and string_to_av_perm to
20003 translate strings. Enforce default policy and call avs_has_perm with
20004 results of translated strings.
20006 2014-04-13 David S. Miller <davem@davemloft.net>
20008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20010 2014-04-12 Allan McRae <allan@archlinux.org>
20013 * manual/string.texi (Collation Functions): Fix qsort argument
20015 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20017 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
20019 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20020 Make the test a no-op if there are no exceptions defined.
20022 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20024 * elf/Makefile (tests): make tst-dlopen-aout conditional on
20025 enable-hardcoded-path-in-tests
20027 2014-04-11 Will Newton <will.newton@linaro.org>
20029 * benchtests/Makefile (extra-objs): Add json-lib.o.
20030 (bench-func): Tidy up JSON output.
20031 * benchtests/bench-skeleton.c: Include json-lib.h.
20032 (main): Use JSON library functions to do output of
20034 * benchtests/bench-timing-type.c (main): Output the
20035 timing type simply, leaving formatting to the user.
20036 * benchtests/json-lib.c: New file.
20037 * benchtests/json-lib.h: Likewise.
20039 2014-04-11 Torvald Riegel <triegel@redhat.com>
20042 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20043 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
20044 memory barriers. Add comments.
20045 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20046 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20047 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20048 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20049 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20050 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20052 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20054 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20055 * sysdeps/s390/s390-64/configure.ac: ... this ...
20056 * sysdeps/s390/configure.ac: ... to here.
20057 * sysdeps/s390/s390-32/configure: Delete file.
20058 * sysdeps/s390/s390-64/configure: Delete file.
20059 * sysdeps/s390/configure: Regenerate.
20061 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
20063 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20065 2014-04-11 Will Newton <will.newton@linaro.org>
20067 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20068 to zero if it is not defined elsewhere. (mtrim): Test
20069 the value of MALLOC_DEBUG with #if rather than #ifdef.
20071 2014-04-10 Torvald Riegel <triegel@redhat.com>
20073 * benchtests/pthread_once-inputs: New file.
20074 * benchtests/pthread_once-source.c: New file.
20075 * benchtests/README: Update documentation.
20077 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
20078 H.J. Lu <hongjiu.lu@intel.com>
20081 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20082 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20083 * sysdeps/x86_64/configure: Regenerated.
20084 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20086 (REGISTER_SAVE_RAX): Likewise.
20087 (REGISTER_SAVE_RCX): Likewise.
20088 (REGISTER_SAVE_RDX): Likewise.
20089 (REGISTER_SAVE_RSI): Likewise.
20090 (REGISTER_SAVE_RDI): Likewise.
20091 (REGISTER_SAVE_R8): Likewise.
20092 (REGISTER_SAVE_R9): Likewise.
20093 (REGISTER_SAVE_BND0): Likewise.
20094 (REGISTER_SAVE_BND1): Likewise.
20095 (REGISTER_SAVE_BND2): Likewise.
20096 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
20097 bound registers when calling _dl_fixup.
20099 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20101 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20102 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20104 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20105 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20106 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20107 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20108 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20109 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20110 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20112 2014-04-09 Peter Brett <peter@peter-b.co.uk>
20115 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20116 pathconf(_PC_NAME_MAX).
20118 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20120 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20121 Remove macro usage.
20122 (__PTHREAD_SPINS): Move definition to ...
20123 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20124 (__PTHREAD_SPINS): ... here.
20125 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20126 (__PTHREAD_SPIN): Likewise.
20127 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20128 (__PTHREAD_SPIN): Likewise.
20129 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20130 (__PTHREAD_SPIN): Likewise.
20131 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20132 (__PTHREAD_SPIN): Likewise.
20133 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20134 (__PTHREAD_SPIN): Likewise.
20135 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20136 (__PTHREAD_SPIN): Likewise.
20137 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20138 (__PTHREAD_SPIN): Likewise.
20139 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20140 (__PTHREAD_SPIN): Likewise.
20141 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20142 (__PTHREAD_SPIN): Likewise.
20143 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20144 (__PTHREAD_SPIN): Likewise.
20145 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20146 (__PTHREAD_SPIN): Likewise.
20147 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20148 (__PTHREAD_SPIN): Likewise.
20150 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20151 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20152 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20153 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20155 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20156 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20157 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20158 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20159 correct imply path.
20160 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20161 strlen symbol for non multi-arch builds.
20162 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20163 missing hidden_def and weak_alias.
20165 2014-04-08 Carlos O'Donell <carlos@redhat.com>
20167 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20169 2014-04-07 Will Newton <will.newton@linaro.org>
20171 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20172 and contents. [!_LIBC] Remove #ifndef and contents.
20173 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
20174 * string/memccpy.c (__memccpy): Use ANSI prototype.
20175 * string/memfrob.c (memfrob): Likewise.
20176 * string/strcoll.c (STRCOLL): Likewise.
20177 * string/strlen.c (strlen): Likewise.
20178 * string/strtok.c (STRTOK): Likewise.
20179 * string/strcat.c: Remove unused #include of memcopy.h.
20180 (strcat): Use ANSI prototype.
20181 * string/strchr.c: Remove unused #include of memcopy.h.
20182 (strchr): Use ANSI prototype.
20183 * string/strcmp.c: Remove unused #include of memcopy.h.
20184 (strcmp): Use ANSI prototype.
20185 * string/strcpy.c: Remove unused #include of memcopy.h.
20186 (strcpy): Use ANSI prototype.
20188 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20190 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20191 * config.make.in (config-extra-cppflags): Set it from
20192 libc_extra_cppflags.
20193 * configure.ac (libc_extra_cflags): Make it accumulate over
20194 configure fragments.
20195 (libc_extra_cppflags): New flag.
20196 * configure. Regenerate.
20197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20198 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20199 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20203 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20204 result for FE_DOWNWARD rounding mode.
20205 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20209 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
20211 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20212 in function argument name.
20214 2014-04-03 David Svoboda <svoboda@cert.org>
20217 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20220 2014-04-03 Roland McGrath <roland@hack.frob.com>
20222 * elf/dl-unmap-segments.h: New file.
20223 * sysdeps/generic/ldsodefs.h
20224 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20225 * elf/dl-close.c: Include <dl-unmap-segments.h>.
20226 * elf/dl-fptr.c: Likewise.
20227 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20228 * sysdeps/aarch64/tlsdesc.c: Likewise.
20229 * sysdeps/arm/tlsdesc.c: Likewise.
20230 * sysdeps/i386/tlsdesc.c: Likewise.
20231 * sysdeps/tile/dl-runtime.c: Likewise.
20232 * sysdeps/x86_64/tlsdesc.c: Likewise.
20233 * elf/dl-load.h: New file.
20234 * elf/dl-load.c: Include it.
20235 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20236 Macros moved to dl-load.h.
20237 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20238 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20239 Use _dl_unmap_segments in place of __munmap.
20240 Break out segment-mapping loop into ...
20241 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20243 2014-04-03 Will Newton <will.newton@linaro.org>
20245 * elf/dl-lookup.c (do_lookup_x): Remove comment
20246 referring to nested function and move variable
20247 declarations down to before first use.
20249 2014-04-02 Joseph Myers <joseph@codesourcery.com>
20253 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20255 * math/s_catanf.c (__catanf): Likewise.
20256 * math/s_catanh.c (__catanh): Likewise.
20257 * math/s_catanhf.c (__catanhf): Likewise.
20258 * math/s_catanhl.c (__catanhl): Likewise.
20259 * math/s_catanl.c (__catanl): Likewise.
20260 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20261 by positive zero when computing -Inf result.
20262 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20263 (catanh_test): Likewise.
20264 * sysdeps/i386/fpu/libm-test-ulps: Update.
20265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20268 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20269 instead of using underflowing value in computing result.
20270 * math/s_clog10.c (__clog10): Likewise.
20271 * math/s_clog10f.c (__clog10f): Likewise.
20272 * math/s_clog10l.c (__clog10l): Likewise.
20273 * math/s_clogf.c (__clogf): Likewise.
20274 * math/s_clogl.c (__clogl): Likewise.
20275 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20276 (clog10_test): Likewise.
20277 * sysdeps/i386/fpu/libm-test-ulps: Update.
20278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20280 2014-04-02 Alan Modra <amodra@gmail.com>
20283 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20284 output when value is near a power of two. Use int64_t for lx and
20285 remove casts. Use decimal rather than hex exponent constants.
20286 Don't use long double multiplication when double will suffice.
20287 * math/libm-test.inc (nextafter_test_data): Add tests.
20288 * NEWS: Add 16739 and 16786 to bug list.
20290 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20292 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20294 2014-04-01 Will Newton <will.newton@linaro.org>
20296 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20297 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
20299 2014-04-01 Florian Weimer <fweimer@redhat.com>
20302 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20303 * nptl/tst-setuid2.c: New file.
20304 * nptl/Makefile (xtests): Add tst-setuid2.
20306 2014-04-01 Alan Modra <amodra@gmail.com>
20309 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20311 2014-03-31 Joseph Myers <joseph@codesourcery.com>
20315 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20316 set errno as appropriate.
20317 * math/w_scalbf.c (__scalbf): Likewise.
20318 * math/w_scalbl.c (__scalbl): Likewise.
20319 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20320 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20321 * math/libm-test.inc (scalb_test_data): Add errno expectations.
20322 Add more NaN tests.
20325 * math/w_atan2.c: Include <errno.h>.
20326 (__atan2): Set errno for result underflowing to zero.
20327 * math/w_atan2f.c: Include <errno.h>.
20328 (__atan2f): Set errno for result underflowing to zero.
20329 * math/w_atan2l.c: Include <errno.h>.
20330 (__atan2l): Set errno for result underflowing to zero.
20331 * math/auto-libm-test-in: Don't allow missing errno for some atan2
20333 * math/auto-libm-test-out: Regenerated.
20335 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20337 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20338 Encode instruction correctly in little endian.
20339 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20341 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20343 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20345 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20348 2014-03-31 Joseph Myers <joseph@codesourcery.com>
20351 * sysdeps/unix/sysv/linux/kernel-features.h
20352 [__sparc__ && !__arch64__ && !__sparc_v9__]
20353 (__ASSUME_SET_ROBUST_LIST): Do not define.
20354 [__sparc__ && !__arch64__ && !__sparc_v9__]
20355 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20356 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20358 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20359 (__ASSUME_FUTEX_LOCK_PI): Undefine.
20360 (__ASSUME_REQUEUE_PI): Likewise.
20361 (__ASSUME_SET_ROBUST_LIST): Likewise.
20362 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20363 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20365 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20366 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20368 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20370 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20372 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20373 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20375 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20376 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20380 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20381 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20382 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20384 2014-03-31 Will Newton <will.newton@linaro.org>
20386 * benchtests/Makefile (bench): Add ffs and ffsll to list
20388 * benchtests/ffs-inputs: New file.
20389 * benchtests/ffsll-inputs: Likewise.
20391 2014-03-29 Joseph Myers <joseph@codesourcery.com>
20394 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20395 too large before casting to int.
20396 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20397 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20398 * math/libm-test.inc (scalb_test_data): Add more tests.
20400 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20402 * benchtests/Makefile (DETAILED_OPT): New make option.
20403 (bench-func): Run benchmark program with -d if DETAILED_OPT is
20405 * benchtests/bench-skeleton.c: Include stdbool.h.
20406 (main): Store and print timings per input.
20407 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20408 member to each argument value.
20409 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20410 (_print_arg_data): Initialize per-input timing to 0.
20412 * benchtests/Makefile (timing-type): New binary.
20413 (bench-clean): Also remove bench-timing-type.
20414 (bench): New target for timing-type.
20415 (bench-func): Print output in JSON format.
20416 * benchtests/bench-skeleton.c (main): Print output in JSON
20418 * benchtests/bench-timing-type.c: New file.
20419 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20420 (TIMING_PRINT_STATS): Remove.
20421 * benchtests/scripts/bench.py (_print_arg_data): Store variant
20424 * benchtests/bench-modf.c: Remove.
20425 * benchtests/modf-inputs: New inputs file.
20427 2014-03-28 Joseph Myers <joseph@codesourcery.com>
20430 * math/s_clog10.c (M_PI_LOG10E): New macro.
20431 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20432 imaginary parts are 0.
20433 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20434 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20435 imaginary parts are 0.
20436 * math/s_clog10l.c (M_PI_LOG10El): New macro.
20437 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20438 imaginary parts are 0.
20439 * math/libm-test.inc (clog10_test_data): Update expected results
20440 for when real and imaginary parts are 0.
20442 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
20444 * elf/dl-load.c: Finish conversion of __builtin_expect into
20445 __glibc_{un}likely.
20447 2014-03-27 Joseph Myers <joseph@codesourcery.com>
20450 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20451 1+x for argument with exponent below -67.
20452 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20454 * math/auto-libm-test-in: Add more tests of exp.
20455 * math/auto-libm-test-out: Regenerated.
20457 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20460 * inet/getnetgrent_r.c (get_nonempty_val): New function.
20461 (nscd_getnetgrent): Use it.
20464 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20467 2014-03-27 Andi Kleen <ak@linux.intel.com>
20469 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20470 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20471 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20472 (lll_robust_unlock): Remove out of line section. Use cfi
20474 (LLL_STUB_UNWIND_INFO*): Remove.
20475 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20476 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20477 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20478 (lll_robust_unlock): Remove out of line section. Use cfi
20480 (LLL_STUB_UNWIND_INFO*): Remove.
20482 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20485 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20488 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
20490 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20492 2014-03-26 Joseph Myers <joseph@codesourcery.com>
20495 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20497 * math/test-fenv-preserve.c: New file.
20498 * math/Makefile (tests): Add test-fenv-preserve.
20500 2014-03-26 Will Newton <will.newton@linaro.org>
20502 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20504 2014-03-25 Roland McGrath <roland@hack.frob.com>
20506 * scripts/versionlist.awk: Partition the version sets and emit all
20507 GLIBC_* (sorted) before all others (sorted).
20509 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20511 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20512 GLIBC_2.2.5 version.
20514 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20516 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20519 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20524 2014-03-25 Andreas Schwab <schwab@suse.de>
20526 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20527 label to be used after in6ailist is initialized.
20529 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20531 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20532 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20534 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20538 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20540 (fp_formats): Update initializers.
20541 (init_fp_formats): Initialize new field.
20542 (output_for_one_input_case): Allow underflow for results up to
20544 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20545 * math/auto-libm-test-in: Don't mark some underflows from asin and
20547 * math/auto-libm-test-out: Regenerated.
20548 * sysdeps/i386/fpu/libm-test-ulps: Update.
20549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20551 2014-03-25 Andreas Schwab <schwab@suse.de>
20553 * libio/Makefile (tst-ftell-partial-wide-ENV)
20554 (tst-ftell-active-handler-ENV): Define.
20556 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20558 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20560 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20562 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20564 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20566 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20567 * sysdeps/x86_64/fpu/multiarch/e_exp.c
20568 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20570 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20573 * elf/dl-load.c (open_verify): Add mode parameter.
20574 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20575 (open_path): Change from boolean 'secure' to complete flag 'mode'
20576 (_dl_map_object): Adjust.
20577 * elf/Makefile (tests): Add tst-dlopen-aout.
20578 * elf/tst-dlopen-aout.c: New test.
20580 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20583 * sysdeps/unix/sysv/linux/s390/bits/stat.h
20584 (struct stat): Rename member pad0 to __glibc_reserved0.
20587 * sysdeps/s390/s390-32/bits/wordsize.h
20588 (__WORDSIZE32_SIZE_ULONG): New define.
20589 * sysdeps/s390/s390-64/bits/wordsize.h
20590 (__WORDSIZE32_SIZE_ULONG): Likewise.
20591 * sysdeps/generic/stdint.h (SIZE_MAX):
20592 Define as UL if __WORDSIZE32_SIZE_ULONG.
20595 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20596 (__glibc_reserved0): New variable.
20597 (sa_flags): Change type to int.
20599 * posix/Makefile (before-compile): Use += before-compile instead
20602 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20603 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20605 2014-03-20 Andreas Schwab <schwab@suse.de>
20608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20609 non-matching result from nscd.
20611 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20613 * scripts/bench.py: Moved to ...
20614 * benchtests/scripts/bench.py: ... here.
20615 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20617 2014-03-24 Andreas Schwab <schwab@suse.de>
20620 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20621 alloca_account and account alloca use for struct in6ailist.
20623 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20626 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20627 rounding mode to recompute results that overflow to infinity or
20629 * math/auto-libm-test-in: Don't mark tests as expected to fail for
20631 * math/auto-libm-test-out: Regenerated.
20632 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20633 (ccosh_test): Likewise.
20634 (csin_test_data): Use plus_oflow.
20635 (csin_test): Use ALL_RM_TEST.
20636 (csinh_test_data): Use plus_oflow.
20637 (csinh_test): Use ALL_RM_TEST.
20638 * sysdeps/i386/fpu/libm-test-ulps: Update.
20639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20641 2014-03-21 Joseph Myers <joseph@codesourcery.com>
20643 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20644 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20645 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20648 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20649 when x - 1 is zero.
20650 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20651 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20652 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20653 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20655 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20656 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20658 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20659 * sysdeps/i386/fpu/libm-test-ulps: Update.
20660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20662 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20664 * scripts/bench.pl: Remove file.
20665 * scripts/bench.py: New benchmark script.
20666 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20667 * benchtests/README: Mention python dependency.
20668 * scripts/pylintrc: New file.
20669 * scripts/pylint: New file.
20671 * bits/mathdef.h: Use #ifdef instead of #if.
20672 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20673 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20674 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20675 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20676 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20677 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20679 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20680 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20682 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20684 and strpbrk-ppc64 objects.
20685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20686 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20687 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20688 multiarch strpbrk for POWER7.
20689 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20690 multiarch strpbrk for PPC64.
20691 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20693 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20694 strpbrk for POWER7.
20696 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20698 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20699 (atan_test): Likewise.
20700 (atanh_test_data): Use NO_TEST_INLINE for two tests.
20701 (atanh_test): Use ALL_RM_TEST.
20702 (atan2_test_data): Likewise.
20703 (cabs_test): Likewise.
20704 (cacosh_test): Likewise.
20705 (carg_test): Likewise.
20706 (casin_test): Likewise.
20707 (casinh_test): Likewise.
20708 (cbrt_test): Likewise.
20709 (csqrt_test): Likewise.
20710 (erf_test): Likewise.
20711 (erfc_test): Likewise.
20712 (pow10_test): Likewise.
20713 (exp2_test): Likewise.
20714 (hypot_test): Likewise.
20715 (j0_test): Likewise.
20716 (j1_test): Likewise.
20717 (lgamma_test): Likewise.
20718 (gamma_test): Likewise.
20719 (sincos_test): Likewise.
20720 (tanh_test): Likewise.
20721 (y0_test): Likewise.
20722 (y1_test): Likewise.
20723 * sysdeps/i386/fpu/libm-test-ulps: Update.
20724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20726 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20728 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20730 and strcspn-ppc64 objects.
20731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20732 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20733 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20734 multiarch strcspn for POWER7.
20735 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20736 multiarch strcspn for PPC64.
20737 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20739 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20740 strcspn for POWER7.
20742 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20744 * math/gen-libm-test.pl (generate_testfile): Expect only function
20745 name as argument to AUTO_TESTS_* and pass results for all rounding
20746 modes to parse_args.
20747 (parse_auto_input): Separate inputs of automatic tests from
20748 outputs before storing in %auto_tests.
20749 * math/libm-test.inc (acos_test_data): Update call to
20751 (acos_test): Use ALL_RM_TEST.
20752 (acos_tonearest_test_data): Remove.
20753 (acos_test_tonearest): Likewise.
20754 (acos_towardzero_test_data): Likewise.
20755 (acos_test_towardzero): Likewise.
20756 (acos_downward_test_data): Likewise.
20757 (acos_test_downward): Likewise.
20758 (acos_upward_test_data): Likewise.
20759 (acos_test_upward): Likewise.
20760 (acosh_test_data): Update call to AUTO_TESTS_f_f.
20761 (asin_test_data): Likewise.
20762 (asin_test): Use ALL_RM_TEST.
20763 (asin_tonearest_test_data): Remove.
20764 (asin_test_tonearest): Likewise.
20765 (asin_towardzero_test_data): Likewise.
20766 (asin_test_towardzero): Likewise.
20767 (asin_downward_test_data): Likewise.
20768 (asin_test_downward): Likewise.
20769 (asin_upward_test_data): Likewise.
20770 (asin_test_upward): Likewise.
20771 (asinh_test_data): Update call to AUTO_TESTS_f_f.
20772 (atan_test_data): Likewise.
20773 (atanh_test_data): Likewise.
20774 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20775 (cabs_test_data): Update call to AUTO_TESTS_c_f.
20776 (carg_test_data): Likewise.
20777 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20778 (ccos_test_data): Update call to AUTO_TESTS_c_c.
20779 (ccosh_test_data): Likewise.
20780 (cexp_test_data): Likewise.
20781 (clog_test_data): Likewise.
20782 (clog10_test_data): Likewise.
20783 (cos_test_data): Update call to AUTO_TESTS_f_f.
20784 (cos_test): Use ALL_RM_TEST.
20785 (cos_tonearest_test_data): Remove.
20786 (cos_test_tonearest): Likewise.
20787 (cos_towardzero_test_data): Likewise.
20788 (cos_test_towardzero): Likewise.
20789 (cos_downward_test_data): Likewise.
20790 (cos_test_downward): Likewise.
20791 (cos_upward_test_data): Likewise.
20792 (cos_test_upward): Likewise.
20793 (cosh_test_data): Update call to AUTO_TESTS_f_f.
20794 (cosh_test): Use ALL_RM_TEST.
20795 (cosh_tonearest_test_data): Remove.
20796 (cosh_test_tonearest): Likewise.
20797 (cosh_towardzero_test_data): Likewise.
20798 (cosh_test_towardzero): Likewise.
20799 (cosh_downward_test_data): Likewise.
20800 (cosh_test_downward): Likewise.
20801 (cosh_upward_test_data): Likewise.
20802 (cosh_test_upward): Likewise.
20803 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20804 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20805 (ctan_test_data): Likewise.
20806 (ctan_test): Use ALL_RM_TEST.
20807 (ctan_tonearest_test_data): Remove.
20808 (ctan_test_tonearest): Likewise.
20809 (ctan_towardzero_test_data): Likewise.
20810 (ctan_test_towardzero): Likewise.
20811 (ctan_downward_test_data): Likewise.
20812 (ctan_test_downward): Likewise.
20813 (ctan_upward_test_data): Likewise.
20814 (ctan_test_upward): Likewise.
20815 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20816 (ctanh_test): Use ALL_RM_TEST.
20817 (ctanh_tonearest_test_data): Remove.
20818 (ctanh_test_tonearest): Likewise.
20819 (ctanh_towardzero_test_data): Likewise.
20820 (ctanh_test_towardzero): Likewise.
20821 (ctanh_downward_test_data): Likewise.
20822 (ctanh_test_downward): Likewise.
20823 (ctanh_upward_test_data): Likewise.
20824 (ctanh_test_upward): Likewise.
20825 (erf_test_data): Update call to AUTO_TESTS_f_f.
20826 (erfc_test_data): Likewise.
20827 (exp_test_data): Likewise.
20828 (exp_test): Use ALL_RM_TEST.
20829 (exp_tonearest_test_data): Remove.
20830 (exp_test_tonearest): Likewise.
20831 (exp_towardzero_test_data): Likewise.
20832 (exp_test_towardzero): Likewise.
20833 (exp_downward_test_data): Likewise.
20834 (exp_test_downward): Likewise.
20835 (exp_upward_test_data): Likewise.
20836 (exp_test_upward): Likewise.
20837 (exp10_test_data): Update call to AUTO_TESTS_f_f.
20838 (exp10_test): Use ALL_RM_TEST.
20839 (exp10_tonearest_test_data): Remove.
20840 (exp10_test_tonearest): Likewise.
20841 (exp10_towardzero_test_data): Likewise.
20842 (exp10_test_towardzero): Likewise.
20843 (exp10_downward_test_data): Likewise.
20844 (exp10_test_downward): Likewise.
20845 (exp10_upward_test_data): Likewise.
20846 (exp10_test_upward): Likewise.
20847 (exp2_test_data): Update call to AUTO_TESTS_f_f.
20848 (expm1_test_data): Likewise.
20849 (expm1_test): Use ALL_RM_TEST.
20850 (expm1_tonearest_test_data): Remove.
20851 (expm1_test_tonearest): Likewise.
20852 (expm1_towardzero_test_data): Likewise.
20853 (expm1_test_towardzero): Likewise.
20854 (expm1_downward_test_data): Likewise.
20855 (expm1_test_downward): Likewise.
20856 (expm1_upward_test_data): Likewise.
20857 (expm1_test_upward): Likewise.
20858 (fma_test_data): Update call to AUTO_TESTS_fff_f.
20859 (fma_test): Use ALL_RM_TEST.
20860 (fma_towardzero_test_data): Remove.
20861 (fma_test_towardzero): Likewise.
20862 (fma_downward_test_data): Likewise.
20863 (fma_test_downward): Likewise.
20864 (fma_upward_test_data): Likewise.
20865 (fma_test_upward): Likewise.
20866 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20867 (j0_test_data): Update call to AUTO_TESTS_f_f.
20868 (j1_test_data): Likewise.
20869 (jn_test_data): Update call to AUTO_TESTS_if_f.
20870 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20871 (log_test_data): Update call to AUTO_TESTS_f_f.
20872 (log10_test_data): Likewise.
20873 (log1p_test_data): Likewise.
20874 (log2_test_data): Likewise.
20875 (pow_test_data): Update call to AUTO_TESTS_ff_f.
20876 (pow_tonearest_test_data): Likewise.
20877 (sin_test_data): Update call to AUTO_TESTS_f_f.
20878 (sin_test): Use ALL_RM_TEST.
20879 (sin_tonearest_test_data): Remove.
20880 (sin_test_tonearest): Likewise.
20881 (sin_towardzero_test_data): Likewise.
20882 (sin_test_towardzero): Likewise.
20883 (sin_downward_test_data): Likewise.
20884 (sin_test_downward): Likewise.
20885 (sin_upward_test_data): Likewise.
20886 (sin_test_upward): Likewise.
20887 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20888 (sinh_test_data): Update call to AUTO_TESTS_f_f.
20889 (sinh_test): Use ALL_RM_TEST.
20890 (sinh_tonearest_test_data): Remove.
20891 (sinh_test_tonearest): Likewise.
20892 (sinh_towardzero_test_data): Likewise.
20893 (sinh_test_towardzero): Likewise.
20894 (sinh_downward_test_data): Likewise.
20895 (sinh_test_downward): Likewise.
20896 (sinh_upward_test_data): Likewise.
20897 (sinh_test_upward): Likewise.
20898 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20899 (sqrt_test): Use ALL_RM_TEST.
20900 (sqrt_tonearest_test_data): Remove.
20901 (sqrt_test_tonearest): Likewise.
20902 (sqrt_towardzero_test_data): Likewise.
20903 (sqrt_test_towardzero): Likewise.
20904 (sqrt_downward_test_data): Likewise.
20905 (sqrt_test_downward): Likewise.
20906 (sqrt_upward_test_data): Likewise.
20907 (sqrt_test_upward): Likewise.
20908 (tan_test_data): Update call to AUTO_TESTS_f_f.
20909 (tan_test): Use ALL_RM_TEST.
20910 (tan_tonearest_test_data): Remove.
20911 (tan_test_tonearest): Likewise.
20912 (tan_towardzero_test_data): Likewise.
20913 (tan_test_towardzero): Likewise.
20914 (tan_downward_test_data): Likewise.
20915 (tan_test_downward): Likewise.
20916 (tan_upward_test_data): Likewise.
20917 (tan_test_upward): Likewise.
20918 (tanh_test_data): Update call to AUTO_TESTS_f_f.
20919 (tgamma_test_data): Likewise.
20920 (y0_test_data): Likewise.
20921 (y1_test_data): Likewise.
20922 (yn_test_data): Update call to AUTO_TESTS_if_f.
20923 (main): Do not call removed functions.
20925 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20927 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20928 (ldexp_test_data): Remove.
20929 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
20931 (scalb_test): Use ALL_RM_TEST.
20933 2014-03-19 Andreas Schwab <schwab@suse.de>
20935 * nscd/nscd.service: Also invalidate netgroup cache on reload.
20937 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20940 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20941 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20942 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20943 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20944 (__ASSUME_PREADV): Undefine.
20945 (__ASSUME_PWRITEV): Likewise.
20947 2014-03-18 Roland McGrath <roland@hack.frob.com>
20949 * bits/mman-linux.h: Add comment about non-Linux use.
20950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20951 bits/mman-linux.h resting place.
20953 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20954 * bits/mman-linux.h: ... here.
20956 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20958 * conform/conformtest.pl: Add standard definition when calling C
20959 preprocessor on data files.
20960 (checknamespace): Remove unused variable.
20962 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20964 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20965 minus_oflow, plus_uflow and minus_uflow in expected results.
20966 * math/libm-test.inc (scalbn_test_data): Add more tests of
20967 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
20969 (scalbn_test): Use ALL_RM_TEST.
20970 (scalbln_test_data): Add more tests of negative arguments. Use
20971 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20972 (scalbln_test): Use ALL_RM_TEST.
20974 2014-03-18 Roland McGrath <roland@hack.frob.com>
20976 * scripts/abilist.awk: Ignore symbols marked with .hidden.
20978 2014-03-18 Will Newton <will.newton@linaro.org>
20980 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20981 inaccurate comment.
20983 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20985 * Makerules [!subdir] (check-abi): Exit with error status if a
20988 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20990 * math/libm-test.inc (nearbyint_test_data): Include all tests used
20991 for rint. Include results for all rounding modes.
20992 (nearbyint_test): Use ALL_RM_TEST.
20993 (rint_test_data): Include all tests used for nearbyint.
20995 2014-03-17 Will Newton <will.newton@linaro.org>
20997 * nptl/sysdeps/pthread/pthread.h: Revert previous
21000 * sysdeps/generic/ldsodefs.h: Revert previous
21003 * libio/genops.c: Revert previous change.
21004 * libio/libioP.h: Likewise.
21005 * stdio-common/vfprintf.c: Likewise.
21007 * sysdeps/generic/math_private.h: Revert previous
21010 * sysdeps/generic/math_private.h: Check whether
21011 HAVE_RM_CTX is defined with #ifdef rather
21014 * argp/argp-fmtstream.h: Check whether
21015 __STRICT_ANSI__ is defined with #ifdef rather
21017 * argp/argp.h: Likewise.
21019 * libio/genops.c: Check whether
21020 _IO_JUMPS_OFFSET is defined with #ifdef rather
21022 * libio/libioP.h: Likewise.
21023 * stdio-common/vfprintf.c: Likewise.
21025 * sysdeps/generic/ldsodefs.h: Check whether
21026 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21029 * nptl/sysdeps/pthread/pthread.h: Check
21030 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21033 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21035 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21037 * libio/tst-ftell-active-handler.c (do_append_test): Add a
21041 * libio/fileops.c (_IO_file_open): Seek to end of file but
21042 don't cache the offset.
21043 (get_file_offset): Remove function.
21044 (do_ftell): Use cached offset when available.
21045 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21046 don't cache the offset.
21047 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21049 (do_one_test): Call it.
21050 (do_ftell_test): Fix up expected old offset for a+ mode.
21051 * libio/wfileops.c (do_ftell_wide): Used cached offset when
21054 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21055 up test status with function return status.
21056 (do_write_test): Likewise.
21057 (do_append_test): Likewise.
21059 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21060 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21063 2014-03-17 Joseph Myers <joseph@codesourcery.com>
21065 * math/gen-libm-test.pl (parse_args): Handle results specified for
21066 each rounding mode separately.
21067 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21068 tests and results from lrint_tonearest_test_data,
21069 lrint_towardzero_test_data, lrint_downward_test_data and
21070 lrint_upward_test_data.
21071 (lrint_test): Use ALL_RM_TEST.
21072 (lrint_tonearest_test_data): Remove.
21073 (lrint_test_tonearest): Likewise.
21074 (lrint_towardzero_test_data): Likewise.
21075 (lrint_test_towardzero): Likewise.
21076 (lrint_downward_test_data): Likewise.
21077 (lrint_test_downward): Likewise.
21078 (lrint_upward_test_data): Likewise.
21079 (lrint_test_upward): Likewise.
21080 (llrint_test_data): Merge in per-rounding-mode tests and results
21081 from llrint_tonearest_test_data, llrint_towardzero_test_data,
21082 llrint_downward_test_data and llrint_upward_test_data.
21083 (llrint_test): Use ALL_RM_TEST.
21084 (llrint_tonearest_test_data): Remove.
21085 (llrint_test_tonearest): Likewise.
21086 (llrint_towardzero_test_data): Likewise.
21087 (llrint_test_towardzero): Likewise.
21088 (llrint_downward_test_data): Likewise.
21089 (llrint_test_downward): Likewise.
21090 (llrint_upward_test_data): Likewise.
21091 (llrint_test_upward): Likewise.
21092 (rint_test_data): Merge in per-rounding-mode tests and results
21093 from rint_tonearest_test_data, rint_towardzero_test_data,
21094 rint_downward_test_data and rint_upward_test_data. Add
21095 per-rounding-mode results for tests not in those arrays.
21096 (rint_test): Use ALL_RM_TEST.
21097 (rint_tonearest_test_data): Remove.
21098 (rint_test_tonearest): Likewise.
21099 (rint_towardzero_test_data): Likewise.
21100 (rint_test_towardzero): Likewise.
21101 (rint_downward_test_data): Likewise.
21102 (rint_test_downward): Likewise.
21103 (rint_upward_test_data): Likewise.
21104 (rint_test_upward): Likewise.
21105 (main): Don't call removed functions.
21107 2014-03-14 Roland McGrath <roland@hack.frob.com>
21109 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21110 "Compiled on ..." crapola. It is anti-useful.
21112 2014-03-14 Joseph Myers <joseph@codesourcery.com>
21114 * scripts/evaluate-test.sh: Handle fourth argument to determine
21115 whether test run should stop on failure.
21116 * Makeconfig (stop-on-test-failure): New variable.
21117 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21118 $(stop-on-test-failure).
21119 * Makefile (tests): Give a summary of results from testing and
21120 exit with failure status if they include an ERROR or FAIL.
21121 (xtests): Likewise.
21122 * manual/install.texi (Configuring and compiling): Mention
21123 stop-on-test-failure=y.
21124 * INSTALL: Regenerated.
21126 2014-03-14 Roland McGrath <roland@hack.frob.com>
21128 * scripts/versionlist.awk: New file.
21129 * Makerules [$(build-shared) = yes]
21130 (postclean-generated): Add Versions.def, not Versions.def.v and
21132 ($(common-objpfx)Versions.def.v.i): Target removed.
21133 ($(common-objpfx)Versions.def): New target.
21134 ($(common-objpfx)Versions.all): Depend on that rather that
21135 $(common-objpfx)Versions.def.v.
21136 * Versions.def: File removed.
21138 * Makeconfig (+gccwarn): Add -Wundef.
21139 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21140 a dl-sysdep.h breaking its contract.
21141 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21142 * include/stackinfo.h: New file.
21143 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21144 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21145 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21146 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21147 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21148 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21149 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21150 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21151 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21152 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21153 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21154 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21155 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21156 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21157 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21159 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21162 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21164 * math/libm-test.inc (round_test_data): Add more tests.
21167 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21169 * math/libm-test.inc (nearbyint_test_data): Add more tests.
21172 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21174 * math/libm-test.inc (ceil_test_data): Add more tests.
21176 * math/libm-test.inc (trunc_test_data): Add more tests related to
21179 2014-03-14 Roland McGrath <roland@hack.frob.com>
21181 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21182 with #if rather than #ifdef.
21183 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21185 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
21187 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21188 first. Disable AVX-512 GCC support if assembler doesn't support
21190 * sysdeps/x86_64/configure: Regenerated.
21192 2014-03-13 Carlos O'Donell <carlos@redhat.com>
21194 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21195 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21196 (__old_pthread_attr_setstack): Likewise.
21197 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21198 [!_STACK_GROWS_DOWN]: Likewise.
21200 2014-03-13 Mike Frysinger <vapier@gentoo.org>
21202 * config.make.in (have-bash2): Delete.
21203 * configure.ac (libc_cv_have_bash2): Delete.
21204 * configure: Regenerate.
21205 * elf/Makefile (common-ldd-rewrite): Rename to ...
21206 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
21207 (sh-ldd-rewrite): Delete.
21208 (bash-ldd-rewrite): Delete.
21209 (have-bash2): Delete checks.
21210 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21213 * config.make.in (have-ksh): Delete.
21215 * configure.ac (libc_cv_have_ksh): Delete.
21216 * configure: Regenerate.
21218 * elf/Makefile: Delete $(have-ksh) check.
21219 ($(objpfx)sotruss): Change KSH to BASH.
21220 * elf/sotruss.ksh: Rename to ...
21221 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
21222 function style to match POSIX. Drop ksh vim mode setting.
21224 * manual/time.texi (Specifying the Time Zone with TZ): Change
21225 Tuesday to Thursday.
21227 * debug/tst-longjmp_chk2.c: Update header comment.
21228 (stackoverflow_handler): Add comment. Call assert on pass value.
21230 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
21233 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21234 (HAVE_AVX512_ASM_SUPPORT): Likewise.
21235 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21236 (La_x86_64_vector): Add zmm.
21237 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21238 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21239 ($(objpfx)tst-audit10): New target.
21240 ($(objpfx)tst-audit10.out): Likewise.
21241 (tst-audit10-ENV): New.
21242 (AVX512-CFLAGS): Likewise.
21243 (CFLAGS-tst-audit10.c): Likewise.
21244 (CFLAGS-tst-auditmod10a.c): Likewise.
21245 (CFLAGS-tst-auditmod10b.c): Likewise.
21246 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21247 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21248 * sysdeps/x86_64/configure: Regenerated.
21249 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21250 AVX-512 zmm register support.
21251 (_dl_x86_64_save_sse): Likewise.
21252 (_dl_x86_64_restore_sse): Likewise.
21253 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21254 size vector registers.
21255 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21256 (ZMM_SIZE): Likewise.
21257 * sysdeps/x86_64/tst-audit10.c: New file.
21258 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21259 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21261 2014-03-13 Roland McGrath <roland@hack.frob.com>
21263 * configure.ac (HAVE_EHDR_START): New check.
21264 * configure: Regenerated.
21265 * config.h.in (HAVE_EHDR_START): New #undef.
21266 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21267 assuming the lowest-addressed segment maps the start of the file.
21269 2014-03-13 Joseph Myers <joseph@codesourcery.com>
21271 * INSTALL: Regenerated.
21273 2014-03-13 Will Newton <will.newton@linaro.org>
21275 * manual/setjmp.texi (System V contexts): Improve
21276 clarity and grammar of documentation.
21278 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
21281 * elf/Makefile (tests): Add tst-pie2.
21282 (tests-pie): Add tst-pie2.
21283 * elf/tst-pie2.c: New file.
21284 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21286 * elf/rtld.c (map_doit): Load executable as lt_executable.
21287 (dl_main): Likewise.
21289 2014-03-12 Joseph Myers <joseph@codesourcery.com>
21292 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21293 (__ASSUME_PSELECT): Undefine.
21295 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21298 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21299 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21301 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21302 selector for static builds.
21304 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21307 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21310 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21312 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21313 IFUNC selector for static builds.
21315 2014-03-11 Joseph Myers <joseph@codesourcery.com>
21317 * sysdeps/mips/math_private.h [__mips_hard_float]
21318 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21319 libc_feresetround_mips_ctx.
21320 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21321 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21322 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21325 * math/s_nextafter.c (__nextafter): Do not return value from
21326 overflowing computation.
21327 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21328 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21329 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21331 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21333 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21334 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21336 2014-03-11 Roland McGrath <roland@hack.frob.com>
21338 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21339 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21340 Move sfi_sp use from the load-multiple (that no longer sets sp) to
21341 the new mov targetting sp.
21343 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21346 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21347 Define it for static builds as well.
21348 (NO_BZERO_IMPL): Likewise.
21350 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21352 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21353 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21354 multiarch strspn for PPC64.
21355 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21356 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21358 (__libc_ifunc_impl_list): Likewise.
21359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21360 multiarch optimizations
21361 * string/strspn.c (strspn): Using macro to redefine symbol name.
21363 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21364 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21366 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21367 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21368 multiarch strncat for PPC64.
21369 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21370 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21372 (__libc_ifunc_impl_list): Likewise.
21373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21374 multiarch optimizations
21376 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21379 * nscd/nscd.service: Make service type forking.
21381 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21383 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21384 sign in non default rounding modes.
21385 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21387 2014-03-08 Joseph Myers <joseph@codesourcery.com>
21389 * math/libm-test.inc (ALL_RM_TEST): New macro.
21390 (ceil_test): Use ALL_RM_TEST.
21391 (cimag_test): Likewise.
21392 (conj_test): Likewise.
21393 (copysign_test): Likewise.
21394 (cproj_test): Likewise.
21395 (creal_test): Likewise.
21396 (fabs_test): Likewise.
21397 (floor_test): Likewise.
21398 (fmax_test): Likewise.
21399 (fmin_test): Likewise.
21400 (fmod_test): Likewise.
21401 (fpclassify_test): Likewise.
21402 (frexp_test): Likewise.
21403 (ilogb_test): Likewise.
21404 (isfinite_test): Likewise.
21405 (finite_test): Likewise.
21406 (isgreater_test): Likewise.
21407 (isgreaterequal_test): Likewise.
21408 (isinf_test): Likewise.
21409 (isless_test): Likewise.
21410 (islessequal_test): Likewise.
21411 (islessgreater_test): Likewise.
21412 (isnan_test): Likewise.
21413 (isnormal_test): Likewise.
21414 (issignaling_test): Likewise.
21415 (isunordered_test): Likewise.
21416 (logb_test): Likewise.
21417 (logb_downward_test_data): Remove.
21418 (logb_test_downward): Likewise.
21419 (lround_test): Use ALL_RM_TEST.
21420 (llround_test): Likewise.
21421 (modf_test): Likewise.
21422 (nexttoward_test): Likewise.
21423 (remainder_test): Likewise.
21424 (drem_test): Likewise.
21425 (remainder_tonearest_test_data): Likewise.
21426 (remainder_test_tonearest): Likewise.
21427 (drem_test_tonearest): Likewise.
21428 (remainder_towardzero_test_data): Likewise.
21429 (remainder_test_towardzero): Likewise.
21430 (drem_test_towardzero): Likewise.
21431 (remainder_downward_test_data): Likewise.
21432 (remainder_test_downward): Likewise.
21433 (drem_test_downward): Likewise.
21434 (remainder_upward_test_data): Likewise.
21435 (remainder_test_upward): Likewise.
21436 (drem_test_upward): Likewise.
21437 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
21438 (round_test): Use ALL_RM_TEST.
21439 (signbit_test): Likewise.
21440 (trunc_test): Likewise.
21441 (significand_test): Likewise.
21442 (main): Don't call removed functions.
21444 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21447 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21448 || __USE_XOPEN2K8].
21449 (ILL_ILLOPN): Likewise.
21450 (ILL_ILLADR): Likewise.
21451 (ILL_ILLTRP): Likewise.
21452 (ILL_PRVOPC): Likewise.
21453 (ILL_PRVREG): Likewise.
21454 (ILL_COPROC): Likewise.
21455 (ILL_BADSTK): Likewise.
21456 (FPE_INTDIV): Likewise.
21457 (FPE_INTOVF): Likewise.
21458 (FPE_FLTDIV): Likewise.
21459 (FPE_FLTOVF): Likewise.
21460 (FPE_FLTUND): Likewise.
21461 (FPE_FLTRES): Likewise.
21462 (FPE_FLTINV): Likewise.
21463 (FPE_FLTSUB): Likewise.
21464 (SEGV_MAPERR): Likewise.
21465 (SEGV_ACCERR): Likewise.
21466 (BUS_ADRALN): Likewise.
21467 (BUS_ADRERR): Likewise.
21468 (BUS_OBJERR): Likewise.
21469 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21470 (TRAP_TRACE): Likewise.
21471 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21473 (CLD_KILLED): Likewise.
21474 (CLD_DUMPED): Likewise.
21475 (CLD_TRAPPED): Likewise.
21476 (CLD_STOPPED): Likewise.
21477 (CLD_CONTINUED): Likewise.
21478 (POLL_IN): Likewise.
21479 (POLL_OUT): Likewise.
21480 (POLL_MSG): Likewise.
21481 (POLL_ERR): Likewise.
21482 (POLL_PRI): Likewise.
21483 (POLL_HUP): Likewise.
21484 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21486 (ILL_ILLOPN): Likewise.
21487 (ILL_ILLADR): Likewise.
21488 (ILL_ILLTRP): Likewise.
21489 (ILL_PRVOPC): Likewise.
21490 (ILL_PRVREG): Likewise.
21491 (ILL_COPROC): Likewise.
21492 (ILL_BADSTK): Likewise.
21493 (FPE_INTDIV): Likewise.
21494 (FPE_INTOVF): Likewise.
21495 (FPE_FLTDIV): Likewise.
21496 (FPE_FLTOVF): Likewise.
21497 (FPE_FLTUND): Likewise.
21498 (FPE_FLTRES): Likewise.
21499 (FPE_FLTINV): Likewise.
21500 (FPE_FLTSUB): Likewise.
21501 (SEGV_MAPERR): Likewise.
21502 (SEGV_ACCERR): Likewise.
21503 (BUS_ADRALN): Likewise.
21504 (BUS_ADRERR): Likewise.
21505 (BUS_OBJERR): Likewise.
21506 (BUS_MCEERR_AR): Likewise.
21507 (BUS_MCEERR_AO): Likewise.
21508 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21509 (TRAP_TRACE): Likewise.
21510 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21512 (CLD_KILLED): Likewise.
21513 (CLD_DUMPED): Likewise.
21514 (CLD_TRAPPED): Likewise.
21515 (CLD_STOPPED): Likewise.
21516 (CLD_CONTINUED): Likewise.
21517 (POLL_IN): Likewise.
21518 (POLL_OUT): Likewise.
21519 (POLL_MSG): Likewise.
21520 (POLL_ERR): Likewise.
21521 (POLL_PRI): Likewise.
21522 (POLL_HUP): Likewise.
21523 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21524 (ILL_ILLOPN): Likewise.
21525 (ILL_ILLADR): Likewise.
21526 (ILL_ILLTRP): Likewise.
21527 (ILL_PRVOPC): Likewise.
21528 (ILL_PRVREG): Likewise.
21529 (ILL_COPROC): Likewise.
21530 (ILL_BADSTK): Likewise.
21531 (FPE_INTDIV): Likewise.
21532 (FPE_INTOVF): Likewise.
21533 (FPE_FLTDIV): Likewise.
21534 (FPE_FLTOVF): Likewise.
21535 (FPE_FLTUND): Likewise.
21536 (FPE_FLTRES): Likewise.
21537 (FPE_FLTINV): Likewise.
21538 (FPE_FLTSUB): Likewise.
21539 (SEGV_MAPERR): Likewise.
21540 (SEGV_ACCERR): Likewise.
21541 (BUS_ADRALN): Likewise.
21542 (BUS_ADRERR): Likewise.
21543 (BUS_OBJERR): Likewise.
21544 (BUS_MCEERR_AR): Likewise.
21545 (BUS_MCEERR_AO): Likewise.
21546 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21547 (TRAP_TRACE): Likewise.
21548 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21550 (CLD_KILLED): Likewise.
21551 (CLD_DUMPED): Likewise.
21552 (CLD_TRAPPED): Likewise.
21553 (CLD_STOPPED): Likewise.
21554 (CLD_CONTINUED): Likewise.
21555 (POLL_IN): Likewise.
21556 (POLL_OUT): Likewise.
21557 (POLL_MSG): Likewise.
21558 (POLL_ERR): Likewise.
21559 (POLL_PRI): Likewise.
21560 (POLL_HUP): Likewise.
21561 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21563 (ILL_ILLOPN): Likewise.
21564 (ILL_ILLADR): Likewise.
21565 (ILL_ILLTRP): Likewise.
21566 (ILL_PRVOPC): Likewise.
21567 (ILL_PRVREG): Likewise.
21568 (ILL_COPROC): Likewise.
21569 (ILL_BADSTK): Likewise.
21570 (ILL_BADIADDR): Likewise.
21571 (ILL_BREAK): Likewise.
21572 (FPE_INTDIV): Likewise.
21573 (FPE_INTOVF): Likewise.
21574 (FPE_FLTDIV): Likewise.
21575 (FPE_FLTOVF): Likewise.
21576 (FPE_FLTUND): Likewise.
21577 (FPE_FLTRES): Likewise.
21578 (FPE_FLTINV): Likewise.
21579 (FPE_FLTSUB): Likewise.
21580 (FPE_DECOVF): Likewise.
21581 (FPE_DECDIV): Likewise.
21582 (FPE_DECERR): Likewise.
21583 (FPE_INVASC): Likewise.
21584 (FPE_INVDEC): Likewise.
21585 (SEGV_MAPERR): Likewise.
21586 (SEGV_ACCERR): Likewise.
21587 (SEGV_PSTKOVF): Likewise.
21588 (BUS_ADRALN): Likewise.
21589 (BUS_ADRERR): Likewise.
21590 (BUS_OBJERR): Likewise.
21591 (BUS_MCEERR_AR): Likewise.
21592 (BUS_MCEERR_AO): Likewise.
21593 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21594 (TRAP_TRACE): Likewise.
21595 (TRAP_BRANCH): Likewise.
21596 (TRAP_HWBKPT): 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/mips/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/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21649 (ILL_ILLOPN): Likewise.
21650 (ILL_ILLADR): Likewise.
21651 (ILL_ILLTRP): Likewise.
21652 (ILL_PRVOPC): Likewise.
21653 (ILL_PRVREG): Likewise.
21654 (ILL_COPROC): Likewise.
21655 (ILL_BADSTK): Likewise.
21656 (FPE_INTDIV): Likewise.
21657 (FPE_INTOVF): Likewise.
21658 (FPE_FLTDIV): Likewise.
21659 (FPE_FLTOVF): Likewise.
21660 (FPE_FLTUND): Likewise.
21661 (FPE_FLTRES): Likewise.
21662 (FPE_FLTINV): Likewise.
21663 (FPE_FLTSUB): Likewise.
21664 (SEGV_MAPERR): Likewise.
21665 (SEGV_ACCERR): Likewise.
21666 (BUS_ADRALN): Likewise.
21667 (BUS_ADRERR): Likewise.
21668 (BUS_OBJERR): Likewise.
21669 (BUS_MCEERR_AR): Likewise.
21670 (BUS_MCEERR_AO): Likewise.
21671 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21672 (TRAP_TRACE): Likewise.
21673 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21675 (CLD_KILLED): Likewise.
21676 (CLD_DUMPED): Likewise.
21677 (CLD_TRAPPED): Likewise.
21678 (CLD_STOPPED): Likewise.
21679 (CLD_CONTINUED): Likewise.
21680 (POLL_IN): Likewise.
21681 (POLL_OUT): Likewise.
21682 (POLL_MSG): Likewise.
21683 (POLL_ERR): Likewise.
21684 (POLL_PRI): Likewise.
21685 (POLL_HUP): Likewise.
21686 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21687 (ILL_ILLOPN): Likewise.
21688 (ILL_ILLADR): Likewise.
21689 (ILL_ILLTRP): Likewise.
21690 (ILL_PRVOPC): Likewise.
21691 (ILL_PRVREG): Likewise.
21692 (ILL_COPROC): Likewise.
21693 (ILL_BADSTK): Likewise.
21694 (FPE_INTDIV): Likewise.
21695 (FPE_INTOVF): Likewise.
21696 (FPE_FLTDIV): Likewise.
21697 (FPE_FLTOVF): Likewise.
21698 (FPE_FLTUND): Likewise.
21699 (FPE_FLTRES): Likewise.
21700 (FPE_FLTINV): Likewise.
21701 (FPE_FLTSUB): Likewise.
21702 (SEGV_MAPERR): Likewise.
21703 (SEGV_ACCERR): Likewise.
21704 (BUS_ADRALN): Likewise.
21705 (BUS_ADRERR): Likewise.
21706 (BUS_OBJERR): Likewise.
21707 (BUS_MCEERR_AR): Likewise.
21708 (BUS_MCEERR_AO): Likewise.
21709 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21710 (TRAP_TRACE): Likewise.
21711 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21713 (CLD_KILLED): Likewise.
21714 (CLD_DUMPED): Likewise.
21715 (CLD_TRAPPED): Likewise.
21716 (CLD_STOPPED): Likewise.
21717 (CLD_CONTINUED): Likewise.
21718 (POLL_IN): Likewise.
21719 (POLL_OUT): Likewise.
21720 (POLL_MSG): Likewise.
21721 (POLL_ERR): Likewise.
21722 (POLL_PRI): Likewise.
21723 (POLL_HUP): Likewise.
21724 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21725 (ILL_ILLOPN): Likewise.
21726 (ILL_ILLADR): Likewise.
21727 (ILL_ILLTRP): Likewise.
21728 (ILL_PRVOPC): Likewise.
21729 (ILL_PRVREG): Likewise.
21730 (ILL_COPROC): Likewise.
21731 (ILL_BADSTK): Likewise.
21732 (ILL_DBLFLT): Likewise.
21733 (ILL_HARDWALL): Likewise.
21734 (FPE_INTDIV): Likewise.
21735 (FPE_INTOVF): Likewise.
21736 (FPE_FLTDIV): Likewise.
21737 (FPE_FLTOVF): Likewise.
21738 (FPE_FLTUND): Likewise.
21739 (FPE_FLTRES): Likewise.
21740 (FPE_FLTINV): Likewise.
21741 (FPE_FLTSUB): Likewise.
21742 (SEGV_MAPERR): Likewise.
21743 (SEGV_ACCERR): Likewise.
21744 (BUS_ADRALN): Likewise.
21745 (BUS_ADRERR): Likewise.
21746 (BUS_OBJERR): Likewise.
21747 (BUS_MCEERR_AR): Likewise.
21748 (BUS_MCEERR_AO): Likewise.
21749 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21750 (TRAP_TRACE): Likewise.
21751 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21753 (CLD_KILLED): Likewise.
21754 (CLD_DUMPED): Likewise.
21755 (CLD_TRAPPED): Likewise.
21756 (CLD_STOPPED): Likewise.
21757 (CLD_CONTINUED): Likewise.
21758 (POLL_IN): Likewise.
21759 (POLL_OUT): Likewise.
21760 (POLL_MSG): Likewise.
21761 (POLL_ERR): Likewise.
21762 (POLL_PRI): Likewise.
21763 (POLL_HUP): Likewise.
21764 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21765 (ILL_ILLOPN): Likewise.
21766 (ILL_ILLADR): Likewise.
21767 (ILL_ILLTRP): Likewise.
21768 (ILL_PRVOPC): Likewise.
21769 (ILL_PRVREG): Likewise.
21770 (ILL_COPROC): Likewise.
21771 (ILL_BADSTK): Likewise.
21772 (FPE_INTDIV): Likewise.
21773 (FPE_INTOVF): Likewise.
21774 (FPE_FLTDIV): Likewise.
21775 (FPE_FLTOVF): Likewise.
21776 (FPE_FLTUND): Likewise.
21777 (FPE_FLTRES): Likewise.
21778 (FPE_FLTINV): Likewise.
21779 (FPE_FLTSUB): Likewise.
21780 (SEGV_MAPERR): Likewise.
21781 (SEGV_ACCERR): Likewise.
21782 (BUS_ADRALN): Likewise.
21783 (BUS_ADRERR): Likewise.
21784 (BUS_OBJERR): Likewise.
21785 (BUS_MCEERR_AR): Likewise.
21786 (BUS_MCEERR_AO): Likewise.
21787 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21788 (TRAP_TRACE): Likewise.
21789 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21791 (CLD_KILLED): Likewise.
21792 (CLD_DUMPED): Likewise.
21793 (CLD_TRAPPED): Likewise.
21794 (CLD_STOPPED): Likewise.
21795 (CLD_CONTINUED): Likewise.
21796 (POLL_IN): Likewise.
21797 (POLL_OUT): Likewise.
21798 (POLL_MSG): Likewise.
21799 (POLL_ERR): Likewise.
21800 (POLL_PRI): Likewise.
21801 (POLL_HUP): Likewise.
21802 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21803 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21806 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21807 before #include of <time.h>.
21808 [!__USE_XOPEN2K] (__need_timespec): Likewise.
21809 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21810 (test-xfail-UNIX98/sched.h/conform): Likewise.
21812 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
21814 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21815 error absence of trapping exception support.
21816 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21818 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21820 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21821 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21822 * timezone/Makefile (testdata): Move definition above include of
21824 (test-zones): New variable.
21825 (tests-special): Add zone files.
21826 (build-testdata): Use $(evaluate-test).
21828 * elf/Makefile (tests-special): Rename tests to end with .out.
21829 ($(objpfx)noload-mem): Likewise.
21830 ($(objpfx)tst-leaks1-mem): Likewise.
21831 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21832 * iconv/Makefile (xtests-special): Change test-iconvconfig to
21833 $(objpfx)test-iconvconfig.out.
21834 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
21835 set -e inside subshell and redirect output to file.
21836 * iconvdata/Makefile (generated): Rename tests to end with .out.
21838 (tests-special): Rename tests to end with .out.
21839 ($(objpfx)mtrace-tst-loading): Likewise.
21840 * intl/Makefile (generated): Likewise.
21841 (tests-special): Likewise.
21842 ($(objpfx)mtrace-tst-gettext): Likewise.
21843 * misc/Makefile (generated): Likewise.
21844 (tests-special): Likewise.
21845 ($(objpfx)tst-error1-mem): Likewise.
21846 * nptl/Makefile (tests-special): Likewise.
21847 ($(objpfx)tst-stack3-mem): Likewise.
21848 (generated): Likewise.
21849 * posix/Makefile (generated): Likewise.
21850 (tests-special): Likewise.
21851 (xtests-special): Likewise.
21852 ($(objpfx)tst-fnmatch-mem): Likewise.
21853 ($(objpfx)bug-regex2-mem): Likewise.
21854 ($(objpfx)bug-regex14-mem): Likewise.
21855 ($(objpfx)bug-regex21-mem): Likewise.
21856 ($(objpfx)bug-regex31-mem): Likewise.
21857 ($(objpfx)tst-vfork3-mem): Likewise.
21858 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21859 ($(objpfx)tst-pcre-mem): Likewise.
21860 ($(objpfx)tst-boost-mem): Likewise.
21861 ($(objpfx)bug-ga2-mem): Likewise.
21862 ($(objpfx)bug-glob2-mem): Likewise.
21863 * resolv/Makefile (generate): Likewise.
21864 (tests-special): Likewise.
21865 (xtests-special): Likewise.
21866 (generated): Likewise.
21867 ($(objpfx)mtrace-tst-leaks): Likewise.
21868 ($(objpfx)mtrace-tst-leaks2): Likewise.
21870 * scripts/merge-test-results.sh: New file.
21871 * Makefile (tests-special-notdir): New variable.
21872 (tests): Run merge-test-results.sh.
21873 (xtests): Likewise.
21874 * Rules (tests-special-notdir): New variable.
21875 (xtests-special-notdir): Likewise.
21876 (tests): Run merge-test-results.sh
21877 (xtests): Likewise.
21879 * Makeconfig (test-xfail-name): New variable.
21880 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21881 compute variable name for expected failures.
21882 * conform/Makefile (conformtest-headers-data): New variable.
21883 (conformtest-standards): Likewise.
21884 (conformtest-headers-ISO): Likewise.
21885 (conformtest-headers-ISO99): Likewise.
21886 (conformtest-headers-ISO11): Likewise.
21887 (conformtest-headers-POSIX): Likewise.
21888 (conformtest-headers-XPG3): Likewise.
21889 (conformtest-headers-XPG4): Likewise.
21890 (conformtest-headers-UNIX98): Likewise.
21891 (conformtest-headers-XOPEN2K): Likewise.
21892 (conformtest-headers-POSIX2008): Likewise.
21893 (conformtest-headers-XOPEN2K8): Likewise.
21894 (conformtest-header-list-base): Likewise.
21895 (conformtest-header-list-tests): Likewise.
21896 (conformtest-header-base): Likewise.
21897 (conformtest-header-tests): Likewise.
21898 (tests-special): Add $(conformtest-header-list-tests). If
21899 [$(fast-check) && !$(cross-compiling)], add
21900 $(conformtest-header-tests) instead of
21901 $(objpfx)run-conformtest.out.
21902 (generated): Add $(conformtest-header-list-base). If
21903 [$(fast-check) && !$(cross-compiling)], add
21904 $(conformtest-header-base). Remove previous setting.
21905 ($(conformtest-header-list-tests)): New target.
21906 (test-xfail-run-conformtest): Remove variable.
21907 ($(objpfx)run-conformtest.out): Remove target.
21908 (test-xfail-ISO11/complex.h/conform): New variable.
21909 (test-xfail-ISO11/stdalign.h/conform): Likewise.
21910 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21911 (test-xfail-XPG3/varargs.h/conform): Likewise.
21912 (test-xfail-XPG4/varargs.h/conform): Likewise.
21913 (test-xfail-UNIX98/varargs.h/conform): Likewise.
21914 (test-xfail-XPG4/ndbm.h/conform): Likewise.
21915 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21916 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21917 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21918 (test-xfail-XPG3/fcntl.h/conform): Likewise.
21919 (test-xfail-XPG3/ftw.h/conform): Likewise.
21920 (test-xfail-XPG3/grp.h/conform): Likewise.
21921 (test-xfail-XPG3/langinfo.h/conform): Likewise.
21922 (test-xfail-XPG3/limits.h/conform): Likewise.
21923 (test-xfail-XPG3/pwd.h/conform): Likewise.
21924 (test-xfail-XPG3/search.h/conform): Likewise.
21925 (test-xfail-XPG3/signal.h/conform): Likewise.
21926 (test-xfail-XPG3/stdio.h/conform): Likewise.
21927 (test-xfail-XPG3/stdlib.h/conform): Likewise.
21928 (test-xfail-XPG3/string.h/conform): Likewise.
21929 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21930 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21931 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21932 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21933 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21934 (test-xfail-XPG3/sys/types.h/conform): Likewise.
21935 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21936 (test-xfail-XPG3/termios.h/conform): Likewise.
21937 (test-xfail-XPG3/time.h/conform): Likewise.
21938 (test-xfail-XPG3/unistd.h/conform): Likewise.
21939 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21940 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21941 (test-xfail-XPG4/langinfo.h/conform): Likewise.
21942 (test-xfail-XPG4/netdb.h/conform): Likewise.
21943 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21944 (test-xfail-XPG4/signal.h/conform): Likewise.
21945 (test-xfail-XPG4/stdio.h/conform): Likewise.
21946 (test-xfail-XPG4/stdlib.h/conform): Likewise.
21947 (test-xfail-XPG4/stropts.h/conform): Likewise.
21948 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21949 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21950 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21951 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21952 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21953 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21954 (test-xfail-XPG4/sys/time.h/conform): Likewise.
21955 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21956 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21957 (test-xfail-XPG4/termios.h/conform): Likewise.
21958 (test-xfail-XPG4/ucontext.h/conform): Likewise.
21959 (test-xfail-XPG4/unistd.h/conform): Likewise.
21960 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21961 (test-xfail-POSIX/sched.h/conform): Likewise.
21962 (test-xfail-POSIX/signal.h/conform): Likewise.
21963 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21964 (test-xfail-POSIX/tar.h/conform): Likewise.
21965 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21966 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21967 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21968 (test-xfail-UNIX98/netdb.h/conform): Likewise.
21969 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21970 (test-xfail-UNIX98/sched.h/conform): Likewise.
21971 (test-xfail-UNIX98/signal.h/conform): Likewise.
21972 (test-xfail-UNIX98/stdio.h/conform): Likewise.
21973 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21974 (test-xfail-UNIX98/stropts.h/conform): Likewise.
21975 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21976 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21977 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21978 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21979 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21980 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21981 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21982 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21983 (test-xfail-UNIX98/unistd.h/conform): Likewise.
21984 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21985 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21986 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21987 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21988 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21989 (test-xfail-XOPEN2K/math.h/conform): Likewise.
21990 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21991 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21992 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21993 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21994 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21995 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21996 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21997 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21998 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21999 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22000 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22001 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22002 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22003 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22004 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22005 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22006 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22007 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22008 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22009 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22010 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22011 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22012 (test-xfail-POSIX2008/signal.h/conform): Likewise.
22013 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22014 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22015 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22016 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22017 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22018 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22019 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22020 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22021 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22022 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22023 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22024 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22025 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22026 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22027 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22028 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22029 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22030 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22031 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22032 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22033 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22034 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22035 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22036 (conformtest-cc-flags): Likewise.
22037 ($(conformtest-header-tests): New target.
22038 * conform/check-header-lists.sh: New file.
22039 * conform/run-conformtest.sh: Remove.
22041 * conform/conformtest.pl: Allow ' and \ in values given for
22043 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22045 [POSIX] (sys/types.h): Likewise.
22046 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22048 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22050 * conform/data/signal.h-data (SIGIO): Remove expectation.
22051 [XPG3] (SIGBUS): Do not expect.
22052 [POSIX || XPG3] (SIGPOLL): Likewise.
22053 [POSIX || XPG3] (SIGPROF): Likewise.
22054 [POSIX || XPG3] (SIGSYS): Likewise.
22055 [XPG3] (SIGTRAP): Likewise.
22056 [POSIX || XPG3] (SIGURG): Likewise.
22057 [POSIX || XPG3] (SIGVTALRM): Likewise.
22058 [POSIX || XPG3] (SIGXCPU): Likewise.
22059 [POSIX || XPG3] (SIGXFSZ): Likewise.
22060 [POSIX] (SA_SIGINFO): Expect.
22061 [XPG3] (siginfo_t): Do not expect type or contents.
22062 [POSIX] (si_pid): Do not expect element.
22063 [POSIX] (si_uid): Likewise.
22064 [POSIX] (si_addr): Likewise.
22065 [POSIX] (si_status): Likewise.
22066 [POSIX] (si_band): Likewise.
22067 [XPG4] (si_value): Likewise.
22068 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22069 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22070 [POSIX || XPG3] (ILL_ILLADR): Likewise.
22071 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22072 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22073 [POSIX || XPG3] (ILL_PRVREG): Likewise.
22074 [POSIX || XPG3] (ILL_COPROC): Likewise.
22075 [POSIX || XPG3] (ILL_BADSTK): Likewise.
22076 [POSIX || XPG3] (FPE_INTDIV): Likewise.
22077 [POSIX || XPG3] (FPE_INTOVF): Likewise.
22078 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22079 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22080 [POSIX || XPG3] (FPE_FLTUND): Likewise.
22081 [POSIX || XPG3] (FPE_FLTRES): Likewise.
22082 [POSIX || XPG3] (FPE_FLTINV): Likewise.
22083 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22084 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22085 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22086 [POSIX || XPG3] (BUS_ADRALN): Likewise.
22087 [POSIX || XPG3] (BUS_ADRERR): Likewise.
22088 [POSIX || XPG3] (BUS_OBJERR): Likewise.
22089 [POSIX || XPG3] (CLD_EXITED): Likewise.
22090 [POSIX || XPG3] (CLD_KILLED): Likewise.
22091 [POSIX || XPG3] (CLD_DUMPED): Likewise.
22092 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22093 [POSIX || XPG3] (CLD_STOPPED): Likewise.
22094 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22095 [POSIX || XPG3] (POLL_IN): Likewise.
22096 [POSIX || XPG3] (POLL_OUT): Likewise.
22097 [POSIX || XPG3] (POLL_MSG): Likewise.
22098 [POSIX || XPG3] (POLL_ERR): Likewise.
22099 [POSIX || XPG3] (POLL_PRI): Likewise.
22100 [POSIX || XPG3] (POLL_HUP): Likewise.
22101 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22102 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22103 (SIG*): Do not allow.
22104 [XPG3] (si_*): Likewise.
22105 [XPG3] (SI_*): Likewise.
22106 [XPG3 || XPG4] (sigev_*): Likewise.
22107 [XPG3 || XPG4] (SIGEV_*): Likewise.
22108 [XPG3 || XPG4] (sival_*): Likewise.
22109 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22110 [POSIX || XPG3] (BUS_*): Likewise.
22111 [POSIX || XPG3] (CLD_*): Likewise.
22112 [POSIX || XPG3] (FPE_*): Likewise.
22113 [POSIX || XPG3] (ILL_*): Likewise.
22114 [POSIX || XPG3] (POLL_*): Likewise.
22115 [POSIX || XPG3] (SEGV_*): Likewise.
22116 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22117 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22118 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22119 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22120 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22121 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22122 Specify type and value.
22123 (TVERSLEN): Likewise.
22124 (REGTYPE): Likewise.
22125 (AREGTYPE): Likewise.
22126 (LNKTYPE): Likewise.
22127 (SYMTYPE): Likewise.
22128 (CHRTYPE): Likewise.
22129 (BLKTYPE): Likewise.
22130 (DIRTYPE): Likewise.
22131 (FIFOTYPE): Likewise.
22132 (CONTTYPE): Likewise.
22136 (TUREAD): Likewise.
22137 (TUWRITE): Likewise.
22138 (TUEXEC): Likewise.
22139 (TGREAD): Likewise.
22140 (TGWRITE): Likewise.
22141 (TGEXEC): Likewise.
22142 (TOREAD): Likewise.
22143 (TOWRITE): Likewise.
22144 (TOEXEC): Likewise.
22145 [POSIX] (TSVTX): Expect constant.
22147 2014-03-06 Joseph Myers <joseph@codesourcery.com>
22149 * Makefile (tests): Change dependencies to ....
22150 (tests-special): ... additions to this variable.
22151 (tests): Depend on $(tests-special).
22152 * Makerules (check-abi-list): New variable.
22153 (check-abi): Depend on $(check-abi-list).
22154 [$(subdir) = elf] (tests-special): Add
22155 $(objpfx)check-abi-libc.out.
22156 [$(build-shared) = yes && subdir] (tests-special): Add
22158 [$(build-shared) = yes && subdir] (tests): Do not depend on
22160 * Rules (tests): Depend on $(tests-special).
22161 (xtests): Depend on $(xtests-special).
22162 * catgets/Makefile (tests): Change dependencies to ....
22163 (tests-special): ... additions to this variable.
22164 * conform/Makefile (tests): Change dependencies to ....
22165 (tests-special): ... additions to this variable.
22166 * elf/Makefile (tests): Change dependencies to ....
22167 (tests-special): ... additions to this variable.
22168 * grp/Makefile (tests): Change dependencies to ....
22169 (tests-special): ... additions to this variable.
22170 * iconv/Makefile (xtests): Change dependencies to ....
22171 (xtests-special): ... additions to this variable.
22172 * iconvdata/Makefile (tests): Change dependencies to ....
22173 (tests-special): ... additions to this variable.
22174 * intl/Makefile (tests): Change dependencies to ....
22175 (tests-special): ... additions to this variable. Also add
22176 $(objpfx)tst-gettext.out.
22177 * io/Makefile (tests): Change dependencies to ....
22178 (tests-special): ... additions to this variable.
22179 * libio/Makefile (tests): Change dependencies to ....
22180 (tests-special): ... additions to this variable.
22181 * malloc/Makefile (tests): Change dependencies to ....
22182 (tests-special): ... additions to this variable.
22183 * misc/Makefile (tests): Change dependencies to ....
22184 (tests-special): ... additions to this variable.
22185 * nptl/Makefile (tests): Change dependencies to ....
22186 (tests-special): ... additions to this variable.
22187 * nptl_db/Makefile (tests): Change dependencies to ....
22188 (tests-special): ... additions to this variable.
22189 * posix/Makefile (tests): Change dependencies to ....
22190 (tests-special): ... additions to this variable.
22191 (xtests): Change dependencies to ....
22192 (xtests-special): ... additions to this variable.
22193 * resolv/Makefile (tests): Change dependencies to ....
22194 (tests-special): ... additions to this variable.
22195 (xtests): Change dependencies to ....
22196 (xtests-special): ... additions to this variable.
22197 * stdio-common/Makefile (tests): Change dependencies to ....
22198 (tests-special): ... additions to this variable.
22199 (do-tst-unbputc): Remove target.
22200 (do-tst-printf): Likewise.
22201 * stdlib/Makefile (tests): Change dependencies to ....
22202 (tests-special): ... additions to this variable.
22203 * string/Makefile (tests): Change dependencies to ....
22204 (tests-special): ... additions to this variable.
22205 * sysdeps/x86/Makefile (tests): Change dependencies to ....
22206 (tests-special): ... additions to this variable.
22208 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22210 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22212 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22213 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22215 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22216 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22217 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22218 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22219 * conform/data/libgen.h-data [XPG3]: Likewise.
22220 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22221 * conform/data/ndbm.h-data [XPG3]: Likewise.
22222 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22223 * conform/data/netdb.h-data [XPG3]: Likewise.
22224 * conform/data/netinet/in.h-data [XPG3]: Likewise.
22225 * conform/data/poll.h-data [XPG3]: Likewise.
22226 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22227 * conform/data/strings.h-data [XPG3]: Likewise.
22228 * conform/data/stropts.h-data [XPG3]: Likewise.
22229 * conform/data/sys/mman.h-data [XPG3]: Likewise.
22230 * conform/data/sys/resource.h-data [XPG3]: Likewise.
22231 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22233 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22234 * conform/data/sys/time.h-data [XPG3]: Likewise.
22235 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22236 * conform/data/sys/uio.h-data [XPG3]: Likewise.
22237 * conform/data/sys/un.h-data [XPG3]: Likewise.
22238 * conform/data/syslog.h-data [XPG3]: Likewise.
22239 * conform/data/ucontext.h-data [XPG3]: Likewise.
22240 * conform/data/utmpx.h-data [XPG3]: Likewise.
22241 * conform/data/varargs.h-data [UNIX98]: Enable file.
22243 * manual/Makefile (INSTALL_INFO): Remove variable setting.
22245 * math/libm-test.inc (struct test_f_f_data): Move expected results
22246 into structure for each rounding mode.
22247 (struct test_ff_f_data): Likewise.
22248 (struct test_ff_f_data_nexttoward): Likewise.
22249 (struct test_fi_f_data): Likewise.
22250 (struct test_fl_f_data): Likewise.
22251 (struct test_if_f_data): Likewise.
22252 (struct test_fff_f_data): Likewise.
22253 (struct test_c_f_data): Likewise.
22254 (struct test_f_f1_data): Likewise.
22255 (struct test_fF_f1_data): Likewise.
22256 (struct test_ffI_f1_data): Likewise.
22257 (struct test_c_c_data): Likewise.
22258 (struct test_cc_c_data): Likewise.
22259 (struct test_f_i_data): Likewise.
22260 (struct test_ff_i_data): Likewise.
22261 (struct test_f_l_data): Likewise.
22262 (struct test_f_L_data): Likewise.
22263 (struct test_fFF_11_data): Likewise.
22265 (RM_FE_DOWNWARD): Likewise.
22266 (RM_FE_TONEAREST): Likewise.
22267 (RM_FE_TOWARDZERO): Likewise.
22268 (RM_FE_UPWARD): Likewise.
22269 (RUN_TEST_LOOP_f_f): Update references to expected results.
22270 (RUN_TEST_LOOP_2_f): Likewise.
22271 (RUN_TEST_LOOP_fff_f): Likewise.
22272 (RUN_TEST_LOOP_c_f): Likewise.
22273 (RUN_TEST_LOOP_f_f1): Likewise.
22274 (RUN_TEST_LOOP_fF_f1): Likewise.
22275 (RUN_TEST_LOOP_fI_f1): Likewise.
22276 (RUN_TEST_LOOP_ffI_f1): Likewise.
22277 (RUN_TEST_LOOP_c_c): Likewise.
22278 (RUN_TEST_LOOP_cc_c): Likewise.
22279 (RUN_TEST_LOOP_f_i): Likewise.
22280 (RUN_TEST_LOOP_f_i_tg): Likewise.
22281 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22282 (RUN_TEST_LOOP_f_b): Likewise.
22283 (RUN_TEST_LOOP_f_b_tg): Likewise.
22284 (RUN_TEST_LOOP_f_l): Likewise.
22285 (RUN_TEST_LOOP_f_L): Likewise.
22286 (RUN_TEST_LOOP_fFF_11): Likewise.
22287 * math/gen-libm-test.pl (parse_args): Output four copies of
22288 expected results for each test.
22290 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22291 (__ASSUME_UTIMES): Remove.
22292 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22293 (__ASSUME_UTIMES): Likewise.
22295 * math/gen-auto-libm-tests.c: Update comment on output format.
22296 (output_for_one_input_case): Generate before-rounding and
22297 after-rounding information as conditions on output flags not
22298 floating-point format.
22299 * math/auto-libm-test-out: Regenerated.
22300 * math/gen-libm-test.pl (cond_value): New function.
22301 (or_cond_value): Use cond_value.
22302 (generate_testfile): Handle conditional exceptions.
22304 2014-03-05 Joseph Myers <joseph@codesourcery.com>
22306 * math/libm-test.inc (max_valid_error): New variable.
22307 (init_max_error): Take new argument specifying whether function
22308 results are exactly determined. Set max_valid_error and bound
22309 other variables for errors based on this argument.
22310 (set_max_error): Do not record results above max_valid_error.
22311 (check_float_internal): Only accept errors of up to 0.5ulps if
22312 also at most max_valid_error.
22313 (START): Take new argument EXACT and pass it to init_max_error.
22314 (acos_test): Update call to START.
22315 (acos_test_tonearest): Likewise.
22316 (acos_test_towardzero): Likewise.
22317 (acos_test_downward): Likewise.
22318 (acos_test_upward): Likewise.
22319 (acosh_test): Likewise.
22320 (asin_test): Likewise.
22321 (asin_test_tonearest): Likewise.
22322 (asin_test_towardzero): Likewise.
22323 (asin_test_downward): Likewise.
22324 (asin_test_upward): Likewise.
22325 (asinh_test): Likewise.
22326 (atan_test): Likewise.
22327 (atanh_test): Likewise.
22328 (atan2_test): Likewise.
22329 (cabs_test): Likewise.
22330 (cacos_test): Likewise.
22331 (cacosh_test): Likewise.
22332 (carg_test): Likewise.
22333 (casin_test): Likewise.
22334 (casinh_test): Likewise.
22335 (catan_test): Likewise.
22336 (catanh_test): Likewise.
22337 (cbrt_test): Likewise.
22338 (ccos_test): Likewise.
22339 (ccosh_test): Likewise.
22340 (ceil_test): Likewise.
22341 (cexp_test): Likewise.
22342 (cimag_test): Likewise.
22343 (clog_test): Likewise.
22344 (clog10_test): Likewise.
22345 (conj_test): Likewise.
22346 (copysign_test): Likewise.
22347 (cos_test): Likewise.
22348 (cos_test_tonearest): Likewise.
22349 (cos_test_towardzero): Likewise.
22350 (cos_test_downward): Likewise.
22351 (cos_test_upward): Likewise.
22352 (cosh_test): Likewise.
22353 (cosh_test_tonearest): Likewise.
22354 (cosh_test_towardzero): Likewise.
22355 (cosh_test_downward): Likewise.
22356 (cosh_test_upward): Likewise.
22357 (cpow_test): Likewise.
22358 (cproj_test): Likewise.
22359 (creal_test): Likewise.
22360 (csin_test): Likewise.
22361 (csinh_test): Likewise.
22362 (csqrt_test): Likewise.
22363 (ctan_test): Likewise.
22364 (ctan_test_tonearest): Likewise.
22365 (ctan_test_towardzero): Likewise.
22366 (ctan_test_downward): Likewise.
22367 (ctan_test_upward): Likewise.
22368 (ctanh_test): Likewise.
22369 (ctanh_test_tonearest): Likewise.
22370 (ctanh_test_towardzero): Likewise.
22371 (ctanh_test_downward): Likewise.
22372 (ctanh_test_upward): Likewise.
22373 (erf_test): Likewise.
22374 (erfc_test): Likewise.
22375 (exp_test): Likewise.
22376 (exp_test_tonearest): Likewise.
22377 (exp_test_towardzero): Likewise.
22378 (exp_test_downward): Likewise.
22379 (exp_test_upward): Likewise.
22380 (exp10_test): Likewise.
22381 (exp10_test_tonearest): Likewise.
22382 (exp10_test_towardzero): Likewise.
22383 (exp10_test_downward): Likewise.
22384 (exp10_test_upward): Likewise.
22385 (pow10_test): Likewise.
22386 (exp2_test): Likewise.
22387 (expm1_test): Likewise.
22388 (expm1_test_tonearest): Likewise.
22389 (expm1_test_towardzero): Likewise.
22390 (expm1_test_downward): Likewise.
22391 (expm1_test_upward): Likewise.
22392 (fabs_test): Likewise.
22393 (fdim_test): Likewise.
22394 (floor_test): Likewise.
22395 (fma_test): Likewise.
22396 (fma_test_towardzero): Likewise.
22397 (fma_test_downward): Likewise.
22398 (fma_test_upward): Likewise.
22399 (fmax_test): Likewise.
22400 (fmin_test): Likewise.
22401 (fmod_test): Likewise.
22402 (fpclassify_test): Likewise.
22403 (frexp_test): Likewise.
22404 (hypot_test): Likewise.
22405 (ilogb_test): Likewise.
22406 (isfinite_test): Likewise.
22407 (finite_test): Likewise.
22408 (isgreater_test): Likewise.
22409 (isgreaterequal_test): Likewise.
22410 (isinf_test): Likewise.
22411 (isless_test): Likewise.
22412 (islessequal_test): Likewise.
22413 (islessgreater_test): Likewise.
22414 (isnan_test): Likewise.
22415 (isnormal_test): Likewise.
22416 (issignaling_test): Likewise.
22417 (isunordered_test): Likewise.
22418 (j0_test): Likewise.
22419 (j1_test): Likewise.
22420 (jn_test): Likewise.
22421 (ldexp_test): Likewise.
22422 (lgamma_test): Likewise.
22423 (gamma_test): Likewise.
22424 (lrint_test): Likewise.
22425 (lrint_test_tonearest): Likewise.
22426 (lrint_test_towardzero): Likewise.
22427 (lrint_test_downward): Likewise.
22428 (lrint_test_upward): Likewise.
22429 (llrint_test): Likewise.
22430 (llrint_test_tonearest): Likewise.
22431 (llrint_test_towardzero): Likewise.
22432 (llrint_test_downward): Likewise.
22433 (llrint_test_upward): Likewise.
22434 (log_test): Likewise.
22435 (log10_test): Likewise.
22436 (log1p_test): Likewise.
22437 (log2_test): Likewise.
22438 (logb_test): Likewise.
22439 (logb_test_downward): Likewise.
22440 (lround_test): Likewise.
22441 (llround_test): Likewise.
22442 (modf_test): Likewise.
22443 (nearbyint_test): Likewise.
22444 (nextafter_test): Likewise.
22445 (nexttoward_test): Likewise.
22446 (pow_test): Likewise.
22447 (pow_test_tonearest): Likewise.
22448 (pow_test_towardzero): Likewise.
22449 (pow_test_downward): Likewise.
22450 (pow_test_upward): Likewise.
22451 (remainder_test): Likewise.
22452 (drem_test): Likewise.
22453 (remainder_test_tonearest): Likewise.
22454 (drem_test_tonearest): Likewise.
22455 (remainder_test_towardzero): Likewise.
22456 (drem_test_towardzero): Likewise.
22457 (remainder_test_downward): Likewise.
22458 (drem_test_downward): Likewise.
22459 (remainder_test_upward): Likewise.
22460 (drem_test_upward): Likewise.
22461 (remquo_test): Likewise.
22462 (rint_test): Likewise.
22463 (rint_test_tonearest): Likewise.
22464 (rint_test_towardzero): Likewise.
22465 (rint_test_downward): Likewise.
22466 (rint_test_upward): Likewise.
22467 (round_test): Likewise.
22468 (scalb_test): Likewise.
22469 (scalbn_test): Likewise.
22470 (scalbln_test): Likewise.
22471 (signbit_test): Likewise.
22472 (sin_test): Likewise.
22473 (sin_test_tonearest): Likewise.
22474 (sin_test_towardzero): Likewise.
22475 (sin_test_downward): Likewise.
22476 (sin_test_upward): Likewise.
22477 (sincos_test): Likewise.
22478 (sinh_test): Likewise.
22479 (sinh_test_tonearest): Likewise.
22480 (sinh_test_towardzero): Likewise.
22481 (sinh_test_downward): Likewise.
22482 (sinh_test_upward): Likewise.
22483 (sqrt_test): Likewise.
22484 (sqrt_test_tonearest): Likewise.
22485 (sqrt_test_towardzero): Likewise.
22486 (sqrt_test_downward): Likewise.
22487 (sqrt_test_upward): Likewise.
22488 (tan_test): Likewise.
22489 (tan_test_tonearest): Likewise.
22490 (tan_test_towardzero): Likewise.
22491 (tan_test_downward): Likewise.
22492 (tan_test_upward): Likewise.
22493 (tanh_test): Likewise.
22494 (tgamma_test): Likewise.
22495 (trunc_test): Likewise.
22496 (y0_test): Likewise.
22497 (y1_test): Likewise.
22498 (yn_test): Likewise.
22499 (significand_test): Likewise.
22501 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22502 individual tests in comment.
22503 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22504 (prev_max_error): New variable.
22505 (prev_real_max_error): Likewise.
22506 (prev_imag_max_error): Likewise.
22507 (compare_ulp_data): Don't refer to test names in comment.
22508 (find_test_ulps): Remove function.
22509 (find_function_ulps): Likewise.
22510 (find_complex_function_ulps): Likewise.
22511 (init_max_error): Take function name as argument. Look up ulps
22513 (print_ulps): Remove function.
22514 (print_max_error): Use prev_max_error instead of calling
22515 find_function_ulps.
22516 (print_complex_max_error): Use prev_real_max_error and
22517 prev_imag_max_error instead of calling find_complex_function_ulps.
22518 (check_float_internal): Take max_ulp parameter instead of calling
22519 find_test_ulps. Don't call print_ulps.
22520 (check_float): Update call to check_float_internal.
22521 (check_complex): Update calls to check_float_internal.
22522 (START): Pass argument to init_max_error.
22523 * math/gen-libm-test.pl (%results): Don't include "kind"
22525 (parse_ulps): Don't handle ulps of individual tests.
22526 (print_ulps_file): Likewise.
22527 (output_ulps): Likewise.
22528 * math/README.libm-test: Update.
22529 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22531 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22532 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22533 * sysdeps/arm/libm-test-ulps: Likewise.
22534 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22535 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22536 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22537 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22538 * sysdeps/microblaze/libm-test-ulps: Likewise.
22539 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22540 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22541 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22542 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22543 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22544 * sysdeps/sh/libm-test-ulps: Likewise.
22545 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22546 * sysdeps/tile/libm-test-ulps: Likewise.
22547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22549 2014-03-04 Joseph Myers <joseph@codesourcery.com>
22551 * math/libm-test.inc (print_complex_max_error): Check separately
22552 whether real and imaginary errors are within allowed range and
22553 pass 0 to print_complex_function_ulps instead of value within
22556 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22558 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22560 (get_handles_fopen): Likewise.
22561 (do_write_test): Likewise.
22563 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22565 * libio/fileops.c (do_ftell): Use cached offset when
22567 * libio/iofwide.c (do_ftell_wide): Likewise.
22568 * libio/iofdopen.c (_IO_new_fdopen): Don't use
22570 * libio/wfileops.c (_IO_fwide): Don't cache offset.
22573 * libio/libioP.h (get_file_offset): New function.
22574 * libio/fileops.c (get_file_offset): Likewise.
22575 (do_ftell): Likewise.
22576 (_IO_new_file_seekoff): Split out ftell logic.
22577 * libio/wfileops.c (do_ftell_wide): Likewise.
22578 (_IO_wfile_seekoff): Split out ftell logic.
22579 * libio/tst-ftell-active-handler.c: New test case.
22580 * libio/Makefile (tests): Add it.
22582 2014-03-03 Roland McGrath <roland@hack.frob.com>
22584 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22585 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22587 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22590 * nscd/connections.c (nscd_init): Call do_exit.
22591 (start_threads): Call do_exit and notify_parent.
22592 (begin_drop_privileges): Call do_exit.
22593 (finish_drop_privileges): Likewise.
22594 * nscd/selinux.c (preserve_capabilities): Likewise.
22595 (install_real_capabilities): Likewise.
22596 (nscd_selinux_enabled): Likewise.
22597 (avc_create_thread): Likewise.
22598 (avc_alloc_lock): Likewise.
22599 (nscd_avc_init): Likewise.
22600 * nscd/nscd.c (parent_fd): New static variable.
22601 (main): Create a pipe between parent and child processes.
22602 Skip closing parent_fd.
22603 (monitor_child): New function.
22604 (do_exit): Likewise.
22605 (notify_parent): Likewise.
22606 * nscd/nscd.h (notify_parent): Likewise.
22607 (do_exit): Likewise.
22609 2014-03-03 Carlos O'Donell <carlos@redhat.com>
22611 * malloc/malloc.c (__libc_calloc): Revert last change.
22613 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22617 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22619 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22623 (__libc_ifunc_impl_list): Likewise.
22624 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22625 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22626 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22627 * string/strrchr.c: Define STRRCHR.
22629 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
22631 * benchtest/bench-strtok.c (simple_strtok): Delete.
22632 (strtok_string): Use as benchmark.
22633 * string/strtok (STRTOK): New macro.
22635 2014-02-28 Carlos O'Donell <carlos@redhat.com>
22637 * manual/threads.texi: Add header and standard comments to all
22640 * elf/dl-lookup.c (check_match): New function.
22641 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22642 (do_lookup_x): Remove nested function check_match. Use non-nested
22643 function check_match.
22645 2014-02-28 Roland McGrath <roland@hack.frob.com>
22647 * csu/Makefile (generated, before-compile): Use += rather than =.
22648 * catgets/Makefile (generated, generated-dirs): Likewise.
22649 * debug/Makefile (generated): Likewise.
22650 * dlfcn/Makefile (generated): Likewise.
22651 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22652 * iconvdata/Makefile (before-compile, generated): Likewise.
22653 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22654 * libio/Makefile (generated): Likewise.
22655 * malloc/Makefile (generated): Likewise.
22656 * manual/Makefile (generated, generated-dirs): Likewise.
22657 * misc/Makefile (generated): Likewise.
22658 * posix/Makefile (generated): Likewise.
22659 * resolv/Makefile (generated): Likewise.
22660 * sunrpc/Makefile (generated, generated-dirs): Likewise.
22661 * timezone/Makefile (generated, generated-dirs): Likewise.
22663 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22665 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22668 power8 implementation.
22669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22670 file: POWER8 llround ifunc implementation.
22671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22672 (__lllround): Add POWER8 implementation.
22673 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22674 POWER8 llround implementation.
22676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22677 power8 implementation.
22678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22679 file: POWER8 llrint ifunc implementation.
22680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22681 Add POWER8 implementation.
22682 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22683 POWER8 llrint implementation.
22685 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22686 power8 implementation.
22687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22688 file: POWER8 finite ifunc implementation.
22689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22690 Add POWER8 implementation.
22691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22693 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22694 POWER8 finite implementation.
22695 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22697 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22698 power8 implementation.
22699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22700 file: POWER8 isinf ifunc implementation.
22701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22702 POWER8 implementation.
22703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22705 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22706 isinf implementation.
22707 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22709 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22710 (INIT_ARCH): Add hwcap2 initialization.
22711 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22712 power8 implementation.
22713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22714 file: POWER8 isnan ifunc implementation.
22715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22716 POWER8 implementation.
22717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22719 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22720 isnan implementation.
22721 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22723 2014-02-27 Joey Ye <joey.ye@arm.com>
22725 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22726 (_FP_NANFRAC_Q): Set to zero.
22728 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22731 * math/auto-libm-test-in: New test inputs.
22732 * math/auto-libm-test-out: Regenerate.
22733 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22736 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22738 2014-02-27 Joseph Myers <joseph@codesourcery.com>
22740 * scripts/evaluate-test.sh: Take new argument indicating whether
22741 failure is expected.
22742 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22743 indicating whether failure is expected.
22744 * conform/Makefile (test-xfail-run-conformtest): New variable.
22745 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22747 * posix/Makefile (test-xfail-annexc): New variable.
22748 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22750 2014-02-26 Joseph Myers <joseph@codesourcery.com>
22752 * argp/Makefile: Include Makeconfig immediately after defining
22754 * assert/Makefile: Likewise.
22755 * benchtests/Makefile: Likewise.
22756 * catgets/Makefile: Likewise.
22757 * conform/Makefile: Likewise.
22758 * crypt/Makefile: Likewise.
22759 * csu/Makefile: Likewise.
22760 (all): Remove target.
22761 * ctype/Makefile: Include Makeconfig immediately after defining
22763 * debug/Makefile: Likewise.
22764 * dirent/Makefile: Likewise.
22765 * dlfcn/Makefile: Likewise.
22766 * gmon/Makefile: Likewise.
22767 * gnulib/Makefile: Likewise.
22768 * grp/Makefile: Likewise.
22769 * gshadow/Makefile: Likewise.
22770 * hesiod/Makefile: Likewise.
22771 * hurd/Makefile: Likewise.
22772 (all): Remove target.
22773 * iconvdata/Makefile: Include Makeconfig immediately after
22775 * inet/Makefile: Likewise.
22776 * intl/Makefile: Likewise.
22777 * io/Makefile: Likewise.
22778 * libio/Makefile: Likewise.
22779 (all): Remove target.
22780 * locale/Makefile: Include Makeconfig immediately after defining
22782 * login/Makefile: Likewise.
22783 * mach/Makefile: Likewise.
22784 (all): Remove target.
22785 * malloc/Makefile: Include Makeconfig immediately after defining
22787 (all): Remove target.
22788 * manual/Makefile: Include Makeconfig immediately after defining
22790 * math/Makefile: Likewise.
22791 * misc/Makefile: Likewise.
22792 * nis/Makefile: Likewise.
22793 * nss/Makefile: Likewise.
22794 * po/Makefile: Likewise.
22795 (all): Remove target.
22796 * posix/Makefile: Include Makeconfig immediately after defining
22798 * pwd/Makefile: Likewise.
22799 * resolv/Makefile: Likewise.
22800 * resource/Makefile: Likewise.
22801 * rt/Makefile: Likewise.
22802 * setjmp/Makefile: Likewise.
22803 * shadow/Makefile: Likewise.
22804 * signal/Makefile: Likewise.
22805 * socket/Makefile: Likewise.
22806 * soft-fp/Makefile: Likewise.
22807 * stdio-common/Makefile: Likewise.
22808 * stdlib/Makefile: Likewise.
22809 * streams/Makefile: Likewise.
22810 * string/Makefile: Likewise.
22811 * sunrpc/Makefile: Likewise.
22812 (all): Remove target.
22813 * sysvipc/Makefile: Include Makeconfig immediately after defining
22815 * termios/Makefile: Likewise.
22816 * time/Makefile: Likewise.
22817 * timezone/Makefile: Likewise.
22818 (all): Remove target.
22819 * wcsmbs/Makefile: Include Makeconfig immediately after defining
22821 * wctype/Makefile: Likewise.
22823 2014-02-26 Steve Ellcey <sellcey@mips.com>
22825 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22826 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22827 (libc_feholdexcept_setround_mips): Ditto.
22828 (libc_feholdsetround): New.
22829 (libc_feholdsetroundf): New.
22830 (libc_feholdsetroundl): New.
22831 (libc_feupdateenv_test_mips): New.
22832 (libc_feupdateenv_test): New.
22833 (libc_feupdateenv_testf): New.
22834 (libc_feupdateenv_testl): New.
22835 (libc_feresetround): New.
22836 (libc_feresetroundf): New.
22837 (libc_feresetroundl): New.
22838 (libc_fetestexcept_mips): New.
22839 (libc_fetestexcept): New.
22840 (libc_fetestexceptf): New.
22841 (libc_fetestexceptl): New.
22842 (HAVE_RM_CTX): New.
22843 (libc_feholdexcept_setround_mips_ctx): New.
22844 (libc_feholdexcept_setround_ctx): New.
22845 (libc_feholdexcept_setroundf_ctx): New.
22846 (libc_feholdexcept_setroundl_ctx): New.
22847 (libc_fesetenv_mips_ctx): New.
22848 (libc_fesetenv_ctx): New.
22849 (libc_fesetenv_ctxf): New.
22850 (libc_fesetenv_ctxl): New.
22851 (libc_feupdateenv_mips_ctx): New.
22852 (libc_feupdateenv_ctx): New.
22853 (libc_feupdateenvf_ctx): New.
22854 (libc_feupdateenvl_ctx): New.
22855 (libc_feholdsetround_mips_ctx): New.
22856 (libc_feholdsetround_ctx): New.
22857 (libc_feholdsetroundf_ctx): New.
22858 (libc_feholdsetroundl_ctx): New.
22859 (libc_feresetround_mips_ctx): New.
22860 (libc_feresetround_ctx): New.
22861 (libc_feresetroundf_ctx): New.
22862 (libc_feresetroundl_ctx): New.
22864 2014-02-26 Carlos O'Donell <carlos@redhat.com>
22866 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22868 * manual/ipc.texi: New file.
22869 * manual/Makefile (chapters): Add ipc.
22870 * manual/job.texi: Add "Inter-Process Communication" to next.
22871 * manual/process.texi: Add "Inter-Process Communication" to prev.
22873 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22877 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
22879 * malloc/malloc.c (__libc_calloc): Simplify implementation.
22881 * manual/arith.texi: Fix spaces after sentences.
22882 * manual/charset.texi: Likewise.
22883 * manual/errno.texi: Likewise.
22884 * manual/install.texi: Likewise.
22885 * manual/llio.texi: Likewise.
22886 * manual/locale.texi: Likewise.
22887 * manual/maint.texi: Likewise.
22888 * manual/math.texi: Likewise.
22889 * manual/memory.texi: Likewise.
22890 * manual/message.texi: Likewise.
22891 * manual/probes.texi: Likewise.
22892 * manual/resource.texi: Likewise.
22893 * manual/signal.texi: Likewise.
22894 * manual/socket.texi: Likewise.
22895 * manual/stdio.texi: Likewise.
22896 * manual/string.texi: Likewise.
22897 * manual/time.texi: Likewise.
22898 * manual/users.texi: Likewise.
22900 2014-02-25 Carlos O'Donell <carlos@redhat.com>
22903 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22904 _DEFAULT_SOURCE is defined.
22906 2014-02-25 Ulrich Drepper <drepper@gmail.com>
22907 Carlos O'Donell <carlos@redhat.com>
22910 * elf/dl-tls.c (_dl_count_modids): New function.
22911 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22912 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22913 audit library and increment generation counter.
22914 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22915 * elf/tst-audit9.c: New file.
22916 * elf/tst-auditmod9a.c: New file.
22917 * elf/tst-auditmod9b.c: New file.
22918 * elf/Makefile: Add rules to build and run tst-audit9.
22920 2014-02-25 Florian Weimer <fweimer@redhat.com>
22923 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22925 2014-02-25 Will Newton <will.newton@linaro.org>
22927 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22928 (__longjmp): Restore sp and lr before restoring callee
22929 saved registers. Add longjmp and longjmp_target
22930 SystemTap probe point.
22931 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22932 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22933 Define to zero to match jmpbuf layout.
22934 * sysdeps/arm/setjmp.S: Include stap-probe.h.
22935 (__sigsetjmp): Save sp and lr before saving callee
22936 saved registers. Add setjmp SystemTap probe point.
22938 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22940 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22942 2014-02-24 Andreas Schwab <schwab@suse.de>
22945 * elf/pldd.c (wait_for_ptrace_stop): New function.
22946 (main): Call it after attaching.
22948 2014-02-22 Roland McGrath <roland@hack.frob.com>
22950 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22951 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22952 Versions files is now verboten.
22953 * hurd/Versions (libc: GLIBC_2.0):
22954 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22955 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22956 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22957 * mach/Versions: Likewise.
22959 * csu/Versions: Remove unused %include.
22960 * resolv/Versions: Likewise.
22962 2014-02-21 Joseph Myers <joseph@codesourcery.com>
22964 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22965 ($(objpfx)check-local-headers.out): Likewise.
22966 ($(objpfx)begin-end-check.out): Likewise.
22967 * Makerules (check-abi-%.out): Likewise.
22968 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22969 ($(objpfx)test2.cat): Likewise.
22970 ($(objpfx)de/libc.cat): Likewise.
22971 ($(objpfx)test-gencat.out): Likewise.
22972 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22973 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22974 ($(objpfx)noload-mem): Likewise.
22975 ($(objpfx)tst-pathopt.out): Likewise.
22976 ($(objpfx)tst-rtld-load-self.out): Likewise.
22977 ($(objpfx)tst-array1-cmp.out): Likewise.
22978 ($(objpfx)tst-array1-static-cmp.out): Likewise.
22979 ($(objpfx)tst-array2-cmp.out): Likewise.
22980 ($(objpfx)tst-array3-cmp.out): Likewise.
22981 ($(objpfx)tst-array4-cmp.out): Likewise.
22982 ($(objpfx)tst-array5-cmp.out): Likewise.
22983 ($(objpfx)tst-array5-static-cmp.out): Likewise.
22984 ($(objpfx)check-textrel.out): Likewise.
22985 ($(objpfx)check-execstack.out): Likewise.
22986 ($(objpfx)check-localplt.out): Likewise.
22987 ($(objpfx)order2-cmp.out): Likewise.
22988 ($(objpfx)tst-leaks1-mem): Likewise.
22989 ($(objpfx)tst-leaks1-static-mem): Likewise.
22990 ($(objpfx)tst-initorder-cmp.out): Likewise.
22991 ($(objpfx)tst-initorder2-cmp.out): Likewise.
22992 ($(objpfx)tst-unused-dep.out): Likewise.
22993 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22994 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22995 * iconv/Makefile (test-iconvconfig): Likewise.
22996 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22997 ($(objpfx)iconv-test.out): Likewise.
22998 ($(objpfx)tst-tables.out): Likewise.
22999 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23000 ($(objpfx)tst-gettext.out): Likewise.
23001 ($(objpfx)tst-translit.out): Likewise.
23002 ($(objpfx)tst-gettext2.out): Likewise.
23003 ($(objpfx)tst-gettext4.out): Likewise.
23004 ($(objpfx)tst-gettext6.out): Likewise.
23005 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23006 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23007 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23008 ($(objpfx)tst-fopenloc-mem.out): Likewise.
23009 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23010 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23011 * posix/Makefile ($(objpfx)globtest.out): Likewise.
23012 ($(objpfx)wordexp-tst.out): Likewise.
23013 ($(objpfx)annexc.out): Likewise.
23014 ($(objpfx)tst-fnmatch-mem): Likewise.
23015 ($(objpfx)bug-regex2-mem): Likewise.
23016 ($(objpfx)bug-regex14-mem): Likewise.
23017 ($(objpfx)bug-regex21-mem): Likewise.
23018 ($(objpfx)bug-regex31-mem): Likewise.
23019 ($(objpfx)tst-vfork3-mem): Likewise.
23020 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23021 ($(objpfx)tst-pcre-mem): Likewise.
23022 ($(objpfx)tst-boost-mem): Likewise.
23023 ($(objpfx)tst-getconf.out): Likewise.
23024 ($(objpfx)bug-ga2-mem): Likewise.
23025 ($(objpfx)bug-glob2-mem): Likewise.
23026 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23027 ($(objpfx)mtrace-tst-leaks2): Likewise.
23028 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23029 ($(objpfx)tst-printf.out): Likewise.
23030 ($(objpfx)tst-setvbuf1.out): Likewise.
23031 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23032 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23033 ($(objpfx)tst-fmtmsg.out): Likewise.
23034 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23035 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23037 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23038 * bits/sigaction.h [__USE_MISC]: Likewise.
23039 * bits/waitstatus.h: Update #endif comments.
23040 * ctype/ctype.h: Likewise.
23041 * dirent/dirent.h: Likewise.
23042 [__USE_MISC]: Remove redundant conditionals.
23043 * grp/grp.h: Update #endif comments.
23044 [__USE_GNU]: Remove redundant conditionals.
23045 [__USE_MISC]: Likewise.
23046 * inet/netinet/in.h [__USE_GNU]: Likewise.
23047 * io/sys/stat.h [__USE_MISC]: Likewise.
23048 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23049 * libio/bits/stdio.h: Update #endif comments.
23050 [__USE_MISC]: Remove redundant conditionals.
23051 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23052 * libio/stdio.h: Update #endif comments.
23053 [__USE_MISC]: Remove redundant conditionals.
23054 * math/bits/math-finite.h [__USE_MISC]: Likewise.
23055 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23056 * math/math.h: Update #else and #endif comments.
23057 [__USE_MISC]: Remove redundant conditionals.
23058 * misc/sys/uio.h: Update #endif comments.
23059 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23060 * posix/glob.h [__USE_MISC]: Likewise.
23061 * posix/sys/types.h: Update #endif comments.
23062 [__USE_MISC]: Remove redundant conditionals.
23063 * posix/sys/wait.h: Update #endif comments.
23064 [__USE_MISC]: Remove redundant conditionals.
23065 * posix/unistd.h: Update #endif comments.
23066 [__USE_MISC]: Remove redundant conditionals.
23067 * pwd/pwd.h [__USE_GNU]: Likewise.
23068 [__USE_MISC]: Likewise.
23069 * resolv/netdb.h [__USE_GNU]: Likewise.
23070 * signal/signal.h: Update #endif comments.
23071 [__USE_MISC]: Remove redundant conditionals.
23072 * stdlib/stdlib.h: Update #else and #endif comments.
23073 [__USE_MISC]: Remove redundant conditionals.
23074 [__USE_GNU]: Likewise.
23075 * string/bits/string2.h [__USE_MISC]: Likewise.
23076 * string/string.h: Update #endif comments.
23077 [__USE_MISC]: Remove redundant conditionals.
23078 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23080 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23081 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23082 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23084 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23086 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23088 [__USE_MISC]: Remove redundant conditionals.
23089 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23090 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23091 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23092 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23093 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23095 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23096 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23098 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23099 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23101 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23103 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23104 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23106 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23108 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23109 * sysdeps/x86/bits/string.h: Update #endif comments.
23110 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23112 * time/sys/time.h: Update #endif comments.
23113 * time/time.h: Likewise.
23114 [__USE_MISC]: Remove redundant conditionals.
23116 2014-02-21 Yury Gribov <y.gribov@samsung.com>
23119 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23121 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
23123 * Versions.def (librt): Add GLIBC_2.17.
23125 2014-02-21 Adam Conrad <adconrad@0c3.net>
23127 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23128 synonym for _SYS_AUXV_H to allow direct inclusion.
23129 * sysdeps/sparc/bits/hwcap.h: Likewise.
23130 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23131 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23132 * sysdeps/sparc/sysdep.h: Likewise.
23134 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23136 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23138 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23140 * benchtests/bench-strrchr.c: Print length instead of position.
23142 2014-02-20 Joseph Myers <joseph@codesourcery.com>
23145 * sysdeps/unix/sysv/linux/kernel-features.h
23146 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23147 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23148 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23149 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23151 [__i386__ || __powerpc__ || __sh__ || __sparc__]
23152 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23153 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23154 (__ASSUME_SENDMMSG): Define instead of using previous
23155 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23156 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23157 (__ASSUME_SENDMMSG_SYSCALL): Define.
23158 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23159 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23161 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23162 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23164 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23165 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23167 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23168 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23169 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23170 [__ASSUME_SENDMMSG]: Change conditionals to
23171 [__ASSUME_SENDMMSG_SOCKETCALL].
23172 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23173 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23175 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23176 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23178 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23179 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23180 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23181 [!__ASSUME_SENDMMSG]: Change conditional to
23182 [!__ASSUME_SENDMMSG_SOCKETCALL].
23183 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23184 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23188 * sysdeps/unix/sysv/linux/kernel-features.h
23189 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23190 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23191 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23192 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23193 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23194 [__i386__ || __sparc__]
23195 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23196 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23197 (__ASSUME_RECVMMSG): Define instead of using previous
23198 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23199 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23200 (__ASSUME_RECVMMSG_SYSCALL): Define.
23201 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23202 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23204 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23205 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23207 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23208 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23210 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23211 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23212 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23213 [__ASSUME_RECVMMSG]: Change condition to
23214 [__ASSUME_RECVMMSG_SOCKETCALL].
23215 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23216 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23218 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23219 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23220 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23222 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23223 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23224 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23225 [!__ASSUME_RECVMMSG]: Change condition to
23226 [!__ASSUME_RECVMMSG_SOCKETCALL].
23227 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23228 (__ASSUME_RECVMMSG_SYSCALL): Define.
23231 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23232 __powerpc__ || __s390__ || __sh__ || __sparc__]
23233 (__ASSUME_SOCKETCALL): Define.
23234 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23235 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23236 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23237 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23238 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23239 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23240 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23241 (__ASSUME_ACCEPT4): Define instead of using previous
23242 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23243 __powerpc__ || __sparc__ || __s390__)] condition.
23244 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23245 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23246 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23247 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23248 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23249 [!__ASSUME_ACCEPT4]: Change condition to
23250 [!__ASSUME_ACCEPT4_SOCKETCALL].
23251 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23252 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
23253 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23254 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23255 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23256 __ASSUME_ACCEPT4_SYSCALL.
23257 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23258 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23259 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23260 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23261 __ASSUME_ACCEPT4_SYSCALL.
23262 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23263 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23264 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23265 [__ASSUME_ACCEPT4]: Change condition to
23266 [__ASSUME_ACCEPT4_SOCKETCALL].
23267 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23268 (__ASSUME_SOCKETCALL): Define.
23269 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23270 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23271 (__ASSUME_SOCKETCALL): Define.
23272 (__ASSUME_ACCEPT4): Remove.
23273 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23275 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23276 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23278 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23279 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23281 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23283 (HWCAP_ARM_LPAE): Likewise.
23284 (HWCAP_ARM_EVTSTRM): Likewise.
23285 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23286 Add vpfd32, lpae and evtstrm.
23287 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23290 2014-02-19 Joseph Myers <joseph@codesourcery.com>
23292 * math/auto-libm-test-in: Add tests of clog10.
23293 * math/auto-libm-test-out: Regenerated.
23294 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23295 * sysdeps/i386/fpu/libm-test-ulps: Update.
23296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23298 2014-02-18 Andreas Schwab <schwab@suse.de>
23301 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23302 Store non-zero if the second buffer was newly allocated.
23303 (send_dg): Likewise.
23304 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23305 to send_vc and send_dg.
23306 (res_nsend): Pass NULL for ansp2_malloced.
23307 * resolv/res_query.c (__libc_res_nquery): Add parameter
23308 answerp2_malloced and pass it down to __libc_res_nsend.
23309 (res_nquery): Pass additional NULL to __libc_res_nquery.
23310 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23311 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
23312 second answer buffer if answerp2_malloced was set.
23313 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23314 (__libc_res_nquerydomain): Add parameter
23315 answerp2_malloced and pass it down to __libc_res_nquery.
23316 (res_nquerydomain): Pass additional NULL to
23317 __libc_res_nquerydomain.
23318 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23319 additional NULL to __libc_res_nsend and __libc_res_nquery.
23320 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23321 additional NULL to __libc_res_nsearch.
23322 (_nss_dns_gethostbyname4_r): Revert last change. Use new
23323 parameter of __libc_res_nsearch to check for separately allocated
23325 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23327 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23328 additional NULL to __libc_res_nquery.
23329 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23330 __libc_res_nsearch.
23331 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23332 * include/resolv.h: Update prototypes of __libc_res_nquery,
23333 __libc_res_nsearch, __libc_res_nsend.
23335 2014-02-18 Joseph Myers <joseph@codesourcery.com>
23337 * math/auto-libm-test-in: Add tests of fma.
23338 * math/auto-libm-test-out: Regenerated.
23339 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23340 (fma_towardzero_test_data): Likewise.
23341 (fma_downward_test_data): Likewise.
23342 (fma_upward_test_data): Likewise.
23343 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23345 (rounding_modes): Add values for new field.
23346 (func_calc_method): Add value mpfr_fff_f.
23347 (func_calc_desc): Add mpfr_fff_f union field.
23348 (test_function): Add field exact_args.
23349 (FUNC): Add macro argument EXACT_ARGS.
23350 (FUNC_mpfr_f_f): Update call to FUNC.
23351 (FUNC_mpfr_f_f): Likewise.
23352 (FUNC_mpfr_ff_f): Likewise.
23353 (FUNC_mpfr_if_f): Likewise.
23354 (FUNC_mpc_c_f): Likewise.
23355 (FUNC_mpc_c_c): Likewise.
23356 (test_functions): Add fma. Update calls to FUNC.
23357 (handle_input_arg): Add argument exact_args.
23358 (add_test): Update call to handle_input_arg.
23359 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
23360 (output_for_one_input_case): Update call to calc_generic_results.
23361 Recalculate exact zero results in each rounding mode.
23363 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23364 non-negative before setting low bit.
23365 * math/auto-libm-test-in: Mark one asin test possibly having
23366 spurious underflow.
23367 * math/auto-libm-test-out: Regenerated.
23368 * sysdeps/i386/fpu/libm-test-ulps: Update.
23369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23371 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
23373 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23374 * sysdeps/unix/sysv/linux/microblaze: Move directory from
23375 ports/sysdeps/unix/sysv/linux/microblaze.
23376 * README: Add missing listing for microblaze*-*-linux-gnu.
23378 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
23380 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23383 2014-02-16 Mike Frysinger <vapier@gentoo.org>
23385 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23386 * sysdeps/unix/sysv/linux/ia64: Move directory from
23387 ports/sysdeps/unix/sysv/linux/ia64.
23388 * README: Update listing for ia64-*-linux-gnu.
23390 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
23391 Joseph Myers <joseph@codesourcery.com>
23393 * Makeconfig (test-name): New variable.
23394 (evaluate-test): Likewise.
23395 * Makerules (do-test-clean): Remove .test-result files.
23396 (common-mostlyclean): Likewise.
23397 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23398 * scripts/evaluate-test.sh: New file.
23400 2014-02-14 Joseph Myers <joseph@codesourcery.com>
23402 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23403 separate $(objpfx)tst-fopenloc-cmp.out and
23404 $(objpfx)tst-fopenloc-mem.out targets.
23405 (tests): Update dependencies.
23406 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23407 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23408 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23409 (tst-rxspencer-no-utf8-ARGS): New variable.
23410 (tst-rxspencer-no-utf8-ENV): Likewise.
23411 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23412 instead of $(objpfx)tst-rxspencer-mem.
23413 ($(objpfx)tst-rxspencer-mem): Change target to
23414 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
23415 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23416 * posix/tst-rxspencer-no-utf8.c: New file.
23418 * elf/Makefile ($(objpfx)order.out): Remove rule.
23419 [$(run-built-tests) = yes] (tests): Depend on
23420 $(objpfx)order-cmp.out.
23421 ($(objpfx)order-cmp.out): New rule.
23422 [$(run-built-tests) = yes] (tests): Depend on
23423 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23424 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23425 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23426 $(objpfx)tst-array5-static-cmp.out.
23427 ($(objpfx)tst-array1.out): Remove rule.
23428 ($(objpfx)tst-array1-cmp.out): New rule.
23429 ($(objpfx)tst-array1-static.out): Remove rule.
23430 ($(objpfx)tst-array1-static-cmp.out): New rule.
23431 ($(objpfx)tst-array2.out): Remove rule.
23432 ($(objpfx)tst-array2-cmp.out): New rule.
23433 ($(objpfx)tst-array3.out): Remove rule.
23434 ($(objpfx)tst-array3-cmp.out): New rule.
23435 ($(objpfx)tst-array4.out): Remove rule.
23436 ($(objpfx)tst-array4-cmp.out): New rule.
23437 ($(objpfx)tst-array5.out): Remove rule.
23438 ($(objpfx)tst-array5-cmp.out): New rule.
23439 ($(objpfx)tst-array5-static.out): Remove rule.
23440 ($(objpfx)tst-array5-static-cmp.out): New rule.
23441 [$(run-built-tests) = yes] (tests): Depend on
23442 $(objpfx)order2-cmp.out.
23443 ($(objpfx)order2.out): Remove rule.
23444 ($(objpfx)order2-cmp.out): New rule.
23445 ($(objpfx)tst-initorder.out): Remove rule.
23446 [$(run-built-tests) = yes] (tests): Depend on
23447 $(objpfx)tst-initorder-cmp.out.
23448 ($(objpfx)tst-initorder-cmp.out): New rule.
23449 ($(objpfx)tst-initorder2.out): Remove rule.
23450 [$(run-built-tests) = yes] (tests): Depend on
23451 $(objpfx)tst-initorder2-cmp.out.
23452 ($(objpfx)tst-initorder2-cmp.out): New rule.
23453 [$(run-built-tests) = yes] (tests): Depend on
23454 $(objpfx)tst-unused-dep-cmp.out.
23455 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23456 ($(objpfx)tst-unused-dep-cmp.out): New rule.
23457 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23458 on $(objpfx)tst-setvbuf1-cmp.out.
23459 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23460 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23461 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23462 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23463 ($(objpfx)tst-svc.out): Remove rule.
23464 ($(objpfx)tst-svc-cmp.out): New rule.
23466 2014-02-13 Joseph Myers <joseph@codesourcery.com>
23468 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23469 * ctype/ctype.h [__USE_MISC]: Likewise.
23470 * dirent/dirent.h [__USE_MISC]: Likewise.
23471 * grp/grp.h [__USE_MISC]: Likewise.
23472 * io/fcntl.h [__USE_MISC]: Likewise.
23473 * io/sys/stat.h [__USE_MISC]: Likewise.
23474 * libio/stdio.h [__USE_MISC]: Likewise.
23475 * posix/unistd.h [__USE_MISC]: Likewise.
23476 * pwd/pwd.h [__USE_MISC]: Likewise.
23477 * stdlib.h [__USE_MISC]: Likewise.
23478 * string/bits/string2.h [__USE_MISC]: Likewise.
23479 * string/string.h [__USE_MISC]: Likewise.
23480 * time/time.h [__USE_MISC]: Likewise.
23482 2014-02-13 Andreas Schwab <schwab@suse.de>
23485 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23486 second answer buffer if it was separately allocated.
23488 2014-02-12 Joseph Myers <joseph@codesourcery.com>
23490 * sysdeps/mips/math-tests.h: Include <features.h>.
23491 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23492 (ROUNDING_TESTS_long_double): Do not define.
23493 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23494 (EXCEPTION_TESTS_long_double): Likewise.
23495 * sysdeps/mips/mips64/libm-test-ulps: Update.
23497 * include/features.h (__USE_BSD): Remove macro definitions.
23498 (__USE_SVID): Likewise.
23499 (_BSD_SOURCE): Likewise.
23500 (_SVID_SOURCE): Likewise.
23501 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23502 from definition of _DEFAULT_SOURCE.
23503 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23505 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23506 * bits/mman.h [__USE_BSD]: Likewise.
23507 * bits/termios.h [__USE_BSD]: Likewise.
23508 * bits/waitstatus.h [__USE_BSD]: Likewise.
23509 * ctype/ctype.h [__USE_SVID]: Likewise.
23510 * dirent/dirent.h [__USE_BSD]: Likewise.
23511 * grp/grp.h [__USE_SVID]: Likewise.
23512 [__USE_BSD]: Likewise.
23513 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23514 * io/fcntl.h [__USE_BSD]: Likewise.
23515 * io/ftw.h [__USE_BSD]: Likewise.
23516 * io/sys/stat.h [__USE_BSD]: Likewise.
23517 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23518 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23519 * libio/stdio.h [__USE_SVID]: Likewise.
23520 [__USE_BSD]: Likewise.
23521 * math/math.h [__USE_SVID]: Likewise.
23522 [__USE_BSD]: Likewise.
23523 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23524 * misc/bits/syslog.h [__USE_BSD]: Likewise.
23525 * misc/search.h [__USE_SVID]: Likewise.
23526 * misc/sys/mman.h [__USE_BSD]: Likewise.
23527 * misc/sys/syslog.h [__USE_BSD]: Likewise.
23528 * misc/sys/uio.h [__USE_BSD]: Likewise.
23529 * posix/bits/unistd.h [__USE_BSD]: Likewise.
23530 * posix/glob.h [__USE_BSD]: Likewise.
23531 * posix/regex.h [__USE_BSD]: Likewise.
23532 * posix/sys/types.h [__USE_BSD]: Likewise.
23533 [__USE_SVID]: Likewise.
23534 * posix/sys/utsname.h [__USE_SVID]: Likewise.
23535 * posix/sys/wait.h [__USE_BSD]: Likewise.
23536 [__USE_SVID]: Likewise.
23537 * posix/unistd.h [__USE_BSD]: Likewise.
23538 [__USE_SVID]: Likewise.
23539 * pwd/pwd.h [__USE_SVID]: Likewise.
23540 * resolv/netdb.h [__USE_BSD]: Likewise.
23541 * setjmp/setjmp.h [__USE_BSD]: Likewise.
23542 * signal/signal.h [__USE_BSD]: Likewise.
23543 [__USE_SVID]: Likewise.
23544 * socket/sys/socket.h [__USE_BSD]: Likewise.
23545 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23546 * stdlib/stdlib.h [__USE_BSD]: Likewise.
23547 [__USE_SVID]: Likewise.
23548 * string/bits/string2.h [__USE_BSD]: Likewise.
23549 [__USE_SVID]: Likewise.
23550 * string/bits/string3.h [__USE_BSD]: Likewise.
23551 * string/endian.h [__USE_BSD]: Likewise.
23552 * string/string.h [__USE_SVID]: Likewise.
23553 [__USE_BSD]: Likewise.
23554 * string/strings.h [__USE_BSD]: Likewise.
23555 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23556 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23557 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23558 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23559 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23560 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23562 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23564 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23565 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23567 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23568 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23570 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23572 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23573 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23574 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23576 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23578 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23579 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23580 * termios/termios.h [__USE_BSD]: Likewise.
23581 * time/sys/time.h [__USE_BSD]: Likewise.
23582 * time/time.h [__USE_BSD]: Likewise.
23583 [__USE_SVID]: Likewise.
23585 * Makefile (subdir_targets): Remove subdir_lint.out.
23587 * stdio-common/Makefile (do-tst-unbputc): Remove target.
23588 (do-tst-printf): Likewise.
23589 (tests): Depend directly on $(objpfx)tst-unbputc.out and
23590 $(objpfx)tst-printf.out.
23592 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23594 * Makerules (check-abi-%): Change target to
23595 $(objpfx)check-abi-%.out.
23596 (check-abi target): Update dependencies.
23597 (check-abi-pattern variable): Redirect output of diff to $@.
23598 (check-abi variable): Likewise.
23599 * elf/Makefile (check-abi): Update dependencies.
23601 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23603 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23604 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23606 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23607 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23608 value has largest subnormal exponent.
23609 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23610 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23611 * sysdeps/aarch64/soft-fp/sfp-machine.h
23612 (_FP_TININESS_AFTER_ROUNDING): New macro.
23613 * sysdeps/alpha/soft-fp/sfp-machine.h
23614 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23615 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23617 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23618 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23619 * sysdeps/mips/soft-fp/sfp-machine.h
23620 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23621 * sysdeps/powerpc/soft-fp/sfp-machine.h
23622 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23623 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23625 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23626 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23627 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23628 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23629 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23632 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
23635 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23638 2014-02-12 Richard Henderson <rth@redhat.com>
23640 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23641 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23642 * sysdeps/unix/sysv/linux/alpha: Move directory from
23643 ports/sysdeps/unix/sysv/linux/alpha.
23644 * README: Update listing for alpha-*-linux-gnu.
23646 2014-02-11 Joseph Myers <joseph@codesourcery.com>
23648 * include/features.h: Update comment documenting feature test
23650 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
23652 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23653 (_SVID_SOURCE): Likewise.
23654 (_DEFAULT_SOURCE): Update description of default features.
23655 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23657 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23658 (S_ISVTX): Likewise.
23659 * manual/math.texi (Mathematical Constants): Likewise.
23660 * manual/signal.texi (Interrupted Primitives): Likewise.
23661 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23662 * math/test-matherr.c (_SVID_SOURCE): Do not define.
23663 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23664 Don't refer to _SVID_SOURCE in warning text.
23666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23668 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23670 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23671 * sysdeps/mips/dl-lookup.c: Remove.
23672 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23674 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23677 * math/auto-libm-test-in: Add testcase for expl.
23678 * math/auto-libm-test-out: Regenerate.
23679 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23680 calculation of unsafe.
23681 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23683 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
23685 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23686 * sysdeps/unix/sysv/linux/aarch64: Move directory from
23687 ports/sysdeps/unix/sysv/linux/aarch64.
23688 * README: Update listing for aarch64*-*-linux-gnu.
23690 2014-02-11 Will Newton <will.newton@linaro.org>
23692 * manual/probes.texi (Mathematical Function Probes): Use
23693 "triggered" instead of "hit".
23695 * manual/probes.texi (Internal Probes): Add documentation
23696 of setjmp, longjmp and longjmp_target probes.
23698 * include/stap-probe.h: Add comment about probe argument
23701 * malloc/mtrace.c (attribute_hidden): Remove unused macro
23702 definition. (tr_where, tr_freehook, tr_mallochook,
23703 tr_reallochook, tr_memalignhook): Use ANSI protoype.
23705 2014-02-11 David S. Miller <davem@davemloft.net>
23707 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23708 processing int_tests.
23710 2014-02-10 Joseph Myers <joseph@codesourcery.com>
23712 * sysdeps/mips: Move directory from ports/sysdeps/mips.
23713 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23714 * sysdeps/unix/sysv/linux/mips: Move directory from
23715 ports/sysdeps/unix/sysv/linux/mips.
23716 * README: Update listing for mips-*-linux-gnu and
23717 mips64-*-linux-gnu.
23719 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
23721 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23722 * sysdeps/unix/sysv/linux/m68k: Move directory from
23723 ports/sysdeps/unix/sysv/linux/m68k.
23724 * README: Update listing for m68k-*-linux-gnu.
23726 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
23728 * sysdeps/tile: Move directory from ports/sysdeps/tile.
23729 * sysdeps/unix/sysv/linux/generic: Move directory from
23730 ports/sysdeps/unix/sysv/linux/generic.
23731 * sysdeps/unix/sysv/linux/tile: Move directory from
23732 ports/sysdeps/unix/sysv/linux/tile.
23733 * README: Update listing for tile*-*-linux-gnu.
23735 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
23737 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23739 * benchtests/bench-memmem.c (simple_memmem): Likewise.
23740 * catgets/open_catalog.c (__open_catalog): Likewise.
23741 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23742 * debug/confstr_chk.c: Likewise.
23743 * debug/fread_chk.c (__fread_chk): Likewise.
23744 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23745 * debug/getgroups_chk.c: Likewise.
23746 * debug/mbsnrtowcs_chk.c: Likewise.
23747 * debug/mbsrtowcs_chk.c: Likewise.
23748 * debug/mbstowcs_chk.c: Likewise.
23749 * debug/memcpy_chk.c: Likewise.
23750 * debug/memmove_chk.c: Likewise.
23751 * debug/mempcpy_chk.c: Likewise.
23752 * debug/memset_chk.c: Likewise.
23753 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23754 * debug/strcat_chk.c (__strcat_chk): Likewise.
23755 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23756 * debug/strncat_chk.c (__strncat_chk): Likewise.
23757 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23758 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23759 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23760 * debug/wcpncpy_chk.c: Likewise.
23761 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23762 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23763 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23764 * debug/wcsncpy_chk.c: Likewise.
23765 * debug/wcsnrtombs_chk.c: Likewise.
23766 * debug/wcsrtombs_chk.c: Likewise.
23767 * debug/wcstombs_chk.c: Likewise.
23768 * debug/wmemcpy_chk.c: Likewise.
23769 * debug/wmemmove_chk.c: Likewise.
23770 * debug/wmempcpy_chk.c: Likewise.
23771 * debug/wmemset_chk.c: Likewise.
23772 * dirent/scandirat.c (SCANDIRAT): Likewise.
23773 * dlfcn/dladdr1.c (dladdr1): Likewise.
23774 * dlfcn/dladdr.c (dladdr): Likewise.
23775 * dlfcn/dlclose.c (dlclose_doit): Likewise.
23776 * dlfcn/dlerror.c (__dlerror): Likewise.
23777 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23778 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23779 * dlfcn/dlopen.c (dlopen_doit): Likewise.
23780 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23781 * dlfcn/dlsym.c (dlsym_doit): Likewise.
23782 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23783 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23784 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23786 * elf/dl-conflict.c: Likewise.
23787 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23788 * elf/dl-dst.h: Likewise.
23789 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23790 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23791 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23792 * elf/dl-init.c (call_init, _dl_init): Likewise.
23793 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23794 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23795 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23797 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23799 * elf/dl-minimal.c (__libc_memalign): Likewise.
23800 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23801 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23802 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23803 * elf/dl-sym.c (do_sym): Likewise.
23804 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23805 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23806 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23807 * elf/dl-writev.h (_dl_writev): Likewise.
23808 * elf/ldconfig.c (search_dir): Likewise.
23809 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23810 (dl_main): Likewise.
23811 * elf/setup-vdso.h (setup_vdso): Likewise.
23812 * grp/compat-initgroups.c (compat_call): Likewise.
23813 * grp/fgetgrent.c (fgetgrent): Likewise.
23814 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23815 * grp/putgrent.c (putgrent): Likewise.
23816 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23818 * hurd/hurdinit.c: Likewise.
23819 * iconvdata/8bit-gap.c (struct): Likewise.
23820 * iconvdata/ansi_x3.110.c : Likewise.
23821 * iconvdata/big5.c : Likewise.
23822 * iconvdata/big5hkscs.c : Likewise.
23823 * iconvdata/cp1255.c: Likewise.
23824 * iconvdata/cp1258.c : Likewise.
23825 * iconvdata/cp932.c : Likewise.
23826 * iconvdata/euc-cn.c: Likewise.
23827 * iconvdata/euc-jisx0213.c : Likewise.
23828 * iconvdata/euc-jp.c: Likewise.
23829 * iconvdata/euc-jp-ms.c : Likewise.
23830 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23831 * iconvdata/gb18030.c : Likewise.
23832 * iconvdata/gbbig5.c (const): Likewise.
23833 * iconvdata/gbgbk.c: Likewise.
23834 * iconvdata/gbk.c : Likewise.
23835 * iconvdata/ibm1364.c : Likewise.
23836 * iconvdata/ibm930.c : Likewise.
23837 * iconvdata/ibm932.c: Likewise.
23838 * iconvdata/ibm933.c : Likewise.
23839 * iconvdata/ibm935.c : Likewise.
23840 * iconvdata/ibm937.c : Likewise.
23841 * iconvdata/ibm939.c : Likewise.
23842 * iconvdata/ibm943.c: Likewise.
23843 * iconvdata/iso_11548-1.c: Likewise.
23844 * iconvdata/iso-2022-cn.c : Likewise.
23845 * iconvdata/iso-2022-cn-ext.c : Likewise.
23846 * iconvdata/iso-2022-jp-3.c: Likewise.
23847 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23848 * iconvdata/iso-2022-kr.c : Likewise.
23849 * iconvdata/iso646.c (gconv_end): Likewise.
23850 * iconvdata/iso_6937-2.c : Likewise.
23851 * iconvdata/iso_6937.c : Likewise.
23852 * iconvdata/iso8859-1.c: Likewise.
23853 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23854 * iconvdata/shift_jisx0213.c : Likewise.
23855 * iconvdata/sjis.c : Likewise.
23856 * iconvdata/t.61.c : Likewise.
23857 * iconvdata/tcvn5712-1.c : Likewise.
23858 * iconvdata/tscii.c: Likewise.
23859 * iconvdata/uhc.c : Likewise.
23860 * iconvdata/unicode.c (gconv_end): Likewise.
23861 * iconvdata/utf-16.c (gconv_end): Likewise.
23862 * iconvdata/utf-32.c (gconv_end): Likewise.
23863 * iconvdata/utf-7.c (base64): Likewise.
23864 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23865 * iconv/gconv_close.c (__gconv_close): Likewise.
23866 * iconv/gconv_open.c (__gconv_open): Likewise.
23867 * iconv/gconv_simple.c (internal_ucs4_loop_single)
23868 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23869 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23870 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23871 (ucs4le_internal_loop_single): Likewise.
23872 * iconv/iconv.c (iconv): Likewise.
23873 * iconv/iconv_close.c: Likewise.
23874 * iconv/loop.c (SINGLE): Likewise.
23875 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23876 * include/atomic.h: Likewise.
23877 * inet/inet6_option.c (option_alloc): Likewise.
23878 * intl/bindtextdom.c (set_binding_values): Likewise.
23879 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23880 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23881 * intl/localealias.c (read_alias_file): Likewise.
23882 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23883 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23884 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23885 * libio/fmemopen.c (fmemopen): Likewise.
23886 * libio/iofgets.c (_IO_fgets): Likewise.
23887 * libio/iofgets_u.c (fgets_unlocked): Likewise.
23888 * libio/iofgetws.c (fgetws): Likewise.
23889 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23890 * libio/iogetdelim.c (_IO_getdelim): Likewise.
23891 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23892 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23893 * locale/findlocale.c (_nl_find_locale): Likewise.
23894 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23895 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23897 * locale/setlocale.c (setlocale): Likewise.
23898 * login/programs/pt_chown.c (main): Likewise.
23899 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23900 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23901 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23902 (mmap, mmap64, mremap, munmap): Likewise.
23903 * math/e_exp2l.c: Likewise.
23904 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23905 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23906 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23907 * math/s_catan.c (__catan): Likewise.
23908 * math/s_catanf.c (__catanf): Likewise.
23909 * math/s_catanh.c (__catanh): Likewise.
23910 * math/s_catanhf.c (__catanhf): Likewise.
23911 * math/s_catanhl.c (__catanhl): Likewise.
23912 * math/s_catanl.c (__catanl): Likewise.
23913 * math/s_ccosh.c (__ccosh): Likewise.
23914 * math/s_ccoshf.c (__ccoshf): Likewise.
23915 * math/s_ccoshl.c (__ccoshl): Likewise.
23916 * math/s_cexp.c (__cexp): Likewise.
23917 * math/s_cexpf.c (__cexpf): Likewise.
23918 * math/s_cexpl.c (__cexpl): Likewise.
23919 * math/s_clog10.c (__clog10): Likewise.
23920 * math/s_clog10f.c (__clog10f): Likewise.
23921 * math/s_clog10l.c (__clog10l): Likewise.
23922 * math/s_clog.c (__clog): Likewise.
23923 * math/s_clogf.c (__clogf): Likewise.
23924 * math/s_clogl.c (__clogl): Likewise.
23925 * math/s_csin.c (__csin): Likewise.
23926 * math/s_csinf.c (__csinf): Likewise.
23927 * math/s_csinh.c (__csinh): Likewise.
23928 * math/s_csinhf.c (__csinhf): Likewise.
23929 * math/s_csinhl.c (__csinhl): Likewise.
23930 * math/s_csinl.c (__csinl): Likewise.
23931 * math/s_csqrt.c (__csqrt): Likewise.
23932 * math/s_csqrtf.c (__csqrtf): Likewise.
23933 * math/s_csqrtl.c (__csqrtl): Likewise.
23934 * math/s_ctan.c (__ctan): Likewise.
23935 * math/s_ctanf.c (__ctanf): Likewise.
23936 * math/s_ctanh.c (__ctanh): Likewise.
23937 * math/s_ctanhf.c (__ctanhf): Likewise.
23938 * math/s_ctanhl.c (__ctanhl): Likewise.
23939 * math/s_ctanl.c (__ctanl): Likewise.
23940 * math/w_pow.c: Likewise.
23941 * math/w_powf.c: Likewise.
23942 * math/w_powl.c: Likewise.
23943 * math/w_scalb.c (sysv_scalb): Likewise.
23944 * math/w_scalbf.c (sysv_scalbf): Likewise.
23945 * math/w_scalbl.c (sysv_scalbl): Likewise.
23946 * misc/error.c (error_tail): Likewise.
23947 * misc/pselect.c (__pselect): Likewise.
23948 * nis/nis_callback.c (__nis_create_callback): Likewise.
23949 * nis/nis_call.c (__nisfind_server): Likewise.
23950 * nis/nis_creategroup.c (nis_creategroup): Likewise.
23951 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23952 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23953 * nis/nis_getservlist.c (nis_getservlist): Likewise.
23954 * nis/nis_lookup.c (nis_lookup): Likewise.
23955 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23956 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23957 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23958 * nis/nis_xdr.c (xdr_endpoint): Likewise.
23959 * nis/nss_compat/compat-grp.c (getgrent_next_file)
23960 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23961 * nis/nss_compat/compat-initgroups.c (add_group)
23962 (internal_getgrent_r): Likewise.
23963 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23964 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23965 * nis/nss_compat/compat-spwd.c (getspent_next_file)
23966 (internal_getspnam_r): Likewise.
23967 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23968 (_nss_nis_getaliasbyname_r): Likewise.
23969 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23970 (_nss_nis_getntohost_r): Likewise.
23971 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23972 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23973 (_nss_nis_getgrgid_r): Likewise.
23974 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23975 (internal_nis_gethostent_r, internal_gethostbyname2_r)
23976 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23977 (_nss_nis_gethostbyname4_r): Likewise.
23978 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23979 (initgroups_netid): Likewise.
23980 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23981 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23982 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23983 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23984 (_nss_nis_getprotobynumber_r): Likewise.
23985 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23986 (_nss_nis_getsecretkey): Likewise.
23987 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23988 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23989 (_nss_nis_getpwuid_r): Likewise.
23990 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23991 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23992 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23993 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23994 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23995 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23996 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23998 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23999 (_nss_nisplus_getntohost_r): Likewise.
24000 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24001 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24002 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24003 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24005 * nis/nss_nisplus/nisplus-initgroups.c
24006 (_nss_nisplus_initgroups_dyn): Likewise.
24007 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24008 (_nss_nisplus_getnetbyaddr_r): Likewise.
24009 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24010 (_nss_nisplus_getprotobynumber_r): Likewise.
24011 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24012 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24013 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24015 * nis/nss_nisplus/nisplus-service.c
24016 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24017 (_nss_nisplus_getservbyport_r): Likewise.
24018 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24019 (_nss_nisplus_getspnam_r): Likewise.
24020 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24022 * nscd/aicache.c (addhstaiX): Likewise.
24023 * nscd/cache.c (cache_search, prune_cache): Likewise.
24024 * nscd/connections.c (register_traced_file, send_ro_fd)
24025 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24026 (main_loop_epoll): Likewise.
24027 * nscd/grpcache.c (addgrbyX): Likewise.
24028 * nscd/hstcache.c (addhstbyX): Likewise.
24029 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24030 * nscd/mem.c (gc, mempool_alloc): Likewise.
24031 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24032 (addinnetgrX): Likewise.
24033 * nscd/nscd-client.h (__nscd_acquire_maplock)
24034 (__nscd_drop_map_ref): Likewise.
24035 * nscd/nscd_getai.c (__nscd_getai): Likewise.
24036 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24037 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24039 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24040 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24041 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24042 (__nscd_get_map_ref): Likewise.
24043 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24044 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24046 * nscd/pwdcache.c (addpwbyX): Likewise.
24047 * nscd/selinux.c (preserve_capabilities): Likewise.
24048 * nscd/servicescache.c (addservbyX): Likewise.
24049 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24050 * posix/fnmatch.c (fnmatch): Likewise.
24051 * posix/getopt.c (_getopt_internal_r): Likewise.
24052 * posix/glob.c (glob, glob_in_dir): Likewise.
24053 * posix/wordexp.c (exec_comm_child): Likewise.
24054 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24055 (getanswer_r, gaih_getanswer_slice): Likewise.
24056 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24057 * resolv/res_init.c: Likewise.
24058 * resolv/res_mkquery.c (res_nmkquery): Likewise.
24059 * resolv/res_query.c (__libc_res_nquery): Likewise.
24060 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24062 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24063 * stdio-common/perror.c (perror): Likewise.
24064 * stdio-common/printf_fp.c (___printf_fp): Likewise.
24065 * stdio-common/tmpnam.c (tmpnam): Likewise.
24066 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24067 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24068 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24070 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24071 * stdlib/putenv.c (putenv): Likewise.
24072 * stdlib/setenv.c (__add_to_environ): Likewise.
24073 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24074 * stdlib/strtol_l.c (INTERNAL): Likewise.
24075 * string/memmem.c (memmem): Likewise.
24076 * string/strerror.c (strerror): Likewise.
24077 * string/strnlen.c (__strnlen): Likewise.
24078 * string/test-memmem.c (simple_memmem): Likewise.
24079 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24080 * sunrpc/pm_getport.c (__get_socket): Likewise.
24081 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24082 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24083 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24084 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24086 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24087 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24088 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24089 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24090 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24091 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24093 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24095 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24096 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24097 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24098 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24099 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24101 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24102 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24103 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24104 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24105 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24106 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24108 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24110 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24112 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24113 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24114 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24115 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24116 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24117 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24118 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24119 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24120 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24121 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24122 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24123 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24124 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24125 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24127 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24129 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24131 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24133 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24135 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24137 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24139 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24140 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24141 * sysdeps/posix/opendir.c (__opendirat): Likewise.
24142 * sysdeps/posix/sleep.c: Likewise.
24143 * sysdeps/posix/tempname.c: Likewise.
24144 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24145 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24147 * sysdeps/powerpc/powerpc32/dl-machine.h
24148 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24149 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24150 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24151 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24152 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24154 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24155 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24156 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24157 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24158 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24159 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24160 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24161 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24162 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24163 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24164 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24165 (elf_machine_lazy_rel): Likewise.
24166 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24167 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24168 (elf_machine_lazy_rel): Likewise.
24169 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24170 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24171 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24172 * sysdeps/unix/grantpt.c (grantpt): Likewise.
24173 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24174 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24175 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24176 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24178 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24179 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24180 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24181 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24182 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24183 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24184 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24185 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24186 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24187 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24188 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24190 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24191 (__posix_fallocate64_l64): Likewise.
24192 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24193 (posix_fallocate): Likewise.
24194 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24196 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24197 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24198 (getifaddrs_internal): Likewise.
24199 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24200 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24201 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24202 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24203 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24204 (__posix_fallocate64_l64): Likewise.
24205 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24207 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24208 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24209 (__get_clockfreq): Likewise.
24210 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24211 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24212 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24213 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24214 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24215 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24216 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24217 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24219 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24220 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24221 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24222 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24223 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24224 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24225 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24227 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24228 (posix_fallocate): Likewise.
24229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24230 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24231 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24232 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24233 (elf_machine_rela, elf_machine_rela_relative)
24234 (elf_machine_lazy_rel): Likewise.
24235 * time/asctime.c (asctime_internal): Likewise.
24236 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24237 * time/tzset.c (__tzset_parse_tz): Likewise.
24238 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24239 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24240 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24241 * wcsmbs/wcsmbsload.h: Likewise.
24244 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24246 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24247 (arena_get2): Remove THREAD_STATS conditionals.
24248 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24249 (__malloc_stats, int): Likewise.
24251 2014-02-08 Mike Frysinger <vapier@gentoo.org>
24253 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24254 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
24256 * manual/setjmp.texi: Fix typos/grammar errors.
24258 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24259 Only return early when n is <= 0. Delete unused return statement.
24261 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24262 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24263 * debug/tst-longjmp_chk3.c: New file.
24265 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24266 (test_main): Replace code with set_fortify_handler call.
24267 * debug/test-strcpy_chk.c: Likewise.
24268 * debug/tst-chk1.c: Likewise.
24269 * debug/tst-longjmp_chk.c: Likewise.
24270 * test-skeleton.c: Include fcntl.h & paths.h
24271 (set_fortify_handler): Define.
24273 * debug/tst-longjmp_chk.c: Add header comment and include
24274 ../test-skeleton.c.
24275 (do_test): Mark static.
24276 (TEST_FUNCTION): Define.
24278 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24279 (IP_PMTUDISC_INTERFACE): Likewise.
24280 (IP_MULTICAST_IF): Likewise.
24281 (IP_MULTICAST_TTL): Likewise.
24282 (IP_MULTICAST_LOOP): Likewise.
24283 (IP_ADD_MEMBERSHIP): Likewise.
24284 (IP_DROP_MEMBERSHIP): Likewise.
24285 (IP_UNBLOCK_SOURCE): Likewise.
24286 (IP_BLOCK_SOURCE): Likewise.
24287 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24288 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24289 (IP_MSFILTER): Likewise.
24290 (MCAST_JOIN_GROUP): Likewise.
24291 (MCAST_BLOCK_SOURCE): Likewise.
24292 (MCAST_UNBLOCK_SOURCE): Likewise.
24293 (MCAST_LEAVE_GROUP): Likewise.
24294 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24295 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24296 (MCAST_MSFILTER): Likewise.
24297 (IP_MULTICAST_ALL): Likewise.
24298 (IP_UNICAST_IF): Likewise.
24300 * timezone/Makefile: Delete $(have-ksh) check.
24301 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24302 * timezone/tzselect.ksh: Add +x mode bits.
24304 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24305 (ANON_INODE_FS_MAGIC): Likewise.
24306 (BDEVFS_MAGIC): Likewise.
24307 (BINFMTFS_MAGIC): Likewise.
24308 (BTRFS_TEST_MAGIC): Likewise.
24309 (CRAMFS_MAGIC_WEND): Likewise.
24310 (DEBUGFS_MAGIC): Likewise.
24311 (ECRYPTFS_SUPER_MAGIC): Likewise.
24312 (EXT3_SUPER_MAGIC): Likewise.
24313 (EXT4_SUPER_MAGIC): Likewise.
24314 (FUTEXFS_SUPER_MAGIC): Likewise.
24315 (HOSTFS_SUPER_MAGIC): Likewise.
24316 (HUGETLBFS_MAGIC): Likewise.
24317 (MINIX3_SUPER_MAGIC): Likewise.
24318 (MTD_INODE_FS_MAGIC): Likewise.
24319 (NILFS_SUPER_MAGIC): Likewise.
24320 (OPENPROM_SUPER_MAGIC): Likewise.
24321 (PIPEFS_MAGIC): Likewise.
24322 (PSTOREFS_MAGIC): Likewise.
24323 (QNX6_SUPER_MAGIC): Likewise.
24324 (RAMFS_MAGIC): Likewise.
24325 (REISERFS_SUPER_MAGIC_STRING): Likewise.
24326 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24327 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24328 (SECURITYFS_MAGIC): Likewise.
24329 (SELINUX_MAGIC): Likewise.
24330 (SMACK_MAGIC): Likewise.
24331 (SOCKFS_MAGIC): Likewise.
24332 (SQUASHFS_MAGIC): Likewise.
24333 (STACK_END_MAGIC): Likewise.
24334 (TMPFS_MAGIC): Likewise.
24335 (USBDEVICE_SUPER_MAGIC): Likewise.
24336 (V9FS_MAGIC): Likewise.
24337 (XENFS_SUPER_MAGIC): Likewise.
24338 (CRAMFS_MAGIC): Fix typo in comment.
24339 (EXT2_SUPER_MAGIC): Update comment.
24340 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24342 2014-02-08 Joseph Myers <joseph@codesourcery.com>
24344 * sysdeps/arm: Move directory from ports/sysdeps/arm.
24345 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24346 * sysdeps/unix/sysv/linux/arm: Move directory from
24347 ports/sysdeps/unix/sysv/linux/arm.
24348 * README: Update listing for arm-*-linux-gnueabi.
24350 * README: Remove mention of am33.
24352 2014-02-07 Roland McGrath <roland@hack.frob.com>
24354 * bits/sigset.h (__sigemptyset): Use a statement expression rather
24355 than the comma operator, to avoid "rhs of comma has no effect"
24357 (__sigfillset, __sigandset, __sigorset): Likewise.
24358 * include/signal.h (__sigemptyset): Likewise.
24359 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24361 2014-02-07 Allan McRae <allan@archlinux.org>
24363 * version.h (RELEASE): Set to "development".
24364 (VERSION): Set to "2.19.90"
24365 * NEWS: Add 2.20 section.
24367 2014-02-06 Carlos O'Donell <carlos@redhat.com>
24370 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24372 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24374 * manual/contrib.texi: Update entry for Carlos O'Donell,
24375 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24377 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
24379 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24381 * sysdeps/unix/sysv/linux/kernel-features.h
24382 [__LINUX_KERNEL_VERSION >= 0x020621]
24383 (__ASSUME_PROC_PID_TASK_COMM): Define.
24385 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24388 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24389 conversion when destination buffer does not have enough space.
24390 * libio/tst-ftell-partial-wide.c: New test case.
24391 * libio/Makefile (tests): Add tst-ftell-partial-wide.
24393 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24394 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
24395 Leonard and Allan McRae.
24397 2014-02-04 David S. Miller <davem@davemloft.net>
24399 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24402 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24431 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24433 * nptl/shlib-versions: Change powerpc*le start to 2.17.
24434 * shlib-versions: Likewise.
24436 2014-02-04 Roland McGrath <roland@hack.frob.com>
24437 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24439 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24440 (abilist-pattern): New variable, set to %-le.abilist.
24442 * Makerules (abilist-pattern): New variable.
24443 (vpath): Use $(abilist-pattern) in place of %.abilist.
24444 (check-abi-% pattern rule): Likewise.
24445 (check-abi, update-abi): Likewise.
24447 2014-02-04 Eric Wong <normalperson@yhbt.net>
24449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24451 2014-02-03 Carlos O'Donell <carlos@redhat.com>
24453 * manual/startup.texi: Add next, previous, and top entries for
24454 the `Program Arguments' and `Environment Variables' nodes.
24456 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
24458 * manual/macros.texi: Add comments before MTASC-safety macros.
24460 * manual/users.texi: Document MTASC-safety properties.
24462 * manual/threads.texi (pthread_key_create, pthread_key_delete)
24463 (pthread_getspecific, pthread_setspecific): Format with
24464 @deftypefun, and add @safety note.
24465 * manual/signal.texi: Move comments that analyze the above
24466 functions to their home place.
24468 2014-02-03 Allan McRae <allan@archlinux.org>
24470 * po/sl.po: Update Slovenian translation from translation project.
24472 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
24474 * manual/time.texi (timegm): Add missing blank after @c.
24475 Reported by Joseph Myers <joseph@codesourcery.com>.
24477 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
24479 * manual/check-safety.sh: New.
24480 * manual/Makefile ($(objpfx)stamp-summary): Run it.
24482 * manual/terminal.texi: Document MTASC-safety properties.
24484 * manual/filesys.texi: Document MTASC-safety properties.
24486 * manual/errno.texi: Document MTASC-safety properties.
24488 * manual/intro.texi: Document safety identifiers and
24491 * manual/string.texi (wcstok): Fix prototype.
24492 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24494 * manual/time.texi: Document MTASC-safety properties.
24496 * manual/string.texi: Document MTASC-safety properties.
24498 * manual/threads.texi: Document MTASC-safety properties.
24500 * manual/stdio.texi: Document MTASC-safety properties.
24502 * manual/syslog.texi: Document MTASC-safety properties.
24504 * manual/sysinfo.texi: Document MTASC-safety properties.
24506 * manual/startup.texi: Document MTASC-safety properties.
24508 * manual/socket.texi: Document MTASC-safety properties.
24510 * manual/signal.texi: Document MTASC-safety properties.
24512 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
24514 * manual/setjmp.texi: Document MTASC-safety properties.
24516 * manual/search.texi: Document MTASC-safety properties.
24518 * manual/resource.texi: Document MTASC-safety properties.
24520 * manual/process.texi: Document MTASC-safety properties.
24522 * manual/platform.texi: Document MTASC-safety properties.
24524 * manual/pipe.texi: Document MTASC-safety properties.
24526 * manual/pattern.texi: Document MTASC-safety properties.
24528 * manual/message.texi: Document MTASC-safety properties.
24531 * manual/memory.texi: Document MTASC-safety properties.
24533 * manual/math.texi: Document MTASC-safety properties.
24535 * manual/locale.texi: Document MTASC-safety properties.
24537 * manual/llio.texi: Document MTASC-safety properties.
24539 * manual/libdl.texi: New.
24541 * manual/lang.texi: Document MTASC-safety properties.
24543 * manual/job.texi: Document MTASC-safety properties.
24545 * manual/getopt.texi: Document MTASC-safety properties.
24547 * manual/ctype.texi: Document MTASC-safety properties.
24549 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
24552 * csu/libc-tls.c (static_map): Remove variable.
24553 (__libc_setup_tls): Use main executable's link map for TLS data.
24554 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24555 casing for LM_ID_BASE and GL(dl_nns).
24556 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24557 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
24558 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24559 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24560 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24562 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24565 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
24567 * manual/debug.texi: Document MTASC-safety properties.
24569 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
24572 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24573 of __x86_64__ when disabling x87 inline functions.
24575 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
24577 * manual/charset.texi: Document MTASC-safety properties.
24579 * manual/crypt.texi: Document MTASC-safety properties.
24581 * manual/conf.texi: Document MTASC-safety properties.
24583 * manual/arith.texi: Document MTASC-safety properties.
24585 * manual/argp.texi: Document MTASC-safety properties.
24587 * manual/macros.texi: Introduce macros to document multi
24588 thread, asynchronous signal and asynchronous cancellation
24590 * manual/intro.texi: Introduce the properties themselves.
24592 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24594 * sysdeps/sh/sh4/Makefile: New file.
24596 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
24598 * math/gen-libm-test.pl ($srcdir): New variable.
24599 ($auto_input): Use it.
24601 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24604 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24605 access beyond array bounds when parsing netgroups file.
24607 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24608 the old buffer before realloc.
24610 2014-01-27 Allan McRae <allan@archlinux.org>
24612 * po/fr.po: Update French translation from translation project.
24614 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24616 * sysdeps/sh/libm-test-ulps: Regenerate.
24618 2014-01-24 David S. Miller <davem@davemloft.net>
24620 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24622 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24624 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24625 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24627 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24630 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24631 string pointers after reallocation.
24633 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24635 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24636 __SH4A__ instead of __SH_FPU_ANY__.
24638 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24640 * sysdeps/sh/fpu_control.h: New file.
24641 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24642 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24643 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24644 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24645 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24646 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24647 * sysdeps/sh/sys/ucontext.h: Remove.
24648 * sysdeps/sh/sys: Remove directory.
24650 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24652 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24653 s390/sys/ucontext.h.
24654 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24655 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24657 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
24660 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24662 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24665 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24666 Adjust the vDSO correctly for internal calls.
24667 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24669 2014-01-20 Allan McRae <allan@archlinux.org>
24671 * po/ca.po: Update Catalan translation from translation project.
24673 2014-01-16 Mike Frysinger <vapier@gentoo.org>
24675 * sysdeps/s390/sotruss-lib.c: New file.
24677 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24680 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24681 (__GI___gettimeofday): Alias for a different internal symbol to avoid
24682 local calls issues by not having a PLT stub required for IFUNC calls.
24683 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24685 2014-01-16 Joseph Myers <joseph@codesourcery.com>
24687 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24688 * math/test-fpucw-static.c: Likewise.
24690 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24693 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24695 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24697 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24698 implementation for powerpc.
24700 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
24703 * sysdeps/posix/system.c (__libc_system): Do not enable
24704 asynchronous cancellation.
24706 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24709 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24710 handling only for numbers special also in the IEEE case.
24712 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24714 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24716 2014-01-11 Allan McRae <allan@archlinux.org>
24718 * po/bg.po: Update Bulgarian translation from translation project.
24720 * po/de.po: Update German translation from translation project.
24722 2014-01-10 Roland McGrath <roland@hack.frob.com>
24724 * sysdeps/generic/gcc-compat.h: New file.
24726 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24728 * benchtests/asin-inputs: Correct slow inputs.
24729 * benchtests/acos-inputs: Likewise.
24731 2014-01-10 Allan McRae <allan@archlinux.org>
24733 * po:sv.po: Update Swedish translation from translation project.
24735 * po/vi.po: Update Vietnamese translation from translation project.
24737 * po/eo.po: Update Esperanto translation from translation project.
24739 * po/cs.po: Update Czech translation from translation project.
24741 * po/nl.po: Update Dutch translation from translation project.
24743 * po/pl.po: Update Polish translation from translation project.
24745 * po/ru.po: Update Russian translation from translation project.
24747 * po/uk.po: Update Ukrainian translation from translation project.
24749 2014-01-08 Brooks Moses <bmoses@google.com>
24751 * elf/dl-load.c: Fix comment typo.
24753 2014-01-08 Carlos O'Donell <carlos@redhat.com>
24755 * po/header.pot: Rename to...
24756 * po/pot.header: ... this.
24757 * po/Makefile: Use pot.header.
24759 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
24760 Maxim Kuvyrkov <maxim@kugelworks.com>
24763 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24764 SRC and DEST against LEN.
24766 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24769 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24771 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24773 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24777 2014-01-08 Joseph Myers <joseph@codesourcery.com>
24780 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24781 for large positive arguments.
24783 2014-01-07 Joseph Myers <joseph@codesourcery.com>
24785 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24787 * math/auto-libm-test-in: Mark various tests with
24788 xfail-rounding:ldbl-128ibm.
24789 * math/auto-libm-test-out: Regenerated.
24792 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24793 Increase overflow threshold.
24795 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
24798 * stdio-common/vfprintf.c: Check for integer overflow.
24800 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24802 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24803 the first argument and return value of __tls_get_addr_internal.
24805 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24807 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24808 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24810 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24812 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24813 * sysdeps/s390/rtld-global-offsets.sym: New file.
24814 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24816 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24817 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24818 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24820 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24821 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24827 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24828 halfs of GPRs for high_gprs contexts.
24829 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24830 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
24832 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24834 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24836 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24837 for high GPRs (uc_high_gprs) and for future extensions
24839 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24840 for future extensions (__reserved).
24841 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24843 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24844 SC_HIGHGPRS offset definition.
24845 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24846 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24848 * Versions.def: Add GLIBC_2.19 for libpthread.
24849 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24850 siglongjmp for libpthread with GLIBC_2.19 symver.
24851 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24852 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24853 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24854 * sysdeps/s390/__longjmp.c: New file.
24855 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24856 * sysdeps/s390/longjmp.c: New file.
24857 * sysdeps/s390/setjmp.S: New file.
24858 * sysdeps/s390/sigjmp.S: New file.
24859 * sysdeps/s390/v1-longjmp.c: New file.
24860 * sysdeps/s390/v1-setjmp.h: New file.
24861 * sysdeps/s390/v1-sigjmp.c: New file.
24862 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24863 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24864 GLIBC_2.19 version.
24865 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24866 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24867 versioned symbols for ____longjmp_chk.
24868 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24878 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24879 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24880 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24881 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24882 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24883 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24884 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24885 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24886 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24887 * sysdeps/s390/rtld-__longjmp.c: New file.
24888 * sysdeps/s390/rtld-setjmp.S: New file.
24890 2014-01-06 Joseph Myers <joseph@codesourcery.com>
24893 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24894 Return -__logl (x) for small positive arguments without evaluating
24897 2014-01-06 Mike Frysinger <vapier@gentoo.org>
24899 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24901 (__ptrace_peeksiginfo_args): ... this.
24902 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24903 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24904 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24906 2014-01-06 Allan McRae <allan@archlinux.org>
24908 * inet/netinet/in.h: Fix typo in comment.
24910 2014-01-05 Andreas Jaeger <aj@suse.de>
24912 * sysdeps/i386/fpu/libm-test-ulps: Update.
24914 2014-01-05 Allan McRae <allan@archlinux.org>
24916 * po/libc.pot: Regenerated.
24918 * malloc/memusagestat.c: Fix gettext call formatting.
24920 2014-01-04 Sami Kerola <kerolasa@iki.fi>
24922 * nscd/nscd.c: Improve usage() output.
24924 2014-01-04 Mike Frysinger <vapier@gentoo.org>
24926 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24927 * sysdeps/unix/sysv/linux/configure: Regenerated.
24928 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24929 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24931 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24934 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24935 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24937 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24939 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24940 extra tokens at end of #undef directive.
24941 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24942 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24943 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24945 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24947 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24949 * math/auto-libm-test-in: Mark various tests with
24950 xfail-rounding:ldbl-128ibm.
24951 * math/auto-libm-test-out: Regenerated.
24953 2014-01-02 Joseph Myers <joseph@codesourcery.com>
24956 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24957 numbers with subnormal high part when calculating exponent.
24960 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24964 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24966 (__ieee754_acoshl): Use __log1pl not __log1p.
24968 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
24970 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24971 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24972 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24973 (grow_heap, heap_trim, _int_new_arena, get_free_list)
24974 (reused_arena, arena_get2): Convert to GNU style.
24975 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24976 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24977 (memalign_check, __malloc_set_state): Likewise.
24978 * malloc/mallocbug.c (main): Likewise.
24979 * malloc/malloc.c (__malloc_assert, malloc_init_state)
24980 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24981 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24982 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24983 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24984 (__posix_memalign, malloc_info): Likewise.
24985 * malloc/malloc.h: Likewise.
24986 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24987 (mallochook, memalignhook, reallochook, mabort): Likewise.
24988 * malloc/mcheck.h: Likewise.
24989 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24990 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24991 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24992 * malloc/morecore.c (__default_morecore): Likewise.
24993 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24994 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24995 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24996 (print_and_abort): Likewise.
24997 * malloc/obstack.h: Likewise.
24998 * malloc/set-freeres.c (__libc_freeres): Likewise.
24999 * malloc/tst-mallocstate.c (main): Likewise.
25000 * malloc/tst-mtrace.c (main): Likewise.
25001 * malloc/tst-realloc.c (do_test): Likewise.
25003 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25006 * nscd/netgroupcache.c (do_notfound): New function.
25007 (addgetnetgrentX): Use it.
25010 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25011 NSS_STATUS_NOTFOUND.
25013 2014-01-01 Joseph Myers <joseph@codesourcery.com>
25015 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25018 2014-01-01 Allan McRae <allan@archlinux.org>
25020 * scripts/update-copyrights: Update configure input file suffix.
25022 * NEWS: Update copyright year.
25023 * catgets/gencat.c: Likewise.
25024 * csu/version.c: Likewise.
25025 * debug/catchsegv.sh: Likewise.
25026 * debug/pcprofiledump.c: Likewise.
25027 * debug/xtrace.sh: Likewise.
25028 * elf/ldconfig.c: Likewise.
25029 * elf/ldd.bash.in: Likewise.
25030 * elf/pldd.c: Likewise.
25031 * elf/sotruss.ksh: Likewise.
25032 * elf/sprof.c: Likewise.
25033 * iconv/iconv_prog.c: Likewise.
25034 * iconv/iconvconfig.c: Likewise.
25035 * locale/programs/locale.c: Likewise.
25036 * locale/programs/localedef.c: Likewise.
25037 * login/programs/pt_chown.c: Likewise.
25038 * malloc/memusage.sh: Likewise.
25039 * malloc/memusagestat.c: Likewise.
25040 * malloc/mtrace.pl: Likewise.
25041 * manual/libc.texinfo: Likewise.
25042 * nscd/nscd.c: Likewise.
25043 * nss/getent.c: Likewise.
25044 * nss/makedb.c: Likewise.
25045 * posix/getconf.c: Likewise.
25046 * scripts/test-installation.pl: Likewise.
25048 * All files with FSF copyright notices: Update copyright dates
25049 using scripts/update-copyrights.
25050 * intl/plural.c: Regenerated.
25051 * locale/programs/charmap-kw.h: Likewise.
25052 * locale/programs/locfile-kw.h: Likewise.
25054 2013-12-31 Mike Frysinger <vapier@gentoo.org>
25056 * sysdeps/unix/sysv/linux/configure: Regenerated.
25057 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25058 the linux/fanotify.h header.
25059 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25060 HAVE_LINUX_FANOTIFY_H is defined.
25062 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25064 * benchtests/cos-inputs: New inputs.
25065 * benchtests/sin-inputs: Likewise.
25067 * benchtests/atan-inputs: New inputs. Fix name of multiple
25068 precision fallback inputs.
25070 * benchtests/atanh-inputs: New inputs.
25071 * benchtests/tanh-inputs: Likewise.
25073 * benchtests/acosh-inputs: New inputs.
25074 * benchtests/asinh-inputs: Likewise.
25076 * benchtests/cosh-inputs: New inputs.
25077 * benchtests/sinh-inputs: Likewise.
25079 * benchtests/acos-inputs: Add more inputs.
25080 * benchtests/asin-inputs: Likewise.
25082 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
25085 * manual/arith.texi: Fix spelling.
25086 * manual/charset.texi: Likewise.
25087 * manual/errno.texi: Likewise.
25088 * manual/filesys.texi: Likewise.
25089 * manual/lang.texi: Likewise.
25090 * manual/llio.texi: Likewise.
25091 * manual/locale.texi: Likewise.
25092 * manual/message.texi: Likewise.
25093 * manual/resource.texi: Likewise.
25094 * manual/search.texi: Likewise.
25095 * manual/setjmp.texi: Likewise.
25096 * manual/stdio.texi: Likewise.
25097 * manual/string.texi: Likewise.
25098 * manual/sysinfo.texi: Likewise.
25099 * manual/time.texi: Likewise.
25101 2013-12-27 Carlos O'Donell <carlos@redhat.com>
25103 * po/sl.po: New file.
25105 2013-12-27 Mike Frysinger <vapier@gentoo.org>
25107 * .gitignore: Add core/.gdbinit/.gdb_history.
25109 2013-12-27 Allan McRae <allan@archlinux.org>
25112 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25113 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25115 2013-12-24 Brooks Moses <bmoses@google.com>
25117 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25118 all compilers that claim C++98 compliance, not just GCC.
25119 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25122 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
25124 * NEWS: Restore accidentally deleted bug-fix entries.
25126 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
25127 Ondřej Bílka <neleai@seznam.cz>
25130 * malloc/malloc.c (_int_free): Perform sanity check only if we
25133 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
25136 * manual/stdio.texi (String Input Conversions): Clarify that character
25137 classes are not supported.
25139 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25143 2013-12-22 Joseph Myers <joseph@codesourcery.com>
25146 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25147 Calculate results for small negative arguments directly rather
25148 than using reflection formula with special underflow handling.
25150 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25151 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25152 sysdeps/unix/bsd/bsd4.4/syscalls.list.
25153 (fchflags): Likewise.
25154 (revoke): Likewise.
25155 (setlogin): Likewise.
25156 (sigaltstack): Likewise.
25158 (sigblock): Remove.
25159 (sigsetmask): Likewise.
25161 (waitpid): Likewise.
25162 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25163 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25165 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25166 * sysdeps/unix/bsd/Makefile: ... here.
25167 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25168 * sysdeps/unix/bsd/Versions: ... here.
25169 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25170 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25171 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25172 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25173 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25174 * sysdeps/unix/bsd/sigblock.c: ... here.
25175 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25176 * sysdeps/unix/bsd/sigsetmask.c: ... here.
25177 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25178 * sysdeps/unix/bsd/sigvec.c: ... here.
25179 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25180 * sysdeps/unix/bsd/tcdrain.c: ... here.
25181 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25182 * sysdeps/unix/bsd/tcgetattr.c: ... here.
25183 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25184 * sysdeps/unix/bsd/tcsetattr.c: ... here.
25185 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25186 * sysdeps/unix/bsd/wait.c: ... here.
25187 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25188 * sysdeps/unix/bsd/wait3.c: ... here.
25189 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25190 * sysdeps/unix/bsd/waitpid.c: ... here.
25192 2013-12-21 Joseph Myers <joseph@codesourcery.com>
25195 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25196 round-to-nearest for [!USE_AS_EXPM1L].
25197 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25198 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
25199 more tests of exp and exp10. Expect some exp10 tests to miss
25200 exceptions or fail in directed rounding modes.
25201 * math/auto-libm-test-out: Regenerated.
25202 * math/libm-test.inc (exp10_tonearest_test_data): New array.
25203 (exp10_test_tonearest): New function.
25204 (exp10_towardzero_test_data): New array.
25205 (exp10_test_towardzero): New function.
25206 (exp10_downward_test_data): New array.
25207 (exp10_test_downward): New function.
25208 (exp10_upward_test_data): New array.
25209 (exp10_test_upward): New function.
25210 (main): Call the new functions.
25211 * sysdeps/i386/fpu/libm-test-ulps: Update.
25212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25214 2013-12-20 Joseph Myers <joseph@codesourcery.com>
25216 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25217 asinh, atan, atan2, atanh, cbrt, cos and cosh.
25218 * math/auto-libm-test-out: Regenerated.
25219 * math/libm-test.inc (acosh_test_data): Add more tests.
25220 (atanh_test_data): Likewise.
25221 (ceil_test_data): Likewise.
25222 (copysign_test_data): Likewise.
25223 * sysdeps/i386/fpu/libm-test-ulps: Update.
25224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25226 * timezone/checktab.awk: Update from tzcode 2013i.
25227 * timezone/private.h: Likewise.
25228 * timezone/scheck.c: Likewise.
25229 * timezone/tzfile.h: Likewise.
25230 * timezone/tzselect.ksh: Likewise.
25231 * timezone/zdump.c: Likewise.
25232 * timezone/zic.c: Likewise.
25234 * math/auto-libm-test-in: Add tests of cpow.
25235 * math/auto-libm-test-out: Regenerated.
25236 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25237 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25239 (func_calc_desc): Add mpc_cc_c union field.
25240 (test_functions): Add cpow.
25241 (special_fill_2pi): New function.
25242 (special_real_inputs): Add 2pi.
25243 (calc_generic_results): Handle mpc_cc_c.
25244 * sysdeps/i386/fpu/libm-test-ulps: Update.
25245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25247 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25248 csqrt, ctan and ctanh.
25249 * math/auto-libm-test-out: Regenerated.
25250 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25251 (TEST_COND_x86): Likewise.
25252 (ccos_test_data): Use AUTO_TESTS_c_c.
25253 (ccosh_test_data): Likewise.
25254 (cexp_test_data): Likewise.
25255 (clog_test_data): Likewise.
25256 (csqrt_test_data): Likewise.
25257 (ctan_test_data): Likewise.
25258 (ctan_tonearest_test_data): Likewise.
25259 (ctan_towardzero_test_data): Likewise.
25260 (ctan_downward_test_data): Likewise.
25261 (ctan_upward_test_data): Likewise.
25262 (ctanh_test_data): Likewise.
25263 (ctanh_tonearest_test_data): Likewise.
25264 (ctanh_towardzero_test_data): Likewise.
25265 (ctanh_downward_test_data): Likewise.
25266 (ctanh_upward_test_data): Likewise.
25267 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25269 (func_calc_desc): Add mpc_c_c union field.
25270 (FUNC_mpc_c_c): New macro.
25271 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25272 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25274 (special_fill_min_subnorm_p120): New function.
25275 (special_real_inputs): Add min_subnorm_p120.
25276 (calc_generic_results): Handle mpc_c_c.
25277 * sysdeps/i386/fpu/libm-test-ulps: Update.
25278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25280 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25282 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25283 (do_sin_slow): New functions.
25284 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25285 (cslow2, csloww1, csloww2): Use the new functions.
25287 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25288 Use M to change sign of result instead of X. Assume X is
25290 (csloww1): Likewise.
25294 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25295 arguments A and DA.
25299 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25301 (sloww1): Don't adjust sign of DX.
25302 (csloww1): Likewise.
25303 (sloww2): Use X directly and don't adjust sign of DX.
25304 (csloww2): Likewise.
25306 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25308 * math/auto-libm-test-in: Add tests of cabs and carg.
25309 * math/auto-libm-test-out: Regenerated.
25310 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25311 (carg_test_data): Likewise.
25312 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25314 (func_calc_desc): Add mpc_c_f union field.
25315 (test_functions): Add cabs and carg.
25316 (calc_generic_results): Handle mpc_c_f.
25318 * sysdeps/powerpc/powerpc32/libgcc-compat.S
25319 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25320 as a macro and a compat symbol.
25321 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25322 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25323 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25324 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25325 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25326 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25328 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25330 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25332 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25334 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25336 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25338 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25339 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25342 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25346 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25348 * manual/texinfo.tex: Update to version 2013-11-26.10 with
25349 trailing whitespace removed.
25350 * scripts/config.guess: Update to version 2013-11-29.
25351 * scripts/config.sub: Update to version 2013-10-01.
25353 * math/auto-libm-test-in: Add tests of sincos.
25354 * math/auto-libm-test-out: Regenerated.
25355 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25356 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25358 (func_calc_desc): Add mpfr_f_11 union field.
25359 (test_functions): Add sincos.
25360 (calc_generic_results): Handle mpfr_f_11.
25361 * sysdeps/i386/fpu/libm-test-ulps: Update.
25362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25364 2013-12-19 Andreas Schwab <schwab@suse.de>
25366 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25368 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25369 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25370 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25372 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25374 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25375 * sysdeps/i386/fpu/libm-test-ulps: Update.
25376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25379 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25380 round-to-nearest mode when using frndint.
25381 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25382 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25383 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25385 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
25387 * math/auto-libm-test-out: Regenerated.
25388 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25389 (TEST_COND_x86): Likewise.
25390 (expm1_tonearest_test_data): New array.
25391 (expm1_test_tonearest): New function.
25392 (expm1_towardzero_test_data): New array.
25393 (expm1_test_towardzero): New function.
25394 (expm1_downward_test_data): New array.
25395 (expm1_test_downward): New function.
25396 (expm1_upward_test_data): New array.
25397 (expm1_test_upward): New function.
25398 (main): Run the new test functions.
25399 * sysdeps/i386/fpu/libm-test-ulps: Update.
25400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25402 * include/features.h: Update comment documenting feature test
25403 macros. Mention _DEFAULT_SOURCE in comment.
25404 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25405 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25406 _BSD_SOURCE and _SVID_SOURCE.
25407 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25408 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25409 !_SVID_SOURCE]: Likewise.
25410 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25411 (__USE_POSIX_IMPLICITLY): Define.
25412 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25413 (_POSIX_SOURCE): Undefine and redefine.
25414 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25415 (_POSIX_C_SOURCE): Likewise.
25416 * manual/creature.texi (_DEFAULT_SOURCE): Document.
25417 (Feature Test Macros): Update documentation of default features.
25419 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25421 * benchtests/Makefile: Add bench-strtok.
25422 * benchtests/bench-strtok.c: New file: strtok benchtest.
25424 2013-12-19 Allan McRae <allan@archlinux.org>
25426 * manual/install.texi: Suppress menu for plain text output.
25427 * INSTALL: Regenerated.
25429 2013-12-18 Brooks Moses <bmoses@google.com>
25432 * misc/getauxval.c: Include errno.h.
25433 (__getauxval): Set errno to ENOENT if the requested type is not
25435 * misc/sys/auxv.h (getauxval): Document that it may set errno;
25436 don't declare with __attribute_const__.
25437 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25438 * manual/startup.texi: Document that getauxval sets errno.
25440 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25442 * math/auto-libm-test-in: Add tests of jn and yn.
25443 * math/auto-libm-test-out: Regenerated.
25444 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25445 (yn_test_data): Likewise.
25446 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25448 (func_calc_desc): Add mpfr_if_f union field.
25449 (FUNC_mpfr_if_f): New macro.
25450 (test_functions): Add jn and yn.
25451 (calc_generic_results): Assert type of second input for
25452 mpfr_ff_f. Handle mpfr_if_f.
25453 (output_for_one_input_case): Disable all checking for arguments
25454 fitting floating-point types in case of an integer argument.
25455 * sysdeps/i386/fpu/libm-test-ulps: Update.
25456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25459 Don't expect fegetround reference in libm.so.
25461 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25463 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25464 $(config-cflags-nofma).
25466 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25468 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25469 * math/auto-libm-test-out: Regenerated.
25472 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25473 to determine exponent and adjust argument to have exponent of -1.
25474 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25476 * math/auto-libm-test-out: Regenerated.
25477 * sysdeps/i386/fpu/libm-test-ulps: Update.
25478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25480 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
25482 * manual/probes.texi: Remove cases when per-thread arenas are
25485 2013-12-18 Andreas Schwab <schwab@suse.de>
25487 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25488 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25489 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25490 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25491 * sysdeps/i386/i686/multiarch/Makefile: Update.
25492 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25494 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25496 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25497 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25499 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
25502 Support TZ transition times < 00:00:00.
25503 This is needed for version-3 tz-format files; it supports time
25504 stamps past 2037 for America/Godthab (the only entry in the tz
25505 database for which this change is relevant).
25506 * manual/time.texi (TZ Variable): Document transition times
25507 from -167:59:59 through -00:00:01.
25508 * time/tzset.c (tz_rule): Time of day is now signed.
25509 (__tzset_parse_tz): Parse negative time of day.
25511 Document TZ transition times >= 25:00:00.
25512 * manual/time.texi (TZ Variable): Document transition times from
25513 25:00:00 through 167:59:59. These are already supported, and this
25514 support will help with version-3 tz-format files.
25516 * manual/time.texi (TZ Variable): Modernize North America example
25517 to reflect current (i.e., 2007-and-later) daylight saving rules.
25519 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25521 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25523 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25524 * sysdeps/unix/bsd/bits/stat.h: Likewise.
25525 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25527 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25528 * sysdeps/unix/bsd/bsdstat.h: Likewise.
25529 * sysdeps/unix/bsd/clock.c: Likewise.
25530 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25531 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25532 * sysdeps/unix/bsd/init-posix.c: Likewise.
25533 * sysdeps/unix/bsd/poll.c: Likewise.
25534 * sysdeps/unix/bsd/ptsname.c: Likewise.
25535 * sysdeps/unix/bsd/seekdir.c: Likewise.
25536 * sysdeps/unix/bsd/setegid.c: Likewise.
25537 * sysdeps/unix/bsd/seteuid.c: Likewise.
25538 * sysdeps/unix/bsd/setgid.c: Likewise.
25539 * sysdeps/unix/bsd/setrgid.c: Likewise.
25540 * sysdeps/unix/bsd/setruid.c: Likewise.
25541 * sysdeps/unix/bsd/setsid.c: Likewise.
25542 * sysdeps/unix/bsd/setuid.c: Likewise.
25543 * sysdeps/unix/bsd/sigaction.c: Likewise.
25544 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25545 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25546 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25547 * sysdeps/unix/bsd/telldir.c: Likewise.
25548 * sysdeps/unix/bsd/times.c: Likewise.
25549 * sysdeps/unix/bsd/usleep.c: Likewise.
25551 * misc/Makefile (install-lib): Remove libbsd-compat.a.
25552 ($(objpfx)libbsd-compat.a): Remove rule.
25554 * include/features.h (__FAVOR_BSD): Do not define.
25555 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25556 features conflicting with POSIX.
25557 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25558 (_BSD_SOURCE): Remove description of not being a subset of other
25559 feature test macros.
25560 * manual/job.texi (getpgrp): Do not document BSD version.
25561 (getpgid): Do not document by reference to BSD getpgrp.
25562 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25563 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25564 * signal/signal.h [__FAVOR_BSD]: Likewise.
25565 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25566 instead of making contents conditional on [__FAVOR_BSD].
25567 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25569 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25573 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25576 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25577 values below 2**-450, not 2**-500.
25578 * math/auto-libm-test-in: Don't allow spurious underflow from
25580 * math/auto-libm-test-out: Regenerated.
25584 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25585 values of ha and hb and sort them after adjusting subnormal
25587 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25589 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25590 values of ea and eb and sort them after adjusting subnormal
25592 * math/auto-libm-test-in: Do not expect some hypot tests of
25593 subnormals to fail. Add more hypot tests.
25594 * math/auto-libm-test-out: Regenerated.
25596 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25599 * sysdeps/sh/s_fma.c: New file.
25600 * sysdeps/sh/s_fmaf.c: New file.
25601 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
25603 * sysdeps/sh/Implies: Add sh/soft-fp.
25605 2013-12-16 Roland McGrath <roland@hack.frob.com>
25607 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
25608 level of indirection to members `objname', `errstring', `malloced'.
25609 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25610 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
25611 it as the __longjmp argument (just pass 1 instead).
25612 (_dl_catch_error): Initialize C with argument pointers and address of
25613 volatile local ERRCODE rather than copying values out of C at return.
25615 2013-12-16 Joseph Myers <joseph@codesourcery.com>
25617 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25618 * math/auto-libm-test-out: Regenerated.
25619 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25620 (hypot_test_data): Likewise.
25621 (pow_test_data): Likewise.
25622 (pow_tonearest_test_data): Likewise.
25623 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25625 (func_calc_desc): Add mpfr_ff_f union field.
25626 (FUNC_mpfr_ff_f): New macro.
25627 (test_functions): Add atan2, hypot and pow.
25628 (special_fill_min): New function.
25629 (special_fill_minus_min): Likewise.
25630 (special_fill_min_subnorm): Likewise.
25631 (special_fill_minus_min_subnorm): Likewise.
25632 (special_real_inputs): Add min, -min, min_subnorm and
25634 (calc_generic_results): Handle mpfr_ff_f.
25635 * sysdeps/i386/fpu/libm-test-ulps: Update.
25636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25638 2013-12-16 Will Newton <will.newton@linaro.org>
25640 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25641 (Aligned Memory Blocks): Add documentation for aligned_alloc
25642 and suggest it as an alternative to posix_memalign.
25643 (Hooks for Malloc): Document __memalign_hook is also called
25644 for aligned_alloc. (Summary of Malloc): Add summary for
25645 aligned alloc. Document __memalign_hook is also called
25648 2013-12-16 Will Newton <will.newton@linaro.org>
25650 * manual/memory.texi (Malloc Examples): Clarify default
25651 alignment documentation. Suggest posix_memalign rather
25652 than memalign or valloc.
25653 (Aligned Memory Blocks): Remove suggestion to use memalign
25654 or valloc. Remove obsolete comment about BSD.
25655 Document memalign errno values and mark the function obsolete.
25656 Document posix_memalign returned error codes. Mark valloc
25657 as obsolete. (Hooks for Malloc): __memalign_hook is also
25658 called for posix_memalign and valloc.
25659 (Summary of Malloc): Add posix_memalign to function summary.
25660 __memalign_hook is also called for posix_memalign and valloc.
25662 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25664 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25668 (sloww): Use mynumber union. Expand ternary operator into
25669 if-else statements.
25670 (cslow): use mynumber union.
25672 2013-12-16 Allan McRae <allan@archlinux.org>
25674 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25675 * configure: Regenerated.
25677 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25680 * configure.ac: Added --enable-maintainer-mode. Check for
25681 autoconf when enabled.
25682 * configure: Regenerated.
25684 * nscd/nscd.service: New file.
25685 * nscd/nscd.tmpfiles: New file.
25687 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
25690 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25691 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25692 * sysdeps/x86_64/multiarch/strstr.c: ... here.
25693 (strstr): Add __strstr_sse2_unaligned ifunc.
25694 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25695 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25696 (strcasestr): Remove __strcasestr_sse42 ifunc.
25697 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25698 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25701 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25703 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25704 * sysdeps/sh/bits/fenv.h: ... here.
25705 * sysdeps/sh/sh4/fpu/bits: Remove directory.
25707 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25709 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25711 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25712 hypotf multiarch implementations.
25713 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25714 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25715 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25716 multiarch hypot for PPC64.
25717 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25718 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25719 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25720 multiarch hypotf for PPC64.
25722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25723 modff multiarch implementations.
25724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25727 multiarch modf for PPC64.
25728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25731 multiarch modff for PPC64.
25733 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25734 and logl multiarch implementations.
25735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25738 multiarch logb for PPC64.
25739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25742 multiarch logb for PPC64.
25743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25746 multiarch logb for PPC64.
25748 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25749 isinff multiarch implementation.
25750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25754 multiarch isinf for PPC64.
25755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25758 multiarch isinff for PPC64.
25760 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25761 finitef multiarch implementation.
25762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25766 multiarch finite for PPC64.
25767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25770 multiarch finitef for PPC64.
25772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25773 lrint multiarch implementation.
25774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25778 multiarch llrint for PPC64.
25779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25780 multiarch lrint for PPC64.
25782 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25783 copysignf multiarch implementation.
25784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25789 multiarch copysign for PPC64.
25790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25791 multiarch copysignf for PPC64.
25793 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25794 multiarch implementation.
25795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25803 multiarch llround for PPC64.
25804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25805 multiarch trunc for PPC64.
25806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25807 multiarch truncf for PPC64.
25809 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25810 multiarch implementation.
25811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25819 multiarch llround for PPC64.
25820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25821 multiarch round for PPC64.
25822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25823 multiarch roundf for PPC64.
25825 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25826 multiarch implementation.
25827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25835 multiarch llround for PPC64.
25836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25837 multiarch floor for PPC64.
25838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25839 multiarch floorf for PPC64.
25841 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25842 multiarch implementation.
25843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25851 multiarch llround for PPC64.
25852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25853 multiarch ceil for PPC64.
25854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25855 multiarch ceilf for PPC64.
25857 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25858 multiarch implementation.
25859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25866 multiarch llround for PPC64.
25867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25868 multiarch lround for PPC64.
25870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25871 multiarch implementation.
25872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25879 multiarch isnan for PPC64.
25880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25881 multiarch isnanf for PPC64.
25883 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25884 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25885 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25886 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25887 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25890 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25891 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25892 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25893 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25896 multiarch implementations.
25897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25898 (__libc_ifunc_impl_list): Likewise.
25899 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25900 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25901 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25902 multiarch stpcpy for PPC64.
25904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25905 multiarch implementations.
25906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25907 (__libc_ifunc_impl_list): Likewise.
25908 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25909 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25910 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25911 multiarch strcpy for PPC64.
25913 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25914 redefine function name.
25915 (_wordcopy_fwd_dest_aligned): Likewise.
25916 (_wordcopy_bwd_aligned): Likewise.
25917 (_wordcopy_bwd_dest_aligned): Likewise.
25918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25919 multiarch implementations.
25920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25921 (__libc_ifunc_impl_list): Likewise.
25922 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25923 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25924 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25925 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25926 multiarch wcscpy for PPC64.
25928 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25929 multiarch implementations.
25930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25931 (__libc_ifunc_impl_list): Likewise.
25932 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25933 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25934 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25935 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25936 multiarch wcscpy for PPC64.
25938 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25939 multiarch implementations.
25940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25941 (__libc_ifunc_impl_list): Likewise.
25942 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25943 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25944 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25945 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25946 multiarch wcsrchr for PPC64.
25948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25949 multiarch implementations.
25950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25951 (__libc_ifunc_impl_list): Likewise.
25952 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25953 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25954 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25955 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25956 multiarch wcschr for PPC64.
25958 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25959 multiarch implementations.
25960 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25961 (__libc_ifunc_impl_list): Likewise.
25962 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25963 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25964 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25965 multiarch strchrnul for PPC64.
25967 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25970 (__libc_ifunc_impl_list): Likewise.
25971 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25972 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25973 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25974 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25977 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25980 (__libc_ifunc_impl_list): Likewise.
25981 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25982 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25983 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25984 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25988 multiarch implementations.
25989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25990 (__libc_ifunc_impl_list): Likewise.
25991 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25992 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25993 strncasecmp for PPC64.
25994 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25995 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25996 multiarch strncasecmp_l for PPC64.
25998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25999 multiarch implementations.
26000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26001 (__libc_ifunc_impl_list): Likewise.
26002 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26003 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26004 multiarch strcasecmp for PPC64.
26005 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26007 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26008 multiarch strcasecmp_l for PPC64.
26010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26013 (__libc_ifunc_impl_list): Likewise.
26014 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26015 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26016 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26022 (__libc_ifunc_impl_list): Likewise.
26023 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26024 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26025 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26031 (__libc_ifunc_impl_list): Likewise.
26032 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26033 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26034 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26035 rawmemrchr for PPC64.
26037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26040 (__libc_ifunc_impl_list): Likewise.
26041 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26042 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26043 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26049 (__libc_ifunc_impl_list): Likewise.
26050 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26051 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26052 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26058 (__libc_ifunc_impl_list): Likewise.
26059 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26060 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26061 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26064 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26065 avoid cretion of __bzero symbol.
26066 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26068 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26070 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26073 multiarch implementations.
26074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26075 (__libc_ifunc_impl_list): Likewise.
26076 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26077 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26078 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26079 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26081 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26082 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26083 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26084 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26085 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26087 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26089 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26093 (__libc_ifunc_impl_list): Likewise.
26094 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26095 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26096 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26097 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26101 multiarch for POWER/PPC64.
26102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26103 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26104 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26105 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26106 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26107 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26108 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26109 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26110 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26113 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26114 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26115 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26116 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26117 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26118 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26119 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26120 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26121 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26122 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26123 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26124 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26125 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26126 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26127 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26136 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26138 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26140 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26142 * benchtests/Makefile (bench): Add exp2 and log2.
26143 (LDLIBS-bench-exp2): Add -lm.
26144 (LDLIBS-bench-log2): Likewise.
26145 * benchtests/exp2-inputs: New inputs file.
26146 * benchtests/log2-inputs: New inputs file.
26147 * benchtests/log-inputs: Add new inputs.
26148 * benchtests/tan-inputs: Likewise.
26150 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26152 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26154 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26155 (csloww2): ... from here.
26157 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26158 instead of structures.
26159 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26160 (POLYNOMIAL): Likewise.
26161 (TAYLOR_SLOW): Likewise.
26167 (sloww1); Likewise.
26168 (sloww2): Likewise.
26169 (bsloww1): Likewise.
26170 (bsloww2): Likewise.
26171 (cslow2): Likewise.
26172 (csloww): Likewise.
26173 (csloww1): Likewise.
26174 (csloww2): Likewise.
26176 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
26178 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26179 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26180 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26181 * malloc/hooks.c (realloc_check): Likewise.
26183 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26184 * malloc/arena.c: Remove PER_THREAD conditional.
26185 [!PER_THREAD]: Remove code.
26186 (ptmalloc_unlock_all2): Likewise.
26187 (ptmalloc_init): Likewise.
26188 (_int_new_arena): Likewise.
26189 (arena_get2): Likewise.
26190 * malloc/hooks.c (__malloc_get_state): Likewise.
26191 (__malloc_set_state): Likewise.
26192 * malloc/malloc.c: Likewise.
26193 (struct malloc_state): Likewise.
26194 (struct malloc_par): Likewise.
26195 (__libc_realloc): Likewise.
26196 (__libc_mallopt): Likewise.
26198 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26200 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26202 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
26204 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26205 macro to a function. Check for zero perturb_byte.
26206 (_int_malloc, _int_free): Remove zero perturb_byte checks.
26208 * malloc/malloc.c: (force_reg): Remove.
26209 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26210 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26211 force_reg by atomic_forced_read.
26212 * malloc/arena.c (ptmalloc_init): Likewise.
26213 * malloc/hooks.c (top_check): Likewise.
26215 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26219 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
26221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26223 2013-12-08 Joseph Myers <joseph@codesourcery.com>
26225 * math/auto-libm-test-in: Add tests of lgamma.
26226 * math/auto-libm-test-out: Regenerated.
26227 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26228 (M_LOG_2_SQRT_PIl): Likewise.
26229 (lgamma_test_data): Use AUTO_TESTS_f_f1.
26230 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26232 (func_calc_desc): Add mpfr_f_f1 union field.
26233 (ARGS1): New macro.
26241 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26242 (test_functions): Add lgamma.
26243 (calc_generic_results): Handle mpfr_f_f1.
26244 * sysdeps/i386/fpu/libm-test-ulps: Update.
26245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26247 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26249 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26250 __mpn_add_n for PowerPC64/POWER7.
26251 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26252 __mpn_sub_n for PowerPC64/POWER7.
26254 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26255 __mpn_addmul_1 for PowerPC64.
26256 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26257 __mpn_submul_1 for PowerPC64.
26258 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26260 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26263 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
26266 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26268 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26270 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26272 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26273 add multiarch folders.
26274 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26275 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26276 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26277 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26278 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26279 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26280 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26281 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26282 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26283 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26284 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26293 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26299 multiarch __ieee754_hypot for PowerPC32.
26300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26305 multiarch __ieee754_hypotf for PowerPC32.
26307 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26308 long_double_symbol only if __logbl is defined.
26309 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26310 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26311 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26312 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26314 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26315 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26316 path for implementation.
26317 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26318 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26320 logb, and logbl multiarch implementations for PowerPC32.
26321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26326 multiarch logb for PowerPC32.
26327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26332 multiarch logbf for PowerPC32.
26333 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26337 multiarch logbl implementation for PowerPC32.
26339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26340 and modff multiarch implementations.
26341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26346 multiarch modf for PowerPC32.
26347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26352 multiarch modff for PowerPC32.
26354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26355 and lrintf multiarch implementations.
26356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26361 multiarch lrint for PowerPC32.
26362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26363 file: multiarch lrintf for PowerPC32.
26365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26366 and lroundf multiarch implementations.
26367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26374 multiarch lround for PowerPC32.
26375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26376 file: multiarch lroundf for PowerPC32.
26378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26379 copysign and copysignf multiarch implementations.
26380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26385 file: multiarch copysign for PowerPC32.
26386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26387 file: multiarch copysignf for PowerPC32.
26389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26390 and truncf multiarch implementations.
26391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26396 multiarch trunc for PowerPC32.
26397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26402 multiarch truncf for PowerPC32.
26404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26405 and roundf multiarch implementations.
26406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26411 multiarch round for PowerPC32.
26412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26417 multiarch roundf for PowerPC32.
26419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26420 and floorf multiarch implementations.
26421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26426 multiarch floor for PowerPC32.
26427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26432 multiarch floorf for PowerPC32.
26434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26435 and ceilf multiarch implementations.
26436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26441 multiarch ceil for PowerPC32.
26442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26447 multiarch ceilf for PowerPC32.
26449 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26451 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26452 FINITEF is defined.
26453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26454 and finitef multiarch implementations.
26455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26460 multiarch finite for PowerPC32.
26461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26464 file: multiarch finitef for PowerPC32.
26466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26467 and isinff multiarch implementations.
26468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26473 multiarch isinf for PowerPC32.
26474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26477 multiarch isinff for PowerPC32.
26479 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26480 alias when __isnan is defined.
26481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26482 and isnanf multiarch implementations.
26483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26492 multiarch isnan for PowerPC32.
26493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26498 multiarch isnanf for PowerPC32.
26500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26501 and sqrtf multiarch implementations.
26502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26507 multiarch sqrt for PowerPC32.
26508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26513 multiarch sqrtf for PowerPC32.
26515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26516 and llroundf multiarch implementations.
26517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26524 file: multiarch llround for PowerPC32.
26525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26526 file: multiarch llroundf for PowerPC32.
26528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26529 multiarch PowerPC32 fpu implementations.
26530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26535 multiarch llrint for PowerPC32.
26536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26545 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26547 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26549 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26551 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26552 multiarch wordcopy for PPC32.
26553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26556 (__libc_ifunc_impl_list): Likewise.
26557 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26558 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26559 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26560 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26561 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26562 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26564 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26565 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26567 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26569 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26571 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26572 multiarch wcscpy for PPC32.
26573 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26576 (__libc_ifunc_impl_list): Likewise.
26577 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26578 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26579 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26580 sysdeps/powerpc/power6/wcscpy.c.
26582 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26583 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26585 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26587 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26589 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26590 multiarch wcsrchr for PPC32.
26591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26593 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26594 (__libc_ifunc_impl_list): Likewise.
26595 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26596 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26597 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26598 sysdeps/powerpc/power6/wcsrchr.c.
26600 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26602 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26604 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26605 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26606 multiarch wcschr for PPc32.
26607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26609 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26610 (__libc_ifunc_impl_list): Likewise.
26611 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26612 * sysdeps/powerpc/power6/wcschr.c: ... to here.
26613 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26614 sysdeps/powerpc/power6/wcschr.c.
26616 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26617 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26619 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26620 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26621 file: multiarch strchr for PPC32.
26622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26625 (__libc_ifunc_impl_list): Likewise.
26627 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26629 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26631 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26633 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26634 multiarch strchrnul for PPC32.
26635 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26637 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26638 (__libc_ifunc_impl_list): Likewise.
26640 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26642 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26643 multiarch strncasecmp for PPC32.
26644 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26646 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26647 multiarch strncasecmp_l for PPC32.
26648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26649 strncasecmp multiarch objects.
26650 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26651 (__libc_ifunc_impl_list): Likewise.
26653 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26655 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26656 multiarch strncasecmp for PPC32.
26657 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26659 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26660 multiarch strcasecmp_l for PPC32.
26661 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26663 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26664 (__libc_ifunc_impl_list): Likewise.
26666 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26668 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26670 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26671 multiarch strncmp for PPC32.
26672 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26674 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26675 (__libc_ifunc_impl_list): Likewise.
26677 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26678 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26680 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26681 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26682 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26684 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26685 (__libc_ifunc_impl_list): Likewise.
26687 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26689 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26691 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26695 (__libc_ifunc_impl_list): Likewise.
26697 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26699 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26701 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26702 multiarch rawmemchr for PPC32.
26703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26706 (__libc_ifunc_impl_list): Likewise.
26708 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26710 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26712 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26713 file: memrchr multiarch for PPC32.
26714 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26716 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26717 (__libc_ifunc_impl_list): Likewise.
26719 * string/memchr.c (__memchr): Using macro to redefine symbol name.
26720 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26722 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26723 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26724 multiarch memchr for PPC32.
26725 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26727 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26728 (__libc_ifunc_impl_list): Likewise.
26730 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26731 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26733 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26735 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26736 file: multiarch mempcpy for PPC32.
26737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26740 (__libc_ifunc_impl_list): Likewise.
26742 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26743 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26744 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26745 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26746 multiarch bzero for PPC32.
26747 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26749 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26751 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26752 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26753 file: multiarch memset for PPC32.
26754 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26756 memset multiarch objects.
26757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26758 (__libc_ifunc_impl_list): Likewise.
26760 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26762 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26763 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26765 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26769 (__libc_ifunc_impl_list): Likewise.
26771 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26772 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26773 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26775 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26777 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26779 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26780 multiarch memcpy for PPC32.
26781 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26783 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26784 (__libc_ifunc_impl_list): Likewise.
26786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26787 support multiarch for POWER/PPC32.
26788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26790 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26792 Implies file to make multiarch folder appers before the fpu and
26793 default folder for power4 configuration.
26795 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26797 * scripts/bench.pl: Append volatile keyword to type.
26799 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26801 * sysdeps/sh/sotruss-lib.c: New file.
26802 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26804 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26808 2013-12-05 Joseph Myers <joseph@codesourcery.com>
26811 * math/w_tgamma.c: Include <errno.h>.
26812 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
26813 * math/w_tgammaf.c: Include <errno.h>.
26814 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
26815 * math/w_tgammal.c: Include <errno.h>.
26816 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
26817 * math/auto-libm-test-in: Do not allow missing errno on tgamma
26818 underflow. Add more tgamma tests.
26819 * math/auto-libm-test-out: Regenerated.
26820 * sysdeps/i386/fpu/libm-test-ulps: Update.
26821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26823 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26824 sin, sinh, tan, tanh, tgamma, y0 and y1.
26825 * math/auto-libm-test-out: Regenerated.
26826 * math/libm-test.inc (TEST_COND_x86_64): New macro.
26827 (TEST_COND_x86): Likewise.
26828 (M_E2l): Remove macro.
26830 (M_2_SQRT_PIl): Likewise.
26831 (M_SQRT_PIl): Likewise.
26832 (M_1_DIV_El): Likewise.
26833 (log_test_data): Use AUTO_TESTS_f_f.
26834 (log10_test_data): Likewise.
26835 (log1p_test_data): Likewise.
26836 (log2_test_data): Likewise.
26837 (sin_test_data): Likewise.
26838 (sin_tonearest_test_data): Likewise.
26839 (sin_towardzero_test_data): Likewise.
26840 (sin_downward_test_data): Likewise.
26841 (sin_upward_test_data): Likewise.
26842 (sinh_test_data): Likewise.
26843 (sinh_tonearest_test_data): Likewise.
26844 (sinh_towardzero_test_data): Likewise.
26845 (sinh_downward_test_data): Likewise.
26846 (sinh_upward_test_data): Likewise.
26847 (tan_test_data): Likewise.
26848 (tan_tonearest_test_data): Likewise.
26849 (tan_towardzero_test_data): Likewise.
26850 (tan_downward_test_data): Likewise.
26851 (tan_upward_test_data): Likewise.
26852 (tanh_test_data): Likewise.
26853 (tgamma_test_data): Likewise.
26854 (y0_test_data): Likewise.
26855 (y1_test_data): Likewise.
26856 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26857 (special_real_inputs): Add pi/4.
26858 * sysdeps/i386/fpu/libm-test-ulps: Update.
26859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26861 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26863 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26864 "longjmp_target" static probes.
26865 (__longjmp): Rename to __longjmp_symbol.
26866 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26867 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26868 on which longjmp to generate.
26869 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26870 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26872 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26873 (__sigjmp_save): Rename to __sigjmp_save_symbol.
26874 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26875 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26876 and __sigjmp_save_symbol based on which sigsetjmp to generated.
26877 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26879 __longjmp_symbol based on which __longjmp to generate.
26880 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26882 (setjmp): Rename to setjmp_symbol.
26883 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26884 (_setjmp): Rename to _setjmp_symbol.
26885 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26886 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26887 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26888 which setjmp to generate.
26889 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26890 "longjmp_target" static probes.
26892 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26894 * benchtests/README: Add note about output arguments.
26895 * benchtests/bench-sincos.c: Remove file.
26896 * benchtests/sincos-inputs: New file.
26897 * scripts/bench.pl: Identify output arguments and define
26898 static variables for them.
26900 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26903 * Makefile (INSTALL): Add install-plain.texi as the primary
26905 * manual/install-plain.texi: New file.
26906 * manual/install.texi: Include node directive only for
26907 non-plaintext output.
26909 2013-12-04 Joseph Myers <joseph@codesourcery.com>
26911 * stdlib/longlong.h: Update from GCC.
26915 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26916 * math/w_j0f.c (y0f): Likewise.
26917 * math/w_j0l.c (__y0l): Likewise.
26918 * math/w_j1.c (y1): Likewise.
26919 * math/w_j1f.c (y1f): Likewise.
26920 * math/w_j1l.c (__y1l): Likewise
26921 * math/w_jn.c (yn): Likewise.
26922 * math/w_jnf.c (ynf): Likewise.
26923 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26924 Bessel function pole errors in _POSIX_ mode. Use NAN as return
26925 value for Bessel function domain errors outside _SVID_ mode.
26926 Adjust sign of return value for yn (negative integer, 0).
26927 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26928 by zero in return for negative x and set sign appropriately for
26930 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26931 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26932 * math/libm-test.inc (y0_test_data): Add more tests and adjust
26933 expectations in error cases.
26934 (y1_test_data): Likewise.
26935 (yn_test_data): Likewise.
26936 * sysdeps/i386/fpu/libm-test-ulps: Update.
26937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26939 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26941 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26942 "64" to "64-v1". Add "64-v2".
26943 (abi-64-options): Rename to ...
26944 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
26945 (abi-64-condition): Rename to ...
26946 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
26947 (abi-64-ld-soname): Rename to ...
26948 (abi-64-v1-ld-soname): ... this.
26949 (abi-64-v2-options): Define.
26950 (abi-64-v2-condition): Likewise.
26951 (abi-64-v2-ld-soname): Likewise.
26952 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26953 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26958 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26959 Alan Modra <amodra@gmail.com>
26961 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26962 New versions for use with the ELFv2 ABI.
26963 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26964 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26966 (struct La_ppc64v2_retval): Likewise.
26967 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26968 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26969 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26970 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26971 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26972 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26973 Do not save or restore CR.
26974 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26975 (_dl_profile_resolve): Do no save or restore CR. Support extended
26976 return values for ELFv2 ABI. Fix location of FPR return registers.
26977 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26978 updated values for _CALL_ELF == 2.
26979 (La_regs, La_retval, int_retval): Likewise.
26981 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26983 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26984 (FRAME_MIN_SIZE_PARM): Likewise.
26985 (FRAME_BACKCHAIN): Likewise.
26986 (FRAME_CR_SAVE): Likewise.
26987 (FRAME_LR_SAVE): Likewise.
26988 (FRAME_TOC_SAVE): Likewise.
26989 (FRAME_PARM_SAVE): Likewise.
26990 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26991 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26992 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26993 (call_mcount_parm_offset): New macro.
26994 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26995 (PROF): Use symbolic stack frame offsets.
26996 (TAIL_CALL_SYSCALL_ERROR): Likewise.
26997 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26998 Redefine in terms of FRAME_MIN_SIZE.
26999 (_dl_runtime_resolve): Use symbolic stack frame offsets.
27000 (_dl_profile_resolve): Likewise. Update comment.
27001 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27002 symbols stack frame offsets.
27003 (__sigsetjmp): Likewise.
27004 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27005 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27006 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27007 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27010 (FRAME_BACKCHAIN): Remove.
27011 (FRAME_CR_SAVE): Likewise.
27012 (FRAME_LR_SAVE): Likewise.
27013 (FRAME_COMPILER_DW): Likewise.
27014 (FRAME_LINKER_DW): Likewise.
27015 (FRAME_TOC_SAVE): Likewise.
27016 (FRAME_PARM_SAVE): Likewise.
27017 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27018 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27019 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27021 (CHECK_SP): Use symbolic stack frame offsets.
27022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27023 zone" instead of caller's parameter save area for temp storage.
27024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27025 Likewise. Also, use symbolic stack frame offsets.
27026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27027 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27028 our own stack frame instead of the caller's.
27029 (__socket): Use symbolic stack frame offsets.
27031 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27032 Alan Modra <amodra@gmail.com>
27034 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27036 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27037 (PPC64_LOCAL_ENTRY_OFFSET): Define.
27038 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27040 (elf_machine_fixup_plt): Call it.
27041 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
27043 (elf_machine_rela): Update call to elf_machine_plt_conflict.
27044 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27045 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27046 r2 before calling target.
27048 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27049 Alan Modra <amodra@gmail.com>
27051 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27052 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27053 versions of macros to support ELFv2 ABI.
27054 (LOCALENTRY): New macro.
27055 (ENTRY, EALIGN): Use it.
27056 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27057 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27058 fall through into ENTRY entry point.
27059 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27060 Only define if _CALL_ELF != 2.
27062 (elf_machine_matches_host): Verify ABI version matches.
27063 (RTLD_START): Use LOCALENTRY.
27064 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27065 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27066 (PLT_ENTRY_WORDS): New macro.
27067 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27068 (elf_machine_runtime_setup): Support ELFv2 ABI.
27069 (elf_machine_fixup_plt): Likewise.
27070 (elf_machine_plt_conflict): Likewise.
27071 (resolve_ifunc): Likewise.
27072 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27073 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27076 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27078 (makecontext): Support ELFv2 ABI.
27079 * elf/elf.h (EF_PPC64_ABI): Define.
27081 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27083 * sysdeps/powerpc/powerpc64/sysdep.h
27084 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27085 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27086 (ENTRY) [ASSEMBLER]: ... but instead here ...
27087 (EALIGN) [ASSEMBLER]: ... and here.
27088 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27089 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27090 (ENTRY_2) [!ASSEMBLER]: Use it.
27091 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27092 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
27093 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27094 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27095 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27097 Use PPC64_LOAD_FUNCPTR.
27099 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27101 2013-12-04 Alan Modra <amodra@gmail.com>
27103 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27104 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27105 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27106 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27108 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27109 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27110 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27111 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27112 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27113 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27115 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27118 (__makecontext): Fix incorrect CFI when backtracing out of
27119 context created via makecontext.
27120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27121 (__setcontext): Fix incorrect CFI during switch to new context.
27122 (__novec_setcontext): Likewise.
27124 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
27127 * time/strptime_l.c (__strptime_internal): Allow modifiers
27129 * time/tst-strptime.c (day_tests): Add testcase.
27131 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27133 * scripts/bench.pl: Skip over blank lines.
27135 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
27138 * manual/time.texi (Calendar Time): Clarify what timezone functions
27141 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27145 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
27147 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27149 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27150 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27151 * debug/memset_chk.c (__memset_chk): Likewise.
27152 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27153 * debug/strncpy_chk.c: Likewise.
27155 2013-12-03 Joseph Myers <joseph@codesourcery.com>
27159 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27160 (__ieee754_exp): For possibly underflowing results, check size of
27161 result and force underflow exception if required.
27162 * math/auto-libm-test-in: Add more tests of exp.
27163 * math/auto-libm-test-out: Regenerated.
27164 * sysdeps/i386/fpu/libm-test-ulps: Update.
27165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27168 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27169 * math/w_exp2f.c (__exp2f): Likewise.
27170 * math/w_exp2l.c (__exp2l): Likewise.
27171 * math/auto-libm-test-in: Do not allow missing errno on exp2
27173 * math/auto-libm-test-out: Regenerated.
27175 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
27178 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27179 handle filename validation.
27180 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27183 2013-12-03 Joseph Myers <joseph@codesourcery.com>
27186 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27187 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27188 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27190 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27191 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27192 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27193 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27194 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27195 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27196 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27197 * math/auto-libm-test-in: Don't allow missing errno from erfc.
27198 Add more erfc tests.
27199 * math/auto-libm-test-out: Regenerated.
27200 * sysdeps/i386/fpu/libm-test-ulps: Update.
27201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27203 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27204 exp2, expm1, j0 and j1.
27205 * math/auto-libm-test-out: Regenerated.
27206 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27207 (erfc_test_data): Likewise.
27208 (exp_test_data): Likewise.
27209 (exp_tonearest_test_data): Likewise.
27210 (exp_towardzero_test_data): Likewise.
27211 (exp_downward_test_data): Likewise.
27212 (exp_upward_test_data): Likewise.
27213 (exp10_test_data): Likewise.
27214 (exp2_test_data): Likewise.
27215 (expm1_test_data): Likewise.
27216 (j0_test_data): Likewise.
27217 (j1_test_data): Likewise.
27218 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27219 (input_flag_type): Add flag_xfail_rounding.
27220 (input_flags): Add xfail-rounding.
27221 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27222 (output_for_one_input_case): Handle flag_xfail_rounding.
27223 * sysdeps/i386/fpu/libm-test-ulps: Update.
27224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27226 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
27229 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27232 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27235 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27236 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27237 (STAP_PROBE0): New macro.
27238 (STAP_PROBE1): Likewise.
27239 (STAP_PROBE2): Likewise.
27240 (STAP_PROBE3): Likewise.
27241 (STAP_PROBE4): Likewise.
27243 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
27245 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27247 2013-12-02 Steve Ellcey <sellcey@mips.com>
27249 * benchtests/Makefile (bench): Add sqrt.
27250 (LDLIBS-bench-sqrt): New.
27251 * benchtests/sqrt-input: New.
27253 2013-12-02 Pavel Simerda <psimerda@redhat.com>
27255 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27256 (GAIH_EAI): Likewise.
27257 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27258 (gaih_inet): Likewise.
27259 (getaddrinfo): Don't use GAIH_EAI.
27261 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27262 (struct gaih): Remove definition.
27264 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27266 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27267 Use HERRNOP directly.
27269 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27273 2013-11-30 Joseph Myers <joseph@codesourcery.com>
27275 * math/gen-auto-libm-tests.c (test_functions): Add more
27276 single-argument functions.
27277 (special_fill_pi_2): New function.
27278 (special_fill_minus_pi_2): Likewise.
27279 (special_fill_pi_6): Likewise.
27280 (special_fill_minus_pi_6): Likewise.
27281 (special_fill_pi_3): Likewise.
27282 (special_fill_2pi_3): Likewise.
27283 (special_fill_e): Likewise.
27284 (special_fill_1_e): Likewise.
27285 (special_fill_e_minus_1): Likewise.
27286 (special_real_inputs): Add more special inputs.
27287 (output_for_one_input_case): Do not require ERANGE on underflow to
27288 zero if round-to-nearest result does not underflow to zero, unless
27289 exact results required.
27290 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27291 atan, atanh, cbrt, cos and cosh.
27292 * math/auto-libm-test-out: Regenerated.
27293 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27294 (acos_tonearest_test_data): Likewise.
27295 (acos_towardzero_test_data): Likewise.
27296 (acos_downward_test_data): Likewise.
27297 (acos_upward_test_data): Likewise.
27298 (acosh_test_data): Likewise.
27299 (asin_test_data): Likewise.
27300 (asin_tonearest_test_data): Likewise.
27301 (asin_towardzero_test_data): Likewise.
27302 (asin_upward_test_data): Likewise.
27303 (asinh_test_data): Likewise.
27304 (atan_test_data): Likewise.
27305 (atanh_test_data): Likewise.
27306 (cbrt_test_data): Likewise.
27307 (cos_test_data): Likewise.
27308 (cos_tonearest_test_data): Likewise.
27309 (cos_towardzero_test_data): Likewise.
27310 (cos_downward_test_data): Likewise.
27311 (cos_upward_test_data): Likewise.
27312 (cosh_test_data): Likewise.
27313 (cosh_tonearest_test_data): Likewise.
27314 (cosh_towardzero_test_data): Likewise.
27315 (cosh_downward_test_data): Likewise.
27316 (cosh_upward_test_data): Likewise.
27317 * sysdeps/i386/fpu/libm-test-ulps: Update.
27318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27320 2013-11-29 Joseph Myers <joseph@codesourcery.com>
27323 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27324 * math/w_exp10f.c (__exp10f): Likewise.
27325 * math/w_exp10l.c (__exp10l): Likewise.
27326 * math/libm-test.inc (exp10_test_data): Add more tests and expect
27327 errno settings in existing tests.
27330 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27331 precision control set to double precision.
27332 * sysdeps/i386/fpu/w_sqrt.c: New file.
27333 * math/auto-libm-test-in: Add more tests.
27334 * math/auto-libm-test-out: Update.
27336 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27337 (sqrt_test_tonearest): New function.
27338 (sqrt_towardzero_test_data): New variable.
27339 (sqrt_test_towardzero): New function.
27340 (sqrt_downward_test_data): New variable.
27341 (sqrt_test_downward): New function.
27342 (sqrt_upward_test_data): New variable.
27343 (sqrt_test_upward): New function.
27344 (main): Call the new functions.
27346 * math/gen-auto-libm-tests.c: New file.
27347 * math/auto-libm-test-in: Likewise.
27348 * math/auto-libm-test-out: New generated file.
27349 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27351 (%beautify): Add generated representations of zero.
27352 (top level): Set $auto_input and call parse_auto_input.
27353 (beautify): Remove trailing "f" from hex float constants.
27354 (parse_args): Handle XFAIL_TEST.
27355 (convert_condition): New function.
27356 (or_value): Likewise.
27357 (or_cond_value): Likewise.
27358 (generate_testfile): Handle AUTO_TESTS_* lines.
27359 (parse_auto_input): New function.
27360 * math/libm-test.inc (XFAIL_TEST): New macro.
27361 (ERRNO_UNCHANGED): Update value.
27362 (ERRNO_EDOM): Likewise.
27363 (ERRNO_ERANGE): Likewise.
27364 (IGNORE_RESULT): Likewise.
27365 (TEST_COND_flt_32): New macro.
27366 (TEST_COND_dbl_64): Likewise.
27367 (TEST_COND_ldbl_96_intel): Likewise.
27368 (TEST_COND_ldbl_96_m68k): Likewise.
27369 (TEST_COND_ldbl_128): Likewise.
27370 (TEST_COND_ldbl_128ibm): Likewise.
27371 (TEST_COND_long32): Likewise.
27372 (TEST_COND_long64): Likewise.
27373 (TEST_COND_before_rounding): Likewise.
27374 (TEST_COND_after_rounding): Likewise.
27375 (enable_test): Handle XFAIL_TEST flag.
27376 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27377 with finite results.
27378 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27379 auto-libm-test-out.
27381 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27382 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27385 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27386 __tls_get_addr_internal instead of __tls_get_offset in order to
27387 avoid GOT pointer dependency. Make rtld export
27388 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27389 __tls_get_addr since we are a __tls_get_offset platform.
27390 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27391 GOT pointer being set up before.
27392 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27394 2013-11-28 Joseph Myers <joseph@codesourcery.com>
27396 * manual/math.texi (Errors in Math Functions): Document accuracy
27400 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27401 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27402 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27403 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27404 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27405 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27406 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27407 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27408 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27409 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27410 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27411 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27412 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27413 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27414 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27415 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27417 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27418 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27419 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27420 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27421 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27423 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27425 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27427 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27428 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27429 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27430 atomic-feupdateenv and flt-rounds.
27431 * sysdeps/powerpc/nofpu/Versions (libc): Add
27432 __atomic_feholdexcept, __atomic_feclearexcept,
27433 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27434 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27435 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27436 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27437 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27442 * manual/arith.texi (FP Exceptions): Document that exceptions may
27443 not be raised when matherr is used.
27444 (Math Error Reporting): Document overflow in directed rounding
27445 modes. Document that errno may not be set when finite values are
27446 returned on overflow. Document intent to set errno on underflow
27447 only for underflow to zero.
27450 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27451 round-to-nearest then adjust result for other rounding modes.
27452 * include/fenv.h (fegetround): Use libm_hidden_proto.
27453 * math/fegetround.c (fegetround): Use libm_hidden_def.
27454 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27455 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27456 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27457 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27459 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27460 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27461 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27462 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27464 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27467 * nss/Versions (libnss_files): Add
27468 _nss_files_gethostbyname3_r.
27469 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27471 (HOST_DB_LOOKUP): Remove macro.
27472 (_nss_files_gethostbyname_r): Implement function without the
27473 HOST_DB_LOOKUP macro.
27474 (_nss_files_gethostbyname2_r): Likewise.
27476 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
27478 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27480 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
27482 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27483 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27486 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27488 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27489 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27490 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27491 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27492 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27493 __fe_nomask_env_priv and attribute_hidden.
27494 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27495 (libc_feupdateenv_test_ppc): Likewise.
27496 (libc_feresetround_ppc): Likewise.
27497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27498 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27499 compat_symbol macro.
27500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27501 (__fe_nomask_env): Likewise.
27502 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27504 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27506 * string/Makefile: Remove ifunc tests.
27507 * string/test-string.h: Define TEST_IFUNC.
27508 * string/test-bcopy-ifunc.c: Remove.
27509 * string/test-bzero-ifunc.c: Likewise.
27510 * string/test-memccpy-ifunc.c: Likewise.
27511 * string/test-memchr-ifunc.c: Likewise.
27512 * string/test-memcmp-ifunc.c: Likewise.
27513 * string/test-memcpy-ifunc.c: Likewise.
27514 * string/test-memmem-ifunc.c: Likewise.
27515 * string/test-memmove-ifunc.c: Likewise.
27516 * string/test-mempcpy-ifunc.c: Likewise.
27517 * string/test-memrchr-ifunc.c: Likewise.
27518 * string/test-memset-ifunc.c: Likewise.
27519 * string/test-rawmemchr-ifunc.c: Likewise.
27520 * string/test-stpcpy-ifunc.c: Likewise.
27521 * string/test-stpncpy-ifunc.c: Likewise.
27522 * string/test-strcasecmp-ifunc.c: Likewise.
27523 * string/test-strcasestr-ifunc.c: Likewise.
27524 * string/test-strcat-ifunc.c: Likewise.
27525 * string/test-strchr-ifunc.c: Likewise.
27526 * string/test-strchrnul-ifunc.c: Likewise.
27527 * string/test-strcmp-ifunc.c: Likewise.
27528 * string/test-strcpy-ifunc.c: Likewise.
27529 * string/test-strcspn-ifunc.c: Likewise.
27530 * string/test-strlen-ifunc.c: Likewise.
27531 * string/test-strncasecmp-ifunc.c: Likewise.
27532 * string/test-strncat-ifunc.c: Likewise.
27533 * string/test-strncmp-ifunc.c: Likewise.
27534 * string/test-strncpy-ifunc.c: Likewise.
27535 * string/test-strnlen-ifunc.c: Likewise.
27536 * string/test-strpbrk-ifunc.c: Likewise.
27537 * string/test-strrchr-ifunc.c: Likewise.
27538 * string/test-strspn-ifunc.c: Likewise.
27539 * string/test-strstr-ifunc.c: Likewise.
27541 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27543 * benchtests/Makefile: Remove ifunc tests.
27544 * benchtests/bench-string.h: Define TEST_IFUNC.
27545 * benchtests/bench-bcopy-ifunc.c: Remove.
27546 * benchtests/bench-bzero-ifunc.c: Likewise.
27547 * benchtests/bench-memccpy-ifunc.c: Likewise.
27548 * benchtests/bench-memchr-ifunc.c: Likewise.
27549 * benchtests/bench-memcmp-ifunc.c: Likewise.
27550 * benchtests/bench-memcpy-ifunc.c: Likewise.
27551 * benchtests/bench-memmem-ifunc.c: Likewise.
27552 * benchtests/bench-memmove-ifunc.c: Likewise.
27553 * benchtests/bench-mempcpy-ifunc.c: Likewise.
27554 * benchtests/bench-memrchr-ifunc.c: Likewise.
27555 * benchtests/bench-memset-ifunc.c: Likewise.
27556 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27557 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27558 * benchtests/bench-stpcpy-ifunc.c: Likewise.
27559 * benchtests/bench-stpncpy-ifunc.c: Likewise.
27560 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27561 * benchtests/bench-strcasestr-ifunc.c: Likewise.
27562 * benchtests/bench-strcat-ifunc.c: Likewise.
27563 * benchtests/bench-strchr-ifunc.c: Likewise.
27564 * benchtests/bench-strchrnul-ifunc.c: Likewise.
27565 * benchtests/bench-strcmp-ifunc.c: Likewise.
27566 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27567 * benchtests/bench-strcpy-ifunc.c: Likewise.
27568 * benchtests/bench-strcspn-ifunc.c: Likewise.
27569 * benchtests/bench-strlen-ifunc.c: Likewise.
27570 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27571 * benchtests/bench-strncat-ifunc.c: Likewise.
27572 * benchtests/bench-strncmp-ifunc.c: Likewise.
27573 * benchtests/bench-strncpy-ifunc.c: Likewise.
27574 * benchtests/bench-strnlen-ifunc.c: Likewise.
27575 * benchtests/bench-strpbrk-ifunc.c: Likewise.
27576 * benchtests/bench-strrchr-ifunc.c: Likewise.
27577 * benchtests/bench-strsep-ifunc.c: Likewise.
27578 * benchtests/bench-strspn-ifunc.c: Likewise.
27579 * benchtests/bench-strstr-ifunc.c: Likewise.
27581 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27583 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27585 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27587 * resolv/netdb.h: Use __glibc_reserved instead __unused.
27588 * rt/aio.h: Likewise.
27589 * sysdeps/gnu/bits/utmp.h: Likewise.
27590 * sysdeps/gnu/bits/utmpx.h: Likewise.
27591 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27592 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27593 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27594 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27595 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27596 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27597 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27598 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27599 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27600 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27601 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27602 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27603 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27605 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27606 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27607 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27608 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27609 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27610 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27611 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27612 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27613 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27614 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27615 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27617 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27618 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27619 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27620 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27621 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27622 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27623 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27624 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27625 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27626 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27627 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27628 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27629 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27630 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27631 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27632 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27634 2013-11-25 Carlos O'Donell <carlos@redhat.com>
27637 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27638 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27640 2013-11-25 Joseph Myers <joseph@codesourcery.com>
27642 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27643 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27646 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27648 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27649 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27650 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27651 (__fesetround): Remove define.
27652 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27653 rounding and exceptions handling.
27654 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27655 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27656 (__fe_nomask_env): Likewise.
27657 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27658 __fegetround instead of fegetround.
27659 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27660 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27662 2013-11-21 Roland McGrath <roland@hack.frob.com>
27664 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27667 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27669 2013-11-21 Meador Inge <meadori@codesourcery.com>
27672 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27673 (encrypt_r): Likewise.
27674 * malloc/obstack.h (obstack_free): Likewise.
27675 * posix/unistd.h (encrypt): Likewise.
27677 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
27679 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27680 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27681 DL_CALL_DT_FINI() that call the functions directly.
27682 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27683 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27684 * elf/dl-fini.c: Likewise.
27686 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
27688 * malloc/hooks.c (memalign_check): Add alignment rounding.
27689 * malloc/malloc.c (_mid_memalign): New function.
27690 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27691 Implement by calling _mid_memalign.
27692 * manual/probes.texi (Memory Allocation Probes): Remove
27693 memory_valloc_retry and memory_pvalloc_retry.
27695 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27697 * locale/programs/locarchive.c (open_archive): Add const
27698 qualifier to ARCHIVEFNAME and copy default fname to
27702 * libio/tst-widetext.input: Rename Oriya to Odia.
27703 * locale/iso-639.def: Likewise.
27705 * manual/probes.texi (Mathematical Function Probes): Add
27706 documentation for sin, cos, asin and acos probes.
27707 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27708 (__sin32): Add slowasin probe.
27709 (__cos32): Add slowacos probe.
27710 (__mpsin): Add slowsin probe.
27711 (__mpcos): Add slowcos probe.
27713 2013-11-19 Joseph Myers <joseph@codesourcery.com>
27716 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27717 thread-local __sim_exceptions_thread and global
27718 __sim_exceptions_global.
27719 (__sim_disabled_exceptions): Change to thread-local
27720 __sim_disabled_exceptions_thread and global
27721 __sim_disabled_exceptions_global.
27722 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27723 and global __sim_round_mode_global.
27724 (__simulate_exceptions): Use thread-local floating-point state and
27725 set global state from it as needed.
27726 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27727 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27728 __sim_round_mode_thread.
27729 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27730 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27731 and global __sim_exceptions_global.
27732 (__sim_disabled_exceptions): Change to thread-local
27733 __sim_disabled_exceptions_thread and global
27734 __sim_disabled_exceptions_global.
27735 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27736 and global __sim_round_mode_global.
27737 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27738 (SIM_SET_GLOBAL): Likewise.
27739 * sysdeps/powerpc/soft-fp/sfp-machine.h
27740 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27741 __sim_round_mode_thread.
27742 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27743 __sim_disabled_exceptions_thread.
27744 (__sim_exceptions): Change to __sim_exceptions_thread.
27745 (__sim_disabled_exceptions): Change to
27746 __sim_disabled_exceptions_thread.
27747 (__sim_round_mode): Change to __sim_round_mode_thread.
27748 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27749 thread-local floating-point state and set global state from it as
27751 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27752 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27753 (__sim_disabled_exceptions): Remove extern declaration.
27754 (feenableexcept): Use thread-local floating-point state and set
27755 global state from it as needed.
27756 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27757 extern declaration.
27758 (__sim_disabled_exceptions): Likewise.
27759 (__sim_round_mode): Likewise.
27760 (__fegetenv): Use thread-local floating-point state.
27761 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27762 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27763 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27764 floating-point state and set global state from it as needed.
27765 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27766 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27767 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27769 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27770 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27772 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27773 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27774 Use __sim_round_mode_thread.
27775 * math/test-fenv-tls.c: New file.
27776 * math/Makefile (tests): Add test-fenv-tls.
27777 ($(objpfx)test-fenv-tls): Depend on
27778 $(common-objpfx)nptl/libpthread.so.
27780 2013-11-19 Andreas Schwab <schwab@suse.de>
27782 * locale/programs/locale.c (show_info): Decode wordarray elements.
27783 * locale/categories.def (LC_MONETARY): Add element for
27784 _NL_MONETARY_CRNCYSTR.
27785 * locale/C-monetary.c (conversion_rate): New variable.
27786 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27789 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
27791 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27792 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27794 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27796 * elf/Makefile (tst-auxv): New test.
27797 * elf/tst-auxv.c: New
27798 * elf/rtld.c (dl_main): Adjust AT_EXECFN
27800 2013-11-18 Joseph Myers <joseph@codesourcery.com>
27802 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27803 (hidden_proto): Caller changed.
27804 (hidden_tls_proto): New macro.
27805 (libc_hidden_tls_proto): Likewise.
27806 (rtld_hidden_tls_proto): Likewise.
27807 (libm_hidden_tls_proto): Likewise.
27808 (libresolv_hidden_tls_proto): Likewise.
27809 (librt_hidden_tls_proto): Likewise.
27810 (libdl_hidden_tls_proto): Likewise.
27811 (libnss_files_hidden_tls_proto): Likewise.
27812 (libnsl_hidden_tls_proto): Likewise.
27813 (libnss_nisplus_hidden_tls_proto): Likewise.
27814 (libutil_hidden_tls_proto): Likewise.
27816 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
27819 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27820 (decompose_rpath): Defer expansion to fillin_rpath.
27821 (_dl_init_paths): Pass linkmap to fillin_rpath.
27823 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27825 * benchtests/Makefile: Add strsep.
27826 * benchtests/bench-strsep.c: New file: strsep benchtest.
27827 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27829 2013-11-18 Andreas Schwab <schwab@suse.de>
27831 * locale/programs/locale.c (show_info) [case byte]: Check for
27832 '\377' instead of '\177'.
27833 * locale/C-monetary.c (not_available): Always use "\377".
27834 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27835 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
27836 detect unavailable sign_posn locale elements.
27837 * locale/localeconv.c (__localeconv): For grouping and
27838 mon_grouping handle "\177" and "\377" like no grouping.
27839 (INT_ELEM): New macro. Use it to set all numeric members.
27840 * locale/programs/ld-monetary.c (monetary_read)
27841 <tok_mon_grouping>: Normalize single -1 to the empty string.
27842 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27845 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27848 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27849 when we match (nil).
27850 * stdio-common/tst-sscanf.c (struct test): Add testcase.
27852 2013-11-16 Joseph Myers <joseph@codesourcery.com>
27854 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27855 (NO_TEST_INLINE): Update value.
27856 (ERRNO_UNCHANGED): Likewise.
27857 (ERRNO_EDOM): Likewise.
27858 (ERRNO_ERANGE): Likewise.
27859 (IGNORE_RESULT): Likewise.
27860 (check_float_internal): Check signs of NaN results if
27861 TEST_NAN_SIGN used.
27862 (check_complex): Pass TEST_NAN_SIGN flag through to second
27863 check_float_internal call.
27864 (copysign_test_data): Add tests with quiet NaNs as second
27865 argument. Use TEST_NAN_SIGN.
27866 (fabs_test_data): Add test of negative quiet NaN argument. Use
27868 (signbit_test_data): Add tests of quiet NaN argument.
27869 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27871 * math/gen-libm-test.pl (show_exceptions): Take extra argument
27873 (parse_args): Handle function results specified as IGNORE.
27874 * math/libm-test.inc (IGNORE_RESULT): New macro.
27875 (check_float_internal): Do not check numerical result if flag
27877 (check_complex): Pass through IGNORE_RESULT to second
27878 check_float_internal call.
27879 (check_int): Do not check numerical result if flag IGNORE_RESULT
27881 (check_long): Likewise.
27882 (check_bool): Likewise.
27883 (check_longlong): Likewise.
27884 (lrint_test_data): Add tests of infinite and NaN arguments.
27885 (lrint_tonearest_test_data): Likewise.
27886 (lrint_towardzero_test_data): Likewise.
27887 (lrint_downward_test_data): Likewise.
27888 (lrint_upward_test_data): Likewise.
27889 (llrint_test_data): Likewise.
27890 (llrint_tonearest_test_data): Likewise.
27891 (llrint_towardzero_test_data): Likewise.
27892 (llrint_downward_test_data): Likewise.
27893 (llrint_upward_test_data): Likewise.
27894 (lround_test_data): Likewise.
27895 (llround_test_data): Likewise.
27897 * math/libm-test.inc (NO_TEST_INLINE): New macro.
27898 (ERRNO_UNCHANGED): Update value.
27899 (ERRNO_EDOM): Likewise.
27900 (ERRNO_ERANGE): Likewise.
27901 (NO_TEST_INLINE_FLOAT): New macro.
27902 (NO_TEST_INLINE_DOUBLE): Likewise.
27903 (enable_test): New function.
27904 (RUN_TEST_f_f): Check enable_test before running test.
27905 (RUN_TEST_2_f): Likewise.
27906 (RUN_TEST_fff_f): Likewise.
27907 (RUN_TEST_c_f): Likewise.
27908 (RUN_TEST_f_f1): Likewise.
27909 (RUN_TEST_fF_f1): Likewise.
27910 (RUN_TEST_fI_f1): Likewise.
27911 (RUN_TEST_ffI_f1): Likewise.
27912 (RUN_TEST_c_c): Likewise.
27913 (RUN_TEST_cc_c): Likewise.
27914 (RUN_TEST_f_i): Likewise.
27915 (RUN_TEST_f_i_tg): Likewise.
27916 (RUN_TEST_ff_i_tg): Likewise.
27917 (RUN_TEST_f_b): Likewise.
27918 (RUN_TEST_f_b_tg): Likewise.
27919 (RUN_TEST_f_l): Likewise.
27920 (RUN_TEST_f_L): Likewise.
27921 (RUN_TEST_fFF_11): Likewise.
27922 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27924 (cosh_test_data): Likewise.
27925 (exp_test_data): Likewise.
27926 (expm1_test_data): Likewise.
27927 (hypot_test_data): Likewise.
27928 (pow_test_data): Likewise.
27929 (sinh_test_data): Likewise.
27930 (tanh_test_data): Likewise.
27931 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27934 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27935 tests with quiet NaN input and output.
27936 (acosh_test_data): Likewise.
27937 (asin_test_data): Likewise.
27938 (asinh_test_data): Likewise.
27939 (atan_test_data): Likewise.
27940 (atanh_test_data): Likewise.
27941 (atan2_test_data): Likewise.
27942 (cbrt_test_data): Likewise.
27943 (cos_test_data): Likewise.
27944 (cosh_test_data): Likewise.
27945 (erf_test_data): Likewise.
27946 (erfc_test_data): Likewise.
27947 (exp_test_data): Likewise.
27948 (exp10_test_data): Likewise.
27949 (exp2_test_data): Likewise.
27950 (expm1_test_data): Likewise.
27951 (hypot_test_data): Likewise.
27952 (j0_test_data): Likewise.
27953 (j1_test_data): Likewise.
27954 (jn_test_data): Likewise.
27955 (lgamma_test_data): Likewise.
27956 (log_test_data): Likewise.
27957 (log10_test_data): Likewise.
27958 (log1p_test_data): Likewise.
27959 (log2_test_data): Likewise.
27960 (pow_test_data): Likewise.
27961 (scalb_test_data): Likewise.
27962 (sin_test_data): Likewise.
27963 (sincos_test_data): Likewise.
27964 (sinh_test_data): Likewise.
27965 (tan_test_data): Likewise.
27966 (tanh_test_data): Likewise.
27967 (tgamma_test_data): Likewise.
27968 (y0_test_data): Likewise.
27969 (y1_test_data): Likewise.
27970 (yn_test_data): Likewise.
27973 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27974 argument being NaN and avoid computations with second argument in
27976 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27977 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27978 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27980 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
27982 * locale/iso-639.def: Add Chitwani Tharu (the).
27984 2013-11-14 Andreas Schwab <schwab@suse.de>
27986 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27987 word instead of empty string.
27989 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27992 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27994 (__fe_nomask_env): Likewise.
27996 2013-11-13 Steve Ellcey <sellcey@mips.com>
27998 * benchtests/bench-timing.h: Include time.h.
28000 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
28003 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28005 * sysdeps/unix/sysv/linux/configure: Regenerated.
28007 2013-11-13 Joseph Myers <joseph@codesourcery.com>
28010 * stdlib/strtod_l.c (round_and_return): Do not consider
28011 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28012 exponent one less than half the least subnormal exponent.
28013 * stdlib/test-strtod-round-data: Add more tests.
28014 * stdlib/tst-strtod-round.c (tests): Regenerated.
28016 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28019 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28020 (__fe_mask_env): Likewise.
28021 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28022 libm_hidden_proto and add function prototype.
28023 (__fe_mask_env): Add function prototype.
28024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28025 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28027 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28029 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28031 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28033 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28034 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28036 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28038 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28039 of htab_find_slot().
28041 2013-11-11 David S. Miller <davem@davemloft.net>
28044 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28045 symbol in the non-vis3 case in static builds.
28046 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28047 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28048 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28049 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28051 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
28054 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28057 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28059 * benchtests/Makefile: Add bench-strtod.
28060 * benchtests/bench-strtod.c: New file: strtod benchtest
28062 2013-11-11 Andreas Schwab <schwab@suse.de>
28065 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28066 terminating NUL in key length.
28068 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28070 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28071 Add artificial ODP entry for vDSO symbol for PPC64.
28072 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28073 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28075 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
28078 * nss/getent.c (services_keys): Recognize services starting with digit.
28080 2013-11-06 David S. Miller <davem@davemloft.net>
28083 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28084 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28086 2013-11-06 Will Newton <will.newton@linaro.org>
28088 * manual/memory.texi (Malloc Examples): Remove register
28089 keyword from examples.
28091 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
28093 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28095 2013-11-04 Joseph Myers <joseph@codesourcery.com>
28098 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28099 depending on [__GCC_IEC_559 > 0].
28100 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28101 depending on [__GCC_IEC_559_COMPLEX > 0].
28103 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
28105 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28108 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
28110 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28112 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
28115 * malloc/malloc (malloc_info): Do not handle first bin as
28118 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
28120 * locale/iso-639.def: Add Central Nahuatl (nhn).
28122 2013-11-01 Bruno Haible <bruno@clisp.org>
28125 * manual/math.texi (BSD Random): Specify range upper bound as
28128 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
28130 * locale/iso-639.def: Add Meadow Mari (mhr).
28132 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
28134 [BZ #14752], [BZ #15763]
28135 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28137 * rt/tst_shm.c: Add test for escaping directory.
28139 2013-10-31 Andreas Schwab <schwab@suse.de>
28142 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28143 followed by 'x' as part of digit sequence.
28144 * stdio-common/tst-sscanf.c (double_tests2): New tests.
28146 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28149 * configure.ac: allow GNU Make 4.0 and greater.
28150 * configure: Regenerated.
28152 2013-10-30 Will Newton <will.newton@linaro.org>
28155 * malloc/hooks.c (memalign_check): Limit alignment to the
28156 maximum representable power of two.
28157 * malloc/malloc.c (__libc_memalign): Likewise.
28158 * malloc/tst-memalign.c (do_test): Add test for very
28159 large alignment values.
28160 * malloc/tst-posix_memalign.c (do_test): Likewise.
28162 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
28165 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28166 (munmap_chunk): Likewise.
28167 (mremap_chunk): Likewise.
28169 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
28172 * stdlib/div.c (div): Remove obsolete code.
28173 * stdlib/ldiv.c (ldiv): Likewise.
28174 * stdlib/lldiv.c (lldiv): Likewise.
28176 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28179 * nss/nss_files/files-XXX.c (get_contents_ret): New
28181 (get_contents): New function.
28182 (internal_getent): Use it. Expand size of LINEBUFLEN.
28184 2013-10-30 Mike Frysinger <vapier@gentoo.org>
28186 * configure.in: Moved to ...
28187 * configure.ac: ... here. Change reference to configure.in
28189 * sysdeps/arm/preconfigure.ac: ... here.
28190 configure.in to configure.ac.
28191 * sysdeps/gnu/configure.in: Moved to ...
28192 * sysdeps/gnu/configure.ac: ... here.
28193 * sysdeps/i386/configure.in: Moved to ...
28194 * sysdeps/i386/configure.ac: ... here.
28195 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28196 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28197 * sysdeps/mach/configure.in: Moved to ...
28198 * sysdeps/mach/configure.ac: ... here.
28199 * sysdeps/mach/hurd/configure.in: Moved to ...
28200 * sysdeps/mach/hurd/configure.ac: ... here.
28201 * sysdeps/powerpc/configure.in: Moved to ...
28202 * sysdeps/powerpc/configure.ac: ... here.
28203 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28204 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28205 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28206 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28207 * sysdeps/s390/s390-32/configure.in: Moved to ...
28208 * sysdeps/s390/s390-32/configure.ac: ... here.
28209 * sysdeps/s390/s390-64/configure.in: Moved to ...
28210 * sysdeps/s390/s390-64/configure.ac: ... here.
28211 * sysdeps/sh/configure.in: Moved to ...
28212 * sysdeps/sh/configure.ac: ... here.
28213 * sysdeps/sparc/configure.in: Moved to ...
28214 * sysdeps/sparc/configure.ac: ... here.
28215 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28216 * sysdeps/unix/sysv/linux/configure.ac: ... here.
28217 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28218 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28219 * sysdeps/x86_64/configure.in: Moved to ...
28220 * sysdeps/x86_64/configure.ac: ... here.
28221 * sysdeps/x86_64/preconfigure.in: Moved to ...
28222 * sysdeps/x86_64/preconfigure.ac: ... here.
28223 * aclocal.m4: Change reference to configure.in to configure.ac.
28224 * config.h.in: Likewise.
28225 * manual/install.texi: Likewise.
28226 * manual/maint.texi: Likewise.
28227 * Makefile: Likewise.
28228 * malloc/Makefile: Likewise.
28229 * nscd/Makefile: Likewise.
28230 * Makeconfig: Change reference to configure.in and
28231 preconfigure.in to configure.ac and preconfigure.ac
28233 * INSTALL: Regenerated.
28234 * configure: Likewise.
28235 * sysdeps/gnu/configure: Likewise.
28236 * sysdeps/i386/configure: Likewise.
28237 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28238 * sysdeps/mach/configure: Likewise.
28239 * sysdeps/mach/hurd/configure: Likewise.
28240 * sysdeps/powerpc/configure: Likewise.
28241 * sysdeps/powerpc/powerpc32/configure: Likewise.
28242 * sysdeps/powerpc/powerpc64/configure: Likewise.
28243 * sysdeps/s390/s390-32/configure: Likewise.
28244 * sysdeps/s390/s390-64/configure: Likewise.
28245 * sysdeps/sh/configure: Likewise.
28246 * sysdeps/sparc/configure: Likewise.
28247 * sysdeps/unix/sysv/linux/configure: Likewise.
28248 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28249 * sysdeps/x86_64/configure: Likewise.
28250 * sysdeps/x86_64/preconfigure: Likewise.
28252 2013-10-29 Andreas Schwab <schwab@suse.de>
28254 * stdio-common/Makefile (tst-swscanf-ENV): Define.
28256 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28258 * benchtests/pow-inputs: Add new inputs.
28260 * benchtests/exp-inputs: Add new inputs.
28262 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28263 conditional check for return value.
28264 (__cos32): Likewise.
28266 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28268 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28269 to provide a boost for large inputs with word alignment.
28270 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28271 implementation based on optimized PPC64 strcpy.
28272 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28273 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28274 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28275 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28277 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28280 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28282 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28285 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28286 * time/tst-strptime.c (day_tests): Add testcase.
28288 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28291 * manual/pattern.texi: Acknowledge that fnmatch can fail.
28293 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
28296 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28297 MAP_FAILED on error.
28299 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28302 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28303 heap for large requests.
28305 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
28308 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28309 result if the result has no associated interface.
28310 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28311 interface for all 127.X.Y.Z addresses.
28313 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
28315 * locale/iso-639.def: Add Ligurian (lij)
28317 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
28320 * sunrpc/rpc_main.c: Document rpcgen -5.
28322 2013-10-19 Michael Stahl <mstahl@redhat.com>
28324 * elf/rtld.c (do_preload): Print the reason why preloading failed.
28326 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28329 * posix/glob.c: Match only directories when trailing slash is present.
28330 * posix/tst-gnuglob.c (my_opendir): Do not open files.
28331 (main): Add testcase.
28333 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28336 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28338 2013-10-18 Carlos O'Donell <carlos@redhat.com>
28340 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28341 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28342 AUTH_DES and cindex for FIPS 140-2.
28343 (DES Encryption): Add cindex FIPS 46-3.
28345 * locale/locarchive.h (struct locarhandle): Add fname.
28346 * locale/programs/localedef.c (main): Pass ARGV[remaining]
28347 if an optional argument was specified to --list-archive,
28349 * locale/programs/locarchive.c (show_archive_content): Take new
28350 argument fname and pass it via ah.fname to open_archive.
28351 * locale/programs/localedef.h: Update decl.
28352 (open_archive): If AH->fname is non-null, open that file
28353 rather than the default file name, and don't ignore ENOENT.
28354 (create_archive): Set AH.fname to NULL.
28355 (delete_locales_from_archive): Likewise.
28356 (add_locales_to_archive): Likewise.
28357 * locale/programs/locfile.c (write_all_categories): Likewise.
28359 2013-10-18 Joseph Myers <joseph@codesourcery.com>
28360 Aldy Hernandez <aldyh@redhat.com>
28362 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28363 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28364 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28365 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28366 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28367 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28368 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28369 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28370 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28371 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28372 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28373 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28374 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28375 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28376 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28378 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28380 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28382 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28384 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28385 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28387 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28388 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28389 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28390 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28392 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28393 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28394 * sysdeps/powerpc/preconfigure: Likewise.
28395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28397 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28398 Replace contents of file by #include of <fenv_libc.h>.
28399 * sysdeps/powerpc/soft-fp/sfp-machine.h
28400 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28402 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28403 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28404 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28405 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28406 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28407 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28409 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28410 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28411 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28412 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28413 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28415 Allow copysignl PLT reference to be missing.
28417 2013-10-18 Richard Sandiford <richard@codesourcery.com>
28418 Joseph Myers <joseph@codesourcery.com
28421 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28423 (add_to_tablewc): Assert sequence of wide characters is nonempty.
28425 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28427 * elf/tst-tls-dlinfo.c: Don't include tls.h.
28428 * elf/tst-tls1.c: Likewise.
28429 * elf/tst-tls10.h: Likewise.
28430 * elf/tst-tls14.c: Likewise.
28431 * elf/tst-tls2.c: Likewise.
28432 * elf/tst-tls3.c: Likewise.
28433 * elf/tst-tls4.c: Likewise.
28434 * elf/tst-tls5.c: Likewise.
28435 * elf/tst-tls6.c: Likewise.
28436 * elf/tst-tls7.c: Likewise.
28437 * elf/tst-tls8.c: Likewise.
28438 * elf/tst-tls9.c: Likewise.
28439 * elf/tst-tlsmod1.c: Likewise.
28440 * elf/tst-tlsmod13.c: Likewise.
28441 * elf/tst-tlsmod13a.c: Likewise.
28442 * elf/tst-tlsmod14a.c: Likewise.
28443 * elf/tst-tlsmod16a.c: Likewise.
28444 * elf/tst-tlsmod16b.c: Likewise.
28445 * elf/tst-tlsmod2.c: Likewise.
28446 * elf/tst-tlsmod3.c: Likewise.
28447 * elf/tst-tlsmod4.c: Likewise.
28448 * elf/tst-tlsmod5.c: Likewise.
28449 * elf/tst-tlsmod6.c: Likewise.
28451 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
28454 * malloc/malloc.c: remove checks for statistics.
28456 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28459 * inet/inet_net.c (inet_network): Detect additional invalid strings.
28460 * inet/tst-network.c: Add testcase.
28462 2013-10-17 Andreas Schwab <schwab@suse.de>
28465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28466 to determine canonical name.
28468 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28470 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28471 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28472 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28473 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28475 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28476 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28477 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28478 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28479 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28480 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28481 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28482 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28483 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28484 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28485 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28488 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28489 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28490 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28491 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28492 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28493 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28494 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28495 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28496 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28497 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28498 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28499 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28500 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28501 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28502 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28503 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28504 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28505 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28506 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28507 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28508 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28509 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28510 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28511 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28512 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28513 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28514 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28515 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28516 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28517 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28518 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28519 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28520 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28521 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28522 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28523 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28524 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28525 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28526 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28527 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28529 2013-10-17 Joseph Myers <joseph@codesourcery.com>
28532 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28533 make result into a quiet NaN.
28535 2013-10-16 Joseph Myers <joseph@codesourcery.com>
28537 * soft-fp/adddf3.c: Fix horizontal whitespace.
28538 * soft-fp/addsf3.c: Likewise.
28539 * soft-fp/addtf3.c: Likewise.
28540 * soft-fp/divdf3.c: Likewise.
28541 * soft-fp/divsf3.c: Likewise.
28542 * soft-fp/divtf3.c: Likewise.
28543 * soft-fp/double.h: Likewise.
28544 * soft-fp/eqdf2.c: Likewise.
28545 * soft-fp/eqsf2.c: Likewise.
28546 * soft-fp/eqtf2.c: Likewise.
28547 * soft-fp/extenddftf2.c: Likewise.
28548 * soft-fp/extended.h: Likewise.
28549 * soft-fp/extendsfdf2.c: Likewise.
28550 * soft-fp/extendsftf2.c: Likewise.
28551 * soft-fp/extendxftf2.c: Likewise.
28552 * soft-fp/fixdfdi.c: Likewise.
28553 * soft-fp/fixdfsi.c: Likewise.
28554 * soft-fp/fixdfti.c: Likewise.
28555 * soft-fp/fixsfdi.c: Likewise.
28556 * soft-fp/fixsfsi.c: Likewise.
28557 * soft-fp/fixsfti.c: Likewise.
28558 * soft-fp/fixtfdi.c: Likewise.
28559 * soft-fp/fixtfsi.c: Likewise.
28560 * soft-fp/fixtfti.c: Likewise.
28561 * soft-fp/fixunsdfdi.c: Likewise.
28562 * soft-fp/fixunsdfsi.c: Likewise.
28563 * soft-fp/fixunsdfti.c: Likewise.
28564 * soft-fp/fixunssfdi.c: Likewise.
28565 * soft-fp/fixunssfsi.c: Likewise.
28566 * soft-fp/fixunssfti.c: Likewise.
28567 * soft-fp/fixunstfdi.c: Likewise.
28568 * soft-fp/fixunstfsi.c: Likewise.
28569 * soft-fp/fixunstfti.c: Likewise.
28570 * soft-fp/floatdidf.c: Likewise.
28571 * soft-fp/floatdisf.c: Likewise.
28572 * soft-fp/floatditf.c: Likewise.
28573 * soft-fp/floatsidf.c: Likewise.
28574 * soft-fp/floatsisf.c: Likewise.
28575 * soft-fp/floatsitf.c: Likewise.
28576 * soft-fp/floattidf.c: Likewise.
28577 * soft-fp/floattisf.c: Likewise.
28578 * soft-fp/floattitf.c: Likewise.
28579 * soft-fp/floatundidf.c: Likewise.
28580 * soft-fp/floatundisf.c: Likewise.
28581 * soft-fp/floatunditf.c: Likewise.
28582 * soft-fp/floatunsidf.c: Likewise.
28583 * soft-fp/floatunsisf.c: Likewise.
28584 * soft-fp/floatunsitf.c: Likewise.
28585 * soft-fp/floatuntidf.c: Likewise.
28586 * soft-fp/floatuntisf.c: Likewise.
28587 * soft-fp/floatuntitf.c: Likewise.
28588 * soft-fp/fmadf4.c: Likewise.
28589 * soft-fp/fmasf4.c: Likewise.
28590 * soft-fp/fmatf4.c: Likewise.
28591 * soft-fp/gedf2.c: Likewise.
28592 * soft-fp/gesf2.c: Likewise.
28593 * soft-fp/getf2.c: Likewise.
28594 * soft-fp/ledf2.c: Likewise.
28595 * soft-fp/lesf2.c: Likewise.
28596 * soft-fp/letf2.c: Likewise.
28597 * soft-fp/muldf3.c: Likewise.
28598 * soft-fp/mulsf3.c: Likewise.
28599 * soft-fp/multf3.c: Likewise.
28600 * soft-fp/negdf2.c: Likewise.
28601 * soft-fp/negsf2.c: Likewise.
28602 * soft-fp/negtf2.c: Likewise.
28603 * soft-fp/op-1.h: Likewise.
28604 * soft-fp/op-2.h: Likewise.
28605 * soft-fp/op-4.h: Likewise.
28606 * soft-fp/op-8.h: Likewise.
28607 * soft-fp/op-common.h: Likewise.
28608 * soft-fp/quad.h: Likewise.
28609 * soft-fp/single.h: Likewise.
28610 * soft-fp/soft-fp.h: Likewise.
28611 * soft-fp/sqrtdf2.c: Likewise.
28612 * soft-fp/sqrtsf2.c: Likewise.
28613 * soft-fp/sqrttf2.c: Likewise.
28614 * soft-fp/subdf3.c: Likewise.
28615 * soft-fp/subsf3.c: Likewise.
28616 * soft-fp/subtf3.c: Likewise.
28617 * soft-fp/truncdfsf2.c: Likewise.
28618 * soft-fp/trunctfdf2.c: Likewise.
28619 * soft-fp/trunctfsf2.c: Likewise.
28620 * soft-fp/trunctfxf2.c: Likewise.
28621 * soft-fp/unorddf2.c: Likewise.
28622 * soft-fp/unordsf2.c: Likewise.
28623 * soft-fp/unordtf2.c: Likewise.
28625 2013-10-15 Joseph Myers <joseph@codesourcery.com>
28627 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28628 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28630 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
28632 * elf/dl-libc.c: Clear initfini list after freeing.
28634 2013-10-14 Joseph Myers <joseph@codesourcery.com>
28636 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28637 * soft-fp/addsf3.c: Likewise.
28638 * soft-fp/addtf3.c: Likewise.
28639 * soft-fp/divdf3.c: Likewise.
28640 * soft-fp/divsf3.c: Likewise.
28641 * soft-fp/divtf3.c: Likewise.
28642 * soft-fp/double.h: Likewise.
28643 * soft-fp/eqdf2.c: Likewise.
28644 * soft-fp/eqsf2.c: Likewise.
28645 * soft-fp/eqtf2.c: Likewise.
28646 * soft-fp/extenddftf2.c: Likewise.
28647 * soft-fp/extended.h: Likewise.
28648 * soft-fp/extendsfdf2.c: Likewise.
28649 * soft-fp/extendsftf2.c: Likewise.
28650 * soft-fp/extendxftf2.c: Likewise.
28651 * soft-fp/fixdfdi.c: Likewise.
28652 * soft-fp/fixdfsi.c: Likewise.
28653 * soft-fp/fixdfti.c: Likewise.
28654 * soft-fp/fixsfdi.c: Likewise.
28655 * soft-fp/fixsfsi.c: Likewise.
28656 * soft-fp/fixsfti.c: Likewise.
28657 * soft-fp/fixtfdi.c: Likewise.
28658 * soft-fp/fixtfsi.c: Likewise.
28659 * soft-fp/fixtfti.c: Likewise.
28660 * soft-fp/fixunsdfdi.c: Likewise.
28661 * soft-fp/fixunsdfsi.c: Likewise.
28662 * soft-fp/fixunsdfti.c: Likewise.
28663 * soft-fp/fixunssfdi.c: Likewise.
28664 * soft-fp/fixunssfsi.c: Likewise.
28665 * soft-fp/fixunssfti.c: Likewise.
28666 * soft-fp/fixunstfdi.c: Likewise.
28667 * soft-fp/fixunstfsi.c: Likewise.
28668 * soft-fp/fixunstfti.c: Likewise.
28669 * soft-fp/floatdidf.c: Likewise.
28670 * soft-fp/floatdisf.c: Likewise.
28671 * soft-fp/floatditf.c: Likewise.
28672 * soft-fp/floatsidf.c: Likewise.
28673 * soft-fp/floatsisf.c: Likewise.
28674 * soft-fp/floatsitf.c: Likewise.
28675 * soft-fp/floattidf.c: Likewise.
28676 * soft-fp/floattisf.c: Likewise.
28677 * soft-fp/floattitf.c: Likewise.
28678 * soft-fp/floatundidf.c: Likewise.
28679 * soft-fp/floatundisf.c: Likewise.
28680 * soft-fp/floatunsidf.c: Likewise.
28681 * soft-fp/floatunsisf.c: Likewise.
28682 * soft-fp/floatuntidf.c: Likewise.
28683 * soft-fp/floatuntisf.c: Likewise.
28684 * soft-fp/floatuntitf.c: Likewise.
28685 * soft-fp/fmadf4.c: Likewise.
28686 * soft-fp/fmasf4.c: Likewise.
28687 * soft-fp/fmatf4.c: Likewise.
28688 * soft-fp/gedf2.c: Likewise.
28689 * soft-fp/gesf2.c: Likewise.
28690 * soft-fp/getf2.c: Likewise.
28691 * soft-fp/ledf2.c: Likewise.
28692 * soft-fp/lesf2.c: Likewise.
28693 * soft-fp/letf2.c: Likewise.
28694 * soft-fp/muldf3.c: Likewise.
28695 * soft-fp/mulsf3.c: Likewise.
28696 * soft-fp/multf3.c: Likewise.
28697 * soft-fp/negdf2.c: Likewise.
28698 * soft-fp/negsf2.c: Likewise.
28699 * soft-fp/negtf2.c: Likewise.
28700 * soft-fp/op-1.h: Likewise.
28701 * soft-fp/op-2.h: Likewise.
28702 * soft-fp/op-4.h: Likewise.
28703 * soft-fp/op-8.h: Likewise.
28704 * soft-fp/op-common.h: Likewise.
28705 * soft-fp/quad.h: Likewise.
28706 * soft-fp/single.h: Likewise.
28707 * soft-fp/soft-fp.h: Likewise.
28708 * soft-fp/sqrtdf2.c: Likewise.
28709 * soft-fp/sqrtsf2.c: Likewise.
28710 * soft-fp/sqrttf2.c: Likewise.
28711 * soft-fp/subdf3.c: Likewise.
28712 * soft-fp/subsf3.c: Likewise.
28713 * soft-fp/subtf3.c: Likewise.
28714 * soft-fp/truncdfsf2.c: Likewise.
28715 * soft-fp/trunctfdf2.c: Likewise.
28716 * soft-fp/trunctfsf2.c: Likewise.
28717 * soft-fp/trunctfxf2.c: Likewise.
28718 * soft-fp/unorddf2.c: Likewise.
28719 * soft-fp/unordsf2.c: Likewise.
28720 * soft-fp/unordtf2.c: Likewise.
28722 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
28725 * misc/error.c (error_tail): Fix possible buffer overflow.
28727 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
28730 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28733 2013-10-14 P. J. McDermott <pj@pehjota.net>
28736 * elf/ldd.bash.in (try_trace): New function. Delete previous code
28737 testing pipefail option.
28739 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28741 * soft-fp/double.h: Indent preprocessor directives inside #if.
28742 * soft-fp/extended.h: Likewise.
28743 * soft-fp/op-2.h: Likewise.
28744 * soft-fp/op-4.h: Likewise.
28745 * soft-fp/op-common.h: Likewise.
28746 * soft-fp/quad.h: Likewise.
28747 * soft-fp/single.h: Likewise.
28748 * soft-fp/soft-fp.h: Likewise.
28750 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
28752 * iconv/iconv_prog.c: Fix typos.
28753 * stdio-common/psiginfo-data.h: Likewise.
28755 2013-10-12 Reuben Thomas <rrt@sc3d.org>
28758 * locale/setlocale.c: Fix typo.
28760 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28763 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28764 signaling NaN arguments.
28765 * soft-fp/unordsf2.c (__unordsf2): Likewise.
28766 * soft-fp/unordtf2.c (__unordtf2): Likewise.
28769 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28770 unordered operands.
28771 * soft-fp/gesf2.c (__gesf2): Likewise.
28772 * soft-fp/getf2.c (__getf2): Likewise.
28773 * soft-fp/ledf2.c (__ledf2): Likewise.
28774 * soft-fp/lesf2.c (__lesf2): Likewise.
28775 * soft-fp/letf2.c (__letf2): Likewise.
28777 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28778 * soft-fp/eqsf2.c (__eqsf2): Likewise.
28779 * soft-fp/eqtf2.c (__eqtf2): Likewise.
28780 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28781 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28782 * soft-fp/fixdfti.c (__fixdfti): Likewise.
28783 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28784 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28785 * soft-fp/fixsfti.c (__fixsfti): Likewise.
28786 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28787 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28788 * soft-fp/fixtfti.c (__fixtfti): Likewise.
28789 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28790 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28791 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28792 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28793 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28794 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28795 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28796 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28797 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28798 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28799 * soft-fp/floatdisf.c (__floatdisf): Likewise.
28800 * soft-fp/floatsisf.c (__floatsisf): Likewise.
28801 * soft-fp/floattidf.c (__floattidf): Likewise.
28802 * soft-fp/floattisf.c (__floattisf): Likewise.
28803 * soft-fp/floattitf.c (__floattitf): Likewise.
28804 * soft-fp/floatundidf.c (__floatundidf): Likewise.
28805 * soft-fp/floatundisf.c (__floatundisf): Likewise.
28806 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28807 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28808 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28809 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28810 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28811 * soft-fp/gesf2.c (__gesf2): Likewise.
28812 * soft-fp/getf2.c (__getf2): Likewise.
28813 * soft-fp/ledf2.c (__ledf2): Likewise.
28814 * soft-fp/lesf2.c (__lesf2): Likewise.
28815 * soft-fp/letf2.c (__letf2): Likewise.
28817 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28818 Undefine and redefine.
28819 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28820 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28821 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28822 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28823 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28824 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28825 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28826 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28827 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28828 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28829 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28830 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28831 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28832 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28833 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28836 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28837 without decrementing exponent if mantissa >= that for the
28838 denominator, not >.
28839 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28840 denominator, not >. Decrement exponent in < case instead of
28841 incrementing in >= case.
28842 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28843 without decrementing exponent if mantissa >= that for the
28844 denominator, not >.
28846 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28847 computing saturated result for unsigned overflow.
28849 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28850 Jeff Law <law@redhat.com>
28852 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28853 (atan2Mp): Add systemtap probe marker.
28854 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28855 (__ieee754_log): Add systemtap probe marker.
28856 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28857 (atanMp): Add systemtap probe marker.
28858 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28859 (tanMp): Add systemtap probe marker.
28860 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28861 (__slowexp): Add systemtap probe marker.
28862 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28863 (__slowpow): Add systemtap probe marker.
28864 * manual/probes.texi: Document probes.
28866 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
28869 * libio/fileops.c (_IO_new_file_write): Return count of bytes
28871 (_IO_new_file_xsputn): Don't return EOF if nothing has been
28873 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28874 written to buffer but not flushed.
28875 * libio/iofwrite_u.c: Likewise.
28876 * libio/iopadn.c: Return bytes returned even if EOF was
28878 * libio/iowpadn.c: Likewise.
28879 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28880 if _IO_padn does not write the whole buffer.
28881 [!COMPILE_WPRINTF] (PAD): Likewise.
28883 2013-10-10 David S. Miller <davem@davemloft.net>
28885 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28888 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28890 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
28891 instead of FSF address.
28892 * soft-fp/fixdfti.c: Likewise.
28893 * soft-fp/fixsfti.c: Likewise.
28894 * soft-fp/fixtfti.c: Likewise.
28895 * soft-fp/fixunsdfti.c: Likewise.
28896 * soft-fp/fixunssfti.c: Likewise.
28897 * soft-fp/fixunstfti.c: Likewise.
28898 * soft-fp/floattidf.c: Likewise.
28899 * soft-fp/floattisf.c: Likewise.
28900 * soft-fp/floattitf.c: Likewise.
28901 * soft-fp/floatuntidf.c: Likewise.
28902 * soft-fp/floatuntisf.c: Likewise.
28903 * soft-fp/floatuntitf.c: Likewise.
28904 * soft-fp/trunctfxf2.c: Likewise.
28906 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
28907 * soft-fp/fixdfti.c: Likewise.
28908 * soft-fp/fixsfti.c: Likewise.
28909 * soft-fp/fixtfti.c: Likewise.
28910 * soft-fp/fixunsdfti.c: Likewise.
28911 * soft-fp/fixunssfti.c: Likewise.
28912 * soft-fp/fixunstfti.c: Likewise.
28913 * soft-fp/floattidf.c: Likewise.
28914 * soft-fp/floattisf.c: Likewise.
28915 * soft-fp/floattitf.c: Likewise.
28916 * soft-fp/floatuntidf.c: Likewise.
28917 * soft-fp/floatuntisf.c: Likewise.
28918 * soft-fp/floatuntitf.c: Likewise.
28919 * soft-fp/trunctfxf2.c: Likewise.
28921 2013-10-10 David S. Miller <davem@davemloft.net>
28923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28925 2013-10-10 Joseph Myers <joseph@codsourcery.com>
28927 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28928 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28929 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28930 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28931 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28932 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28933 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28935 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28936 for NaNs before doing comparisons on argument.
28937 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28940 2013-10-10 Will Newton <will.newton@linaro.org>
28942 * malloc/hooks.c (memalign_check): Ensure the value of bytes
28943 passed to _int_memalign does not overflow.
28945 2013-10-10 Torvald Riegel <triegel@redhat.com>
28947 * scripts/bench.pl: Add include-sources directive.
28948 * benchtests/README: Update documentation.
28950 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28952 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28953 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28954 instead of FP_INIT_ROUNDMODE.
28955 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28956 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28959 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
28960 copy class of input value.
28961 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
28962 not handle exceptions.
28963 * soft-fp/negsf2.c (__negsf2): Likewise.
28964 * soft-fp/negtf2.c (__negtf2): Likewise.
28965 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28967 2013-10-09 Joseph Myers <joseph@codesourcery.com>
28969 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28970 semicolon. From Linux kernel.
28972 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
28974 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28976 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
28979 * manual/socket.texi: Added statement about buffer
28980 for gethostbyname2_r.
28982 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
28984 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28985 Use .p2align directive instead, throughout.
28986 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28987 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28988 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28989 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28990 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28991 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28992 * sysdeps/x86_64/strchr.S: Likewise.
28993 * sysdeps/x86_64/strrchr.S: Likewise.
28995 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28997 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28999 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29001 * sysdeps/generic/math_private.h (__mpsin1): Remove
29003 (__mpcos1): Likewise.
29004 (__mpsin): New argument __range_reduce.
29005 (__mpcos): Likewise.
29006 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29007 (slow): Use __mpsin and __mpcos.
29011 (sloww1): Likewise.
29012 (sloww2): Likewise.
29013 (bsloww): Likewise.
29014 (bsloww1): Likewise.
29015 (bsloww2): Likewise.
29016 (cslow2): Likewise.
29017 (csloww): Likewise.
29018 (csloww1): Likewise.
29019 (csloww2): Likewise.
29020 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29021 range_reduce. Merge in __mpsin1.
29022 (__mpcos): Likewise.
29023 (__mpsin1): Remove.
29024 (__mpcos1): Likewise.
29026 2013-10-07 Joseph Myers <joseph@codesourcery.com>
29028 * locale/loadlocale.c (_nl_intern_locale_data): Use
29030 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29031 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29032 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29033 obstack data is appropriately aligned.
29034 (obstack_int32_grow_fast): Likewise.
29035 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29036 * locale/programs/locfile.c (add_locale_uint32): Likewise.
29037 (add_locale_uint32_array): Likewise.
29039 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29041 * benchtests/Makefile: Remove ARGLIST and RET variables.
29042 ($(objpfx)bench-%.c): Pass only function name to the script.
29043 * benchtests/README: Update documentation.
29044 * benchtests/acos-inputs: Add new directives.
29045 * benchtests/acosh-inputs: Likewise.
29046 * benchtests/asin-inputs: Likewise.
29047 * benchtests/asinh-inputs: Likewise.
29048 * benchtests/atan-inputs: Likewise.
29049 * benchtests/atanh-inputs: Likewise.
29050 * benchtests/cos-inputs: Likewise.
29051 * benchtests/cosh-inputs: Likewise.
29052 * benchtests/exp-inputs: Likewise.
29053 * benchtests/log-inputs: Likewise.
29054 * benchtests/pow-inputs: Likewise.
29055 * benchtests/rint-inputs: Likewise.
29056 * benchtests/sin-inputs: Likewise.
29057 * benchtests/sinh-inputs: Likewise.
29058 * benchtests/tan-inputs: Likewise.
29059 * benchtests/tanh-inputs: Likewise.
29060 * scripts/bench.pl: Add support for new directives.
29062 2013-10-07 Alan Modra <amodra@gmail.com>
29064 * README: Fix careless merge.
29066 2013-10-05 Alan Modra <amodra@gmail.com>
29068 * NEWS: Mention powerpc64le support and bugs fixed.
29069 * README: Both big-endian and little-endian powerpc64 supported.
29071 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29073 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29074 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29075 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29076 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29078 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
29080 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29083 2013-10-04 Joseph Myers <joseph@codesourcery.com>
29085 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29086 Move -mhard-float appending from
29087 ports/sysdeps/powerpc/powerpc32/Makefile.
29088 [$(with-fp) = yes] (ASFLAGS): Likewise.
29089 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29090 * sysdeps/powerpc/nofpu: Move directory from
29091 ports/sysdeps/powerpc/nofpu.
29092 * sysdeps/powerpc/soft-fp: Move directory from
29093 ports/sysdeps/powerpc/soft-fp.
29094 * sysdeps/powerpc/powerpc32/405: Move directory from
29095 ports/sysdeps/powerpc/powerpc32/405.
29096 * sysdeps/powerpc/powerpc32/440: Move directory from
29097 ports/sysdeps/powerpc/powerpc32/440.
29098 * sysdeps/powerpc/powerpc32/464: Move directory from
29099 ports/sysdeps/powerpc/powerpc32/464.
29100 * sysdeps/powerpc/powerpc32/476: Move directory from
29101 ports/sysdeps/powerpc/powerpc32/476.
29102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29103 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29105 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29107 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29109 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29111 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29112 * README: Update for powerpc-*-linux-gnu software floating point
29115 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29116 case to powerpc/powerpc32*.
29117 * sysdeps/unix/sysv/linux/configure: Regenerated.
29119 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29120 (_FPU_MASK_OM): Define as 0x04.
29121 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29129 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29132 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29135 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29136 and setcontext_e500.
29138 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
29140 * locale/iso-3166.def: Update iso-1366.def and related occurrences
29142 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29144 * manual/threads.texi (Default Thread Attributes): Fix typo.
29146 2013-10-04 Will Newton <will.newton@linaro.org>
29148 * malloc/Makefile: Add tst-memalign.
29149 * malloc/tst-memalign.c: New file.
29151 * malloc/tst-posix_memalign.c: Add comments.
29152 (do_test): Add comments and call free on all potentially
29153 allocated pointers. Add space after cast.
29155 * malloc/tst-pvalloc.c: Add comments.
29156 (do_test): Add comments and call free on all potentially
29157 allocated pointers. Remove duplicate check for NULL pointer.
29158 Add space after cast.
29160 * malloc/tst-valloc.c: Add comments.
29161 (do_test): Add comments and call free on all potentially
29162 allocated pointers. Remove duplicate check for NULL pointer.
29163 Add space after cast.
29165 2013-10-04 Alan Modra <amodra@gmail.com>
29167 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29168 Use stdint types in rather than __attribute__((mode())).
29169 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29171 2013-10-04 Alan Modra <amodra@gmail.com>
29173 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29174 Correct handling of unaligned relocs for little-endian.
29175 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29177 2013-10-04 Alan Modra <amodra@gmail.com>
29179 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29180 * configure: Regenerate.
29181 * nptl/shlib-versions: Powerpc*le starts at 2.18.
29182 * shlib-versions: Likewise.
29184 2013-10-04 Alan Modra <amodra@gmail.com>
29186 * string/tester.c (test_memrchr): Increment reported test cycle.
29188 2013-10-04 Alan Modra <amodra@gmail.com>
29190 * string/test-memcpy.c (do_one_test): When reporting errors, print
29191 string address and don't overrun end of string.
29193 2013-10-04 Alan Modra <amodra@gmail.com>
29195 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29196 insrdi. Make better use of reg selection to speed exit slightly.
29197 Schedule entry path a little better. Remove useless "are we done"
29198 checks on entry to main loop. Handle wrapping around zero address.
29199 Correct main loop count. Handle single left-over word from main
29200 loop inline rather than by using loop_small. Remove extra word
29201 case in loop_small caused by wrong loop count. Add little-endian
29203 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29204 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
29206 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29207 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29208 support. Avoid rlwimi.
29209 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29211 2013-10-04 Alan Modra <amodra@gmail.com>
29213 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29214 insrdi. Formatting.
29215 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29216 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29217 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29218 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29219 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29220 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29222 2013-10-04 Alan Modra <amodra@gmail.com>
29224 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29225 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29226 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29227 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29228 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29229 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29230 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29231 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29232 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
29233 use of regs. Use power7 mtocrf. Tidy function tails.
29235 2013-10-04 Alan Modra <amodra@gmail.com>
29237 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29238 Formatting. Consistently use rXXX register defines or rN defines.
29239 Use early exit labels that avoid restoring unused non-volatile regs.
29240 Make cr field use more consistent with rWORDn compares. Rename
29241 regs used as shift registers for unaligned loop, using rN defines
29242 for short lifetime/multiple use regs.
29243 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29244 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
29245 addi 1,1,64 to pop stack frame. Simplify return value code.
29246 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29248 2013-10-04 Alan Modra <amodra@gmail.com>
29250 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29251 support. Correct typos, formatting. Optimize tail. Use insrdi
29252 rather than rlwimi.
29253 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29254 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29255 little-endian support. Correct typos.
29256 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
29257 rather than rlwimi.
29258 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
29259 in loop and entry code to keep "and." results.
29260 (strchr): Add little-endian support. Comment. Move cntlzd
29262 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29264 2013-10-04 Alan Modra <amodra@gmail.com>
29266 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29267 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29268 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29269 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29271 2013-10-04 Alan Modra <amodra@gmail.com>
29273 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29274 (rTMP): Define as r11.
29275 (strcmp): Add little-endian support. Optimise tail.
29276 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29277 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29278 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29279 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29280 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29281 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29282 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29284 2013-10-04 Alan Modra <amodra@gmail.com>
29286 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29287 little-endian support. Remove unnecessary "are we done" tests.
29288 Handle "s" wrapping around zero and extremely large "size".
29289 Correct main loop count. Handle single left-over word from main
29290 loop inline rather than by using small_loop. Correct comments.
29291 Delete "zero" tail, use "end_max" instead.
29292 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29294 2013-10-04 Alan Modra <amodra@gmail.com>
29296 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29297 support. Don't branch over align.
29298 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29299 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29300 support. Rearrange tmp reg use to suit. Comment.
29301 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29303 2013-10-04 Alan Modra <amodra@gmail.com>
29305 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29307 2013-10-04 Alan Modra <amodra@gmail.com>
29309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29310 conditional form of branch and link when obtaining pc.
29311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29313 2013-10-04 Alan Modra <amodra@gmail.com>
29315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29320 2013-10-04 Alan Modra <amodra@gmail.com>
29322 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29323 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29324 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29325 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29326 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29327 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29328 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29329 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29330 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29331 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29333 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29334 Alistair Popple <alistair@ozlabs.au.ibm.com>
29335 Alan Modra <amodra@gmail.com>
29338 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29339 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29340 _dl_hwcap access for little-endian.
29341 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
29342 destroy vmx regs when saving unaligned.
29343 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29344 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
29345 destroy vmx regs when saving unaligned.
29347 2013-10-04 Alan Modra <amodra@gmail.com>
29349 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29350 Don't use a union to pack hi/low value.
29352 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29354 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29356 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29357 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29358 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29359 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29360 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29362 2013-10-04 Alan Modra <amodra@gmail.com>
29364 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29365 constants to usual value for .cst8 section, and remove redundant
29367 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29368 constant for 0x1p52. Load little-endian words of double from
29369 correct stack offsets.
29371 2013-10-04 Alan Modra <amodra@gmail.com>
29373 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29374 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29375 words of double from correct stack offsets.
29376 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29377 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29378 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29379 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29380 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29381 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29382 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29383 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29384 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29385 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29386 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29387 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29388 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29389 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29390 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29391 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29392 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29394 2013-10-04 Alan Modra <amodra@gmail.com>
29396 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29397 64-bit int/double union.
29398 (_FPU_SETCW): Likewise.
29399 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29400 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29402 2013-10-04 Alan Modra <amodra@gmail.com>
29404 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29405 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29407 2013-10-04 Alan Modra <amodra@gmail.com>
29409 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29410 use vector int constants.
29411 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29413 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29415 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29416 array with long long.
29417 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29418 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29419 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29420 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29421 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29422 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29423 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29424 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29425 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29426 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29427 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29428 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29429 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29431 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29433 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29434 (__signbit): Likewise. Correct for little-endian.
29435 (__signbitl): Call __signbit.
29436 (lrint): Correct for little-endian.
29437 (lrintf): Call lrint.
29439 2013-10-04 Alan Modra <amodra@gmail.com>
29441 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29442 union 32-bit int array member with 64-bit int array.
29443 (t515, tm256): Double rather than long double.
29444 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29446 2013-10-04 Alan Modra <amodra@gmail.com>
29448 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29450 (IEEE854_LONG_DOUBLE_BIAS): Delete.
29451 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29452 version of math_ldbl.h.
29454 2013-10-04 Alan Modra <amodra@gmail.com>
29456 [BZ #15734], [BZ #15735]
29457 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29458 all uses of ieee875 long double macros and unions. Simplify test
29459 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
29460 ldbl_extract_mantissa value for ix,iy exponents. Properly
29461 normalize after ldbl_extract_mantissa, and don't add hidden bit
29462 already handled. Don't treat low word of ieee854 mantissa like
29463 low word of IBM long double and mask off bit when testing for
29465 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29466 all uses of ieee875 long double macros and unions. Simplify tests
29467 for 0.0L and inf. Correct double adjustment of k. Delete dead code
29468 adjusting ha,hb. Simplify code setting kld. Delete two600 and
29469 two1022, instead use their values. Recognise that tests for large
29470 "a" and small "b" are mutually exclusive. Rename vars. Comment.
29471 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29472 Rewrite all uses of ieee875 long double macros and unions. Simplify
29473 test for 0.0L and nan. Correct negation.
29474 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29475 ieee875 long double macros and unions. Correct output for large
29476 magnitude x. Correct absolute value calculation.
29477 (__erfcl): Likewise.
29478 * math/libm-test.inc: Add tests for errors discovered in IBM long
29479 double versions of fmodl, remainderl, erfl and erfcl.
29481 2013-10-04 Alan Modra <amodra@gmail.com>
29483 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29484 all uses of ieee854 long double macros and unions. Simplify tests
29485 for long doubles that are fully specified by the high double.
29486 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29488 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29489 Remove dead code too.
29490 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29491 (__ieee754_ynl): Likewise.
29492 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29493 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29494 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29495 Remove dead code too.
29496 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29497 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29498 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29499 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29501 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29503 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29504 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29505 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29506 Comment on variable precision.
29507 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29508 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29510 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29511 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29512 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29513 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29514 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29516 2013-10-04 Alan Modra <amodra@gmail.com>
29518 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29519 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29520 all uses of ieee854 long double macros and unions.
29521 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29522 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29523 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29524 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29525 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29526 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29528 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29529 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29530 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29531 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29532 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29533 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29534 Simplify sign and nan test too.
29535 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29536 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29537 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29538 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29540 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29541 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29543 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29544 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29545 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29546 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29547 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29548 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29550 2013-10-04 Alan Modra <amodra@gmail.com>
29552 * stdio-common/printf_size.c (__printf_size): Don't use
29553 union ieee854_long_double in fpnum union.
29554 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
29555 signbit macro to retrieve sign from long double.
29556 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29557 retrieve sign from long double.
29558 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29559 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29560 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29561 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29562 * math/test-misc.c (main): Don't use union ieee854_long_double.
29564 2013-10-04 Alan Modra <amodra@gmail.com>
29567 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29568 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29569 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29570 calculation. Remove unnecessary test for denormal exponent.
29571 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29572 Correct handling of denormals. Avoid undefined shift behaviour.
29573 Correct normalisation of low mantissa when low double is denormal.
29574 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29575 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
29576 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29577 Correct normalisation of low mantissa. Test for overflow of high
29578 mantissa and normalise.
29579 (ldbl_nearbyint): Use more readable constant for two52.
29580 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29581 (__mpn_construct_long_double): Fix test for overflow of high
29582 mantissa and correct normalisation. Avoid undefined shift.
29584 2013-10-04 Alan Modra <amodra@gmail.com>
29586 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29587 (union ibm_extended_long_double): Define as an array of ieee754_double.
29588 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29589 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29590 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29591 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29592 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29593 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29594 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29595 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29596 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29597 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29598 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29600 2013-10-03 Joseph Myers <joseph@codesourcery.com>
29602 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29603 page size instead of calling getpagesize.
29605 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29606 (LOCFILE_ALIGN_MASK): Likewise.
29607 (LOCFILE_ALIGN_UP): Likewise.
29608 (LOCFILE_ALIGNED_P): Likewise.
29609 * locale/programs/ld-collate.c (collate_output): Use the new
29610 macros instead of __alignof__ (int32_t).
29611 * locale/weight.h (findidx): Likewise.
29613 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
29616 * manual/string.texi: Fix strncat and wcsncat.
29618 2013-10-03 Brooks Moses <bmoses@google.com>
29621 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29622 * Makerules: ...here, and adjust associated comments.
29624 2013-10-02 Will Newton <will.newton@linaro.org>
29626 * malloc/Makefile: Add tst-pvalloc.
29627 * malloc/tst-pvalloc.c: New file.
29629 2013-10-02 Will Newton <will.newton@linaro.org>
29631 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29632 improve test coverage.
29634 2013-10-02 Will Newton <will.newton@linaro.org>
29636 * malloc/Makefile: Add tst-posix_memalign.
29637 * malloc/tst-posix_memalign.c: New file.
29639 2013-10-01 Eric Blake <eblake@redhat.com>
29641 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29642 Use __THROWNL rather than __THROW on static functions.
29644 2013-09-30 Petr Machata <pmachata@redhat.com>
29646 * elf/elf.h (R_AARCH64_ABS16): New macro.
29647 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29648 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29649 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29650 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29651 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29652 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29653 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29654 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29655 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29656 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29657 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29658 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29659 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29660 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29661 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29662 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29663 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29664 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29665 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29666 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29667 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29668 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29669 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29670 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29671 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29672 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29673 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29674 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29675 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29676 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29677 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29678 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29679 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29680 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29681 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29682 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29683 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29684 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29685 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29686 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29687 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29688 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29689 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29690 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29691 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29692 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29693 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29694 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29695 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29696 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29697 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29698 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29699 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29700 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29701 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29702 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29703 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29704 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29705 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29706 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29707 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29708 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29709 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29710 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29711 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29712 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29713 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29714 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29715 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29716 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29717 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29718 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29719 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29720 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29721 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29722 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29723 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29724 (R_AARCH64_TLSDESC_LDR): Likewise.
29725 (R_AARCH64_TLSDESC_ADD): Likewise.
29726 (R_AARCH64_TLSDESC_CALL): Likewise.
29728 2013-09-30 Andreas Schwab <schwab@suse.de>
29731 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29732 the nss database lookup.
29733 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29736 2013-09-28 Mike Frysinger <vapier@gentoo.org>
29738 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29740 2013-09-28 P. J. McDermott <pj@pehjota.net>
29742 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29743 ${Bash-specific parameter/pattern/string} parameter expansion.
29744 * sysdeps/unix/make-syscalls.sh: Likewise.
29746 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29748 * sysdeps/sh/stackguard-macros.h: New file.
29750 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
29752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29753 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29754 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29755 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29756 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29757 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29759 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29761 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29762 Fix thread ID register.
29764 2013-09-25 Joseph Myers <joseph@codesourcery.com>
29766 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29767 [POSIX || UNIX98]: Require rather than permitting all symbols from
29769 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29770 element of struct sched_param.
29771 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29772 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29773 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29774 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29777 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
29779 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29780 argument calculation.
29782 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29784 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29786 [POSIX] (pthread_attr_t): Do not require type.
29787 [POSIX] (pthread_cond_t): Likewise.
29788 [POSIX] (pthread_condattr_t): Likewise.
29789 [POSIX] (pthread_key_t): Likewise.
29790 [POSIX] (pthread_mutex_t): Likewise.
29791 [POSIX] (pthread_mutexattr_t): Likewise.
29792 [POSIX] (pthread_once_t): Likewise.
29793 [POSIX] (pthread_t): Likewise.
29794 [POSIX-based standards] (pthread_atfork): Expect function.
29796 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29797 Richard Sandiford <richard@codesourcery.com>
29799 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29800 (swap_endianness_p): New extern variable.
29801 (set_big_endian): New inline function.
29802 (maybe_swap_uint32): Likewise.
29803 (maybe_swap_uint32_array): Likewise.
29804 (maybe_swap_uint32_obstack): Likewise.
29805 * locale/programs/locfile.c: Include <stdbool.h>.
29806 (swap_endianness_p): New variable.
29807 (add_locale_uint32): Call maybe_swap_uint32.
29808 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29809 (write_locale_data): Call maybe_swap_uint32_array.
29810 * locale/programs/ld-collate.c (obstack_int32_grow): Call
29812 (obstack_int32_grow_fast): Likewise.
29813 (output_weightwc): Call maybe_swap_uint32_obstack.
29814 (collate_output): Likewise.
29815 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29816 (OPT_LITTLE_ENDIAN): Likewise.
29817 (options): Add --little-endian and --big-endian options.
29818 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29819 * locale/programs/locarchive.c: Include "locfile.h".
29823 (create_archive): Use the new macros to access fields of
29824 structures directly mapped from or written to locale archives.
29825 (oldlocrecentcmp): Likewise.
29826 (enlarge_archive): Likewise.
29827 (insert_name): Likewise.
29828 (add_alias): Likewise.
29829 (add_locale): Likewise.
29830 (delete_locales_from_archive): Likewise.
29831 (show_archive_content): Likewise.
29832 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
29835 2013-09-24 Roland McGrath <roland@hack.frob.com>
29837 * manual/freemanuals.texi: Updated from (newly) canonical copy at
29838 http://www.gnu.org/doc/freemanuals.texi.
29839 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29841 2013-09-24 Will Newton <will.newton@linaro.org>
29843 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29846 2013-09-23 Joseph Myers <joseph@codesourcery.com>
29848 * locale/hashval.h (compute_hashval): Interpret bytes of key as
29851 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
29853 * manual/threads.texi (POSIX Threads): Fix a typo.
29855 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29858 * string/tst-strcoll-overflow.c: New test case.
29859 * string/Makefile (xtests): Add tst-strcoll-overflow.
29860 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29861 cache if string sizes may cause integer overflow.
29864 * string/strcoll_l.c (coll_seq): New members rule, idx,
29865 save_idx and back_us.
29866 (get_next_seq_nocache): New function.
29867 (do_compare_nocache): New function.
29868 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29871 2013-09-23 Carlos O'Donell <carlos@redhat.com>
29874 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29875 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29876 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29879 * elf/Makefile (tests): Add tst-ptrguard1.
29880 (tests-static): Add tst-ptrguard1-static.
29881 (tst-ptrguard1-ARGS): Define.
29882 (tst-ptrguard1-static-ARGS): Define.
29883 * elf/tst-ptrguard1.c: New file.
29884 * elf/tst-ptrguard1-static.c: New file.
29885 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29886 * sysdeps/i386/stackguard-macros.h: Likewise.
29887 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29888 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29889 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29890 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29891 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29892 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29894 2013-09-23 Hector Marco <hecmargi@upv.es>
29895 Ismael Ripoll <iripoll@disca.upv.es>
29896 Carlos O'Donell <carlos@redhat.com>
29899 * sysdeps/generic/stackguard-macros.h: Define
29900 __pointer_chk_guard_local and POINTER_CHK_GUARD.
29901 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29902 Define __pointer_chk_guard_local.
29903 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29904 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29906 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
29909 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29911 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
29913 * include/string.h (__ffs): Declare as hidden.
29914 * string/ffs.c (__ffs): Define as hidden.
29915 * sysdeps/i386/ffs.c (__ffs): Likewise.
29916 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29917 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29918 * sysdeps/s390/ffs.c (__ffs): Likewise.
29919 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29921 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
29923 * NEWS: Mention malloc probes.
29925 * malloc/arena.c (new_heap): New memory_heap_new probe.
29926 (grow_heap): New memory_heap_more probe.
29927 (shrink_heap): New memory_heap_less probe.
29928 (heap_trim): New memory_heap_free probe.
29929 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29930 (systrim): New memory_sbrk_less probe.
29931 * manual/probes.texi: Document them.
29933 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29934 * manual/probes.texi: Document it.
29936 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29937 (__libc_realloc): Add memory_realloc_retry probe.
29938 (__libc_memalign): Add memory_memalign_retry probe.
29939 (__libc_valloc): Add memory_valloc_retry probe.
29940 (__libc_pvalloc): Add memory_pvalloc_retry probe.
29941 (__libc_calloc): Add memory_calloc_retry probe.
29942 * manual/probes.texi: Document them.
29944 * malloc/arena.c (get_free_list): Add probe
29945 memory_arena_reuse_free_list.
29946 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29947 and memory_arena_reuse.
29948 (arena_get2) [!PER_THREAD]: Likewise.
29949 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29950 memory_arena_reuse_realloc.
29951 * manual/probes.texi: Document them.
29953 * malloc/malloc.c (__libc_free): Add
29954 memory_mallopt_free_dyn_thresholds probe.
29955 (__libc_mallopt): Add multiple memory_mallopt probes.
29956 * manual/probes.texi: Document them.
29958 * malloc/malloc.c: Include stap-probe.h.
29959 (__libc_mallopt): Add memory_mallopt probe.
29960 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29961 * manual/probes.texi: New.
29962 * manual/Makefile (chapters): Add probes.
29963 * manual/threads.texi: Set next node.
29965 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
29967 [BZ #15963, #13985]
29968 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29969 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29970 Add `Chinese' to `nan' entry name.
29972 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29974 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29975 (POLYNOMIAL): Likewise.
29976 (TAYLOR_SINCOS): Likewise.
29977 (TAYLOR_SLOW): Likewise.
29978 (__sin): Use TAYLOR_SINCOS.
29980 (slow): Use TAYLOR_SLOW.
29982 (bsloww): Likewise.
29983 (csloww): Likewise.
29985 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29987 * stdlib/strtod_l.c: Fix buffer overrun.
29989 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29991 * benchtests/Makefile (bench): Add sincos.
29992 * benchtests/bench-sincos.c: New file.
29994 * math/libm-test.inc (cos_test_data): New test inputs.
29995 (sin_test_data): Likewise.
29997 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30003 (sloww1): Likewise.
30004 (sloww2): Likewise.
30005 (bsloww1): Likewise.
30006 (bsloww2): Likewise.
30007 (cslow2): Likewise.
30008 (csloww1): Likewise.
30009 (csloww2): Likewise.
30011 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30016 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30020 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
30022 * config.h.in (HAVE_MIPS_NAN2008): New macro.
30023 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30024 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30025 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30026 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30027 * elf/cache.c (print_entry): Handle the new cache flags.
30029 2013-09-18 Joseph Myers <joseph@codesourcery.com>
30030 Aldy Hernandez <aldyh@redhat.com>
30032 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30033 Change condition to [_SOFT_FLOAT].
30034 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30035 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30037 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30038 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30039 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30040 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30042 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30043 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30046 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30049 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30052 2013-09-18 Joseph Myers <joseph@codesourcery.com>
30054 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30055 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30056 (__longjmp): Use LOAD_GP to load saved GPRs.
30057 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30058 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30059 (__sigsetjmp): Use SAVE_GP to save GPRs.
30061 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30062 Do not append -msoft-float.
30063 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30065 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30067 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30069 2013-09-17 Joseph Myers <joseph@codesourcery.com>
30072 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30073 (_FPU_GETCW): Use initial "__" on variable and field names but not
30074 on macro parameter name.
30075 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
30076 parentheses around reference to macro parameter.
30078 2013-09-13 Richard Sandiford <richard@codesourcery.com>
30080 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30082 (ctype_startup): Use uint32_t in cast and sizeof for
30085 2013-09-11 Jia Liu <proljc@gmail.com>
30087 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30089 [__FreeBSD__]: Likewise.
30091 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
30093 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30094 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30095 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30096 (strchr): Remove __strchr_sse42 ifunc selection.
30097 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30098 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30100 2013-09-11 Will Newton <will.newton@linaro.org>
30102 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30103 parameter to RES. Remove hardcoded 1000 value.
30104 * benchtests/bench-skeleton.c (main): Pass RES parameter
30105 to TIMING_INIT and multiply result by 1000.
30107 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30111 2013-09-11 Andreas Schwab <schwab@suse.de>
30113 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30115 (O_TMPFILE) [__USE_GNU]: Define.
30116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30119 2013-09-11 Will Newton <will.newton@linaro.org>
30122 * malloc/malloc.c (__libc_memalign): Check the value of bytes
30125 2013-09-11 Will Newton <will.newton@linaro.org>
30128 * malloc/malloc.c (__libc_valloc): Check the value of bytes
30131 2013-09-11 Will Newton <will.newton@linaro.org>
30134 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30137 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
30139 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30140 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30141 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30142 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30143 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30145 2013-09-10 Allan McRae <allan@archlinux.org>
30148 * manual/arith.texi (Parsing of Floats): Clarify
30152 * manual/install.texi (Running make install): Mention
30154 * INSTALL: Regenerated.
30156 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
30158 * csu/init-first.c (_init): Remove the !SHARED condition around
30159 FPU control word initialization.
30160 * elf/dl-support.c (_dl_fpu_control): New variable.
30161 (_dl_aux_init) <AT_FPUCW>: Initialize it.
30162 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30163 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30164 * math/test-fpucw-static.c: New file.
30165 * math/test-fpucw-ieee.c: New file.
30166 * math/test-fpucw-ieee-static.c: New file.
30167 * math/Makefile (tests): Add `test-fpucw-ieee' and
30169 (tests-static): New variable.
30170 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30172 [($(build-shared),yes)]
30173 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30175 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30178 2013-09-09 Allan McRae <allan@archlinux.org>
30181 * manual/string.texi (Collation Functions): Fix typo in
30183 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30186 * stdlib/isomac.c (get_null_defines): Fix memory leak.
30189 * libio/memstream.c (open_memstream): Fix memory leak.
30190 * libio/wmemstream.c (open_wmemstream): Likewise.
30193 * nscd/netgroupcache.c: Fix nesting of ifdefs.
30195 2013-09-09 Will Newton <will.newton@linaro.org>
30197 * malloc/Makefile: Add tst-realloc to tests.
30198 * malloc/tst-realloc.c: New file.
30200 2013-09-09 Allan McRae <allan@archlinux.org>
30203 * COPYING: Update from GNU website to fix FSF address.
30204 * COPYING.LIB: Likewise.
30206 2013-09-06 David S. Miller <davem@davemloft.net>
30208 * po/zh_TW.po: Update Chinese (traditional) translation from
30209 translation project.
30211 2013-09-06 Richard Sandiford <richard@codesourcery.com>
30212 Joseph Myers <joseph@codesourcery.com>
30214 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30216 (obstack_chunk_alloc): New macro.
30217 (obstack_chunk_free): Likewise.
30218 (record_offset): New function.
30219 (init_locale_data): Likewise.
30220 (align_locale_data): Likewise.
30221 (add_locale_empty): Likewise.
30222 (add_locale_raw_data): Likewise.
30223 (add_locale_raw_obstack): Likewise.
30224 (add_locale_string): Likewise.
30225 (add_locale_wstring): Likewise.
30226 (add_locale_uint32): Likewise.
30227 (add_locale_uint32_array): Likewise.
30228 (add_locale_char): Likewise.
30229 (start_locale_structure): Likewise.
30230 (end_locale_structure): Likewise.
30231 (start_locale_prelude): Likewise.
30232 (end_locale_prelude): Likewise.
30233 (write_locale_data): Take locale_file structure rather than an
30235 * locale/programs/locfile.h: Include "obstack.h".
30236 (struct locale_file): Change to store locale file contents instead
30238 (init_locale_data): New prototype.
30239 (align_locale_data): Likewise.
30240 (add_locale_empty): Likewise.
30241 (add_locale_raw_data): Likewise.
30242 (add_locale_raw_obstack): Likewise.
30243 (add_locale_string): Likewise.
30244 (add_locale_wstring): Likewise.
30245 (add_locale_uint32): Likewise.
30246 (add_locale_uint32_array): Likewise.
30247 (add_locale_char): Likewise.
30248 (start_locale_structure): Likewise.
30249 (end_locale_structure): Likewise.
30250 (start_locale_prelude): Likewise.
30251 (end_locale_prelude): Likewise.
30252 (write_locale_data): Update prototype.
30253 * locale/programs/3level.h (struct TABLE): Remove result field.
30254 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30255 Use new locale_file interface.
30256 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30257 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30258 * locale/programs/ld-address.c (address_output): Use new
30259 locale_file interface.
30260 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30262 (collate_finish): Don't call collseq_table_finalize.
30263 (collate_output): Use new locale_file interface.
30264 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30266 (NO_FINALIZE): Change to NO_ADD_LOCALE.
30267 (TABLE): Move defines earlier in file.
30268 (ELEMENT): Likewise.
30269 (DEFAULT): Likewise.
30270 (wctrans_table_add): Move macro and inline function earlier in
30272 (struct wctype_table): Move type earlier in file.
30273 (add_locale_wctype_table): New static prototype.
30274 (struct locale_ctype_t): Use logical types instead of struct iovec
30275 pointers for members.
30276 (ctype_output): Use new locale_file interface.
30277 (wctype_table_finalize): Change to add_locale_wctype_table. Use
30278 new locale_file interface.
30279 (allocate_arrays): Update for use of new locale_file interface.
30280 * locale/programs/ld-identification.c (identification_output): Use
30281 new locale_file interface.
30282 * locale/programs/ld-measurement.c (measurement_output): Likewise.
30283 * locale/programs/ld-messages.c (messages_output): Likewise.
30284 * locale/programs/ld-monetary.c (monetary_output): Likewise.
30285 * locale/programs/ld-name.c (name_output): Likewise.
30286 * locale/programs/ld-numeric.c (numeric_output): Likewise.
30287 * locale/programs/ld-paper.c (paper_output): Likewise.
30288 * locale/programs/ld-telephone.c (telephone_output): Likewise.
30289 * locale/programs/ld-time.c (time_output): Likewise.
30291 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30293 * benchtests/Makefile: Add memrchr benchmark.
30294 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30295 benchmark as memrchr.
30296 * benchtests/bench-memrchr-ifunc.c: New file.
30297 * benchtests/bench-memrchr.c: New file.
30299 2013-09-06 Will Newton <will.newton@linaro.org>
30301 * benchtests/Makefile (string-bench): Add memcpy.
30303 2013-09-05 Carlos O'Donell <carlos@redhat.com>
30304 Cong Wang <amwang@redhat.com>
30307 * sysdeps/unix/sysv/linux/bits/in.h
30308 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30309 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30310 before __USE_KERNEL_IPV6_DEFS uses.
30311 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30313 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30314 sockaddr_in6, or ipv6_mreq.
30316 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30318 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30319 memory access for final bytes in some large inputs.
30320 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30322 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30324 * string/test-memrchr.c: New file.
30325 * string/test-memrchr-ifunc.c: New file.
30326 * string/Makefile: Add new memrchr testcase.
30328 2013-09-05 Mike Frysinger <vapier@gentoo.org>
30330 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30331 fanotify_init returns EPERM.
30333 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30335 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30337 (top level): Treat second token from macro or constant entries for
30338 allowed headers as allowed.
30339 * include/complex.h: Condition internal declarations on
30341 * include/fenv.h: Condition include of <stdbool.h> and internal
30342 declarations on [!_ISOMAC].
30344 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
30347 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30349 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30351 * configure.in (--enable-versioning): Remove configure option.
30352 (libc_cv_asm_symver_directive): Remove configure test.
30353 (libc_cv_ld_version_script_option): Likewise.
30354 (VERSIONING): Remove variable and AC_SUBST.
30355 (DO_VERSIONING): Remove AC_DEFINE.
30356 * configure: Regenerated.
30357 * config.h.in (DO_VERSIONING): Remove macro.
30358 * Makerules [$(versioning) = yes]: Change conditionals to
30359 [$(build-shared) = yes].
30360 * config.make.in (versioning): Remove variable.
30361 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30362 [$(build-shared) = yes].
30363 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30364 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30365 * elf/Makefile [$(versioning) = yes]: Change conditionals to
30366 [$(build-shared) = yes].
30367 * extra-lib.mk [$(versioning) = yes]: Likewise.
30368 * hurd/Makefile [$(versioning) = yes]: Likewise.
30369 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30371 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30373 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30374 [SHARED && !NO_HIDDEN].
30375 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30377 [SHARED && DO_VERSIONING]: Likewise..
30378 * libio/Makefile [$(versioning) = yes]: Change conditionals to
30379 [$(build-shared) = yes].
30380 * manual/install.texi (--disable-versioning): Remove
30382 * INSTALL: Regenerated.
30383 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30385 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30386 [$(build-shared) = yes].
30387 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30388 * sysdeps/i386/i686/multiarch/strstr-c.c
30389 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30390 [SHARED && !NO_HIDDEN].
30391 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30392 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30393 * sysdeps/powerpc/powerpc32/dl-machine.c
30394 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30395 * sysdeps/powerpc/powerpc32/sysdep.h
30396 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30397 to [SHARED && PIC && !NO_HIDDEN].
30398 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30399 conditional to [SHARED].
30401 2013-09-04 Will Newton <will.newton@linaro.org>
30403 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30404 * benchtests/bench-string.h: Include bench-timing.h instead
30405 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30406 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30407 call to HP_TIMING_DIFF_INIT.
30408 * benchtests/bench-memccpy.c: Use bench-timing.h macros
30409 instead of hp-timing.h macros.
30410 * benchtests/bench-memchr.c: Likewise.
30411 * benchtests/bench-memcmp.c: Likewise.
30412 * benchtests/bench-memcpy.c: Likewise.
30413 * benchtests/bench-memmem.c: Likewise.
30414 * benchtests/bench-memmove.c: Likewise.
30415 * benchtests/bench-memset.c: Likewise.
30416 * benchtests/bench-rawmemchr.c: Likewise.
30417 * benchtests/bench-strcasecmp.c: Likewise.
30418 * benchtests/bench-strcasestr.c: Likewise.
30419 * benchtests/bench-strcat.c: Likewise.
30420 * benchtests/bench-strchr.c: Likewise.
30421 * benchtests/bench-strcmp.c: Likewise.
30422 * benchtests/bench-strcpy.c: Likewise.
30423 * benchtests/bench-strcpy_chk.c: Likewise.
30424 * benchtests/bench-strlen.c: Likewise.
30425 * benchtests/bench-strncasecmp.c: Likewise.
30426 * benchtests/bench-strncat.c: Likewise.
30427 * benchtests/bench-strncmp.c: Likewise.
30428 * benchtests/bench-strncpy.c: Likewise.
30429 * benchtests/bench-strnlen.c: Likewise.
30430 * benchtests/bench-strpbrk.c: Likewise.
30431 * benchtests/bench-strrchr.c: Likewise.
30432 * benchtests/bench-strspn.c: Likewise.
30433 * benchtests/bench-strstr.c: Likewise.
30435 2013-09-04 Will Newton <will.newton@linaro.org>
30437 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30439 2013-09-03 Joseph Myers <joseph@codesourcery.com>
30442 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30443 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30444 * math/libm-test.inc (lgamma_test_data): Add more tests.
30445 * sysdeps/i386/fpu/libm-test-ulps: Update.
30446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30448 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
30450 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30451 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30454 Add strcmp-sse2-unaligned
30455 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30457 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30459 * Versions.def (libc): Add GLIBC_2.19.
30461 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30463 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30464 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30466 2013-09-02 Joseph Myers <joseph@codesourcery.com>
30469 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30470 intermediate calculations in recurrence.
30471 (__ieee754_ynf): Likewise.
30472 * math/libm-test.inc (jn_test_data): Do not allow spurious
30473 underflow exception. Add more tests.
30474 (yn_test_data): Add more tests.
30475 * sysdeps/i386/fpu/libm-test-ulps: Update.
30476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30478 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
30480 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30482 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30484 * csu/init-first.c: Fix then/than typos.
30485 * locale/programs/ld-collate.c: Likewise.
30486 * locale/programs/linereader.h: Likewise.
30487 * manual/charset.texi: Likewise.
30488 * manual/filesys.texi: Likewise.
30489 * manual/stdio.texi: Likewise.
30490 * manual/string.texi: Likewise.
30491 * stdlib/fmtmsg.c: Likewise.
30492 * sysdeps/i386/stpncpy.S: Likewise.
30493 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30494 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30495 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30496 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30498 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30500 * elf/dl-open.c: Fix typos.
30501 * iconvdata/gbbig5.c: Likewise.
30502 * iconvdata/iso-2022-jp.c: Likewise.
30503 * iconv/gconv_int.h: Likewise.
30504 * iconv/loop.c: Likewise.
30505 * nis/rpcsvc/nis.h: Likewise.
30506 * resolv/ns_name.c: Likewise.
30507 * stdio-common/vfscanf.c: Likewise.
30508 * streams/stropts.h: Likewise.
30509 * sunrpc/rpc_thread.c: Likewise.
30510 * sysdeps/i386/strpbrk.S: Likewise.
30511 * sysdeps/ieee754/k_standard.c: Likewise.
30512 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30513 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30514 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30515 * sysdeps/mach/hurd/profil.c: Likewise.
30516 * sysdeps/s390/dl-procinfo.h: Likewise.
30517 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30518 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30519 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30520 * sysdeps/x86_64/dl-trampoline.S: Likewise.
30521 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30523 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30525 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30528 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30530 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30531 aix specific files.
30532 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30533 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30534 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30535 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30536 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30537 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30538 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30539 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30541 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30542 Roland McGrath <roland@hack.frob.com>
30544 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30545 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30547 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
30549 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30550 __executable_start symbol instead of _start.
30552 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30554 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30555 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30557 * sysdeps/gnu/ldsodefs.h: ... this new file.
30559 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30560 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30561 instead of ELFOSABI_LINUX.
30563 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30564 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30565 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30566 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30568 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30569 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30570 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30572 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30573 (ibm_extended_long_double): Add ieee_nan member.
30574 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30575 (do_test): New function.
30577 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30579 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30580 functions, renamed from truncdfsf_test, trunctfsf_test,
30582 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30584 (do_test): Run all these.
30586 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30588 * argp/argp-help.c: Fix typos.
30589 * argp/argp-parse.c: Likewise.
30590 * debug/backtracesyms.c: Likewise.
30591 * elf/elf.h: Likewise.
30592 * malloc/malloc.c: Likewise.
30593 * nis/nis_print.c: Likewise.
30594 * resolv/res_comp.c: Likewise.
30595 * stdlib/stdlib.h: Likewise.
30596 * sunrpc/clnt_tcp.c: Likewise.
30597 * sunrpc/clnt_udp.c: Likewise.
30598 * sunrpc/clnt_unix.c: Likewise.
30599 * sysdeps/unix/bsd/ptsname.c: Likewise.
30600 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30601 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30608 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30610 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30612 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30615 2013-08-27 Mike Frysinger <vapier@gentoo.org>
30618 * dlfcn/Makefile (tests): Add bug-dl-leaf.
30619 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30620 ($(objpfx)bug-dl-leaf): New rule.
30621 ($(objpfx)bug-dl-leaf.so): Likewise.
30622 ($(objpfx)bug-dl-leaf.out): Likewise.
30623 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30624 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30625 * dlfcn/bug-dl-leaf.c: New test.
30626 * dlfcn/bug-dl-leaf-lib.c: Likewise.
30627 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30628 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30629 (dlclose): Likewise.
30630 (dlmopen): Likewise.
30632 2013-08-27 Roland McGrath <roland@hack.frob.com>
30634 * include/netdb.h [!_ISOMAC]:
30635 Don't include <tls.h>.
30636 (h_errno, __libc_h_errno): Move declaration and macros out of
30639 * include/resolv.h [_RESOLV_H_]:
30640 Don't include <tls.h>.
30641 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30642 * resolv/res_libc.c: Don't include <tls.h>.
30643 (_res): Use __attribute__ ((nocommon)) in place of
30644 __attribute__ ((section (".bss"))).
30646 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30647 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30649 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30651 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30652 only under [SIOCGIFCONF && SIOCGIFNETMASK].
30654 * resolv/res_mkquery.c: Include <sys/time.h>.
30656 * inet/ifreq.c: Moved to ...
30657 * sysdeps/unix/ifreq.c: ... here.
30658 * inet/ifreq.c: New file, true stub version.
30660 * socket/sa_len.c: New file.
30661 * socket/Makefile (aux): Add it.
30662 * sysdeps/unix/sysv/linux/Makefile
30663 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30664 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30665 and #include <socket/sa_len.c>.
30666 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30667 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30669 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30670 * bits/socket.h: ... here.
30672 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30673 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30674 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30676 2013-08-27 Andreas Schwab <schwab@suse.de>
30679 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30680 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30681 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30682 * string/test-strcasecmp.c (test_main): Run tests in several
30684 * string/test-strncasecmp.c (test_main): Likewise.
30686 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30687 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30688 to __strcasecmp_nonascii and __strncasecmp_nonascii.
30689 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30690 (__strncasecmp_ssse3) [PIC]: Likewise.
30692 2013-08-26 Roland McGrath <roland@hack.frob.com>
30694 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30696 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30697 instead of explicitly declaring xdecrypt.
30698 * nis/nss_nis/nis-publickey.c: Likewise.
30700 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30703 * nscd/aicache.c: Include res_hconf.h.
30704 (addhstaiX): Initialize res_hconf.
30706 2013-08-26 Andreas Schwab <schwab@suse.de>
30708 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30709 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30711 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30713 * nscd/aicache.c (addhstaiX): Fix indentation.
30715 2013-08-25 Mike Frysinger <vapier@gentoo.org>
30717 * configure.ac: Quote $build_pt_chown test.
30718 * configure: Regenerated.
30720 2013-08-23 Joseph Myers <joseph@codesourcery.com>
30723 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30724 * math/s_cexpf.c (__cexpf): Likewise.
30725 * math/s_cexpl.c (__cexpl): Likewise.
30726 * math/libm-test.inc (cexp_test_data): Correct expected return
30727 value for NaN + i0. Add another test.
30729 2013-08-22 David S. Miller <davem@davemloft.net>
30731 * po/ca.po: Update Catalan translation from translation project.
30732 * po/uk.po: Add Ukrainian translations from translation project.
30734 2013-08-21 Joseph Myers <joseph@codesourcery.com>
30737 * math/s_fdim.c (__fdim): Check for infinite arguments if result
30738 is infinite, not alongside NaN test.
30739 * math/s_fdimf.c (__fdimf): Likewise.
30740 * math/s_fdiml.c (__fdiml): Likewise.
30741 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
30742 errno is unchanged.
30744 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
30746 * argp/argp-help.c: Fix typos.
30747 * crypt/speeds.c: Likewise.
30748 * csu/check_fds.c: Likewise.
30749 * elf/dl-load.c: Likewise.
30750 * elf/dl-open.c: Likewise.
30751 * elf/reldep3.c: Likewise.
30752 * elf/reldep.c: Likewise.
30753 * elf/sprof.c: Likewise.
30754 * iconv/iconv_charmap.c: Likewise.
30755 * iconv/skeleton.c: Likewise.
30756 * iconv/strtab.c: Likewise.
30757 * io/lockf64.c: Likewise.
30758 * libio/libioP.h: Likewise.
30759 * resolv/gai_notify.c: Likewise.
30760 * resolv/ns_name.c: Likewise.
30761 * resolv/ns_samedomain.c: Likewise.
30762 * resolv/res_send.c: Likewise.
30763 * stdlib/random.c: Likewise.
30764 * sunrpc/rpc/xdr.h: Likewise.
30765 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30766 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30767 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30768 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30769 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30770 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30771 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30772 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30773 * sysdeps/mach/hurd/check_fds.c: Likewise.
30774 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30775 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30776 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30777 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30778 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30779 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30780 * sysdeps/pthread/aio_notify.c: Likewise.
30781 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30782 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30783 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30784 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30785 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30787 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30789 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30790 version if bit_Slow_SSE4_2 is set.
30791 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30792 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30794 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30797 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30798 trampoline stack frame information.
30799 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30800 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30801 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30802 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30803 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30804 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30805 (_libc_vdso_platform_setup): Initialize the signal trampolines.
30806 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30808 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30809 interrupting a syscall and set with option SA_SIGINFO.
30811 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30814 * math/s_cproj.c (__cproj): Only return an infinity if one part of
30815 argument is infinite.
30816 * math/s_cprojf.c (__cprojf): Likewise.
30817 * math/s_cprojl.c (__cprojl): Likewise.
30818 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30819 * math/libm-test.inc (cproj_test_data): Add more tests.
30821 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30823 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30824 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30825 size. Use __ffs to determine corresponding shift.
30827 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30828 Roland McGrath <roland@hack.frob.com>
30830 * Makefile (INSTALL): Remove trailing blank lines from output of
30833 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30835 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30836 Align 32 bit compat elf_greg to 8 bytes.
30838 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
30840 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30842 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30844 * string/strcoll_l.c (coll_seq): New structure.
30845 (get_next_seq_cached): New function.
30846 (get_next_seq): New function.
30847 (do_compare): New function.
30848 (STRCOLL): Use GNU style definition. Simplify implementation
30849 by using get_next_seq, get_next_seq_cached and do_compare.
30851 2013-08-16 Florian Weimer <fweimer@redhat.com>
30855 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30857 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30859 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30860 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30861 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
30863 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30864 GETDENTS_64BIT_ALIGNED.
30865 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30866 * manual/filesys.texi (Reading/Closing Directory): Document
30867 ENAMETOOLONG return value of readdir_r. Recommend readdir more
30869 * manual/conf.texi (Limits for Files): Add portability note to
30870 NAME_MAX, PATH_MAX.
30871 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30873 2013-08-13 Andreas Schwab <schwab@suse.de>
30876 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30878 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30879 LDBL_MAX_EXP >= 16384]: Add tests for it.
30881 2013-08-12 David S. Miller <davem@davemloft.net>
30883 * version.h (RELEASE): Set to "development".
30884 (VERSION): Set to "2.18.90".
30885 * NEWS: Add 2.19 section.
30887 2013-08-03 David S. Miller <davem@davemloft.net>
30889 * po/ko.po: Update Korean translation from translation project.
30891 2013-08-01 David S. Miller <davem@davemloft.net>
30893 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
30894 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30897 2013-07-30 David S. Miller <davem@davemloft.net>
30899 * po/fr.po: Update French translation from translation project.
30901 2013-07-28 David S. Miller <davem@davemloft.net>
30903 * po/cs.po: Update Czech translation from translation project.
30905 * po/sv.po: Update Swedish translation from translation project.
30907 2013-07-27 David S. Miller <davem@davemloft.net>
30909 * po/eo.po: Update Esperanto translation from translation project.
30911 * po/vi.po: Update Vietnamese translation from translation project.
30913 * po/de.po: Update German translation from translation project.
30915 2013-07-26 David S. Miller <davem@davemloft.net>
30917 * po/bg.po: Update Bulgarian translation from translation project.
30919 * po/nl.po: Update Dutch translation from translation project.
30920 * po/pl.po: Update Polish translation from translation project.
30921 * po/ru.po: Update Russian translation from translation project.
30923 2013-07-24 David S. Miller <davem@davemloft.net>
30925 * po/libc.pot: Update.
30927 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30929 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30930 variable page size.
30931 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30932 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30933 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30935 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30937 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30939 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30940 Andreas Schwab <schwab@suse.de>
30941 Roland McGrath <roland@hack.frob.com>
30942 Joseph Myers <joseph@codesourcery.com>
30943 Carlos O'Donell <carlos@redhat.com>
30946 * config.h.in: Define HAVE_PT_CHOWN.
30947 * config.make.in (build-pt-chown): New variable.
30948 * configure.in (--enable-pt_chown): New configure option.
30949 * configure: Regenerate.
30950 * login/Makefile: Include Makeconfig. Build pt_chown only if
30951 build-pt-chown is enabled.
30952 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30953 pt_chown to fix pty ownership.
30954 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30956 * manual/install.texi (Configuring and compiling): Mention
30957 --enable-pt_chown. Add @findex for grantpt.
30958 * INSTALL: Regenerate.
30960 2013-07-20 David S. Miller <davem@davemloft.net>
30962 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30963 difference between 32-bit and 64-bit.
30965 2013-07-15 Carlos O'Donell <carlos@redhat.com>
30968 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30969 Avoid system header dependency with -ffreestanding.
30970 ($(objpfx)bits/syscall%d): Likewise.
30972 2013-07-13 David S. Miller <davem@davemloft.net>
30974 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30975 underflows from atanl/atan2l due to bug 15319.
30976 (casinh_test_data): Likewise.
30978 2013-07-07 David S. Miller <davem@davemloft.net>
30980 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30982 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
30984 * sysdeps/i386/fpu/libm-test-ulps: Update.
30985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30987 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30989 * configure.in (--enable-lock-elision): Fix message text.
30990 * INSTALL: Regenerate.
30991 * configure: Regenerate.
30993 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30997 2013-07-03 Andreas Jaeger <aj@suse.de>
30999 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31001 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31002 (ptrace_peeksiginfo_args): Add.
31003 (__ptrace_peeksiginfo_flags): Add.
31004 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31005 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31006 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31008 2013-07-03 Allan McRae <allan@archlinux.org>
31010 * sysdeps/i386/fpu/libm-test-ulps: Update.
31012 2013-07-02 David S. Miller <davem@davemloft.net>
31014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31016 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
31018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31020 2013-07-02 Joseph Myers <joseph@codesourcery.com>
31022 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31025 2013-07-02 Andi Kleen <ak@linux.intel.com>
31027 * config.h.in (ENABLE_LOCK_ELISION): Add.
31028 * configure.in (--enable-lock-elision): Add option.
31029 * manual/install.texi: Document --enable lock elision.
31030 * configure: Regenerate
31031 * INSTALL: Regenerate.
31033 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
31035 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31036 SSE4.2 strcasecmp for libc.a.
31037 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31039 2013-07-02 Joseph Myers <joseph@codesourcery.com>
31042 * soft-fp/op-common.h (_FP_FMA): New macro.
31043 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31044 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
31045 (_FP_MUL_MEAT_1_imm): ... here.
31046 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
31047 (_FP_MUL_MEAT_1_wide): ... here.
31048 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
31049 (_FP_MUL_MEAT_1_hard): ... here.
31050 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31051 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
31052 (_FP_MUL_MEAT_2_wide): ... here.
31053 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
31054 (_FP_MUL_MEAT_2_wide_3mul): ... here.
31055 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
31056 (_FP_MUL_MEAT_2_gmp): ... here.
31057 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31058 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
31059 (_FP_MUL_MEAT_4_wide): ... here.
31060 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
31061 (_FP_MUL_MEAT_4_gmp): ... here.
31062 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31063 (_FP_WFRACBITS_DW_S): Likewise.
31064 (_FP_WFRACXBITS_DW_S): Likewise.
31065 (_FP_HIGHBIT_DW_S): Likewise.
31066 (FP_FMA_S): Likewise.
31067 (_FP_FRAC_HIGH_DW_S): Likewise.
31068 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31069 (_FP_WFRACBITS_DW_D): Likewise.
31070 (_FP_WFRACXBITS_DW_D): Likewise.
31071 (_FP_HIGHBIT_DW_D): Likewise.
31072 (FP_FMA_D): Likewise.
31073 (_FP_FRAC_HIGH_DW_D): Likewise.
31074 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31075 (_FP_WFRACBITS_DW_E): Likewise.
31076 (_FP_WFRACXBITS_DW_E): Likewise.
31077 (_FP_HIGHBIT_DW_E): Likewise.
31078 (FP_FMA_E): Likewise.
31079 (_FP_FRAC_HIGH_DW_E): Likewise.
31080 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31081 (_FP_WFRACBITS_DW_Q): Likewise.
31082 (_FP_WFRACXBITS_DW_Q): Likewise.
31083 (_FP_HIGHBIT_DW_Q): Likewise.
31084 (FP_FMA_Q): Likewise.
31085 (_FP_FRAC_HIGH_DW_Q): Likewise.
31086 * soft-fp/fmasf4.c: New file.
31087 * soft-fp/fmadf4.c: Likewise.
31088 * soft-fp/fmatf4.c: Likewise.
31090 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31093 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31095 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31097 (index_Slow_SSE4_2): Likewise.
31098 (index_Prefer_PMINUB_for_stringop): Likewise.
31099 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31100 bit_Slow_SSE4_2 is set.
31101 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31102 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31104 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31106 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31107 rtld_global._dl_hwcap2.
31108 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31110 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31111 POWER8 feature descriptions defined in _dl_hwcap2.
31112 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31113 string handling for POWER8 feature bits.
31114 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31115 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31116 _dl_powerpc_cap_flags.
31117 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31118 * sysdeps/powerpc/rtld-global-offsets.sym
31119 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31120 _dl_hwcap2 in the rtld_global_ro structure.
31122 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31124 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31125 hardware capabilities in support of AT_HWCAP2.
31126 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31127 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31129 (_dl_show_auxv): Add support for calling _dl_procinfo to display
31130 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
31131 explicitly the unknown a_type display mechanism is used.
31132 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31133 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31135 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31136 to macro prototype for AT_HWCAP2 support.
31137 * sysdeps/i386/dl-procinfo.h: Likewise.
31138 * sysdeps/s390/dl-procinfo.h: Likewise.
31139 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31140 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
31141 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
31142 return -1 for unknown a_type display fallback.
31143 * sysdeps/sparc/dl-procinfo.h: Likewise.
31144 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31145 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31147 2013-06-28 Joseph Myers <joseph@codesourcery.com>
31149 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31150 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31152 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
31155 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31156 mprotect making __stack_prot writable.
31158 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
31159 Joseph Myers <joseph@codesourcery.com>
31161 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31162 as being properly aligned.
31164 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
31166 * dlfcn/modstatic5.c: New file.
31167 * dlfcn/tststatic5.c: New file.
31168 * dlfcn/Makefile (tests): Add tststatic5.
31169 (tests-static): Likewise.
31170 (modules-names): Add modstatic5.
31171 (tststatic5-ENV): New variable.
31172 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31175 * elf/dl-support.c (_dl_main_map): New variable.
31176 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31177 (_dl_nns, _dl_load_adds): Set to 1.
31178 (_dl_initial_searchlist): Refer to _dl_main_map.
31179 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31180 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31181 call to _dl_get_origin.
31182 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31184 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31185 * dlfcn/modstatic3.c: New file.
31186 * dlfcn/tststatic3.c: New file.
31187 * dlfcn/tststatic4.c: New file.
31188 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31189 (tests-static): Likewise.
31190 (modules-names): Add modstatic3.
31191 (tststatic3-ENV, tststatic4-ENV): New variables.
31192 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31193 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31195 2013-06-26 Joseph Myers <joseph@codesourcery.com>
31197 * configure.in (CC): Require GCC version 4.4 or later.
31198 * configure: Regenerated.
31199 * manual/install.texi (Tools for Compilation): Update GCC version
31201 * INSTALL: Regenerated.
31203 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31206 * string/test-memcmp.c (check2): New.
31207 (main): Call check2.
31209 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31211 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
31214 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31216 (dl_open_worker) [!SHARED]: ... here.
31218 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31220 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31222 2013-06-25 Richard Henderson <rth@redhat.com>
31224 * locale/programs/locarchive.c: Include <libc-internal.h>
31226 2013-06-25 Joseph Myers <joseph@codesourcery.com>
31228 * manual/texinfo.tex: Update to version 2013-06-21.17, with
31229 trailing whitespace removed.
31231 2013-06-24 Mike Frysinger <vapier@gentoo.org>
31234 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31235 * locale/programs/locarchive.c: Include libc-mmap.h.
31236 (prepare_address_space): Take two new outputs (the mmap base and len).
31237 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
31239 (create_archive): Declare new mmap base and len values for
31240 prepare_address_space, and store the result in ah.
31241 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31242 (enlarge_archive): If ah->mmap_base is not NULL, use that and
31243 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31244 Declare new mmap base and len values for
31245 prepare_address_space, and store the result in new_ah.
31246 (open_archive): Declare new mmap base and len values for
31247 prepare_address_space, and store the result in ah.
31248 (close_archive): If ah->mmap_base is not NULL, use that and
31249 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31250 * sysdeps/generic/libc-mmap.h: New file.
31252 2013-06-24 Mike Frysinger <vapier@gentoo.org>
31254 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31255 (ALIGN_UP): Likewise.
31256 (PTR_ALIGN_DOWN): Likewise.
31257 (PTR_ALIGN_UP): Likewise.
31259 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31261 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31262 entry mapped to PPC_PLATFORM_POWER8.
31263 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31265 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31266 (_dl_string_platform): Add case for exporting platform position for
31268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31269 search path to sysdeps/powerpc/powerpc32/power8 directory.
31270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31271 search path to sysdeps/powerpc/powerpc64/power8 directory.
31272 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31273 power7 directories.
31274 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31275 power7 directories.
31277 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31279 * INSTALL: Regenerate.
31281 * nscd/connections.c (nscd_init): Fix comment.
31283 2013-06-22 Joseph Myers <joseph@codesourcery.com>
31285 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31288 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31289 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31291 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
31293 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31295 (DL_DST_REQ_STATIC): Remove macro.
31297 2013-06-21 Joseph Myers <joseph@codesourcery.com>
31300 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31301 with a shift of 0 bits.
31303 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
31305 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31308 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31311 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31313 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31315 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31316 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31317 accepts -fno-tree-loop-distribute-patterns.
31318 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31319 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31321 * string/memset.c (memset): Likewise.
31322 * string/test-memmove.c (simple_memmove): Disable loop transformation
31324 * string/test-memset.c (simple_memset): Likewise.
31325 * benchtests/bench-memmove.c (simple_memmove): Likewise.
31326 * benchtests/bench-memset.c (simple_memset): Likewise.
31327 * configure: Regenerated.
31329 2013-06-20 Joseph Myers <joseph@codesourcery.com>
31331 * math/test-misc.c (main): Ignore fesetround failure when failures
31332 of subsequent rounding tests would be ignored.
31335 * math/fedisblxcpt.c (fedisableexcept): Return 0.
31336 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31337 * math/fegetenv.c (__fegetenv): Return 0.
31338 * math/fegetexcept.c (fegetexcept): Return 0.
31339 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31341 * math/feholdexcpt.c (feholdexcept): Return 0.
31342 * math/fesetenv.c (__fesetenv): Return 0.
31343 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31344 argument FE_TONEAREST.
31345 * math/feupdateenv.c (__feupdateenv): Return 0.
31346 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31348 2013-06-18 Roland McGrath <roland@hack.frob.com>
31350 * elf/rtld-Rules (rtld-compile-command.S): New variable.
31351 (rtld-compile-command.s, rtld-compile-command.c): New variables.
31352 ($(objpfx)rtld-%.os rules): Use them.
31354 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31356 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31359 2013-06-17 Roland McGrath <roland@hack.frob.com>
31361 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31362 length of target pattern, then descending length of dependency pattern.
31363 * configure.in (AWK): Require gawk 3.1.2 or newer.
31364 * manual/install.texi (Tools for Compilation): Say that we do.
31365 * configure: Regenerated.
31367 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31368 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31369 * scripts/sysd-rules.awk: ... this new script.
31370 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31371 than a glob-style pattern.
31373 2013-06-17 Joseph Myers <joseph@codesourcery.com>
31375 * math/test-misc.c (main): Do not treat incorrectly rounded
31376 conversions as failure unless ROUNDING_TESTS passes.
31378 2013-06-15 Joseph Myers <joseph@codesourcery.com>
31381 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31382 restore exception state around main square root computation, then
31383 check for inexactness explicitly.
31385 * math/libm-test.inc (fma_test_data): Add another test.
31387 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31389 * manual/threads.texi (Non-POSIX Extensions): New document
31390 node. Document pthread_getattr_default_np and
31391 pthread_setattr_default_np.
31393 * Versions.def (libpthread): Add GLIBC_2.18.
31394 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31403 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31414 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31417 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31419 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31420 H.J. Lu <hjl.tools@gmail.com>
31423 * sysdeps/x86_64/rtld-memset.c: Remove file.
31424 * sysdeps/x86_64/rtld-memset.S: New file.
31426 2013-06-14 Joseph Myers <joseph@codesourcery.com>
31428 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31429 (test_in_one_mode): Take arguments for whether the rounding mode
31430 is supported for each floating-point type.
31431 (do_test): Pass new arguments to test_in_one_mode using
31434 2013-06-13 Roland McGrath <roland@hack.frob.com>
31436 * posix/tst-waitid.c (do_test): Distinguish different instances of
31437 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
31438 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31439 before entering the kernel for waitpid.
31441 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31443 * NEWS: Fix note on clock function precision. Text by Roland
31446 2013-06-13 Roland McGrath <roland@hack.frob.com>
31448 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31449 it into place only when and if the sanity check passes.
31451 2013-06-13 Joseph Myers <joseph@codesourcery.com>
31453 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31454 output for whether conversion result is exact. Take argument
31455 indicating whether type is IBM long double.
31456 (round_for_all): Change need_exact field to ibm_ld.
31457 * stdlib/tst-strtod-round.c (struct exactness): New type.
31458 (struct test): Change bool ld_ok field to struct exactness exact.
31459 (TEST): Update all definitions for change to field.
31460 (tests): Regenerate array contents.
31461 (test_in_one_mode): Take pointer to new field instead of old ld_ok
31462 field value. Check for IBM long double here.
31463 (do_test): Update calls to test_in_one_mode.
31465 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31468 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31469 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31471 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31474 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31475 generated by the compiler on loop optimizations.
31476 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31477 general definitions.
31479 2013-06-12 Joseph Myers <joseph@codesourcery.com>
31481 * math/bug-nextafter.c: Include <math-tests.h>.
31482 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31484 * math/bug-nexttoward.c: Include <math-tests.h>.
31485 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31487 * math/test-misc.c: Include <math-tests.h>.
31488 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31491 2013-06-12 Andreas Jaeger <aj@suse.de>
31493 * po/ia.po: Update Interlingua translation from translation
31496 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31498 * include/fenv.h: Include stdbool.h.
31499 (struct rm_ctx): New structure.
31500 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31502 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31503 (SET_RESTORE_ROUNDF): Likewise.
31504 (SET_RESTORE_ROUNDL): Likewise.
31505 (SET_RESTORE_ROUND_NOEX): Likewise.
31506 (SET_RESTORE_ROUND_NOEXF): Likewise.
31507 (SET_RESTORE_ROUND_NOEXL): Likewise.
31508 (SET_RESTORE_ROUND_53BIT): Likewise.
31509 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31510 (libc_feresetround_noexf_ctx): Likewise.
31511 (libc_feresetround_noexl_ctx): Likewise.
31512 (libc_feholdsetround_53bit_ctx): Likewise.
31513 (libc_feresetround_53bit_ctx): Likewise.
31514 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31515 (libc_feholdexcept_setround_sse_ctx): New function.
31516 (libc_fesetenv_sse_ctx): Likewise.
31517 (libc_feupdateenv_sse_ctx): Likewise.
31518 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31519 (libc_feholdexcept_setround_387_ctx): Likewise.
31520 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31521 (libc_feholdsetround_387_prec_ctx): Likewise.
31522 (libc_feholdsetround_387_ctx): Likewise.
31523 (libc_feholdsetround_387_53bit_ctx): Likewise.
31524 (libc_feholdsetround_sse_ctx): Likewise.
31525 (libc_feresetround_sse_ctx): Likewise.
31526 (libc_feresetround_387_ctx): Likewise.
31527 (libc_feupdateenv_387_ctx): Likewise.
31528 (libc_feholdexcept_setroundf_ctx): Define macro.
31529 (libc_fesetenvf_ctx): Likewise.
31530 (libc_feupdateenvf_ctx): Likewise.
31531 (libc_feholdsetroundf_ctx): Likewise.
31532 (libc_feresetroundf_ctx): Likewise.
31533 (libc_feholdexcept_setround_ctx): Likewise.
31534 (libc_fesetenv_ctx): Likewise.
31535 (libc_feupdateenv_ctx): Likewise.
31536 (libc_feholdsetround_ctx): Likewise.
31537 (libc_feresetround_ctx): Likewise.
31538 (libc_feholdexcept_setroundl_ctx): Likewise.
31539 (libc_feupdateenvl_ctx): Likewise.
31540 (libc_feholdsetroundl_ctx): Likewise.
31541 (libc_feresetroundl_ctx): Likewise.
31542 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31543 (libc_feresetround_53bit_ctx): Likewise.
31545 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31547 * locale/iso-639.def: Convert to UTF-8.
31549 2013-06-11 Joseph Myers <joseph@codesourcery.com>
31551 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31552 (EXCEPTION_TESTS_double): Likewise.
31553 (EXCEPTION_TESTS_long_double): Likewise.
31554 (EXCEPTION_TESTS): Likewise.
31555 * math/libm-test.inc (test_exceptions): Only test exceptions if
31556 EXCEPTION_TESTS (FLOAT).
31558 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31560 * benchtests/Makefile (string-bench): Add strcpy_chk and
31562 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31563 * benchtests/bench-stpcpy_chk.c: New file.
31564 * benchtests/bench-strcpy_chk-ifunc.c: New file.
31565 * benchtests/bench-strcpy_chk.c: New file.
31566 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31568 (do_test): Likewise.
31570 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31572 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31573 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31574 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31575 with tabs where appropriate.
31576 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31578 [PPC_PLATFORM_PPC440]: Likewise.
31579 [PPC_PLATFORM_PPC464]: Likewise.
31580 [PPC_PLATFORM_PPC476]: Likewise.
31581 (_dl_string_platform): Add support for detecting ppc405, ppc440,
31582 ppc464, and ppc476 platform strings merging from ports/
31585 2013-06-11 Andreas Schwab <schwab@suse.de>
31588 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31589 (from_ucs4_idx): Regenerate.
31590 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31591 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31592 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31593 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31594 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31595 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31596 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31597 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31598 from FROM_LOOP and TO_LOOP specific macros.
31599 (BODY): Handle combining characters.
31600 * iconvdata/BIG5HKSCS.irreversible: Update.
31601 * iconvdata/BIG5HKSCS.precomposed: New file.
31602 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31604 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31606 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31608 * include/sys/time.h: Fix indentation and add copyright header.
31610 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31611 (do_test): Likewise.
31612 * string/test-memchr.c (do_one_test): Likewise.
31613 (do_test): Likewise.
31614 * string/test-memcmp.c (do_one_test): Likewise.
31615 (do_test): Likewise.
31616 * string/test-memcpy.c (do_one_test): Likewise.
31617 (do_test): Likewise.
31618 * string/test-memmem.c (do_one_test): Likewise.
31619 (do_test): Likewise.
31620 (do_random_tests): Likewise.
31621 * string/test-memmove.c (do_one_test): Likewise.
31622 (do_test): Likewise.
31623 * string/test-memset.c (do_one_test): Likewise.
31624 (do_test): Likewise.
31625 * string/test-rawmemchr.c (do_one_test): Likewise.
31626 (do_test): Likewise.
31627 * string/test-strcasecmp.c (do_one_test): Likewise.
31628 (do_test): Likewise.
31629 * string/test-strcasestr.c (do_one_test): Likewise.
31630 (do_test): Likewise.
31631 * string/test-strcat.c (do_one_test): Likewise.
31632 (do_test): Likewise.
31633 * string/test-strchr.c (do_one_test): Likewise.
31634 (do_test): Likewise.
31635 * string/test-strcmp.c (do_one_test): Likewise.
31636 (do_test): Likewise.
31637 * string/test-strcpy.c (do_one_test): Likewise.
31638 (do_test): Likewise.
31639 * string/test-string.h: Likewise.
31640 (test_init): Likewise.
31641 * string/test-strlen.c (do_one_test): Likewise.
31642 (do_test): Likewise.
31643 * string/test-strncasecmp.c (do_one_test): Likewise.
31644 (do_test): Likewise.
31645 * string/test-strncat.c (do_one_test): Likewise.
31646 (do_test): Likewise.
31647 * string/test-strncmp.c (do_one_test): Likewise.
31648 (do_test_limit): Likewise.
31649 (do_test): Likewise.
31650 * string/test-strncpy.c (do_one_test): Likewise.
31651 (do_test): Likewise.
31652 * string/test-strnlen.c (do_one_test): Likewise.
31653 (do_test): Likewise.
31654 * string/test-strpbrk.c (do_one_test): Likewise.
31655 (do_test): Likewise.
31656 * string/test-strrchr.c (do_one_test): Likewise.
31657 (do_test): Likewise.
31658 * string/test-strspn.c (do_one_test): Likewise.
31659 (do_test): Likewise.
31660 * string/test-strstr.c (do_one_test): Likewise.
31661 (do_test): Likewise.
31663 * benchtests/Makefile (string-bench): Add string benchmarks.
31664 * benchtests/bench-bcopy-ifunc.c: New file.
31665 * benchtests/bench-bcopy.c: New file.
31666 * benchtests/bench-bzero-ifunc.c: New file.
31667 * benchtests/bench-bzero.c: New file.
31668 * benchtests/bench-memccpy-ifunc.c: New file.
31669 * benchtests/bench-memccpy.c: New file.
31670 * benchtests/bench-memchr-ifunc.c: New file.
31671 * benchtests/bench-memchr.c: New file.
31672 * benchtests/bench-memcmp-ifunc.c: New file.
31673 * benchtests/bench-memcmp.c: New file.
31674 * benchtests/bench-memmem-ifunc.c: New file.
31675 * benchtests/bench-memmem.c: New file.
31676 * benchtests/bench-memmove-ifunc.c: New file.
31677 * benchtests/bench-memmove.c: New file.
31678 * benchtests/bench-mempcpy-ifunc.c: New file.
31679 * benchtests/bench-mempcpy.c: New file.
31680 * benchtests/bench-memset-ifunc.c: New file.
31681 * benchtests/bench-memset.c: New file.
31682 * benchtests/bench-rawmemchr-ifunc.c: New file.
31683 * benchtests/bench-rawmemchr.c: New file.
31684 * benchtests/bench-stpcpy-ifunc.c: New file.
31685 * benchtests/bench-stpcpy.c: New file.
31686 * benchtests/bench-stpncpy-ifunc.c: New file.
31687 * benchtests/bench-stpncpy.c: New file.
31688 * benchtests/bench-strcasecmp-ifunc.c: New file.
31689 * benchtests/bench-strcasecmp.c: New file.
31690 * benchtests/bench-strcasestr-ifunc.c: New file.
31691 * benchtests/bench-strcasestr.c: New file.
31692 * benchtests/bench-strcat-ifunc.c: New file.
31693 * benchtests/bench-strcat.c: New file.
31694 * benchtests/bench-strchr-ifunc.c: New file.
31695 * benchtests/bench-strchr.c: New file.
31696 * benchtests/bench-strchrnul-ifunc.c: New file.
31697 * benchtests/bench-strchrnul.c: New file.
31698 * benchtests/bench-strcmp-ifunc.c: New file.
31699 * benchtests/bench-strcmp.c: New file.
31700 * benchtests/bench-strcpy-ifunc.c: New file.
31701 * benchtests/bench-strcpy.c: New file.
31702 * benchtests/bench-strcspn-ifunc.c: New file.
31703 * benchtests/bench-strcspn.c: New file.
31704 * benchtests/bench-strlen-ifunc.c: New file.
31705 * benchtests/bench-strlen.c: New file.
31706 * benchtests/bench-strncasecmp-ifunc.c: New file.
31707 * benchtests/bench-strncasecmp.c: New file.
31708 * benchtests/bench-strncat-ifunc.c: New file.
31709 * benchtests/bench-strncat.c: New file.
31710 * benchtests/bench-strncmp-ifunc.c: New file.
31711 * benchtests/bench-strncmp.c: New file.
31712 * benchtests/bench-strncpy-ifunc.c: New file.
31713 * benchtests/bench-strncpy.c: New file.
31714 * benchtests/bench-strnlen-ifunc.c: New file.
31715 * benchtests/bench-strnlen.c: New file.
31716 * benchtests/bench-strpbrk-ifunc.c: New file.
31717 * benchtests/bench-strpbrk.c: New file.
31718 * benchtests/bench-strrchr-ifunc.c: New file.
31719 * benchtests/bench-strrchr.c: New file.
31720 * benchtests/bench-strspn-ifunc.c: New file.
31721 * benchtests/bench-strspn.c: New file.
31722 * benchtests/bench-strstr-ifunc.c: New file.
31723 * benchtests/bench-strstr.c: New file.
31725 * benchtests/Makefile: Disable parallel execution of targets.
31726 (string-bench): Add memcpy.
31727 (benchset): New variable to store a list of benchmark sets.
31728 (bench-func): Renamed from bench.
31729 (bench-set): New target.
31730 (bench): Depend on bench-func and bench-set.
31731 * benchtests/README: Add section on benchmark sets.
31732 * benchtests/bench-memcpy-ifunc.c: New file.
31733 * benchtests/bench-memcpy.c: New file.
31734 * benchtests/bench-string.h: New file.
31736 2013-06-11 Andreas Schwab <schwab@suse.de>
31739 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31740 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31741 values in the triple.
31742 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31743 terminator in the group key.
31745 2013-06-11 Andreas Jaeger <aj@suse.de>
31747 * po/zh_TW.po: Update Chinese (traditional) translation from
31748 translation project.
31750 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31752 * include/time.h (__clock_gettime): Add libc_hidden_proto.
31753 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31754 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
31755 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31756 (clock_getcpuclockid): Likewise.
31757 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31758 Add weak_alias and libc_hidden_def.
31759 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31760 * rt/clock_gettime.c (clock_gettime): Rename to
31761 __clock_gettime. Add weak_alias and libc_hidden_def.
31762 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31763 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31764 __clock_nanosleep. Add weak_alias and libc_hidden_def.
31765 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31766 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31768 * rt/clock_settime.c (clock_settime): Rename to
31769 __clock_settime. Add weak_alias and libc_hidden_def.
31770 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31772 2013-06-10 Joseph Myers <joseph@codesourcery.com>
31774 * mach/err_boot.sub: Remove trailing whitespace.
31775 * mach/err_ipc.sub: Likewise.
31776 * mach/err_mach.sub: Likewise.
31778 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31779 (ROUNDING_TESTS_double): Likewise.
31780 (ROUNDING_TESTS_long_double): Likewise.
31781 (ROUNDING_TESTS): Likewise.
31782 * math/libm-test.inc: Include <math-tests.h>.
31783 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31784 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31785 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31786 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31788 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31790 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31793 2013-06-08 Joseph Myers <joseph@codesourcery.com>
31795 * sysdeps/gnu/errlist.awk: Do not generate space at end of
31796 otherwise empty TRANS lines.
31797 * sysdeps/gnu/errlist.c: Regenerated.
31799 * catgets/gencat.c (error_print): Use (void) in function
31801 * crypt/crypt_util.c (__init_des): Likewise.
31802 * crypt/speeds.c (Stop): Likewise.
31804 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31805 * inet/ruserpass.c (token): Likewise.
31806 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31807 * intl/localealias.c (extend_alias_table): Likewise.
31808 * intl/plural-exp.c (init_germanic_plural): Likewise.
31809 * libio/fcloseall.c (__fcloseall): Likewise.
31810 * libio/genops.c (_IO_flush_all): Likewise.
31811 (_IO_flush_all_linebuffered): Likewise.
31812 (_IO_cleanup): Likewise.
31813 (_IO_iter_begin): Likewise.
31814 (_IO_iter_end): Likewise.
31815 (_IO_list_lock): Likewise.
31816 (_IO_list_unlock): Likewise.
31817 (_IO_list_resetlock): Likewise.
31818 * libio/getchar.c (getchar): Likewise.
31819 * libio/getchar_u.c (getchar_unlocked): Likewise.
31820 * libio/getwchar.c (getwchar): Likewise.
31821 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31822 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31823 * login/getpt.c (__getpt): Likewise.
31824 * login/tst-utmp.c (main): Likewise.
31825 * malloc/hooks.c (__malloc_check_init): Likewise.
31826 * malloc/malloc.c (__malloc_stats): Likewise.
31827 * malloc/mtrace.c (tr_break): Likewise.
31828 (mtrace): Likewise.
31829 (muntrace): Likewise.
31830 * misc/fstab.c (endfsent): Likewise.
31831 * misc/getclktck.c (__getclktck): Likewise.
31832 * misc/getdtsz.c (__getdtablesize): Likewise.
31833 * misc/gethostid.c (gethostid): Likewise.
31834 * misc/getpagesize.c (__getpagesize): Likewise.
31835 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31836 (__get_nprocs): Likewise.
31837 (__get_phys_pages): Likewise.
31838 (__get_avphys_pages): Likewise.
31839 * misc/getttyent.c (getttyent): Likewise.
31840 (setttyent): Likewise.
31841 (endttyent): Likewise.
31842 * misc/getusershell.c (getusershell): Likewise.
31843 (endusershell): Likewise.
31844 (setusershell): Likewise.
31845 (initshells): Likewise.
31846 * misc/hsearch.c (__hdestroy): Likewise.
31847 * misc/sync.c (sync): Likewise.
31848 * misc/syslog.c (closelog_internal): Likewise.
31849 (closelog): Likewise.
31850 * misc/ttyslot.c (ttyslot): Likewise.
31851 * misc/vhangup.c (vhangup): Likewise.
31852 * posix/fork.c (__fork): Likewise.
31853 * posix/getegid.c (__getegid): Likewise.
31854 * posix/geteuid.c (__geteuid): Likewise.
31855 * posix/getgid.c (__getgid): Likewise.
31856 * posix/getpid.c (__getpid): Likewise.
31857 * posix/getppid.c (__getppid): Likewise.
31858 * posix/getuid.c (__getuid): Likewise.
31859 * posix/pause.c (pause): Likewise.
31860 * posix/setpgrp.c (setpgrp): Likewise.
31861 * posix/setsid.c (__setsid): Likewise.
31862 * posix/test-vfork.c (noop): Likewise.
31863 * resolv/gethnamaddr.c (_endhtent): Likewise.
31864 (_gethtent): Likewise.
31865 (ht_endhostent): Likewise.
31866 (gethostent): Likewise.
31867 (dns_service): Likewise.
31868 * stdlib/drand48.c (drand48): Likewise.
31869 * stdlib/lrand48.c (lrand48): Likewise.
31870 * stdlib/mrand48.c (mrand48): Likewise.
31871 * stdlib/rand.c (rand): Likewise.
31872 * stdlib/random.c (__random): Likewise.
31873 * stdlib/setenv.c (clearenv): Likewise.
31874 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31875 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31876 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31877 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31878 (__get_nprocs): Likewise.
31879 (__get_phys_pages): Likewise.
31880 (__get_avphys_pages): Likewise.
31881 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31882 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31883 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31884 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31885 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31886 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31887 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31888 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31889 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31890 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31891 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31892 * sysdeps/mach/hurd/sync.c (sync): Likewise.
31893 * sysdeps/posix/clock.c (clock): Likewise.
31894 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31895 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31896 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31897 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31898 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31899 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31900 (__get_nprocs_conf): Likewise.
31901 (__get_phys_pages): Likewise.
31902 (__get_avphys_pages): Likewise.
31903 * time/clock.c (clock): Likewise.
31904 * time/tzset.c (__tzname_max): Likewise.
31906 2013-06-07 Joseph Myers <joseph@codesourcery.com>
31908 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31909 (__bswap_32): Do not use "register".
31910 * crypt/crypt.c (_ufc_doit_r): Likewise.
31911 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31912 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31913 * gmon/gmon.c (__monstartup): Likewise.
31914 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31915 * hurd/hurdmalloc.c (more_memory): Likewise.
31916 (malloc): Likewise.
31918 (realloc): Likewise.
31919 (malloc_fork_prepare): Likewise.
31920 (malloc_fork_parent): Likewise.
31921 (malloc_fork_child): Likewise.
31922 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31923 (_svcauth_des): Likewise.
31924 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31925 * inet/inet_net.c (inet_network): Likewise.
31926 * inet/inet_netof.c (inet_netof): Likewise.
31927 * inet/rcmd.c (__validuser2_sa): Likewise.
31928 * io/fts.c (fts_open): Likewise.
31929 (fts_load): Likewise.
31930 (fts_close): Likewise.
31931 (fts_read): Likewise.
31932 (fts_children): Likewise.
31933 (fts_build): Likewise.
31934 (fts_stat): Likewise.
31935 (fts_sort): Likewise.
31936 (fts_alloc): Likewise.
31937 (fts_lfree): Likewise.
31938 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31939 (_IO_file_xsgetn): Likewise.
31940 (_IO_file_xsgetn_mmap): Likewise.
31941 * libio/iofopncook.c (_IO_cookie_read): Likewise.
31942 (_IO_cookie_write): Likewise.
31943 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31944 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31945 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31946 * malloc/obstack.c (_obstack_begin): Likewise.
31947 (_obstack_begin_1): Likewise.
31948 (_obstack_newchunk): Likewise.
31949 (_obstack_allocated_p): Likewise.
31950 (obstack_free): Likewise.
31951 (_obstack_memory_used): Likewise.
31952 * misc/getttyent.c (getttynam): Likewise.
31953 (getttyent): Likewise.
31956 * misc/getusershell.c (initshells): Likewise.
31957 * misc/syslog.c (__vsyslog_chk): Likewise.
31958 * misc/ttyslot.c (ttyslot): Likewise.
31959 * nis/nis_hash.c (__nis_hash): Likewise.
31960 * posix/fnmatch_loop.c (FCT): Likewise.
31961 * posix/getconf.c (print_all): Likewise.
31963 * posix/getopt.c (exchange): Likewise.
31964 * posix/glob.c (globfree): Likewise.
31965 (prefix_array): Likewise.
31966 (__glob_pattern_type): Likewise.
31967 * resolv/arpa/nameser.h (NS_GET16): Likewise.
31968 (NS_GET32): Likewise.
31969 (NS_PUT16): Likewise.
31970 (NS_PUT32): Likewise.
31971 * resolv/gethnamaddr.c (getanswer): Likewise.
31972 (gethostbyname2): Likewise.
31973 (gethostbyaddr): Likewise.
31974 (_gethtent): Likewise.
31975 (_gethtbyname2): Likewise.
31976 (_gethtbyaddr): Likewise.
31977 * resolv/ns_print.c (dst_s_get_int16): Likewise.
31978 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31979 * resolv/res_init.c (__res_vinit): Likewise.
31980 (net_mask): Likewise.
31981 * resolv/res_mkquery.c (outchar): Likewise.
31983 * stdio-common/printf_fp.c (outchar): Likewise.
31985 * stdio-common/printf_fphex.c (outchar): Likewise.
31987 * stdio-common/printf_size.c (outchar): Likewise.
31989 * stdio-common/test_rdwr.c (main): Likewise.
31990 * stdio-common/tfformat.c (matches): Likewise.
31991 * stdio-common/vfprintf.c (outchar): Likewise.
31992 (printf_unknown): Likewise.
31993 (buffered_vfprintf): Likewise.
31994 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31995 * stdio-common/xbug.c (AppendToBuffer): Likewise.
31996 (ReadFile): Likewise.
31997 * stdlib/qsort.c (SWAP): Likewise.
31998 (_quicksort): Likewise.
31999 * stdlib/setenv.c (__add_to_environ): Likewise.
32000 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32001 * stdlib/strtol_l.c (__strtol_l): Likewise.
32002 * stdlib/tst-strtod.c (main): Likewise.
32003 * stdlib/tst-strtol.c (main): Likewise.
32004 * stdlib/tst-strtoll.c (main): Likewise.
32005 * string/bits/string2.h (__strcmp_cc): Likewise.
32006 (__strcmp_cg): Likewise.
32007 (__strcspn_c1): Likewise.
32008 (__strcspn_c2): Likewise.
32009 (__strcspn_c3): Likewise.
32010 (__strspn_c1): Likewise.
32011 (__strspn_c2): Likewise.
32012 (__strspn_c3): Likewise.
32013 (__strsep_1c): Likewise.
32014 (__strsep_2c): Likewise.
32015 (__strsep_3c): Likewise.
32016 * string/memccpy.c (__memccpy): Likewise.
32017 * string/stpcpy.c (__stpcpy): Likewise.
32018 * string/strcmp.c (strcmp): Likewise.
32019 * string/strrchr.c (strrchr): Likewise.
32020 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32022 * sysdeps/mach/hurd/getcwd.c
32023 (_hurd_canonicalize_directory_name_internal): Likewise.
32024 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32025 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32026 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32027 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32028 Likewise, in both definitions.
32029 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32031 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32032 64] (__bswap_64): Likewise.
32033 * time/test_time.c (main): Likewise.
32034 * time/tzfile.c (__tzfile_read): Likewise.
32035 (__tzfile_compute): Likewise.
32036 * time/tzset.c (__tzset_parse_tz): Likewise.
32037 (tzset_internal): Likewise.
32038 (compute_change): Likewise.
32039 * wcsmbs/wcscat.c (__wcscat): Likewise.
32040 * wcsmbs/wcschr.c (wcschr): Likewise.
32041 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32042 * wcsmbs/wcscspn.c (wcscspn): Likewise.
32043 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32044 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32045 * wcsmbs/wcsspn.c (wcsspn): Likewise.
32046 * wcsmbs/wcsstr.c (wcsstr): Likewise.
32047 * wcsmbs/wmemchr.c (wmemchr): Likewise.
32048 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32049 * wcsmbs/wmemset.c (wmemset): Likewise.
32051 2013-06-06 Joseph Myers <joseph@codesourcery.com>
32053 * scripts/config.guess: Update to version 2013-05-16.
32054 * scripts/config.sub: Update to version 2013-04-24.
32055 * scripts/install-sh: Update to version 2011-11-20.07.
32056 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32057 * scripts/move-if-change: Update to version 2012-01-06 07:23.
32059 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
32061 * debug/fgetws_u_chk.c: Fix leading whitespaces.
32062 * elf/sln.c: Likewise.
32063 * hurd/hurd/ioctl.h: Likewise.
32064 * hurd/hurdmalloc.c: Likewise.
32065 * hurd/xattr.c: Likewise.
32066 * include/shlib-compat.h: Likewise.
32067 * inet/ruserpass.c: Likewise.
32068 * libio/iofgets_u.c: Likewise.
32069 * libio/iofgetws_u.c: Likewise.
32070 * locale/programs/ld-identification.c: Likewise.
32071 * locale/programs/ld-time.c: Likewise.
32072 * mach/msg-destroy.c: Likewise.
32073 * nss/nss_files/files-netgrp.c: Likewise.
32074 * resolv/res_data.c: Likewise.
32075 * soft-fp/op-1.h: Likewise.
32076 * soft-fp/op-2.h: Likewise.
32077 * soft-fp/op-4.h: Likewise.
32078 * soft-fp/op-common.h: Likewise.
32079 * stdio-common/printf_fphex.c: Likewise.
32080 * stdlib/strtod_l.c: Likewise.
32081 * sunrpc/rpc/clnt.h: Likewise.
32082 * sysdeps/generic/framestate.c: Likewise.
32083 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32084 * sysdeps/i386/bsd-setjmp.S: Likewise.
32085 * sysdeps/i386/__longjmp.S: Likewise.
32086 * sysdeps/i386/setjmp.S: Likewise.
32087 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32088 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32089 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32090 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32091 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32092 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32093 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32096 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32097 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32098 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32099 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32100 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32101 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32102 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32103 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32104 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32105 * sysdeps/ieee754/support.c: Likewise.
32106 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32107 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32108 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32109 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32110 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32111 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32112 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32113 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32114 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32115 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32116 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32117 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32118 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32119 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32120 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32121 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32122 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32125 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
32127 * posix/transbug.c: Remove executable mode.
32129 2013-06-05 Joseph Myers <joseph@codesourcery.com>
32131 * crypt/speeds.c: Remove trailing whitespace.
32132 * dlfcn/default.c: Likewise.
32133 * elf/ifuncdep2.c: Likewise.
32134 * elf/ifuncmain1.c: Likewise.
32135 * elf/ifuncmain1vis.c: Likewise.
32136 * elf/testobj.h: Likewise.
32137 * elf/tst-stackguard1.c: Likewise.
32138 * gmon/sys/gmon.h: Likewise.
32139 * hurd/hurdmsg.c: Likewise.
32140 * hurd/new-fd.c: Likewise.
32141 * hurd/ports-get.c: Likewise.
32142 * iconvdata/ibm1008_420.c: Likewise.
32143 * inet/tst-getni1.c: Likewise.
32144 * inet/tst-getni2.c: Likewise.
32145 * libio/ioungetc.c: Likewise.
32146 * libio/wfiledoalloc.c: Likewise.
32147 * manual/libm-err-tab.pl: Likewise.
32148 * math/w_dremf.c: Likewise.
32149 * misc/ftruncate.c: Likewise.
32150 * posix/bug-glob2.c: Likewise.
32151 * posix/tst-pcre.c: Likewise.
32152 * posix/wait4.c: Likewise.
32153 * resolv/README: Likewise.
32154 * resolv/res_debug.h: Likewise.
32155 * resolv/tst-inet_ntop.c: Likewise.
32156 * setjmp/bug269-setjmp.c: Likewise.
32157 * soft-fp/extended.h: Likewise.
32158 * soft-fp/op-1.h: Likewise.
32159 * soft-fp/op-2.h: Likewise.
32160 * soft-fp/op-4.h: Likewise.
32161 * soft-fp/op-8.h: Likewise.
32162 * soft-fp/testit.c: Likewise.
32163 * stdio-common/bug16.c: Likewise.
32164 * stdlib/random.c: Likewise.
32165 * sunrpc/rpcsvc/rquota.x: Likewise.
32166 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32167 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32168 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32169 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32170 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32171 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32172 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32173 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32174 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32175 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32176 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32177 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32178 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32179 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32180 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32181 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32182 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32183 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32184 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32185 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32186 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32187 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32188 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32189 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32190 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32191 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32192 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32193 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32194 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32195 * sysdeps/ieee754/s_lib_version.c: Likewise.
32196 * sysdeps/mach/hurd/check_fds.c: Likewise.
32197 * sysdeps/mach/hurd/getsockname.c: Likewise.
32198 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32199 * sysdeps/mach/hurd/recvfrom.c: Likewise.
32200 * sysdeps/powerpc/bits/link.h: Likewise.
32201 * sysdeps/powerpc/dl-procinfo.c: Likewise.
32202 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32203 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32204 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32205 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32206 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32207 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32208 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32209 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32210 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32211 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32212 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32213 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32214 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32215 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32216 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32217 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32218 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32219 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32220 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32221 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32222 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32223 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32224 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32225 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32226 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32227 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32228 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32229 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32230 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32231 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32232 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32233 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32234 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32235 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32236 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32237 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32238 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32239 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32240 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32241 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32242 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32243 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32244 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32245 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32246 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32247 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32248 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32249 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32250 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32251 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32252 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32253 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32254 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32255 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32256 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32257 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32258 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32259 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32260 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32261 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32262 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32263 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32264 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32265 * sysdeps/powerpc/sysdep.h: Likewise.
32266 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32267 * sysdeps/s390/s390-64/sub_n.S: Likewise.
32268 * sysdeps/sh/dl-trampoline.S: Likewise.
32269 * sysdeps/sh/memset.S: Likewise.
32270 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32271 * sysdeps/sh/strlen.S: Likewise.
32272 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32273 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32274 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32275 * sysdeps/sparc/sparc32/rem.S: Likewise.
32276 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32277 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32278 * sysdeps/sparc/sparc32/strchr.S: Likewise.
32279 * sysdeps/sparc/sparc32/udiv.S: Likewise.
32280 * sysdeps/sparc/sparc32/urem.S: Likewise.
32281 * sysdeps/sparc/sparc64/add_n.S: Likewise.
32282 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32283 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32284 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32285 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32286 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32287 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32288 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32289 * sysdeps/unix/bsd/times.c: Likewise.
32290 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32291 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32295 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32296 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32297 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32298 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32299 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32300 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32301 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32302 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32303 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32304 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32305 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32306 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32307 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32308 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32309 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32310 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32311 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32312 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32313 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32314 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32315 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32316 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32317 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32318 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32319 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32320 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32321 * sysdeps/x86_64/strcspn.S: Likewise.
32323 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32325 * locale/C-translit.h: Revert #include <stdint.h> because this is a
32326 generated file. Regenerate properly from gen-translit.pl.
32327 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
32328 locale/C-translit.h.
32330 2013-06-05 Andreas Schwab <schwab@suse.de>
32333 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32334 week as 6 instead of -1.
32335 * time/tst-strptime.c (day_tests): Add test case.
32337 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32339 * sysdeps/generic/math_private.h
32340 (libc_feholdexcept_setround_53bit): Replace with
32341 libc_feholdsetround_53bit.
32342 (libc_feupdateenv_53bit): Replace with
32343 libc_feresetround_53bit.
32344 (SET_RESTORE_ROUND_53BIT): Adjust.
32346 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32348 * string/test-strchrnul.c: Add copyright header.
32350 * posix/tst-getaddrinfo4.c: Increase test timeout.
32352 2013-06-03 Carlos O'Donell <carlos@redhat.com>
32355 * math/libm-test.inc (MAX_EXP): Remove
32357 (ulp): Use MIN_EXP - MANT_DIG.
32358 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32360 2013-05-31 Carlos O'Donell <carlos@redhat.com>
32362 * po/be.po: Revert last change.
32363 * po/zh_CN.po: Likewise.
32364 * po/header.pot: Likewise.
32366 2013-05-31 Joseph Myers <joseph@codesourcery.com>
32368 * Makefile ($(common-objpfx)linkobj/libc.so): Define
32369 link-libc-deps to empty as target-specific variable.
32370 * Makerules (link-libc-args): New variable.
32371 (libc-for-link): Likewise.
32372 (link-libc-deps): Likewise.
32373 (lib%.so): Depend on $(link-libc-deps). Link with
32375 (build-module): Link with $(link-libc-args).
32376 (build-module-asneeded): Likewise.
32377 (build-module-helper-objlist): Filter out $(link-libc-deps) from
32379 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32380 target-specific variable.
32381 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32382 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32383 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32385 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32387 ($(objpfx)libpcprofile.so): Likewise.
32388 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32390 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32391 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32392 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32394 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32395 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32396 * login/Makefile ($(objpfx)libutil.so): Likewise.
32397 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32398 * math/Makefile ($(objpfx)libm.so): Likewise.
32399 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32400 $(objpfx)libnsl.so): Define libc-for-link as target-specific
32401 variable instead of depending directly on libc.
32402 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32403 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32405 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32407 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32408 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32409 ($(objpfx)libanl.so): Likewise.
32410 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32412 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32414 * sysdeps/i386/fpu/Makefile: Remove file.
32415 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32416 ($(objpfx)libm.so): Remove dependency on ld.so.
32418 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
32421 * nis/yp_xdr.c (XDRMAXNAME): Define.
32422 (XDRMAXRECORD): Define.
32423 (xdr_domainname): Use XDRMAXNAME.
32424 (xdr_mapname): Likewise.
32425 (xdr_peername): Likewise.
32426 (xdr_keydat): Use XDRMAXRECORD.
32427 (xdr_valdat): Likewise.
32429 2013-05-30 Jeff Law <law@redhat.com>
32432 * manual/errno.texi (ESTALE): Update to account for more than
32433 just NFS file systems.
32434 * sysdeps/gnu/errlist.c: Regenerated.
32436 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32439 * elf/Makefile (tests): Add tst-null-argv.
32440 (modules-names): Add tst-null-argv-lib.
32441 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32442 (tst-null-argv-ENV): Set environment for tst-null-argv.
32443 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32444 (RTLD_PROGNAME): New macro.
32445 * elf/tst-null-argv.c: New test case.
32446 * elf/tst-null-argv-lib.c: Library for test case.
32447 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32448 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32449 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32450 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32451 * elf/dl-init.c (call_init): Likewise.
32452 (_dl_init): Likewise.
32453 * elf/dl-load.c (print_search_path): Likewise.
32454 (_dl_map_object): Likewise.
32455 * elf/dl-lookup.c (do_lookup_x): Likewise.
32456 (add_dependency): Likewise.
32457 (_dl_lookup_symbol_x): Likewise.
32458 (_dl_debug_bindings): Likewise.
32459 * elf/dl-open.c (_dl_show_scope): Likewise.
32460 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32461 * elf/dl-version.c (match_symbol): Likewise.
32462 (_dl_check_map_versions): Likewise.
32463 * elf/rtld.c (dl_main): Likewise.
32464 (print_unresolved): Use RTLD_PROGNAME.
32465 (print_missing_version): Likewise.
32466 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32467 (elf_machine_rela): Likewise.
32468 * sysdeps/powerpc/powerpc32/dl-machine.c
32469 (__process_machine_rela): Likewise.
32470 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32472 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32474 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32476 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32477 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32479 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32481 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32483 2013-05-28 Carlos O'Donell <carlos@redhat.com>
32485 * po/be.po: Add descriptive title.
32486 * po/zh_CN.po: Likewise.
32487 * po/header.pot: Likewise.
32489 2013-05-28 Mike Frysinger <vapier@gentoo.org>
32491 * locale/programs/locarchive.c (create_archive): Inlucde fname in
32493 (enlarge_archive): Likewise.
32495 2013-05-28 Ben North <ben@redfrontdoor.org>
32497 * manual/arith.texi (frexp): It is the magnitude of the return
32498 value which lies in [0.5, 1), not the return value itself.
32500 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32504 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
32506 * stdio-common/bug26.c (main): Correct fscanf template.
32508 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32509 declare _dl_skip_args.
32511 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32514 * manual/platform.texi: Add missing @end deftypefun.
32516 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32519 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32520 bit of mantissa of 2^16382.
32521 * math/libm-test.inc (hypot_test_data): Add more tests.
32523 * math/libm-test.inc: Add drem and pow10 to list of tested
32525 (pow10_test): New function.
32526 (drem_test): Likewise.
32527 (drem_test_tonearest): Likewise.
32528 (drem_test_towardzero): Likewise.
32529 (drem_test_downward): Likewise.
32530 (drem_test_upward): Likewise.
32531 (main): Call the new functions.
32533 * math/libm-test.inc (finite_test_data): Remove.
32534 (finite_test): Run tests from isfinite_test_data.
32535 (gamma_test_data): Remove.
32536 (gamma_test): Run tests from lgamma_test_data.
32537 * sysdeps/i386/fpu/libm-test-ulps: Update.
32538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32540 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32542 * manual/platform.texi: Add PowerPC PPR function set documentation.
32543 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32546 2013-05-24 Carlos O'Donell <carlos@redhat.com>
32548 * math/libm-test.inc (MAX_EXP): Define.
32550 (ulp): New function.
32551 (check_float_internal): Use ULPDIFF.
32552 (cpow_test): Disable failing test.
32553 (check_ulp): Test ulp() implemetnation.
32554 (main): Call check_ulp before starting tests.
32556 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32558 * math/gen-libm-test.pl (generate_testfile): Do not handle
32559 START_DATA and END_DATA.
32560 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32562 (acos_tonearest_test_data): Likewise.
32563 (acos_towardzero_test_data): Likewise.
32564 (acos_downward_test_data): Likewise.
32565 (acos_upward_test_data): Likewise.
32566 (acosh_test_data): Likewise.
32567 (asin_test_data): Likewise.
32568 (asin_tonearest_test_data): Likewise.
32569 (asin_towardzero_test_data): Likewise.
32570 (asin_downward_test_data): Likewise.
32571 (asin_upward_test_data): Likewise.
32572 (asinh_test_data): Likewise.
32573 (atan_test_data): Likewise.
32574 (atanh_test_data): Likewise.
32575 (atan2_test_data): Likewise.
32576 (cabs_test_data): Likewise.
32577 (cacos_test_data): Likewise.
32578 (cacosh_test_data): Likewise.
32579 (carg_test_data): Likewise.
32580 (casin_test_data): Likewise.
32581 (casinh_test_data): Likewise.
32582 (catan_test_data): Likewise.
32583 (catanh_test_data): Likewise.
32584 (cbrt_test_data): Likewise.
32585 (ccos_test_data): Likewise.
32586 (ccosh_test_data): Likewise.
32587 (ceil_test_data): Likewise.
32588 (cexp_test_data): Likewise.
32589 (cimag_test_data): Likewise.
32590 (clog_test_data): Likewise.
32591 (clog10_test_data): Likewise.
32592 (conj_test_data): Likewise.
32593 (copysign_test_data): Likewise.
32594 (cos_test_data): Likewise.
32595 (cos_tonearest_test_data): Likewise.
32596 (cos_towardzero_test_data): Likewise.
32597 (cos_downward_test_data): Likewise.
32598 (cos_upward_test_data): Likewise.
32599 (cosh_test_data): Likewise.
32600 (cosh_tonearest_test_data): Likewise.
32601 (cosh_towardzero_test_data): Likewise.
32602 (cosh_downward_test_data): Likewise.
32603 (cosh_upward_test_data): Likewise.
32604 (cpow_test_data): Likewise.
32605 (cproj_test_data): Likewise.
32606 (creal_test_data): Likewise.
32607 (csin_test_data): Likewise.
32608 (csinh_test_data): Likewise.
32609 (csqrt_test_data): Likewise.
32610 (ctan_test_data): Likewise.
32611 (ctan_tonearest_test_data): Likewise.
32612 (ctan_towardzero_test_data): Likewise.
32613 (ctan_downward_test_data): Likewise.
32614 (ctan_upward_test_data): Likewise.
32615 (ctanh_test_data): Likewise.
32616 (ctanh_tonearest_test_data): Likewise.
32617 (ctanh_towardzero_test_data): Likewise.
32618 (ctanh_downward_test_data): Likewise.
32619 (ctanh_upward_test_data): Likewise.
32620 (erf_test_data): Likewise.
32621 (erfc_test_data): Likewise.
32622 (exp_test_data): Likewise.
32623 (exp_tonearest_test_data): Likewise.
32624 (exp_towardzero_test_data): Likewise.
32625 (exp_downward_test_data): Likewise.
32626 (exp_upward_test_data): Likewise.
32627 (exp10_test_data): Likewise.
32628 (exp2_test_data): Likewise.
32629 (expm1_test_data): Likewise.
32630 (fabs_test_data): Likewise.
32631 (fdim_test_data): Likewise.
32632 (finite_test_data): Likewise.
32633 (floor_test_data): Likewise.
32634 (fma_test_data): Likewise.
32635 (fma_towardzero_test_data): Likewise.
32636 (fma_downward_test_data): Likewise.
32637 (fma_upward_test_data): Likewise.
32638 (fmax_test_data): Likewise.
32639 (fmin_test_data): Likewise.
32640 (fmod_test_data): Likewise.
32641 (fpclassify_test_data): Likewise.
32642 (frexp_test_data): Likewise.
32643 (gamma_test_data): Likewise.
32644 (hypot_test_data): Likewise.
32645 (ilogb_test_data): Likewise.
32646 (isfinite_test_data): Likewise.
32647 (isgreater_test_data): Likewise.
32648 (isgreaterequal_test_data): Likewise.
32649 (isinf_test_data): Likewise.
32650 (isless_test_data): Likewise.
32651 (islessequal_test_data): Likewise.
32652 (islessgreater_test_data): Likewise.
32653 (isnan_test_data): Likewise.
32654 (isnormal_test_data): Likewise.
32655 (issignaling_test_data): Likewise.
32656 (isunordered_test_data): Likewise.
32657 (j0_test_data): Likewise.
32658 (j1_test_data): Likewise.
32659 (jn_test_data): Likewise.
32660 (ldexp_test_data): Likewise.
32661 (lgamma_test_data): Likewise.
32662 (lrint_test_data): Likewise.
32663 (lrint_tonearest_test_data): Likewise.
32664 (lrint_towardzero_test_data): Likewise.
32665 (lrint_downward_test_data): Likewise.
32666 (lrint_upward_test_data): Likewise.
32667 (llrint_test_data): Likewise.
32668 (llrint_tonearest_test_data): Likewise.
32669 (llrint_towardzero_test_data): Likewise.
32670 (llrint_downward_test_data): Likewise.
32671 (llrint_upward_test_data): Likewise.
32672 (log_test_data): Likewise.
32673 (log10_test_data): Likewise.
32674 (log1p_test_data): Likewise.
32675 (log2_test_data): Likewise.
32676 (logb_test_data): Likewise.
32677 (logb_downward_test_data): Likewise.
32678 (lround_test_data): Likewise.
32679 (llround_test_data): Likewise.
32680 (modf_test_data): Likewise.
32681 (nearbyint_test_data): Likewise.
32682 (nextafter_test_data): Likewise.
32683 (nexttoward_test_data): Likewise.
32684 (pow_test_data): Likewise.
32685 (pow_tonearest_test_data): Likewise.
32686 (pow_towardzero_test_data): Likewise.
32687 (pow_downward_test_data): Likewise.
32688 (pow_upward_test_data): Likewise.
32689 (remainder_test_data): Likewise.
32690 (remainder_tonearest_test_data): Likewise.
32691 (remainder_towardzero_test_data): Likewise.
32692 (remainder_downward_test_data): Likewise.
32693 (remainder_upward_test_data): Likewise.
32694 (remquo_test_data): Likewise.
32695 (rint_test_data): Likewise.
32696 (rint_tonearest_test_data): Likewise.
32697 (rint_towardzero_test_data): Likewise.
32698 (rint_downward_test_data): Likewise.
32699 (rint_upward_test_data): Likewise.
32700 (round_test_data): Likewise.
32701 (scalb_test_data): Likewise.
32702 (scalbn_test_data): Likewise.
32703 (scalbln_test_data): Likewise.
32704 (signbit_test_data): Likewise.
32705 (sin_test_data): Likewise.
32706 (sin_tonearest_test_data): Likewise.
32707 (sin_towardzero_test_data): Likewise.
32708 (sin_downward_test_data): Likewise.
32709 (sin_upward_test_data): Likewise.
32710 (sincos_test_data): Likewise.
32711 (sinh_test_data): Likewise.
32712 (sinh_tonearest_test_data): Likewise.
32713 (sinh_towardzero_test_data): Likewise.
32714 (sinh_downward_test_data): Likewise.
32715 (sinh_upward_test_data): Likewise.
32716 (sqrt_test_data): Likewise.
32717 (tan_test_data): Likewise.
32718 (tan_tonearest_test_data): Likewise.
32719 (tan_towardzero_test_data): Likewise.
32720 (tan_downward_test_data): Likewise.
32721 (tan_upward_test_data): Likewise.
32722 (tanh_test_data): Likewise.
32723 (tgamma_test_data): Likewise.
32724 (trunc_test_data): Likewise.
32725 (y0_test_data): Likewise.
32726 (y1_test_data): Likewise.
32727 (yn_test_data): Likewise.
32728 (significand_test_data): Likewise.
32730 * math/gen-libm-test.pl (@functions): Remove variable.
32731 (generate_testfile): Don't handle START and END lines.
32732 * math/libm-test.inc (START): New macro.
32734 (END_COMPLEX): Likewise.
32735 (acos_test): Use END macro without arguments.
32736 (acos_test_tonearest): Likewise.
32737 (acos_test_towardzero): Likewise.
32738 (acos_test_downward): Likewise.
32739 (acos_test_upward): Likewise.
32740 (acosh_test): Likewise.
32741 (asin_test): Likewise.
32742 (asin_test_tonearest): Likewise.
32743 (asin_test_towardzero): Likewise.
32744 (asin_test_downward): Likewise.
32745 (asin_test_upward): Likewise.
32746 (asinh_test): Likewise.
32747 (atan_test): Likewise.
32748 (atanh_test): Likewise.
32749 (atan2_test): Likewise.
32750 (cabs_test): Likewise.
32751 (cacos_test): Use END_COMPLEX macro without arguments.
32752 (cacosh_test): Likewise.
32753 (carg_test): Use END macro without arguments.
32754 (casin_test): Use END_COMPLEX macro without arguments.
32755 (casinh_test): Likewise.
32756 (catan_test): Likewise.
32757 (catanh_test): Likewise.
32758 (cbrt_test): Use END macro without arguments.
32759 (ccos_test): Use END_COMPLEX macro without arguments.
32760 (ccosh_test): Likewise.
32761 (ceil_test): Use END macro without arguments.
32762 (cexp_test): Use END_COMPLEX macro without arguments.
32763 (cimag_test): Use END macro without arguments.
32764 (clog_test): Use END_COMPLEX macro without arguments.
32765 (clog10_test): Likewise.
32766 (conj_test): Likewise.
32767 (copysign_test): Use END macro without arguments.
32768 (cos_test): Likewise.
32769 (cos_test_tonearest): Likewise.
32770 (cos_test_towardzero): Likewise.
32771 (cos_test_downward): Likewise.
32772 (cos_test_upward): Likewise.
32773 (cosh_test): Likewise.
32774 (cosh_test_tonearest): Likewise.
32775 (cosh_test_towardzero): Likewise.
32776 (cosh_test_downward): Likewise.
32777 (cosh_test_upward): Likewise.
32778 (cpow_test): Use END_COMPLEX macro without arguments.
32779 (cproj_test): Likewise.
32780 (creal_test): Use END macro without arguments.
32781 (csin_test): Use END_COMPLEX macro without arguments.
32782 (csinh_test): Likewise.
32783 (csqrt_test): Likewise.
32784 (ctan_test): Likewise.
32785 (ctan_test_tonearest): Likewise.
32786 (ctan_test_towardzero): Likewise.
32787 (ctan_test_downward): Likewise.
32788 (ctan_test_upward): Likewise.
32789 (ctanh_test): Likewise.
32790 (ctanh_test_tonearest): Likewise.
32791 (ctanh_test_towardzero): Likewise.
32792 (ctanh_test_downward): Likewise.
32793 (ctanh_test_upward): Likewise.
32794 (erf_test): Use END macro without arguments.
32795 (erfc_test): Likewise.
32796 (exp_test): Likewise.
32797 (exp_test_tonearest): Likewise.
32798 (exp_test_towardzero): Likewise.
32799 (exp_test_downward): Likewise.
32800 (exp_test_upward): Likewise.
32801 (exp10_test): Likewise.
32802 (exp2_test): Likewise.
32803 (expm1_test): Likewise.
32804 (fabs_test): Likewise.
32805 (fdim_test): Likewise.
32806 (finite_test): Likewise.
32807 (floor_test): Likewise.
32808 (fma_test): Likewise.
32809 (fma_test_towardzero): Likewise.
32810 (fma_test_downward): Likewise.
32811 (fma_test_upward): Likewise.
32812 (fmax_test): Likewise.
32813 (fmin_test): Likewise.
32814 (fmod_test): Likewise.
32815 (fpclassify_test): Likewise.
32816 (frexp_test): Likewise.
32817 (gamma_test): Likewise.
32818 (hypot_test): Likewise.
32819 (ilogb_test): Likewise.
32820 (isfinite_test): Likewise.
32821 (isgreater_test): Likewise.
32822 (isgreaterequal_test): Likewise.
32823 (isinf_test): Likewise.
32824 (isless_test): Likewise.
32825 (islessequal_test): Likewise.
32826 (islessgreater_test): Likewise.
32827 (isnan_test): Likewise.
32828 (isnormal_test): Likewise.
32829 (issignaling_test): Likewise.
32830 (isunordered_test): Likewise.
32831 (j0_test): Likewise.
32832 (j1_test): Likewise.
32833 (jn_test): Likewise.
32834 (ldexp_test): Likewise.
32835 (lgamma_test): Likewise.
32836 (lrint_test): Likewise.
32837 (lrint_test_tonearest): Likewise.
32838 (lrint_test_towardzero): Likewise.
32839 (lrint_test_downward): Likewise.
32840 (lrint_test_upward): Likewise.
32841 (llrint_test): Likewise.
32842 (llrint_test_tonearest): Likewise.
32843 (llrint_test_towardzero): Likewise.
32844 (llrint_test_downward): Likewise.
32845 (llrint_test_upward): Likewise.
32846 (log_test): Likewise.
32847 (log10_test): Likewise.
32848 (log1p_test): Likewise.
32849 (log2_test): Likewise.
32850 (logb_test): Likewise.
32851 (logb_test_downward): Likewise.
32852 (lround_test): Likewise.
32853 (llround_test): Likewise.
32854 (modf_test): Likewise.
32855 (nearbyint_test): Likewise.
32856 (nextafter_test): Likewise.
32857 (nexttoward_test): Likewise.
32858 (pow_test): Likewise.
32859 (pow_test_tonearest): Likewise.
32860 (pow_test_towardzero): Likewise.
32861 (pow_test_downward): Likewise.
32862 (pow_test_upward): Likewise.
32863 (remainder_test): Likewise.
32864 (remainder_test_tonearest): Likewise.
32865 (remainder_test_towardzero): Likewise.
32866 (remainder_test_downward): Likewise.
32867 (remainder_test_upward): Likewise.
32868 (remquo_test): Likewise.
32869 (rint_test): Likewise.
32870 (rint_test_tonearest): Likewise.
32871 (rint_test_towardzero): Likewise.
32872 (rint_test_downward): Likewise.
32873 (rint_test_upward): Likewise.
32874 (round_test): Likewise.
32875 (scalb_test): Likewise.
32876 (scalbn_test): Likewise.
32877 (scalbln_test): Likewise.
32878 (signbit_test): Likewise.
32879 (sin_test): Likewise.
32880 (sin_test_tonearest): Likewise.
32881 (sin_test_towardzero): Likewise.
32882 (sin_test_downward): Likewise.
32883 (sin_test_upward): Likewise.
32884 (sincos_test): Likewise.
32885 (sinh_test): Likewise.
32886 (sinh_test_tonearest): Likewise.
32887 (sinh_test_towardzero): Likewise.
32888 (sinh_test_downward): Likewise.
32889 (sinh_test_upward): Likewise.
32890 (sqrt_test): Likewise.
32891 (tan_test): Likewise.
32892 (tan_test_tonearest): Likewise.
32893 (tan_test_towardzero): Likewise.
32894 (tan_test_downward): Likewise.
32895 (tan_test_upward): Likewise.
32896 (tanh_test): Likewise.
32897 (tgamma_test): Likewise.
32898 (trunc_test): Likewise.
32899 (y0_test): Likewise.
32900 (y1_test): Likewise.
32901 (yn_test): Likewise.
32902 (significand_test): Likewise.
32904 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
32907 * libio/genops.c (_IO_no_init): Initialize wide struct info.
32909 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
32912 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32913 __ppc_mdoio and __ppc_mdoom.
32914 * manual/platform.texi: Document new functions __ppc_yield,
32915 __ppc_mdoio and __ppc_mdoom.
32917 2013-05-22 Carlos O'Donell <carlos@redhat.com>
32919 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32920 (main): Mention "tls" pseudo-hwcap is legacy.
32921 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32923 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32925 * math/gen-libm-test.pl (parse_args): Output only string of
32926 arguments as text for test name, not full call or descriptions of
32927 tests for extra outputs.
32928 (generate_testfile): Do not pass function name to parse_args.
32929 Generate this_func variable from START.
32930 * math/libm-test.inc (struct test_f_f_data): Rename test_name
32932 (struct test_ff_f_data): Likewise.
32933 (test_ff_f_data_nexttoward): Likewise.
32934 (struct test_fi_f_data): Likewise.
32935 (struct test_fl_f_data): Likewise.
32936 (struct test_if_f_data): Likewise.
32937 (struct test_fff_f_data): Likewise.
32938 (struct test_c_f_data): Likewise.
32939 (struct test_f_f1_data): Likewise. Remove field extra_name.
32940 (struct test_fF_f1_data): Likewise.
32941 (struct test_ffI_f1_data): Likewise.
32942 (struct test_c_c_data): Rename test_name field to arg_str.
32943 (struct test_cc_c_data): Likewise.
32944 (struct test_f_i_data): Likewise.
32945 (struct test_ff_i_data): Likewise.
32946 (struct test_f_l_data): Likewise.
32947 (struct test_f_L_data): Likewise.
32948 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
32950 (COMMON_TEST_SETUP): New macro.
32951 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32952 (COMMON_TEST_CLEANUP): Likewise.
32953 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32954 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
32956 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32957 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
32959 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32960 (RUN_TEST_fff_f): Take argument string. Call new setup and
32962 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32963 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
32965 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32966 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
32968 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32969 (RUN_TEST_fF_f1): Take argument string. Call new setup and
32971 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32972 (RUN_TEST_fI_f1): Take argument string. Call new setup and
32974 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32975 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
32977 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32978 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
32980 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32981 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
32983 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32984 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
32986 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32987 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
32989 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32990 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
32992 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32993 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
32995 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32996 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
32998 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32999 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
33001 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33002 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
33004 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33005 (RUN_TEST_fFF_11): Take argument string. Call new setup and
33007 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33009 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
33011 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33012 to _sifields.sigfault.
33013 (si_addr_lsb): Define new macro.
33014 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33015 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33016 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33018 2013-05-03 Carlos O'Donell <carlos at redhat.com>
33021 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33023 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33025 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33026 loading the domain.
33028 2013-05-22 Joseph Myers <joseph@codesourcery.com>
33030 * math/gen-libm-test.pl (parse_args): Do not include expected
33031 result in test name.
33032 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33033 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33034 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33035 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33036 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33039 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33041 * benchtests/Makefile: Sort function entries.
33043 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33044 tanh, asinh, acosh, atanh.
33045 * benchtests/acos-inputs: New file.
33046 * benchtests/acosh-inputs: New file.
33047 * benchtests/asin-inputs: New file.
33048 * benchtests/asinh-inputs: New file.
33049 * benchtests/atanh-inputs: New file.
33050 * benchtests/cosh-inputs: New file.
33051 * benchtests/log-inputs: New file.
33052 * benchtests/sinh-inputs: New file.
33053 * benchtests/tanh-inputs: New file.
33055 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
33058 * posix/tst-getaddrinfo4.c: New test.
33059 * posix/Makefile (tests): Add it.
33061 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33064 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33065 when no services were used.
33066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33067 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33069 2013-05-21 Andreas Schwab <schwab@suse.de>
33072 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33073 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33075 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33076 redundant variable declarations and reallocation of buffer when
33077 parsing as IPv6 address. Always set NSS status when called from
33078 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
33079 buffer too small. Correct computation of needed size.
33080 * nss/Makefile (tests): Add test-digits-dots.
33081 * nss/test-digits-dots.c: New test.
33083 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33085 * benchtests/Makefile: Remove instructions for adding
33087 * benchtests/README: New file to explain how to execute and
33088 enhance the benchmark tests.
33090 2013-05-21 Andreas Schwab <schwab@suse.de>
33093 * setjmp/Makefile (tests): Add tst-sigsetjmp.
33094 * setjmp/tst-sigsetjmp.c: New test.
33096 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
33098 * sysdeps/x86_64/memset.S (memset): New implementation.
33099 (__bzero): Likewise.
33100 (__memset_tail): New function.
33102 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
33104 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33105 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33106 __memcpy_sse2_unaligned ifunc selection.
33107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33108 Add memcpy-sse2-unaligned.S.
33109 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33110 Add: __memcpy_sse2_unaligned.
33112 2013-05-19 Joseph Myers <joseph@codesourcery.com>
33115 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33116 math_force_eval before restoring floating-point envrionment.
33117 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33118 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33120 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33122 (__nearbyintl): Use math_force_eval before restoring
33123 floating-point environment.
33124 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33126 * math/gen-libm-test.pl (special_functions): Remove.
33127 (parse_args): Don't handle TEST_extra. Handle functions with no
33129 * math/libm-test.inc (struct test_sincos_data): Replace with
33130 struct test_fFF_11_data.
33131 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33132 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33133 (sincos_test_data): Change element type to struct
33134 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
33135 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33136 RUN_TEST_LOOP_sincos.
33137 * math/README.libm-test: Don't mention special handling of
33138 individual functions.
33139 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33140 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33141 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33142 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33143 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33146 * math/gen-libm-test.pl (get_variable): Remove function.
33147 (parse_args): Don't show pointer parameters to call in test
33148 names. Use "extra output N" in test names for extra outputs
33149 rather than naming variables.
33151 2013-05-18 Joseph Myers <joseph@codesourcery.com>
33154 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33155 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33156 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33158 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33160 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33163 * math/gen-libm-test.pl (@tests): Remove variable.
33164 ($count): Likewise.
33165 (new_test): Remove function.
33166 (show_exceptions): New function.
33167 (special_functions): Use show_exceptions instead of new_test.
33168 (parse_args): Likewise.
33169 (generate_testfile): Pass only function name in generated call to
33170 print_max_error or print_complex_max_error.
33171 (get_ulps): Do not handle complex tests specially.
33172 (output_test): Rename to ...
33173 (get_all_ulps_for_test): ... this. Return a string rather than
33174 printing to a file. Require ulps to be present.
33175 (output_ulps): Generate arrays rather than #defines.
33176 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33177 (struct ulp_data): New type.
33178 (BUILD_COMPLEX_ULP): Remove macro.
33179 (compare_ulp_data): New function.
33180 (find_ulps): Likewise.
33181 (find_test_ulps): Likewise.
33182 (find_function_ulps): Likewise.
33183 (find_complex_function_ulps): Likewise.
33184 (print_max_error): Determine allowed ulps using
33185 find_function_ulps.
33186 (print_complex_max_error): Determine allowed ulps using
33187 find_complex_function_ulps.
33188 (check_float_internal): Determine max ulps using find_test_ulps.
33189 (check_float): Do not take max_ulp parameter. Update call to
33190 check_float_internal.
33191 (check_complex): Likewise.
33192 (check_int): Do not take max_ulp parameter.
33193 (check_long): Likewise.
33194 (check_bool): Likewise.
33195 (check_longlong): Likewise.
33196 (struct test_f_f_data): Remove max_ulp field.
33197 (struct test_ff_f_data): Likewise.
33198 (struct test_ff_f_data_nexttoward): Likewise.
33199 (struct test_fi_f_data): Likewise.
33200 (struct test_fl_f_data): Likewise.
33201 (struct test_if_f_data): Likewise.
33202 (struct test_fff_f_data): Likewise.
33203 (struct test_c_f_data): Likewise.
33204 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33205 (struct test_fF_f1_data): Likewise.
33206 (struct test_ffI_f1_data): Likewise.
33207 (struct test_c_c_data): Remove max_ulp field.
33208 (struct test_cc_c_data): Likewise.
33209 (struct test_f_i_data): Likewise.
33210 (struct test_ff_i_data): Likewise.
33211 (struct test_f_l_data): Likewise.
33212 (struct test_f_L_data): Likewise.
33213 (struct test_sincos_data): Likewise.
33214 (RUN_TEST_f_f): Do not handle ulps.
33215 (RUN_TEST_LOOP_f_f): Likewise.
33216 (RUN_TEST_2_f): Likewise.
33217 (RUN_TEST_LOOP_2_f): Likewise.
33218 (RUN_TEST_fff_f): Likewise.
33219 (RUN_TEST_LOOP_fff_f): Likewise.
33220 (RUN_TEST_c_f): Likewise.
33221 (RUN_TEST_LOOP_c_f): Likewise.
33222 (RUN_TEST_f_f1): Likewise.
33223 (RUN_TEST_LOOP_f_f1): Likewise.
33224 (RUN_TEST_fF_f1): Likewise.
33225 (RUN_TEST_LOOP_fF_f1): Likewise.
33226 (RUN_TEST_fI_f1): Likewise.
33227 (RUN_TEST_LOOP_fI_f1): Likewise.
33228 (RUN_TEST_ffI_f1): Likewise.
33229 (RUN_TEST_LOOP_ffI_f1): Likewise.
33230 (RUN_TEST_c_c): Likewise.
33231 (RUN_TEST_LOOP_c_c): Likewise.
33232 (RUN_TEST_cc_c): Likewise.
33233 (RUN_TEST_LOOP_cc_c): Likewise.
33234 (RUN_TEST_f_i): Likewise.
33235 (RUN_TEST_LOOP_f_i): Likewise.
33236 (RUN_TEST_f_i_tg): Likewise.
33237 (RUN_TEST_LOOP_f_i_tg): Likewise.
33238 (RUN_TEST_ff_i_tg): Likewise.
33239 (RUN_TEST_LOOP_ff_i_tg): Likewise.
33240 (RUN_TEST_f_b): Likewise.
33241 (RUN_TEST_LOOP_f_b): Likewise.
33242 (RUN_TEST_f_b_tg): Likewise.
33243 (RUN_TEST_LOOP_f_b_tg): Likewise.
33244 (RUN_TEST_f_l): Likewise.
33245 (RUN_TEST_LOOP_f_l): Likewise.
33246 (RUN_TEST_f_L): Likewise.
33247 (RUN_TEST_LOOP_f_L): Likewise.
33248 (RUN_TEST_sincos): Likewise.
33249 (RUN_TEST_LOOP_sincos): Likewise.
33251 2013-05-17 Joseph Myers <joseph@codesourcery.com>
33255 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33256 main case of finite arguments, set rounding mode to FE_TONEAREST
33257 and discard exceptions.
33258 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33260 (remainder_tonearest_test_data): New variable.
33261 (remainder_test_tonearest): New function.
33262 (remainder_towardzero_test_data): New variable.
33263 (remainder_test_towardzero): New function.
33264 (remainder_downward_test_data): New variable.
33265 (remainder_test_downward): New function.
33266 (remainder_upward_test_data): New variable.
33267 (remainder_test_upward): New function.
33268 (main): Call the new test functions.
33270 * math/libm-test.inc (struct test_f_f1_data): Remove field
33272 (struct test_fF_f1_data): Likewise.
33273 (struct test_ffI_f1_data): Likewise.
33274 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
33275 based on value of EXTRA_EXPECTED.
33276 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33277 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
33278 EXTRA_VAR based on value of EXTRA_EXPECTED.
33279 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33280 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
33281 EXTRA_VAR based on value of EXTRA_EXPECTED.
33282 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33283 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
33284 EXTRA_VAR based on value of EXTRA_EXPECTED.
33285 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33286 * math/gen-libm-test.pl (parse_args): Don't output initializers
33287 for extra output values.
33289 * math/libm-test.inc (check_int): Expect result to be exactly
33290 equal to expected value and do not handle ulps.
33291 (check_long): Likewise.
33292 (check_longlong): Likewise.
33294 * math/libm-test.inc (ceil_test_data): Test for "inexact"
33296 (cimag_test_data): Likewise.
33297 (conj_test_data): Likewise.
33298 (copysign_test_data): Likewise.
33299 (cproj_test_data): Likewise.
33300 (creal_test_data): Likewise.
33301 (fabs_test_data): Likewise.
33302 (fdim_test_data): Likewise.
33303 (finite_test_data): Likewise.
33304 (floor_test_data): Likewise.
33305 (fmax_test_data): Likewise.
33306 (fmin_test_data): Likewise.
33307 (fmod_test_data): Likewise.
33308 (fpclassify_test_data): Likewise.
33309 (frexp_test_data): Likewise.
33310 (ilogb_test_data): Likewise.
33311 (isfinite_test_data): Likewise.
33312 (isgreater_test_data): Likewise.
33313 (isgreaterequal_test_data): Likewise.
33314 (isinf_test_data): Likewise.
33315 (isless_test_data): Likewise.
33316 (islessequal_test_data): Likewise.
33317 (islessgreater_test_data): Likewise.
33318 (isnan_test_data): Likewise.
33319 (isnormal_test_data): Likewise.
33320 (issignaling_test_data): Likewise.
33321 (isunordered_test_data): Likewise.
33322 (ldexp_test_data): Likewise.
33323 (lrint_test_data): Likewise.
33324 (lrint_test_data) [TEST_FLOAT]: Disable one test.
33325 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33326 (lrint_tonearest_test_data): Test for "inexact" exceptions.
33327 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33328 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33329 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33331 (lrint_towardzero_test_data): Test for "inexact" exceptions.
33332 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33333 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33334 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33336 (lrint_downward_test_data): Test for "inexact" exceptions.
33337 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33338 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33339 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33341 (lrint_upward_test_data): Test for "inexact" exceptions.
33342 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33344 (llrint_test_data): Test for "inexact" exceptions.
33345 (llrint_test_data) [TEST_FLOAT]: Disable one test.
33346 (llrint_tonearest_test_data): Test for "inexact" exceptions.
33347 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33348 (llrint_towardzero_test_data): Test for "inexact" exceptions.
33349 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33350 (llrint_downward_test_data): Test for "inexact" exceptions.
33351 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33352 (llrint_upward_test_data): Test for "inexact" exceptions.
33353 (logb_test_data): Likewise.
33354 (logb_downward_test_data): Likewise.
33355 (nextafter_test_data): Likewise.
33356 (nexttoward_test_data): Likewise.
33357 (remainder_test_data): Likewise.
33358 (remquo_test_data): Likewise.
33359 (scalbn_test_data): Likewise.
33360 (scalbln_test_data): Likewise.
33361 (signbit_test_data): Likewise.
33362 (sqrt_test_data): Likewise.
33363 (significand_test_data): Likewise.
33365 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33368 * benchtests/bench-modf.c (struct args): Mark arg0 as
33370 * scripts/bench.pl: Mark members of struct args as volatile.
33372 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33375 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33376 negative infinity on POWER6 or lower.
33377 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33379 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
33382 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33383 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33384 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33385 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33386 (_FP_SETQNAN): New macro.
33387 (_FP_SETQNAN_SEMIRAW): Likewise.
33388 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33389 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33390 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33391 (FP_EXTEND): Use _FP_FRAC_SNANP.
33392 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33393 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33395 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33397 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33400 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33402 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33403 with DIVIDE_BY_ZERO_EXCEPTION.
33404 (gamma_test_data): Likewise.
33405 (lgamma_test_data): Likewise.
33406 (log_test_data): Likewise.
33407 (log10_test_data): Likewise.
33408 (log2_test_data): Likewise.
33409 (tgamma_test_data): Likewise.
33411 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33412 (acos_test_tonearest): Likewise.
33413 (acos_test_towardzero): Likewise.
33414 (acos_test_downward): Likewise.
33415 (acos_test_upward): Likewise.
33416 (acosh_test): Likewise.
33417 (asin_test): Likewise.
33418 (asin_test_tonearest): Likewise.
33419 (asin_test_towardzero): Likewise.
33420 (asin_test_downward): Likewise.
33421 (asin_test_upward): Likewise.
33422 (asinh_test): Likewise.
33423 (atan_test): Likewise.
33424 (atanh_test): Likewise.
33425 (atan2_test): Likewise.
33426 (cabs_test): Likewise.
33427 (cacos_test): Likewise.
33428 (cacosh_test): Likewise.
33429 (casin_test): Likewise.
33430 (casinh_test): Likewise.
33431 (catan_test): Likewise.
33432 (catanh_test): Likewise.
33433 (cbrt_test): Likewise.
33434 (ccos_test): Likewise.
33435 (ccosh_test): Likewise.
33436 (cexp_test): Likewise.
33437 (clog_test): Likewise.
33438 (clog10_test): Likewise.
33439 (cos_test): Likewise.
33440 (cos_test_tonearest): Likewise.
33441 (cos_test_towardzero): Likewise.
33442 (cos_test_downward): Likewise.
33443 (cos_test_upward): Likewise.
33444 (cosh_test): Likewise.
33445 (cosh_test_tonearest): Likewise.
33446 (cosh_test_towardzero): Likewise.
33447 (cosh_test_downward): Likewise.
33448 (cosh_test_upward): Likewise.
33449 (cpow_test): Likewise.
33450 (csin_test): Likewise.
33451 (csinh_test): Likewise.
33452 (csqrt_test): Likewise.
33453 (ctan_test): Likewise.
33454 (ctan_test_tonearest): Likewise.
33455 (ctan_test_towardzero): Likewise.
33456 (ctan_test_downward): Likewise.
33457 (ctan_test_upward): Likewise.
33458 (ctanh_test): Likewise.
33459 (ctanh_test_tonearest): Likewise.
33460 (ctanh_test_towardzero): Likewise.
33461 (ctanh_test_downward): Likewise.
33462 (ctanh_test_upward): Likewise.
33463 (erf_test): Likewise.
33464 (erfc_test): Likewise.
33465 (exp_test): Likewise.
33466 (exp_test_tonearest): Likewise.
33467 (exp_test_towardzero): Likewise.
33468 (exp_test_downward): Likewise.
33469 (exp_test_upward): Likewise.
33470 (exp10_test): Likewise.
33471 (exp2_test): Likewise.
33472 (expm1_test): Likewise.
33473 (fmod_test): Likewise.
33474 (gamma_test): Likewise.
33475 (hypot_test): Likewise.
33476 (j0_test): Likewise.
33477 (j1_test): Likewise.
33478 (jn_test): Likewise.
33479 (lgamma_test): Likewise.
33480 (log_test): Likewise.
33481 (log10_test): Likewise.
33482 (log1p_test): Likewise.
33483 (log2_test): Likewise.
33484 (logb_test_downward): Likewise.
33485 (pow_test): Likewise.
33486 (pow_test_tonearest): Likewise.
33487 (pow_test_towardzero): Likewise.
33488 (pow_test_downward): Likewise.
33489 (pow_test_upward): Likewise.
33490 (remainder_test): Likewise.
33491 (remquo_test): Likewise.
33492 (sin_test): Likewise.
33493 (sin_test_tonearest): Likewise.
33494 (sin_test_towardzero): Likewise.
33495 (sin_test_downward): Likewise.
33496 (sin_test_upward): Likewise.
33497 (sincos_test): Likewise.
33498 (sinh_test): Likewise.
33499 (sinh_test_tonearest): Likewise.
33500 (sinh_test_towardzero): Likewise.
33501 (sinh_test_downward): Likewise.
33502 (sinh_test_upward): Likewise.
33503 (sqrt_test): Likewise.
33504 (tan_test): Likewise.
33505 (tan_test_tonearest): Likewise.
33506 (tan_test_towardzero): Likewise.
33507 (tan_test_downward): Likewise.
33508 (tan_test_upward): Likewise.
33509 (tanh_test): Likewise.
33510 (tgamma_test): Likewise.
33511 (y0_test): Likewise.
33512 (y1_test): Likewise.
33513 (yn_test): Likewise.
33515 * math/gen-libm-test.pl (adjust_arg): Remove function.
33516 (special_function): Remove argument $in_func. Only handle
33517 generating output for tables of tests, not inside functions.
33518 (parse_args): Likewise.
33519 (generate_testfile): Remove variable $in_func. Update call to
33521 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33522 (MINUS_ZERO_INIT): Rename macro to minus_zero.
33523 (PLUS_INFTY_INIT): Rename macro to plus_infty.
33524 (MINUS_INFTY_INIT): Rename macro to minus_infty.
33525 (QNAN_VALUE_INIT): Rename macro to qnan_value.
33526 (MAX_VALUE_INIT): Rename macro to max_value.
33527 (MIN_VALUE_INIT): Rename macro to min_value.
33528 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33529 (plus_zero): Remove variable.
33530 (minus_zero): Likewise.
33531 (plus_infty): Likewise.
33532 (minus_infty): Likewise.
33533 (qnan_value): Likewise.
33534 (max_value): Likewise.
33535 (min_value): Likewise.
33536 (min_subnorm_value): Likewise.
33538 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33540 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33541 uint64_t or uint32_t usage.
33542 * crypt/sha256-block.c: Likewise.
33543 * crypt/sha256-crypt.c: Likewise.
33544 * crypt/sha256.c: Likewise.
33545 * crypt/sha512-block.c: Likewise.
33546 * crypt/sha512-crypt.c: Likewise.
33547 * crypt/sha512.c: Likewise.
33548 * debug/backtrace-tst.c: Likewise.
33549 * debug/pcprofiledump.c: Likewise.
33550 * elf/cache.c: Likewise.
33551 * elf/dl-cache.c: Likewise.
33552 * elf/dl-misc.c: Likewise.
33553 * elf/dl-profile.c: Likewise.
33554 * elf/dl-support.c: Likewise.
33555 * elf/ldconfig.c: Likewise.
33556 * elf/sprof.c: Likewise.
33557 * iconv/dummy-repertoire.c: Likewise.
33558 * iconv/iconv_charmap.c: Likewise.
33559 * iconv/skeleton.c: Likewise.
33560 * iconvdata/8bit-generic.c: Likewise.
33561 * iconvdata/cp737.h: Likewise.
33562 * iconvdata/cp775.h: Likewise.
33563 * iconvdata/ibm1008.h: Likewise.
33564 * iconvdata/ibm1025.h: Likewise.
33565 * iconvdata/ibm1046.h: Likewise.
33566 * iconvdata/ibm1097.h: Likewise.
33567 * iconvdata/ibm1112.h: Likewise.
33568 * iconvdata/ibm1122.h: Likewise.
33569 * iconvdata/ibm1123.h: Likewise.
33570 * iconvdata/ibm1124.h: Likewise.
33571 * iconvdata/ibm1129.h: Likewise.
33572 * iconvdata/ibm1130.h: Likewise.
33573 * iconvdata/ibm1132.h: Likewise.
33574 * iconvdata/ibm1133.h: Likewise.
33575 * iconvdata/ibm1137.h: Likewise.
33576 * iconvdata/ibm1140.h: Likewise.
33577 * iconvdata/ibm1141.h: Likewise.
33578 * iconvdata/ibm1142.h: Likewise.
33579 * iconvdata/ibm1143.h: Likewise.
33580 * iconvdata/ibm1144.h: Likewise.
33581 * iconvdata/ibm1145.h: Likewise.
33582 * iconvdata/ibm1146.h: Likewise.
33583 * iconvdata/ibm1147.h: Likewise.
33584 * iconvdata/ibm1148.h: Likewise.
33585 * iconvdata/ibm1149.h: Likewise.
33586 * iconvdata/ibm1153.h: Likewise.
33587 * iconvdata/ibm1154.h: Likewise.
33588 * iconvdata/ibm1155.h: Likewise.
33589 * iconvdata/ibm1156.h: Likewise.
33590 * iconvdata/ibm1157.h: Likewise.
33591 * iconvdata/ibm1158.h: Likewise.
33592 * iconvdata/ibm1160.h: Likewise.
33593 * iconvdata/ibm1161.h: Likewise.
33594 * iconvdata/ibm1162.h: Likewise.
33595 * iconvdata/ibm1163.h: Likewise.
33596 * iconvdata/ibm1164.h: Likewise.
33597 * iconvdata/ibm1166.h: Likewise.
33598 * iconvdata/ibm1167.h: Likewise.
33599 * iconvdata/ibm12712.h: Likewise.
33600 * iconvdata/ibm1390.h: Likewise.
33601 * iconvdata/ibm1399.h: Likewise.
33602 * iconvdata/ibm16804.h: Likewise.
33603 * iconvdata/ibm4517.h: Likewise.
33604 * iconvdata/ibm4899.h: Likewise.
33605 * iconvdata/ibm4909.h: Likewise.
33606 * iconvdata/ibm4971.h: Likewise.
33607 * iconvdata/ibm5347.h: Likewise.
33608 * iconvdata/ibm803.h: Likewise.
33609 * iconvdata/ibm856.h: Likewise.
33610 * iconvdata/ibm901.h: Likewise.
33611 * iconvdata/ibm902.h: Likewise.
33612 * iconvdata/ibm9030.h: Likewise.
33613 * iconvdata/ibm9066.h: Likewise.
33614 * iconvdata/ibm921.h: Likewise.
33615 * iconvdata/ibm922.h: Likewise.
33616 * iconvdata/ibm9448.h: Likewise.
33617 * iconvdata/isiri-3342.h: Likewise.
33618 * iconvdata/jis0201.h: Likewise.
33619 * include/link.h: Likewise.
33620 * include/netdb.h: Likewise.
33621 * inet/check_native.c: Likewise.
33622 * inet/check_pf.c: Likewise.
33623 * inet/getipv4sourcefilter.c: Likewise.
33624 * inet/getnameinfo.c: Likewise.
33625 * inet/getsourcefilter.c: Likewise.
33626 * inet/htonl.c: Likewise.
33627 * inet/setipv4sourcefilter.c: Likewise.
33628 * inet/setsourcefilter.c: Likewise.
33629 * inet/test-inet6_opt.c: Likewise.
33630 * inet/tst-network.c: Likewise.
33631 * locale/C-collate.c: Likewise.
33632 * locale/C-ctype.c: Likewise.
33633 * locale/C-time.c: Likewise.
33634 * locale/C-translit.h: Likewise.
33635 * locale/loadarchive.c: Likewise.
33636 * locale/programs/3level.h: Likewise.
33637 * locale/programs/charmap.c: Likewise.
33638 * locale/programs/charmap.h: Likewise.
33639 * locale/programs/ld-address.c: Likewise.
33640 * locale/programs/ld-collate.c: Likewise.
33641 * locale/programs/ld-ctype.c: Likewise.
33642 * locale/programs/ld-identification.c: Likewise.
33643 * locale/programs/ld-measurement.c: Likewise.
33644 * locale/programs/ld-messages.c: Likewise.
33645 * locale/programs/ld-monetary.c: Likewise.
33646 * locale/programs/ld-name.c: Likewise.
33647 * locale/programs/ld-numeric.c: Likewise.
33648 * locale/programs/ld-paper.c: Likewise.
33649 * locale/programs/ld-telephone.c: Likewise.
33650 * locale/programs/ld-time.c: Likewise.
33651 * locale/programs/linereader.c: Likewise.
33652 * locale/programs/locale.c: Likewise.
33653 * locale/programs/locarchive.c: Likewise.
33654 * locale/programs/locfile.h: Likewise.
33655 * locale/programs/repertoire.c: Likewise.
33656 * locale/programs/simple-hash.c: Likewise.
33657 * locale/programs/simple-hash.h: Likewise.
33658 * malloc/memusage.c: Likewise.
33659 * malloc/memusagestat.c: Likewise.
33660 * nis/nis_defaults.c: Likewise.
33661 * nis/nis_hash.c: Likewise.
33662 * nis/nis_print.c: Likewise.
33663 * nis/nis_xdr.c: Likewise.
33664 * nscd/connections.c: Likewise.
33665 * nscd/hstcache.c: Likewise.
33666 * nscd/nscd_gethst_r.c: Likewise.
33667 * nscd/nscd_getserv_r.c: Likewise.
33668 * nscd/nscd_helper.c: Likewise.
33669 * nscd/servicescache.c: Likewise.
33670 * nss/makedb.c: Likewise.
33671 * nss/nss_db/db-XXX.c: Likewise.
33672 * nss/nss_db/db-initgroups.c: Likewise.
33673 * nss/nss_db/db-netgrp.c: Likewise.
33674 * nss/nss_files/files-network.c: Likewise.
33675 * nss/nss_files/files-parse.c: Likewise.
33676 * posix/bug-regex5.c: Likewise.
33677 * posix/fnmatch_loop.c: Likewise.
33678 * posix/regcomp.c: Likewise.
33679 * posix/regexec.c: Likewise.
33680 * posix/tst-rfc3484-2.c: Likewise.
33681 * posix/tst-rfc3484-3.c: Likewise.
33682 * posix/tst-rfc3484.c: Likewise.
33683 * resolv/nss_dns/dns-canon.c: Likewise.
33684 * resolv/nss_dns/dns-network.c: Likewise.
33685 * resolv/res_init.c: Likewise.
33686 * resolv/res_mkquery.c: Likewise.
33687 * resolv/tst-aton.c: Likewise.
33688 * stdlib/cxa_atexit.c: Likewise.
33689 * stdlib/cxa_finalize.c: Likewise.
33690 * stdlib/gen-fpioconst.c: Likewise.
33691 * stdlib/strtol_l.c: Likewise.
33692 * string/tst-endian.c: Likewise.
33693 * sunrpc/auth_des.c: Likewise.
33694 * sunrpc/clnt_udp.c: Likewise.
33695 * sunrpc/rtime.c: Likewise.
33696 * sunrpc/svcauth_des.c: Likewise.
33697 * sunrpc/xdr.c: Likewise.
33698 * sunrpc/xdr_intXX_t.c: Likewise.
33699 * sunrpc/xdr_rec.c: Likewise.
33700 * sysdeps/generic/ldconfig.h: Likewise.
33701 * sysdeps/generic/ldsodefs.h: Likewise.
33702 * sysdeps/generic/memusage.h: Likewise.
33703 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33706 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33713 * sysdeps/posix/getaddrinfo.c: Likewise.
33714 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33715 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33716 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33717 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33718 * sysdeps/powerpc/test-gettimebase.c: Likewise.
33719 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33720 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33721 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33722 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33723 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33724 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33725 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33726 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33727 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33728 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33729 * sysdeps/x86_64/dl-tls.h: Likewise.
33730 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33731 * time/alt_digit.c: Likewise.
33732 * time/era.c: Likewise.
33733 * wcsmbs/tst-c16c32-1.c: Likewise.
33735 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33737 * math/libm-test.inc (struct test_sincos_data): New type.
33738 (RUN_TEST_LOOP_sincos): New macro.
33739 (sincos_test_data): New variable.
33740 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33742 2013-05-16 Richard Henderson <rth@redhat.com>
33744 * math/atest-exp2.c (LIMB64): New macro.
33745 (CONSTSZ): New macro.
33746 (mp_exp1, mp_exp_m1, mp_log2): New variables.
33748 (print_mpn_fp): ... to function scope.
33749 (read_mpn_hex): Remove.
33750 (get_log2): Remove.
33751 (exp2_mpn): Use mp_log2.
33752 (main): Use mp_exp1.
33754 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33756 * math/libm-test.inc: Remove comment about not testing "inexact"
33758 (INEXACT_EXCEPTION): New macro.
33759 (NO_INEXACT_EXCEPTION): Likewise.
33760 (INVALID_EXCEPTION_OK): Update value.
33761 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33762 (OVERFLOW_EXCEPTION_OK): Likewise.
33763 (UNDERFLOW_EXCEPTION_OK): Likewise.
33764 (IGNORE_ZERO_INF_SIGN): Likewise.
33765 (ERRNO_UNCHANGED): Likewise.
33766 (ERRNO_EDOM): Likewise.
33767 (ERRNO_ERANGE): Likewise.
33768 (test_exceptions): Handle testing "inexact" exceptions.
33769 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33770 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33771 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33772 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33774 (rint_towardzero_test_data): Likewise.
33775 (rint_downward_test_data): Likewise.
33776 (rint_upward_test_data): Likewise.
33778 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33779 with OVERFLOW_EXCEPTION.
33780 (exp10_test_data): Likewise.
33781 (exp2_test_data): Likewise.
33782 (expm1_test_data): Likewise.
33783 (lgamma_test_data): Likewise.
33784 (pow_test_data): Likewise.
33785 (tgamma_test_data): Likewise.
33786 (yn_test_data): Remove duplicate test of overflow.
33788 * math/libm-test.inc (struct test_cc_c_data): New type.
33789 (RUN_TEST_LOOP_cc_c): New macro.
33790 (cpow_test_data): New variable.
33791 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33793 * math/libm-test.inc (struct test_f_L_data): New type.
33794 (RUN_TEST_LOOP_f_L): New macro.
33795 (llrint_test_data): New variable.
33796 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33797 (llrint_tonearest_test_data): New variable.
33798 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33799 (llrint_towardzero_test_data): New variable.
33800 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33801 (llrint_downward_test_data): New variable.
33802 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33803 (llrint_upward_test_data): New variable.
33804 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33805 (llround_test_data): New variable.
33806 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33808 2013-05-13 Peter Collingbourne <pcc@google.com>
33810 * math/atest-exp2.c (get_log2): Remove const attribute.
33812 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33814 * math/libm-test.inc (struct test_f_l_data): New type.
33815 (RUN_TEST_LOOP_f_l): New macro.
33816 (lrint_test_data): New variable.
33817 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33818 (lrint_tonearest_test_data): New variable.
33819 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33820 (lrint_towardzero_test_data): New variable.
33821 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33822 (lrint_downward_test_data): New variable.
33823 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33824 (lrint_upward_test_data): New variable.
33825 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33826 (lround_test_data): New variable.
33827 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33829 2013-05-15 Peter Collingbourne <pcc@google.com>
33831 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33832 (EXTRACT_WORDS64) Use where appropriate.
33833 (INSERT_WORDS64) Likewise.
33835 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33836 constraints with x constraints.
33837 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33839 * malloc/obstack.c (_obstack_compat): Add initializer.
33841 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
33843 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33844 si_trapno and add si_addr_lsb to _sifields.sigfault.
33845 (si_trapno): Remove macro.
33846 (si_addr_lsb): Define new macro.
33847 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33849 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33851 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33852 instead of TEST_f_l.
33853 (llrint_test_tonearest): Likewise.
33854 (llrint_test_towardzero): Likewise.
33855 (llrint_test_downward): Likewise.
33856 (llrint_test_upward): Likewise.
33857 (llround_test): Likewise.
33859 * math/libm-test.inc (struct test_f_i_data): Add comment.
33860 (RUN_TEST_LOOP_f_b): New macro.
33861 (RUN_TEST_LOOP_f_b_tg): Likewise.
33862 (finite_test_data): New variable.
33863 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33864 (isfinite_test_data): New variable.
33865 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33866 (isinf_test_data): New variable.
33867 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33868 (isnan_test_data): New variable.
33869 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33870 (isnormal_test_data): New variable.
33871 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33872 (issignaling_test_data): New variable.
33873 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33874 (signbit_test_data): New variable.
33875 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33877 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33878 with INVALID_EXCEPTION.
33879 (acosh_test_data): Likewise.
33880 (asin_test_data): Likewise.
33881 (atanh_test_data): Likewise.
33882 (fmod_test_data): Likewise.
33883 (log_test_data): Likewise.
33884 (log10_test_data): Likewise.
33885 (log2_test_data): Likewise.
33886 (pow_test_data): Likewise.
33887 (sqrt_test_data): Likewise.
33888 (y0_test_data): Likewise.
33889 (y1_test_data): Likewise.
33890 (yn_test_data): Likewise.
33892 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33895 * math/libm-test.inc (struct test_ff_i_data): New type.
33896 (RUN_TEST_LOOP_ff_i_tg): New macro.
33897 (isgreater_test_data): New variable.
33898 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33899 (isgreaterequal_test_data): New variable.
33900 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33901 (isless_test_data): New variable.
33902 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33903 (islessequal_test_data): New variable.
33904 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33905 (islessgreater_test_data): New variable.
33906 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33907 (isunordered_test_data): New variable.
33908 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33910 2013-05-14 David S. Miller <davem@davemloft.net>
33912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33914 2013-05-14 Joseph Myers <joseph@codesourcery.com>
33916 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33918 * math/libm-test.inc (struct test_fF_f1_data): Change type of
33920 (struct test_f_i_data): Change type of max_ulp to int.
33922 * math/libm-test.inc (test_ffI_f1_data): New type.
33923 (RUN_TEST_LOOP_ffI_f1): New macro.
33924 (remquo_test_data): New variable.
33925 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33927 * setjmp/tst-setjmp-fp.c: New file.
33928 * setjmp/Makefile (tests): Add tst-setjmp-fp.
33929 (link-libm): New variable.
33930 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33932 * math/libm-test.inc (struct test_f_i_data): New type.
33933 (RUN_TEST_LOOP_f_i): New macro.
33934 (RUN_TEST_LOOP_f_i_tg): Likewise.
33935 (fpclassify_test_data): New variable.
33936 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33937 (ilogb_test_data): New variable.
33938 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33940 * math/libm-test.inc (scalbln_test): Correct function name in END
33943 * math/libm-test.inc (struct test_f_f1_data): Add comment.
33944 (RUN_TEST_LOOP_fI_f1): New macro.
33945 (frexp_test_data): New variable.
33946 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33948 * math/libm-test.inc (struct test_fF_f1_data): New type.
33949 (RUN_TEST_LOOP_fF_f1): New macro.
33950 (modf_test_data): New variable.
33951 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33953 * math/libm-test.inc (struct test_f_f1_data): New type.
33954 (RUN_TEST_LOOP_f_f1): New macro.
33955 (gamma_test_data): New variable.
33956 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33957 (lgamma_test_data): New variable.
33958 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33960 2013-05-13 Carlos O'Donell <carlos@redhat.com>
33962 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33963 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33964 (main): Comment "tls" pseudo-hwcap.
33966 2013-05-13 Joseph Myers <joseph@codesourcery.com>
33968 * math/libm-test.inc (struct test_fl_f_data): New type.
33969 (RUN_TEST_LOOP_fl_f): New variable.
33970 (scalbln_test_data): New variable.
33971 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33973 * math/libm-test.inc (struct test_fi_f_data): New type.
33974 (RUN_TEST_LOOP_fi_f): New macro.
33975 (ldexp_test_data): New variable.
33976 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33977 (scalbn_test_data): New variable.
33978 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33980 * math/libm-test.inc (struct test_c_f_data): New type.
33981 (RUN_TEST_LOOP_c_f): New macro.
33982 (cabs_test_data): New variable.
33983 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33984 (carg_test_data): New variable.
33985 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33986 (cimag_test_data): New variable.
33987 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33988 (creal_test_data): New variable.
33989 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33991 * math/libm-test.inc (struct test_if_f_data): New type.
33992 (RUN_TEST_LOOP_if_f): New macro.
33993 (jn_test_data): New variable.
33994 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33995 (yn_test_data): New variable.
33996 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33998 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34000 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34002 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34003 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34005 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34007 * benchtests/Makefile (CPPFLAGS-nonlib): Add
34008 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34009 (bench-deps): Add bench-timing.h.
34010 * benchtests-bench-skeleton.c: Include bench-timing.h.
34011 (main): Use TIMING_* macros instead of clock_gettime.
34012 * benchtests/bench-timing.h: New file.
34015 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34016 Renamed from _LIB_VERSION.
34017 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34019 2013-05-12 Joseph Myers <joseph@codesourcery.com>
34021 * math/libm-test.inc (struct test_fff_f_data): New type.
34022 (RUN_TEST_LOOP_fff_f): New macro.
34023 (fma_test_data): New variable.
34024 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34025 (fma_towardzero_test_data): New variable.
34026 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34027 (fma_downward_test_data): New variable.
34028 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34029 (fma_upward_test_data): New variable.
34030 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34032 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34033 (struct test_c_c_data): New type.
34034 (RUN_TEST_LOOP_c_c): New macro.
34035 (cacos_test_data): New variable.
34036 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34037 (cacosh_test_data): New variable.
34038 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34039 (casin_test_data): New variable.
34040 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34041 (casinh_test_data): New variable.
34042 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34043 (catan_test_data): New variable.
34044 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34045 (catanh_test_data): New variable.
34046 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34047 (ccos_test_data): New variable.
34048 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34049 (ccosh_test_data): New variable.
34050 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34051 (cexp_test_data): New variable.
34052 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34053 (clog_test_data): New variable.
34054 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34055 (clog10_test_data): New variable.
34056 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34057 (conj_test_data): New variable.
34058 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34059 (cproj_test_data): New variable.
34060 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34061 (csin_test_data): New variable.
34062 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34063 (csinh_test_data): New variable.
34064 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34065 (csqrt_test_data): New variable.
34066 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34067 (ctan_test_data): New variable.
34068 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34069 (ctan_tonearest_test_data): New variable.
34070 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34071 (ctan_towardzero_test_data): New variable.
34072 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34073 (ctan_downward_test_data): New variable.
34074 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34075 (ctan_upward_test_data): New variable.
34076 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34077 (ctanh_test_data): New variable.
34078 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34079 (ctanh_tonearest_test_data): New variable.
34080 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34081 (ctanh_towardzero_test_data): New variable.
34082 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34083 (ctanh_downward_test_data): New variable.
34084 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34085 (ctanh_upward_test_data): New variable.
34086 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34087 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34090 * math/libm-test.inc (struct test_ff_f_data): New type.
34091 (struct test_ff_f_data_nexttoward): Likewise.
34092 (RUN_TEST_LOOP_2_f): New macro.
34093 (RUN_TEST_LOOP_ff_f): Likewise.
34094 (atan2_test_data): New variable.
34095 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34096 (copysign_test_data): New variable.
34097 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34098 (fdim_test_data): New variable.
34099 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34100 (fmax_test_data): New variable.
34101 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34102 (fmin_test_data): New variable.
34103 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34104 (fmod_test_data): New variable.
34105 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34106 (hypot_test_data): New variable.
34107 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34108 (nextafter_test_data): New variable.
34109 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34110 (nexttoward_test_data): New variable.
34111 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34112 (pow_test_data): New variable.
34113 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34114 (pow_tonearest_test_data): New variable.
34115 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34116 (pow_towardzero_test_data): New variable.
34117 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34118 (pow_downward_test_data): New variable.
34119 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34120 (pow_upward_test_data): New variable.
34121 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34122 (remainder_test_data): New variable.
34123 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34124 (scalb_test_data): New variable.
34125 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34126 * sysdeps/i386/fpu/libm-test-ulps: Update.
34128 2013-05-11 Joseph Myers <joseph@codesourcery.com>
34130 * math/libm-test.inc (fma_test): Use max_value instead of local
34132 (nextafter_test): Likewise.
34134 * math/libm-test.inc (acos_towardzero_test_data): New variable.
34135 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34136 (acos_downward_test_data): New variable.
34137 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34138 (acos_upward_test_data): New variable.
34139 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34140 (acosh_test_data): New variable.
34141 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34142 (asin_test_data): New variable.
34143 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34144 (asin_tonearest_test_data): New variable.
34145 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34146 (asin_towardzero_test_data): New variable.
34147 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34148 (asin_downward_test_data): New variable.
34149 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34150 (asin_upward_test_data): New variable.
34151 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34152 (asinh_test_data): New variable.
34153 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34154 (atan_test_data): New variable.
34155 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34156 (atanh_test_data): New variable.
34157 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34158 (cbrt_test_data): New variable.
34159 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34160 (ceil_test_data): New variable.
34161 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34162 (cos_test_data): New variable.
34163 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34164 (cos_tonearest_test_data): New variable.
34165 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34166 (cos_towardzero_test_data): New variable.
34167 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34168 (cos_downward_test_data): New variable.
34169 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34170 (cos_upward_test_data): New variable.
34171 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34172 (cosh_test_data): New variable.
34173 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34174 (cosh_tonearest_test_data): New variable.
34175 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34176 (cosh_towardzero_test_data): New variable.
34177 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34178 (cosh_downward_test_data): New variable.
34179 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34180 (cosh_upward_test_data): New variable.
34181 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34182 (erf_test_data): New variable.
34183 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34184 (erfc_test_data): New variable.
34185 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34186 (exp_test_data): New variable.
34187 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34188 (exp_tonearest_test_data): New variable.
34189 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34190 (exp_towardzero_test_data): New variable.
34191 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34192 (exp_downward_test_data): New variable.
34193 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34194 (exp_upward_test_data): New variable.
34195 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34196 (exp10_test_data): New variable.
34197 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34198 (exp2_test_data): New variable.
34199 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34200 (expm1_test_data): New variable.
34201 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34202 (fabs_test_data): New variable.
34203 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34204 (floor_test_data): New variable.
34205 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34206 (j0_test_data): New variable.
34207 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34208 (j1_test_data): New variable.
34209 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34210 (log_test_data): New variable.
34211 (log_test): Run tests with RUN_TEST_LOOP_f_f.
34212 (log10_test_data): New variable.
34213 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34214 (log1p_test_data): New variable.
34215 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34216 (log2_test_data): New variable.
34217 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34218 (logb_test_data): New variable.
34219 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34220 (logb_downward_test_data): New variable.
34221 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34222 (nearbyint_test_data): New variable.
34223 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34224 (rint_test_data): New variable.
34225 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34226 (rint_tonearest_test_data): New variable.
34227 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34228 (rint_towardzero_test_data): New variable.
34229 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34230 (rint_downward_test_data): New variable.
34231 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34232 (rint_upward_test_data): New variable.
34233 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34234 (round_test_data): New variable.
34235 (round_test): Run tests with RUN_TEST_LOOP_f_f.
34236 (sin_test_data): New variable.
34237 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34238 (sin_tonearest_test_data): New variable.
34239 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34240 (sin_towardzero_test_data): New variable.
34241 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34242 (sin_downward_test_data): New variable.
34243 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34244 (sin_upward_test_data): New variable.
34245 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34246 (sinh_test_data): New variable.
34247 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34248 (sinh_tonearest_test_data): New variable.
34249 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34250 (sinh_towardzero_test_data): New variable.
34251 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34252 (sinh_downward_test_data): New variable.
34253 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34254 (sinh_upward_test_data): New variable.
34255 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34256 (sqrt_test_data): New variable.
34257 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34258 (tan_test_data): New variable.
34259 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34260 (tan_tonearest_test_data): New variable.
34261 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34262 (tan_towardzero_test_data): New variable.
34263 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34264 (tan_downward_test_data): New variable.
34265 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34266 (tan_upward_test_data): New variable.
34267 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34268 (tanh_test_data): New variable.
34269 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34270 (tgamma_test_data): New variable.
34271 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34272 (trunc_test_data): New variable.
34273 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34274 (y0_test_data): New variable.
34275 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34276 (y1_test_data): New variable.
34277 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34278 (significand_test_data): New variable.
34279 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34281 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
34284 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34286 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
34288 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34290 2013-05-10 Andreas Jaeger <aj@suse.de>
34293 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34294 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34296 2013-05-10 Joseph Myers <joseph@codesourcery.com>
34298 * math/gen-libm-test.pl (adjust_arg): New function.
34299 (special_functions): Handle generating output in both functions
34301 (parse_args): Likewise.
34302 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
34303 $in_func argument to parse_args.
34304 * math/libm-test.inc (struct test_f_f_data): New type.
34305 (IF_ROUND_INIT_): New macro.
34306 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34307 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34308 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34309 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34310 (ROUND_RESTORE_): Likewise.
34311 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34312 (ROUND_RESTORE_FE_TONEAREST): Likewise.
34313 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34314 (ROUND_RESTORE_FE_UPWARD): Likewise.
34315 (RUN_TEST_LOOP_f_f): New macro.
34316 (acos_test_data): New variable.
34317 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34318 (acos_tonearest_test_data): New variable.
34319 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34321 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34323 * benchtests/bench-skeleton.c (startup): Fix coding style.
34325 2013-05-10 Joseph Myers <joseph@codesourcery.com>
34328 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34329 negative infinity argument.
34330 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34331 negative infinity argument.
34332 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34333 negative infinity argument.
34334 * math/libm-test.inc (tgamma_test): Expect errno to be set for
34337 2013-05-10 Florian Weimer <fweimer@redhat.com>
34339 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34340 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34341 * iconv/iconv_prog.c (main): Likewise.
34342 * locale/programs/charmap-dir.c (charmap_readdir)
34343 (fopen_uncompressed): Likewise.
34344 * locale/programs/locfile.c (siblings_uncached)
34345 (write_locale_data): Use lstat64 instead of lstat.
34346 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34349 2013-05-10 Andreas Jaeger <aj@suse.de>
34352 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34354 Include <locale.h>.
34356 2013-05-09 Carlos O'Donell <carlos@redhat.com>
34358 * elf/dl-close.c (_dl_close_worker): Add comments.
34360 2013-05-09 Joseph Myers <joseph@codesourcery.com>
34363 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34365 (__ieee754_rem_pio2l): Update comments.
34368 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34370 (__ieee754_rem_pio2l): Update comments.
34372 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34373 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34375 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34378 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34379 (M_PI_34_LOG10El): Likewise.
34380 (M_PI2_LOG10El): Likewise.
34381 (M_PI4_LOG10El): Likewise.
34382 (M_PI_LOG10El): Likewise.
34384 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34388 2013-05-08 Joseph Myers <joseph@codesourcery.com>
34390 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34391 (MINUS_ZERO_INIT): Likewise.
34392 (PLUS_INFTY_INIT): Likewise.
34393 (MINUS_INFTY_INIT): Likewise.
34394 (QNAN_VALUE_INIT): Likewise.
34395 (MAX_VALUE_INIT): Likewise.
34396 (MIN_VALUE_INIT): Likewise.
34397 (MIN_SUBNORM_VALUE_INIT): Likewise.
34398 (plus_zero): Initialize with PLUS_ZERO_INIT.
34399 (minus_zero): Initialize with MINUS_ZERO_INIT.
34400 (plus_infty): Initialize with PLUS_INFTY_INIT.
34401 (minus_infty): Initialize with MINUS_INFTY_INIT.
34402 (qnan_value): Initialize with QNAN_VALUE_INIT.
34403 (max_value): Initialize with MAX_VALUE_INIT.
34404 (min_value): Initialize with MIN_VALUE_INIT.
34405 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34407 * math/libm-test.inc (RUN_TEST_if_f): New macro.
34408 (jn_test): Use TEST_if_f instead of TEST_ff_f.
34409 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34410 (yn_test): Use TEST_if_f instead of TEST_ff_f.
34412 * math/libm-test.inc (RUN_TEST_f_f): New macro.
34413 (RUN_TEST_2_f): Likewise.
34414 (RUN_TEST_ff_f): Likewise.
34415 (RUN_TEST_fi_f): Likewise.
34416 (RUN_TEST_fl_f): Likewise.
34417 (RUN_TEST_fff_f): Likewise.
34418 (RUN_TEST_c_f): Likewise.
34419 (RUN_TEST_f_f1): Likewise.
34420 (RUN_TEST_fF_f1): Likewise.
34421 (RUN_TEST_fI_f1): Likewise.
34422 (RUN_TEST_ffI_f1): Likewise.
34423 (RUN_TEST_c_c): Likewise.
34424 (RUN_TEST_cc_c): Likewise.
34425 (RUN_TEST_f_i): Likewise.
34426 (RUN_TEST_f_i_tg): Likewise.
34427 (RUN_TEST_ff_i_tg): Likewise.
34428 (RUN_TEST_f_b): Likewise.
34429 (RUN_TEST_f_b_tg): Likewise.
34430 (RUN_TEST_f_l): Likewise.
34431 (RUN_TEST_f_L): Likewise.
34432 (RUN_TEST_sincos): Likewise.
34433 * math/gen-libm-test.pl (new_test): Take new argument to indicate
34434 whether to show exceptions. Do not include ");\n" in return
34436 (special_functions): Output call to RUN_TEST_sincos instead of
34437 check_float calls. Update calls to new_test.
34438 (parse_args): Output call to single RUN_TEST_* macro instead of
34439 check_* calls and other assignments. Update calls to new_test.
34445 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34446 input to result for tgamma overflow.
34447 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34448 (gamma_coeff): New variable.
34449 (NCOEFF): New macro.
34450 (gamma_positive): New function.
34451 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34452 underflow here. Use gamma_positive instead of exp (lgamma) for
34454 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34455 (gamma_coeff): New variable.
34456 (NCOEFF): New macro.
34457 (gammaf_positive): New function.
34458 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34459 underflow here. Use gamma_positive instead of exp (lgamma) for
34461 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34462 (gamma_coeff): New variable.
34463 (NCOEFF): New macro.
34464 (gammal_positive): New function.
34465 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34466 underflow here. Use gamma_positive instead of exp (lgamma) for
34468 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34469 (gamma_coeff): New variable.
34470 (NCOEFF): New macro.
34471 (gammal_positive): New function.
34472 (__ieee754_gammal_r): Handle positive infinity, overflow and
34473 underflow here. Handle NaN the same as positive infinity. Remove
34474 check x < 0xffffffff for negative integers. Use gamma_positive
34475 instead of exp (lgamma) for other arguments.
34476 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34477 (gamma_coeff): New variable.
34478 (NCOEFF): New macro.
34479 (gammal_positive): New function.
34480 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34481 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34482 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34483 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34485 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34486 * sysdeps/generic/math_private.h (__gamma_productf): New
34488 (__gamma_product): Likewise.
34489 (__gamma_productl): Likewise.
34490 * math/Makefile (libm-calls): Add gamma_product.
34491 * math/libm-test.inc (tgamma_test): Add more tests.
34492 * sysdeps/i386/fpu/libm-test-ulps: Update.
34493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34495 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
34497 * benchtests/bench-skeleton.c (main): Preheat CPU.
34499 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
34501 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34503 2013-05-07 Roland McGrath <roland@hack.frob.com>
34505 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34506 and _dl_skip_args_internal.
34508 2013-05-07 Carlos O'Donell <carlos@redhat.com>
34510 * manual/message.texi (Message Translation): Talk about users.
34511 Message to key mapping impacts design.
34513 2013-05-06 Roland McGrath <roland@hack.frob.com>
34515 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34517 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34519 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34520 * sysdeps/wordsize-64/glob64.c: ... here.
34522 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34523 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34526 * debug/getlogin_r_chk.c: Moved to ...
34527 * login/getlogin_r_chk.c: ... here.
34528 * debug/Makefile (routines): Move getlogin_r_chk to ...
34529 * login/Makefile (routines): ... here.
34530 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34531 * login/Versions (libc: GLIBC_2.4): ... here.
34533 * io/poll.c (__poll): Renamed from poll.
34534 Add libc_hidden_def.
34535 (poll): Define as weak alias.
34537 * debug/ptsname_r_chk.c: Moved to ...
34538 * login/ptsname_r_chk.c: ... here.
34539 * debug/Makefile (routines): Move ptsname_r_chk to ...
34540 * login/Makefile (routines): ... here.
34541 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34542 * login/Versions (libc: GLIBC_2.4): ... here.
34544 * posix/getlogin.c: Moved to ...
34545 * login/getlogin.c: ... here.
34546 * posix/getlogin_r.c: Moved to ...
34547 * login/getlogin_r.c: ... here.
34548 * posix/getlogin_r.c: Moved to ...
34549 * login/getlogin_r.c: ... here.
34550 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34551 * login/Makefile (routines): ... here.
34552 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34553 * login/Versions (libc: GLIBC_2.0): ... here.
34555 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34556 (setrlimit): Define as weak alias.
34558 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34559 Call __ names for open, ftruncate, and close.
34560 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34561 (truncate): Define as weak alias.
34563 2013-05-06 Joseph Myers <joseph@codesourcery.com>
34565 * math/gen-libm-test.pl (parse_args): Initialize x before each
34566 test of frexp, modf and remquo.
34568 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34569 test signgam value.
34571 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34575 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34577 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34579 2013-05-06 Roland McGrath <roland@hack.frob.com>
34581 * elf/dl-writev.h: New file.
34582 * elf/dl-misc.c: Include it.
34583 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34584 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34586 2013-05-04 Joseph Myers <joseph@codesourcery.com>
34588 * math/libm-test.inc (noXFails): Remove variable.
34589 (noXPasses): Likewise.
34590 (BUILD_COMPLEX_INT): Remove macro.
34591 (print_screen): Remove xfail argument.
34592 (print_screen_max_error): Likewise.
34593 (update_stats): Likewise.
34594 (print_max_error): Likewise. Update calls to other affected
34596 (print_complex_max_error): Likewise.
34597 (test_single_exception): Update calls to print_screen.
34598 (test_single_errno): Likewise.
34599 (check_float_internal): Remove xfail argument. Update calls to
34600 other affected functions.
34601 (check_float): Likewise.
34602 (check_complex): Likewise.
34603 (check_int): Likewise.
34604 (check_long): Likewise.
34605 (check_bool): Likewise.
34606 (check_longlong): Likewise.
34607 (main): Don't print noXFails and noXPasses.
34608 * math/gen-libm-test.pl (top level): Don't mention expected
34609 failure handling in comment.
34610 (new_test): Don't handle expected failures.
34611 (parse_args): Don't mention expected failure handling in comment.
34612 (generate_testfile): Don't handle expected failures.
34613 (parse_ulps): Likewise.
34614 (print_ulps_file): Likewise.
34615 (get_failure): Remove function.
34616 (output_test): Don't handle expected failures.
34617 * make/README.libm-test: Don't mention expected failure handling.
34619 * math/libm-test.inc (plus_zero): Make const. Add initializer.
34620 (minus_zero): Likewise.
34621 (plus_infty): Likewise.
34622 (minus_infty): Likewise.
34623 (qnan_value): Likewise.
34624 (max_value): Likewise.
34625 (min_value): Likewise.
34626 (min_subnorm_value): Likewise.
34627 (initialize): Do not initialize those variables dynamically.
34629 2013-05-03 Roland McGrath <roland@hack.frob.com>
34631 * io/open.c (__open_2): Moved to ...
34632 * io/open_2.c: ... this new file.
34633 * io/open64.c (__open64_2): Moved to ...
34634 * io/open64_2.c: ... this new file.
34635 * io/openat.c (__openat_2): Moved to ...
34636 * io/openat_2.c: ... this new file.
34637 * io/openat64.c (__openat64_2): Moved to ...
34638 * io/openat64_2.c: ... this new file.
34639 * io/Makefile (routines): Add them.
34640 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34641 * sysdeps/unix/sysv/linux/open_2.c: File removed.
34642 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34643 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34644 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34645 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34646 (__openat64): Add hidden_ver.
34647 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34648 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34650 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34651 Separately conditionalize setting of GLRO(dl_sysinfo) so
34652 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34653 as well, but the actual setting is only under [NEED_DL_SYSINFO].
34655 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34657 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34658 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34660 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34661 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34662 (_libc_vdso_platform_setup): Add __vdso_time initialization.
34663 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34664 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34666 2013-05-03 Joseph Myers <joseph@codesourcery.com>
34668 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34669 test signgam value.
34671 * math/libm-test.inc (hypot_test): Do not use
34672 IGNORE_ZERO_INF_SIGN.
34674 2013-05-03 Andreas Jaeger <aj@suse.de>
34676 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34678 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34679 (PF_MAX): Adjust for VSOCK change.
34681 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34685 2013-05-02 Carlos O'Donell <carlos@redhat.com>
34688 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34689 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34690 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34692 2013-05-02 David S. Miller <davem@davemloft.net>
34694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34696 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
34698 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34700 2013-05-01 Roland McGrath <roland@hack.frob.com>
34702 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34704 2013-05-01 Richard Smith <richard@metafoo.co.uk>
34707 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34708 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34709 Use __attribute__ ((__gnu_inline__)).
34710 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34711 Don't use __attribute__ ((__gnu_inline__)).
34713 2013-05-01 Joseph Myers <joseph@codesourcery.com>
34716 * math/s_catan.c (__catan): Handle small real or imaginary part of
34717 input specially to avoid spurious underflow.
34718 * math/s_catanf.c (__catanf): Likewise.
34719 * math/s_catanh.c (__catanh): Likewise.
34720 * math/s_catanhf.c (__catanhf): Likewise.
34721 * math/s_catanhl.c (__catanhl): Likewise.
34722 * math/s_catanl.c (__catanl): Likewise.
34723 * math/libm-test.inc (catan_test): Add more tests.
34724 (catanh_test): Likewise.
34725 * sysdeps/i386/fpu/libm-test-ulps: Update.
34726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34728 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34732 2013-04-30 Joseph Myers <joseph@codesourcery.com>
34735 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34736 accurately for denominator in atan2.
34737 * math/s_catanf.c (__catanf): Likewise.
34738 * math/s_catanh.c (__catanh): Likewise.
34739 * math/s_catanhf.c (__catanhf): Likewise.
34740 * math/s_catanhl.c (__catanhl): Likewise.
34741 * math/s_catanl.c (__catanl): Likewise.
34742 * math/libm-test.inc (catan_test): Add more tests.
34743 (catanh_test): Likewise.
34744 * sysdeps/i386/fpu/libm-test-ulps: Update.
34745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34747 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34749 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34751 * benchtests/Makefile (bench): Remove slow benchmarks.
34752 * benchtests/atan-inputs: Add slow benchmark inputs.
34753 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34754 (BENCH_FUNC): Accept variant offset.
34756 * benchtests/bench-skeleton.c (main): Run benchmark for each
34758 * benchtests/cos-inputs: Add slow benchmark inputs.
34759 * benchtests/exp-inputs: Likewise.
34760 * benchtests/pow-inputs: Likewise.
34761 * benchtests/sin-inputs: Likewise.
34762 * benchtests/slowatan-inputs: Remove.
34763 * benchtests/slowatan.c: Remove.
34764 * benchtests/slowcos-inputs: Remove.
34765 * benchtests/slowcos.c: Remove.
34766 * benchtests/slowexp-inputs: Remove.
34767 * benchtests/slowexp.c: Remove.
34768 * benchtests/slowpow-inputs: Remove.
34769 * benchtests/slowpow.c: Remove.
34770 * benchtests/slowsin-inputs: Remove.
34771 * benchtests/slowsin.c: Remove.
34772 * benchtests/slowtan-inputs: Remove.
34773 * benchtests/slowtan.c: Remove.
34774 * benchtests/tan-inputs: Add slow benchmark inputs.
34775 * scripts/bench.pl: Parse comments and directives.
34777 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
34779 ($(objpfx)bench-%.c): Remove *-ITER.
34780 * benchtests/bench-modf.c: Remove definition of ITER.
34781 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34782 (main): Loop for DURATION seconds instead of fixed number of
34784 * scripts/bench.pl: Don't expect iterations in parameters.
34786 2013-04-29 Roland McGrath <roland@hack.frob.com>
34788 * io/fchdir.c (__fchdir): Renamed from fchdir.
34789 (fchdir): Define as weak alias.
34791 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34793 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34794 (ERRNO_EDOM): Likewise.
34795 (ERRNO_ERANGE): Likewise.
34796 (noErrnoTests): New variable.
34797 (init_max_error): Set errno to 0.
34798 (test_single_errno): New function.
34799 (test_errno): Likewise.
34800 (check_float_internal): Call test_errno. Set errno to 0.
34801 (check_complex): Refer to errno tests in comment.
34802 (check_int): Call test_errno. Set errno to 0.
34803 (check_long): Likewise.
34804 (check_bool): Likewise.
34805 (check_longlong): Likewise.
34806 (cos_test): Use ERRNO_* flags for errno tests instead of
34808 (expm1_test): Likewise.
34809 (fmod_test): Likewise.
34810 (ilogb_test): Likewise.
34811 (lgamma_test): Likewise.
34812 (pow_test): Likewise.
34813 (remainder_test): Likewise.
34814 (sin_test): Likewise.
34815 (tan_test): Likewise.
34816 (yn_test): Likewise.
34817 (initialize): Set errno to 0.
34818 (main): Print number of errno tests.
34819 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34821 2013-04-29 Andreas Jaeger <aj@suse.de>
34824 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34828 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34829 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34833 * stdlib/random.c (__initstate): Return NULL if
34837 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34838 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34841 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34845 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34847 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34848 of individual tests.
34849 (casin_test): Likewise.
34850 (casinh_test): Likewise.
34852 2013-04-27 Joseph Myers <joseph@codesourcery.com>
34855 * math/s_catan.c (__catan): Handle arguments with large real or
34856 imaginary part separately without squaring.
34857 * math/s_catanf.c (__catanf): Likewise.
34858 * math/s_catanh.c (__catanh): Likewise.
34859 * math/s_catanhf.c (__catanhf): Likewise.
34860 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34862 (__catanhl): Handle arguments with large real or imaginary part
34863 separately without squaring.
34864 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34866 (__catanl): Handle arguments with large real or imaginary part
34867 separately without squaring.
34868 * math/libm-test.inc (catan_test): Add more tests.
34869 (catanh_test): Likewise.
34870 * sysdeps/i386/fpu/libm-test-ulps: Update.
34871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34873 2013-04-27 Andreas Jaeger <aj@suse.de>
34876 * stdlib/stdlib.h: Update guards for qecvt.
34877 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34880 2013-04-27 Allan McRae <allan@archlinux.org>
34882 * sysdeps/i386/fpu/libm-test-ulps: Update.
34884 2013-04-26 Joseph Myers <joseph@codesourcery.com>
34887 * math/s_catan.c: Include <float.h>.
34888 (__catan): Ensure underflow exception occurs for underflowed
34890 * math/s_catanf.c: Include <float.h>.
34891 (__catanf): Ensure underflow exception occurs for underflowed
34893 * math/s_catanh.c: Include <float.h>.
34894 (__catanh): Ensure underflow exception occurs for underflowed
34896 * math/s_catanhf.c: Include <float.h>.
34897 (__catanhf): Ensure underflow exception occurs for underflowed
34899 * math/s_catanhl.c: Include <float.h>.
34900 (__catanhl): Ensure underflow exception occurs for underflowed
34902 * math/s_catanl.c: Include <float.h>.
34903 (__catanl): Ensure underflow exception occurs for underflowed
34905 * math/libm-test.inc (catan_test): Add more tests.
34906 (catanh_test): Likewise.
34909 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34910 underflowed result.
34911 * math/s_ccoshf.c (__ccoshf): Likewise.
34912 * math/s_ccoshl.c (__ccoshl): Likewise.
34913 * math/s_csin.c (__csin): Likewise.
34914 * math/s_csinf.c (__csinf): Likewise.
34915 * math/s_csinh.c (__csinh): Likewise.
34916 * math/s_csinhf.c (__csinhf): Likewise.
34917 * math/s_csinhl.c (__csinhl): Likewise.
34918 * math/s_csinl.c (__csinl): Likewise.
34919 * math/libm-test.inc (ccos_test): Add more tests.
34920 (ccosh_test): Likewise.
34921 (csin_test): Likewise.
34922 (csinh_test): Likewise.
34924 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34926 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34927 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34928 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34929 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34930 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34931 powerpc/power5+/fpu folders.
34932 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34935 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34939 2013-04-25 Joseph Myers <joseph@codesourcery.com>
34941 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34942 additions to variable.
34943 [$(config-machine) = x86_64] (modules-names): Likewise.
34944 ($(objpfx)tst-audit3): Remove dependency.
34945 ($(objpfx)tst-audit3.out): Likewise.
34946 ($(objpfx)tst-audit4): Likewise.
34947 ($(objpfx)tst-audit4.out): Likewise.
34948 ($(objpfx)tst-audit5): Likewise.
34949 ($(objpfx)tst-audit5.out): Likewise.
34950 ($(objpfx)tst-audit6): Likewise.
34951 ($(objpfx)tst-audit6.out): Likewise.
34952 ($(objpfx)tst-audit7): Likewise.
34953 ($(objpfx)tst-audit7.out): Likewise.
34954 (tst-audit3-ENV): Remove variable.
34955 (tst-audit4-ENV): Likewise.
34956 (tst-audit5-ENV): Likewise.
34957 (tst-audit6-ENV): Likewise.
34958 (tst-audit7-ENV): Likewise.
34959 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34960 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34961 addition to variable.
34962 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34963 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34964 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34965 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34966 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34967 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34968 tst-audit3, tst-audit4 and tst-audit5.
34969 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34970 tst-audit6 and tst-audit7.
34971 [$(subdir) = elf] (modules-names): Add audit modules for those
34973 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34974 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34975 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34976 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34977 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34978 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34979 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34980 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34981 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34982 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34983 [$(subdir) = elf] (tst-audit3-ENV): New variable.
34984 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34985 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34986 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34987 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34988 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34990 [$(subdir) = elf && $(config-cflags-avx) = yes]
34991 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34992 [$(subdir) = elf && $(config-cflags-avx) = yes]
34993 (CFLAGS-tst-auditmod4a.c): Likewise.
34994 [$(subdir) = elf && $(config-cflags-avx) = yes]
34995 (CFLAGS-tst-auditmod4b.c): Likewise.
34996 [$(subdir) = elf && $(config-cflags-avx) = yes]
34997 (CFLAGS-tst-auditmod6b.c): Likewise.
34998 [$(subdir) = elf && $(config-cflags-avx) = yes]
34999 (CFLAGS-tst-auditmod6c.c): Likewise.
35000 [$(subdir) = elf && $(config-cflags-avx) = yes]
35001 (CFLAGS-tst-auditmod7b.c): Likewise.
35002 * elf/tst-audit3.c: Move to ...
35003 * sysdeps/x86_64/tst-audit3.c: ... here.
35004 * elf/tst-audit4.c: Move to ...
35005 * sysdeps/x86_64/tst-audit4.c: ... here.
35006 * elf/tst-audit5.c: Move to ...
35007 * sysdeps/x86_64/tst-audit5.c: ... here.
35008 * elf/tst-audit6.c: Move to ...
35009 * sysdeps/x86_64/tst-audit6.c: ... here.
35010 * elf/tst-audit7.c: Move to ...
35011 * sysdeps/x86_64/tst-audit7.c: ... here.
35012 * elf/tst-auditmod3a.c: Move to ...
35013 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35014 * elf/tst-auditmod3b.c: Move to ...
35015 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35016 * elf/tst-auditmod4a.c: Move to ...
35017 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35018 * elf/tst-auditmod4b.c: Move to ...
35019 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35020 * elf/tst-auditmod5a.c: Move to ...
35021 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35022 * elf/tst-auditmod5b.c: Move to ...
35023 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35024 * elf/tst-auditmod6a.c: Move to ...
35025 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35026 * elf/tst-auditmod6b.c: Move to ...
35027 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35028 * elf/tst-auditmod6c.c: Move to ...
35029 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35030 * elf/tst-auditmod7a.c: Move to ...
35031 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35032 * elf/tst-auditmod7b.c: Move to ...
35033 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35035 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
35038 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35039 define unconditionally.
35040 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35041 define unconditionally.
35042 (INT8_C, INT16_C, etc.): Likewise.
35044 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
35046 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35047 __ehdr_start with hidden visibility.
35049 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35051 2013-04-24 Carlos O'Donell <carlos@redhat.com>
35053 * math/libm-test.inc (cos_test): Use accurate hex constants.
35054 (sincost_test): Likewise.
35056 2013-04-24 Joseph Myers <joseph@codesourcery.com>
35058 * math/libm-test.inc (catan_test): Add more tests.
35059 (catanh_test): Likewise.
35061 * math/s_catanf.c (__catanf): Use suffixed floating-point
35063 * math/s_catanhf.c (__catanhf): Likewise.
35064 * math/s_catanhl.c (__catanhl): Likewise.
35065 * math/s_catanl.c (__catanl): Likewise.
35068 * math/s_catan.c (__catan): Calculate imaginary part of result
35069 with log1p not log unless computing log of number close to 0.
35070 * math/s_catanf.c (__catanf): Likewise.
35071 * math/s_catanl.c (__catanl): Likewise.
35072 * math/s_catanh.c (__catanh): Calculate real part of result with
35073 log1p not log unless computing log of number close to 0.
35074 * math/s_catanhf.c (__catanhf): Likewise.
35075 * math/s_catanhl.c (__catanhl): Likewise.
35076 * math/libm-test.inc (catan_test): Add more tests.
35077 (catanh_test): Likewise.
35078 * sysdeps/i386/fpu/libm-test-ulps: Update.
35079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35081 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35083 * benchtests/Makefile: Mention files in which fast and slow
35084 paths of math functions are implemented.
35086 2013-04-23 Roland McGrath <roland@hack.frob.com>
35088 * sysdeps/posix/timespec_get.c: New file.
35090 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35092 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35094 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35096 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35097 powerpc/power5/fpu folders.
35098 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35099 * benchtests/Makefile: Add modf testcase.
35100 * benchtests/bench-modf.c: New file: Benchmark test for mo
35102 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
35105 * time/Makefile (tests): Add tst-strptime-whitespace.
35106 * time/strptime_l.c (get_number): Use ISSPACE.
35107 (__strptime_internal): Likewise.
35108 * time/tst-strptime-whitespace.c: New test case.
35110 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
35112 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35114 (_nss_files_init): Set it here.
35116 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
35118 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35119 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35122 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
35124 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35126 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35128 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35131 2013-04-21 David S. Miller <davem@davemloft.net>
35133 * po/ru.po: Update Russion translation from translation project.
35135 2013-04-17 Adam Conrad <adconrad@0c3.net>
35137 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35140 2013-04-17 Carlos O'Donell <carlos@redhat.com>
35142 * configure.in: Remove i386 configure warning. Remove i386 case.
35143 * configure: Regenerate.
35144 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35145 Add example to error message.
35146 * sysdeps/i386/configure: Regenerate.
35148 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35150 * benchtests/Makefile (bench): Add cos, tan, slowcos and
35152 * benchtests/cos-inputs: New file.
35153 * benchtests/slowcos-inputs: New file.
35154 * benchtests/slowcos.c: New file.
35155 * benchtests/slowtan-inputs: New file.
35156 * benchtests/slowtan.c: New file.
35157 * benchtests/tan-inputs: New file.
35159 2013-04-16 Roland McGrath <roland@hack.frob.com>
35161 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35164 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35166 * benchtests/Makefile: Include cppflags-iterator.mk to add
35167 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35169 * Makefile.in (bench-clean): New target.
35170 * benchtests/Makefile (bench-clean): Likewise.
35172 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
35174 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35176 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
35178 * stdio-common/tstdiomisc.c: Fix coding-style violation.
35180 2013-04-15 Andreas Schwab <schwab@suse.de>
35182 * nscd/grpcache.c (cache_addgr): Properly check for short write.
35183 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35184 * nscd/pwdcache.c (cache_addpw): Likewise.
35185 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
35188 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35190 * benchtests/Makefile (bench): Write all output to
35191 bench-out.tmp together.
35193 2013-04-15 Andreas Schwab <schwab@suse.de>
35195 * nscd/nscd.c (main): Don't fork again after closing files.
35197 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35199 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35201 * benchtests/Rules (bench-deps): Collect dependencies into a
35202 single variable. Add Makefile to dependencies.
35203 ($(objpfx)bench-%.c): Depend on bench-deps.
35205 2013-04-12 Roland McGrath <roland@hack.frob.com>
35206 Xavier Roche <roche+kml2@exalead.com>
35209 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35210 just that it's a file descriptor.
35211 * manual/llio.texi (Synchronizing AIO Operations): Update description
35212 for EBADF error from aio_fsync.
35214 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35216 * Rules (bench): Move target definition...
35217 * benchtests/Makefile: ... here.
35219 2013-04-11 Carlos O'Donell <carlos@redhat.com>
35221 * math/libm-test.inc (cos_test): Fix PI/2 test.
35222 (sincos_test): Likewise.
35223 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35224 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35226 2013-04-11 Andreas Schwab <schwab@suse.de>
35229 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35230 accept exponent character only when digits were seen.
35231 * stdio-common/Makefile (tests): Add bug26.
35232 * stdio-common/bug26.c: New file.
35235 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35238 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35240 * Makeconfig (rtld-prefix): Define built linker prefix.
35241 * Rules (run-bench): Use it.
35242 * math/Makefile (run-regen-ulps): Likewise.
35244 * Rules (bench): Remove eval.
35246 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35247 Roland McGrath <roland@hack.frob.com>
35248 Ondrej Bilka <neleai@seznam.cz>
35251 * time/getdate.c: Include ctype.h and alloca.h.
35252 (__getdate_r): Trim leading and trailing spaces of input.
35253 * time/tst-getdate.c (tests): Add tests with leading and
35256 2013-04-08 Roland McGrath <roland@hack.frob.com>
35259 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35260 when computing value.
35262 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35264 * math/README.libm-test (How can I generate "libm-test-ulps"?):
35265 Use testrun.sh to run libm tests.
35268 * elf/dl-open.c (dl_open_worker): memset all of seen array.
35270 2013-04-06 Marko Myllynen <myllynen@redhat.com>
35273 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35275 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35277 * Makefile.in (regen-ulps): New target.
35278 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35279 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35280 [ifneq (no,$(PERL)] (regen-ulps): New target.
35281 [ifeq (no,$(PERL)] (regen-ulps): New target.
35282 * math/libm-test.inc (ulps_file_name): Define.
35283 (output_dir): New variable.
35284 (options): Add "output-dir" option.
35285 (parse_opt): Handle 'o' case.
35286 (main): If output_dir is non-NULL use it as a prefix
35288 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35290 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35292 [BZ #10060, #10062]
35293 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35294 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35295 fail configure if __sync_val_compare_and_swap is not inlined.
35296 * sysdeps/i386/configure: Regenerate.
35297 * configure.in: Build for i686 when configured for i386.
35298 * configure: Regenerate.
35299 * README: Remove i386 reference.
35301 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35303 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35304 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35306 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
35308 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35309 (lmsnanval): New variables.
35310 (F): Add conversion tests.
35311 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35312 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35314 * stdio-common/tstdiomisc.c (F): Properly collect individual
35317 [BZ #14686, #15336]
35318 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35319 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35320 Instead, use input NaN values or generate a qNaN by arithmetic
35321 operation. Also fix bugs to comply with the standard.
35322 * math/libm-test.inc (remainder_test): Add more tests.
35324 [BZ #15335, #15342]
35325 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35326 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35327 input NaN values or generate a qNaN by arithmetic operation.
35329 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35332 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35335 2013-04-03 Joseph Myers <joseph@codesourcery.com>
35338 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35339 underflowed result.
35340 * math/s_cexpf.c (__cexpf): Likewise.
35341 * math/s_cexpl.c (__cexpl): Likewise.
35342 * math/libm-test.inc (cexp_test): Add more tests.
35344 2013-04-03 Andreas Schwab <schwab@suse.de>
35347 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35348 order arrays from heap if bigger than alloca cutoff.
35350 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
35352 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35353 (SNAN_TESTS_double): Refer to GCC PR56831.
35354 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35357 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35359 * Rules (bench): Move bench.out after the run is complete.
35361 * Rules (bench): Echo currently running benchmark.
35363 * benchtests/Makefile (bench): Add atan and slowatan.
35364 * benchtests/atan-inputs: New file.
35365 * benchtests/slowatan-inputs: New file.
35366 * benchtests/slowatan.c: New file.
35368 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35369 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35373 * sysdeps/unix/sysv/linux/kernel-features.h
35374 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35375 __ASSUME_XFS_RESTRICTED_CHOWN.
35376 * sysdeps/unix/sysv/linux/pathconf.c
35377 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35378 Save and restore errno.
35380 2013-04-02 Joseph Myers <joseph@codesourcery.com>
35383 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35384 arguments using __kernel_casinh.
35385 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35386 arguments using __kernel_casinhf.
35387 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35388 arguments using __kernel_casinhl.
35389 * math/libm-test.inc (cacosh_test): Add more tests.
35390 * sysdeps/i386/fpu/libm-test-ulps: Update.
35391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35393 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35395 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35396 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35398 * bench/Makefile (bench): Add sin and slowsin.
35399 * benchtests/sin-inputs: New file.
35400 * benchtests/slowsin-inputs: New file.
35401 * benchtests/slowsin.c: New file.
35403 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35404 (bench): Add slowexp and slowpow.
35405 (exp-ITER): Increase iterations.
35406 (pow-ITER): Likewise.
35407 * benchtests/exp-inputs: Change input.
35408 * benchtests/pow-inputs: Likewise.
35409 * benchtests/slowexp-inputs: New file.
35410 * benchtests/slowexp.c: New file.
35411 * benchtests/slowpow-inputs: New file.
35412 * benchtests/slowpow.c: New file.
35414 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35416 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35418 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35419 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35420 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35421 * benchtests/Makefile: Add rint benchtest.
35422 * benchtests/rint-inputs: Input for rint benchtest.
35424 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
35426 * Versions.def (libm): Add GLIBC_2.18.
35427 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35428 hidden libm prototypes.
35429 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35430 * math/Makefile (libm-calls): Add s_issignaling.
35431 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35432 __issignalingf, __issignalingl. Adjust all libm.abilist files.
35433 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35435 * math/math.h [__USE_GNU] (issignaling): New macro.
35436 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35437 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35438 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35439 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35440 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35441 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35442 * manual/arith.texi (issignaling): New section.
35443 * manual/libm-err-tab.pl (@all_functions): Update comment.
35444 * math/gen-libm-test.pl (parse_args): Apply special handling for
35446 * math/libm-test.inc (print_float, issignaling_test): New
35448 (check_float_internal): Add issignaling checks.
35449 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35450 default definition.
35451 * sysdeps/powerpc/math-tests.h: New file.
35452 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35454 * math/test-snan.c (TEST_FUNC): Likewise.
35456 2013-03-30 David S. Miller <davem@davemloft.net>
35458 * po/de.po: Update from translation team.
35460 2013-03-30 Joseph Myers <joseph@codesourcery.com>
35463 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35464 imaginary part less than 1.0 and real part less than 0.5
35466 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35467 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35468 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35469 (cacos_test): Add more tests.
35470 (casin_test): Likewise.
35471 (casinh_test): Likewise.
35472 * sysdeps/i386/fpu/libm-test-ulps: Update.
35473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35475 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35477 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35478 ONE with its value.
35480 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35481 (__pow_mp): Replace ONE and MONE with their values.
35482 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35483 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35484 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35485 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35486 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35487 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35489 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35491 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35492 (__pow_mp): Replace ZERO and MZERO with their values.
35493 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35494 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35495 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35496 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35497 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35498 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35501 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35503 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35505 2013-03-28 Roland McGrath <roland@hack.frob.com>
35507 * include/stdlib.h [!SHARED] (__call_tls_dtors):
35508 Declare with __attribute__ ((weak)).
35509 * stdlib/exit.c (__libc_atexit) [!SHARED]:
35510 Call __call_tls_dtors only if it's not NULL.
35512 2013-03-28 Roland McGrath <roland@hack.frob.com>
35514 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35515 didn't do it already, then set _dl_phdr and _dl_phnum based on the
35516 magic __ehdr_start linker symbol if it's defined.
35517 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35518 them up here if it was already done.
35520 * elf/dl-support.c (_dl_phdr): Make pointer to const.
35521 (_dl_aux_init): Use const in cast when setting it.
35522 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35523 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35524 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35526 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35528 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35529 * csu/libc-tls.c: Nor here.
35530 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35532 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35533 (__libc_message): Never call vsyslog.
35535 2013-03-28 Alan Modra <amodra@gmail.com>
35537 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35539 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35542 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35545 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35549 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35552 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35553 Don't add gid passed as argument.
35555 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35557 2013-03-27 Joseph Myers <joseph@codesourcery.com>
35560 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35561 imaginary part between 1.0 and 1.5 and real part less than 0.5
35563 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35564 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35565 * math/libm-test.inc (cacos_test): Add more tests.
35566 (casin_test): Likewise.
35567 (casinh_test): Likewise.
35568 * sysdeps/i386/fpu/libm-test-ulps: Update.
35569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35571 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35573 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35576 (denorm): Likewise.
35577 (__dbl_mp): Likewise.
35578 (add_magnitudes): Likewise.
35579 (sub_magnitudes): Likewise.
35587 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35589 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35590 (__dubcos): Likewise.
35591 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35592 (__ieee754_acos): Likewise.
35593 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35594 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35595 (__exp1): Likewise.
35596 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35597 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35599 (my_log2): Likewise.
35600 (checkint): Likewise.
35601 * sysdeps/ieee754/dbl-64/e_remainder.c
35602 (__ieee754_remainder): Likewise.
35603 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35604 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35605 (bsloww): Likewise.
35606 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35608 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35609 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35610 MANTISSA_STORE_T to store computations on mantissa. Use
35611 macros for rounding and division.
35612 (denorm): Likewise.
35613 (__dbl_mp): Likewise.
35614 (add_magnitudes): Likewise.
35615 (sub_magnitudes): Likewise.
35618 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35619 powers of two in terms of TWOPOW macro.
35620 (mp_no): Make type of mantissa as MANTISSA_T.
35621 [!RADIXI]: Define RADIXI.
35622 [!TWO52]: Define TWO52.
35623 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35625 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35627 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35628 llroundl symbol when building for PPC32.
35630 2013-03-24 Mark H Weaver <mhw@netris.org>
35632 * manual/arith.texi (Normalization Functions): Fix prototypes for
35633 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35635 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35638 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35639 high value to check if expl overflow.
35640 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35641 to check for underflow and overflow.
35642 * math/libm-test.inc: Add exp test.
35644 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
35647 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35650 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35652 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35655 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
35657 * math/gen-libm-test.pl (parse_args, special_functions): Properly
35658 wrap blocks consisting of several statements.
35660 * sysdeps/generic/math-tests.h: New file.
35661 * sysdeps/i386/fpu/math-tests.h: Likewise.
35662 * math/test-snan.c: Include it.
35663 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35665 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35668 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35669 (__ieee754_j0l): Do not improve calculations using cos of twice
35670 input for inputs above LDBL_MAX / 2.0L.
35671 (__ieee754_y0l): Likewise.
35672 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35673 (__ieee754_j1l): Do not improve calculations using cos of twice
35674 input for inputs above LDBL_MAX / 2.0L.
35675 (__ieee754_y1l): Likewise.
35676 * math/libm-test.inc (j0_test): Add another test.
35677 (j1_test): Likewise.
35678 (y0_test): Likewise.
35679 (y1_test): Likewise.
35680 * sysdeps/i386/fpu/libm-test-ulps: Update.
35682 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35684 * Rules ($(objpfx)bench-%.c): Include code from a C source
35687 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35690 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35691 imaginary part 1.0 and real part less than 0.5 specially.
35692 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35693 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35694 * math/libm-test.inc (cacos_test): Add more tests.
35695 (casin_test): Likewise.
35696 (casinh_test): Likewise.
35697 * sysdeps/i386/fpu/libm-test-ulps: Update.
35698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35700 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35702 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35703 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35705 2013-03-20 Joseph Myers <joseph@codesourcery.com>
35707 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35708 * config.make.in (config-cflags-sse4): Remove variable.
35709 (config-cflags-avx): Likewise.
35710 (config-cflags-sse2avx): Likewise.
35711 (config-cflags-novzeroupper): Likewise.
35712 (config-asflags-i686): Likewise.
35713 (have-mfma4): Likewise.
35714 (have-as-vis3): Likewise.
35716 * configure.in (MIG): Do not AC_SUBST.
35717 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35718 (libc_cv_cc_sse4): Do not AC_SUBST.
35719 (libc_cv_cc_avx): Likewise.
35720 (libc_cv_cc_sse2avx): Likewise.
35721 (libc_cv_cc_novzeroupper): Likewise.
35722 (libc_cv_cc_fma4): Likewise.
35723 (libc_cv_as_i686): Likewise.
35724 (libc_cv_sparc_as_vis3): Likewise.
35725 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35727 (config-asflags-i686): Likewise.
35728 (config-cflags-avx): Likewise.
35729 (config-cflags-sse2avx): Likewise.
35730 (have-mfma4): Likewise.
35731 (config-cflags-novzeroupper): Likewise.
35732 * sysdeps/mach/configure.in (MIG): Likewise.
35733 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35734 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35736 (config-cflags-avx): Likewise.
35737 (config-cflags-sse2avx): Likewise.
35738 (have-mfma4): Likewise.
35739 (config-cflags-novzeroupper): Likewise.
35740 * configure: Regenerated.
35741 * sysdeps/i386/configure: Likewise.
35742 * sysdeps/mach/configure: Likewise.
35743 * sysdeps/sparc/configure: Likewise.
35744 * sysdeps/x86_64/configure: Likewise.
35746 2013-03-20 Roland McGrath <roland@hack.frob.com>
35749 * locale/programs/localedef.c (options): Put N_ translation marker
35750 on argument names, not just descriptions.
35752 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35754 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35756 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
35759 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35761 2013-03-19 Roland McGrath <roland@hack.frob.com>
35763 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35764 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35765 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35766 [!BEFORE_ABORT] (before_abort): New function.
35767 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35768 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35769 (writev_for_fatal): New function.
35770 (WRITEV_FOR_FATAL): New macro; call that.
35771 (backtrace_and_maps): New function.
35772 (BEFORE_ABORT): New macro; call that.
35773 (struct str_list): Type removed.
35774 (__libc_message, __libc_fatal): Functions removed.
35775 Include <sysdeps/posix/libc_fatal.c> instead.
35777 2013-03-19 Joseph Myers <joseph@codesourcery.com>
35779 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35781 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35784 2013-03-19 Andreas Schwab <schwab@suse.de>
35786 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35787 * sysdeps/gnu/configure: Regenerate.
35789 * configure.in: Substitute libc_cv_rtlddir.
35790 * configure: Regenerate.
35791 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35792 * Makeconfig (rtlddir, inst_rtlddir): New variables.
35793 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35794 * elf/Makefile (install-others, CFLAGS-interp.c)
35795 (ldso_install, common-ldd-rewrite): Likewise.
35796 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35797 $(inst_slibdir)/$(rtld-installed-name).
35798 * scripts/rellns-sh: Add -p option.
35799 * Makerules (make-shlib-link): Use rellns-sh to get relative name
35802 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35804 * manual/nptl.texi: Renamed to ...
35805 * manual/threads.texi: ... this.
35806 * manual/Makefile (chapters): Update.
35808 2013-03-18 Roland McGrath <roland@hack.frob.com>
35811 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35812 on argument names, not just descriptions.
35813 * malloc/memusagestat.c (options): Likewise.
35814 * nss/getent.c (options): Likewise.
35816 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
35819 * iconv/iconv_prog.c (options): Put N_ translation marker
35820 on argument names, not just descriptions.
35821 * iconv/iconvconfig.c (options): Likewise.
35823 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
35825 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35826 implementation which is faster on all x86_64 architectures.
35827 Tested on AMD, Intel Nehalem, SNB, IVB.
35828 * sysdeps/x86_64/strnlen.S: Likewise.
35830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35831 Remove all multiarch strlen and strnlen versions.
35832 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35833 Remove strlen and strnlen related parts.
35835 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35836 Inline strlen part.
35837 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35839 * sysdeps/x86_64/multiarch/strlen.S: Remove.
35840 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35841 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35842 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35843 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35844 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35846 2013-03-17 Carlos O'Donell <carlos@redhat.com>
35848 * manual/memory.texi (Malloc Tunable Parameters):
35849 Sort parameters alphabetically. Add comments for missing entries.
35851 2013-03-17 David S. Miller <davem@davemloft.net>
35853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35855 2013-03-16 Joseph Myers <joseph@codesourcery.com>
35858 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35859 for arguments at most half maximum finite value.
35860 * math/libm-test.inc (j0_test): Add more tests.
35861 (j1_test): Likewise.
35862 (y0_test): Likewise.
35863 (y1_test): Likewise.
35864 * sysdeps/i386/fpu/libm-test-ulps: Update.
35865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35868 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35869 1 / x and functions P and Q for arguments above 0x1p256L.
35870 (__ieee754_y0l): Likewise.
35871 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35872 (__ieee754_y1l): Likewise.
35873 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35874 (j1_test): Likewise.
35875 (y0_test): Likewise.
35876 (y1_test): Likewise.
35878 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
35880 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35883 2013-03-15 Roland McGrath <roland@hack.frob.com>
35885 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35886 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35887 zero since it's initialized to EXEC_PAGESIZE.
35889 * sysdeps/unix/sysv/linux/ldsodefs.h
35890 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35891 * sysdeps/generic/ldsodefs.h: ... here.
35893 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
35895 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35897 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35899 * math/test-snan.c: Renamed from
35900 sysdeps/powerpc/fpu/test-powerpc-snan.c.
35901 * math/Makefile (tests): Add test-snan.
35902 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35905 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35906 SUFFIX. Initialize qNaN_var with __builtin_nan family of
35908 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
35909 __builtin_nan family of functions.
35910 * math/libm-test.inc (initialize): Initialize qnan_value with
35911 __builtin_nan family of functions.
35912 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35914 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35916 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
35917 storage class. Initialize qNaN_var and sNaN_var with
35918 __builtin_nan and __builtin_nans families of functions,
35921 * math/libm-test.inc (acosh_test): Also test with qNaN input.
35922 (sqrt_test): Remove duplicate test with qNaN input.
35923 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35924 (round_test, signbit_test, significand_test): Note missing +/-Inf
35925 as well as qNaN tests.
35927 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35928 qNaN_var. Fix a few strings, too.
35929 * math/libm-test.inc (nan_value): Rename to qnan_value.
35930 * math/gen-libm-test.pl (%beautify): Adjust to that.
35931 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35932 * math/test-misc.c (main): Likewise.
35933 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35934 to __qnan_bytes, and __qnan_union, respectively.
35935 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35937 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35938 and lqnanval, respectively.
35939 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35940 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35941 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35942 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35944 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35945 * math/test-misc.c (main) [__x86_64__]: Enable test for long
35948 * math/test-misc.c (main): Fix copy'n'pastos.
35949 * misc/tst-efgcvt.c (special): Likewise.
35951 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35952 Remove declarations.
35954 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35956 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35957 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35958 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35959 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35961 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35963 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35964 macro to return vdso values correctly in IFUNC implementations.
35965 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35966 Optimization by using IFUNC.
35968 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35969 Richard Henderson <rth@redhat.com>
35970 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35972 * Makefile.in (bench): New target.
35973 * NEWS: Mention the benchmark framework.
35974 * Rules (bench): Likewise.
35975 (binaries-bench): Generate binaries for functions to
35977 * benchtests/Makefile: New makefile for benchmark tests.
35978 * benchtests/bench-skeleton.c: New skeleton file for benchmark
35980 * benchtests/exp-inputs: New input file for EXP function.
35981 * benchtests/pow-inputs: New input file for POW function.
35982 * scripts/bench.pl: New script to generate source files for
35983 benchmark programs.
35985 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35987 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35988 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35989 computations on mantissa. Use macros for rounding and
35991 (denorm): Likewise.
35992 (__dbl_mp): Likewise.
35993 (add_magnitudes): Likewise.
35994 (sub_magnitudes): Likewise.
35997 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35998 powers of two in terms of TWOPOW macro.
35999 (mp_no): Make type of mantissa as MANTISSA_T.
36000 [!RADIXI]: Define RADIXI.
36001 [!TWO52]: Define TWO52.
36002 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36004 * manual/nptl.texi (cindex): Modify threads to pthreads.
36006 2013-03-15 Joseph Myers <joseph@codesourcery.com>
36008 * sysdeps/x86_64/preconfigure: Regenerated.
36010 2013-03-14 Joseph Myers <joseph@codesourcery.com>
36013 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36015 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36016 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36018 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36019 * math/libm-test.inc (j0_test): Do not allow one spurious
36020 underflow exception.
36021 (y1_test): Likewise.
36023 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36025 * manual/Makefile (chapters): Add nptl.
36026 * manual/debug.texi (Debugging Support): Add link to Threads
36028 * manual/nptl.texi: New file.
36030 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36032 2013-03-14 Petr Baudis <pasky@ucw.cz>
36034 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36035 for non-NULL pointer before the memory validity test. Pointed
36036 out by Holger Brunck <holger.brunck@keymile.com>.
36038 2013-03-13 Andreas Schwab <schwab@suse.de>
36040 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36043 2013-03-13 Joseph Myers <joseph@codesourcery.com>
36045 * timezone/zic.c: Update from tzcode 2013b.
36047 2013-03-12 Carlos O'Donell <carlos@redhat.com>
36049 * manual/install.texi (Configuring and compiling):
36050 Mention i686 and i586.
36051 * INSTALL: Regenerate.
36053 2013-03-12 Roland McGrath <roland@hack.frob.com>
36055 * sysdeps/init_array/elf-init.c: New file.
36057 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36058 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36060 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36061 __gmon_start__ as global, but as static with a .preinit_array pointer.
36062 * sysdeps/init_array/gmon-start.c: New file. Use that.
36063 * sysdeps/init_array/crti.S: New file, empty except for comments.
36064 * sysdeps/init_array/crtn.S: Likewise.
36066 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
36068 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36071 Remove Prefer_SSE_for_memop.
36072 * sysdeps/x86_64/multiarch/init-arch.h: Remove
36073 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36074 HAS_PREFER_SSE_FOR_MEMOP.
36075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36077 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36078 Remove bzero, memset ifunc support.
36079 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36080 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36081 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36082 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36084 2013-03-11 Andreas Schwab <schwab@suse.de>
36087 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36090 (GLIBC_2.16): Remove pthread_atfork.
36092 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
36094 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36095 (ptestcases.h): Likewise.
36097 2013-03-08 Roland McGrath <roland@hack.frob.com>
36099 * Makeconfig ($(common-objpfx)config.status): Depend on
36100 sysdeps/*/preconfigure{,.in} too.
36102 2013-03-08 Joseph Myers <joseph@codesourcery.com>
36104 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36105 (__free_hook): Use void * instead of __malloc_ptr_t.
36106 (__malloc_hook): Likewise.
36107 (__realloc_hook): Likewise.
36108 (__memalign_hook): Likewise.
36109 (__after_morecore_hook): Likewise.
36110 * malloc/arena.c (save_malloc_hook): Likewise.
36111 (save_free_hook): Likewise.
36112 * malloc/hooks.c (malloc_hook_ini): Likewise.
36113 (realloc_hook_ini): Likewise.
36114 (memalign_hook_ini): Likewise.
36115 * malloc/malloc.c (malloc_hook_ini): Likewise.
36116 (realloc_hook_ini): Likewise.
36117 (memalign_hook_ini): Likewise.
36118 (__free_hook): Likewise.
36119 (__malloc_hook): Likewise.
36120 (__realloc_hook): Likewise.
36121 (__memalign_hook): Likewise.
36122 (__libc_malloc): Likewise.
36123 (__libc_free): Likewise.
36124 (__libc_realloc): Likewise.
36125 (__libc_memalign): Likewise.
36126 (__libc_valloc): Likewise.
36127 (__libc_pvalloc): Likewise.
36128 (__libc_calloc): Likewise.
36129 (__posix_memalign): Likewise.
36130 * malloc/morecore.c (__sbrk): Likewise.
36131 (__default_morecore): Likewise.
36133 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36135 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36136 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36137 __malloc_ptrdiff_t.
36139 * malloc/malloc.h (__malloc_size_t): Remove macro.
36140 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36142 (old_memalign_hook): Likewise.
36143 (old_realloc_hook): Likewise.
36144 (struct hdr): Likewise.
36146 (mallochook): Likewise.
36147 (memalignhook): Likewise.
36148 (reallochook): Likewise.
36149 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36150 (tr_old_realloc_hook): Likewise.
36151 (tr_old_memalign_hook): Likewise.
36152 (tr_mallochook): Likewise.
36153 (tr_reallochook): Likewise.
36154 (tr_memalignhook): Likewise.
36156 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36158 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36159 default_ldbl_pack and using as default implementation.
36160 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36162 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36163 redundant definition.
36164 (ldbl_insert_mantissa): Likewise.
36165 (ldbl_canonicalize): Likewise.
36166 (ldbl_nearbyint): Likewise.
36167 (ldbl_pack): Rename to ldbl_pack_ppc.
36168 (ldbl_unpack): Rename to ldbl_unpack_ppc.
36169 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36170 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36172 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36175 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36176 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36177 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36179 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36180 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36181 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36183 2013-03-07 Andreas Jaeger <aj@suse.de>
36185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36188 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36190 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36191 Include mpa.h and declare __MPEXP.
36192 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36193 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36194 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36195 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36196 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36197 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36198 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36200 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36201 (__slowpow): Use long double EXPL and LOGL functions to
36203 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36204 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36205 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36206 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36207 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36208 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36211 intermediate variable to calculate exponent.
36213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36217 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36218 [!NO__SQR]: Define __sqr.
36219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36220 and NO__SQR. Remove all code except __mul and __sqr. Include
36221 sysdeps/ieee754/dbl-64/mpa.c.
36222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36225 * posix/Makefile (tests): Add tst-pathconf.
36226 * posix/tst-pathconf.c: New test case.
36227 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36229 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36231 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
36233 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36235 2013-03-06 Andreas Jaeger <aj@suse.de>
36237 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36238 definition via __MAP_ANONYMOUS.
36240 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36241 it's not part of Linux headers.
36243 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36244 (MAP_HUGE_MASK): Define.
36246 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36248 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36249 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36251 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36252 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36254 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36255 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36257 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36259 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36260 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36261 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36262 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36263 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36264 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36266 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36269 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36270 Handle f2fs and efivarfs.
36272 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36275 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36276 (EFIVARFS_MAGIC): Add.
36277 (F2FS_LINK_MAX): Add.
36279 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36281 * stdio-common/vfprintf.c: Replace __builtin_expect with
36284 2013-03-06 Joseph Myers <joseph@codesourcery.com>
36287 * sysdeps/generic/bp-sym.h: Remove file.
36288 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36289 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36290 <bp-sym.h> and <bp-asm.h>.
36291 (__longjmp): Don't use BP_SYM.
36292 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36294 (memcpy): Don't use BP_SYM.
36295 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36296 <bp-sym.h> and <bp-asm.h>.
36297 (memcpy): Don't use BP_SYM.
36298 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36300 (memcpy): Don't use BP_SYM.
36301 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36303 (memset): Don't use BP_SYM.
36304 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36305 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36306 (__bzero): Don't use BP_SYM.
36307 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36308 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36309 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36310 <bp-sym.h> and <bp-asm.h>.
36311 (memcmp): Don't use BP_SYM. Remove comment about bounded
36313 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36314 <bp-sym.h> and <bp-asm.h>.
36315 (memcpy): Don't use BP_SYM.
36316 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36317 <bp-sym.h> and <bp-asm.h>.
36318 (memset): Don't use BP_SYM.
36319 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36320 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36321 (__bzero): Don't use BP_SYM.
36322 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36323 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36324 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36325 <bp-sym.h> and <bp-asm.h>.
36326 (strncmp): Don't use BP_SYM. Remove comment about bounded
36328 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36329 <bp-sym.h> and <bp-asm.h>.
36330 (memcpy): Don't use BP_SYM.
36331 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36332 <bp-sym.h> and <bp-asm.h>.
36333 (memset): Don't use BP_SYM.
36334 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36335 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36336 (__bzero): Don't use BP_SYM.
36337 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36338 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36339 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36340 <bp-sym.h> and <bp-asm.h>.
36341 (__memchr): Don't use BP_SYM.
36342 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36343 <bp-sym.h> and <bp-asm.h>.
36344 (memcmp): Don't use BP_SYM. Remove comment about bounded
36346 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36347 <bp-sym.h> and <bp-asm.h>.
36348 (memcpy): Don't use BP_SYM.
36349 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36350 <bp-sym.h> and <bp-asm.h>.
36351 (__mempcpy): Don't use BP_SYM.
36352 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36353 <bp-sym.h> and <bp-asm.h>.
36354 (__memrchr): Don't use BP_SYM.
36355 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36356 <bp-sym.h> and <bp-asm.h>.
36357 (memset): Don't use BP_SYM.
36358 (__bzero): Likewise.
36359 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36360 <bp-sym.h> and <bp-asm.h>.
36361 (__rawmemchr): Don't use BP_SYM.
36362 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36363 <bp-sym.h> and <bp-asm.h>.
36364 (__STRCMP): Don't use BP_SYM.
36365 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36366 <bp-sym.h> and <bp-asm.h>.
36367 (strchr): Don't use BP_SYM.
36368 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36369 <bp-sym.h> and <bp-asm.h>.
36370 (__strchrnul): Don't use BP_SYM.
36371 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36372 <bp-sym.h> and <bp-asm.h>.
36373 (strlen): Don't use BP_SYM.
36374 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36375 <bp-sym.h> and <bp-asm.h>.
36376 (strncmp): Don't use BP_SYM. Remove comment about bounded
36378 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36379 <bp-sym.h> and <bp-asm.h>.
36380 (__strnlen): Don't use BP_SYM.
36381 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36382 <bp-sym.h> and <bp-asm.h>.
36383 (__GI__setjmp): Don't use BP_SYM.
36384 (_setjmp): Likewise.
36385 (__sigsetjmp): Likewise.
36386 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36387 (L(start_addresses)): Don't use BP_SYM.
36388 (_start): Likewise.
36389 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36391 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36392 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36393 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36394 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36395 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36397 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36398 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
36399 about bounded pointers.
36400 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36401 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36402 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36404 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
36405 about bounded pointers. Remove GKM FIXME comments.
36406 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36407 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36409 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36410 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
36411 Remove GKM FIXME comments.
36412 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36413 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36414 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36416 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
36417 about bounded pointers. Remove GKM FIXME comment.
36418 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36420 (strncmp): Don't use BP_SYM. Remove comment about bounded
36422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36423 <bp-sym.h> and <bp-asm.h>.
36424 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36426 <bp-sym.h> and <bp-asm.h>.
36427 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36430 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36432 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36435 2013-03-05 David S. Miller <davem@davemloft.net>
36437 * po/es.po: Update from translation team.
36439 2013-03-05 Andreas Jaeger <aj@suse.de>
36441 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36442 <bits/mman-linux.h>.
36443 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36445 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36446 <bits/mman-linux.h> to end of file.
36447 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36449 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36450 <bits/mman-linux.h> to end of file.
36451 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36453 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36454 <bits/mman-linux.h> to end of file.
36456 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36457 (MCL_CURRENT, MCL_FUTURE): Define here.
36459 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36462 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36464 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36466 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36468 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36469 fourth parameter needed for rt_sigprocmask syscall.
36470 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36471 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36472 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36473 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36474 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36475 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36477 2013-03-04 Joseph Myers <joseph@codesourcery.com>
36480 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36481 comment about bounded pointers.
36482 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36483 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36485 2013-03-04 Andreas Jaeger <aj@suse.de>
36487 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36488 common definitions.
36490 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36491 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36492 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36493 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36494 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36495 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36497 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36500 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36501 __ieee754_sqrl instead of __sqrl.
36503 2013-03-01 Joseph Myers <joseph@codesourcery.com>
36505 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36506 * sysdeps/powerpc/fpu_control.h: ... here.
36507 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36508 * sysdeps/powerpc/bits/fenvinline.h: ... here.
36509 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36510 * sysdeps/powerpc/bits/mathinline.h: ... here.
36512 2013-03-01 Roland McGrath <roland@hack.frob.com>
36514 * elf/dl-hwcaps.c (_dl_important_hwcaps):
36515 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36516 to just [NEED_DL_SYSINFO_DSO].
36517 * elf/dl-support.c: Likewise.
36518 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36519 * elf/rtld.c (dl_main): Likewise.
36520 * elf/setup-vdso.h (setup_vdso): Likewise.
36521 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36522 * sysdeps/unix/sysv/linux/dl-sysdep.c
36523 (_dl_discover_osversion): Likewise.
36525 2013-03-01 Carlos O'Donell <carlos@redhat.com>
36527 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36528 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36530 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36532 * NEWS: Mention libm performance improvements and non-x86 PI
36535 * csu/libc-start.c (__pthread_initialize_minimal): Change
36536 function arguments.
36537 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36539 2013-02-28 Joseph Myers <joseph@codesourcery.com>
36542 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36543 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36544 <bp-sym.h> and <bp-asm.h>.
36545 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36546 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36548 (memcpy): Don't use BP_SYM.
36549 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36551 (__mpn_add_n): Don't use BP_SYM.
36552 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36553 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36555 (__mpn_addmul_1): Don't use BP_SYM.
36556 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36557 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36559 (_setjmp): Don't use BP_SYM.
36560 (__novmx_setjmp): Likewise.
36561 (__GI__setjmp): Likewise.
36562 (__vmx_setjmp): Likewise.
36563 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36565 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36566 (__bzero): Don't use BP_SYM.
36567 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36568 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36569 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36570 <bp-sym.h> and <bp-asm.h>.
36571 (memcpy): Don't use BP_SYM.
36572 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36573 <bp-sym.h> and <bp-asm.h>.
36574 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36575 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36576 <bp-sym.h> and <bp-asm.h>.
36577 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36578 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36580 (__mpn_lshift): Don't use BP_SYM.
36581 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36582 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36584 (memset): Don't use BP_SYM.
36585 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36586 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36587 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36589 (__mpn_mul_1): Don't use BP_SYM.
36590 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36591 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36592 <bp-sym.h> and <bp-asm.h>.
36593 (memcmp): Don't use BP_SYM.
36594 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36595 <bp-sym.h> and <bp-asm.h>.
36596 (memcpy): Don't use BP_SYM.
36597 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36598 <bp-sym.h> and <bp-asm.h>.
36599 (memset): Don't use BP_SYM.
36600 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36601 <bp-sym.h> and <bp-asm.h>.
36602 (strncmp): Don't use BP_SYM.
36603 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36604 <bp-sym.h> and <bp-asm.h>.
36605 (memcpy): Don't use BP_SYM.
36606 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36607 <bp-sym.h> and <bp-asm.h>.
36608 (memset): Don't use BP_SYM.
36609 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36610 <bp-sym.h> and <bp-asm.h>.
36611 (__memchr): Don't use BP_SYM.
36612 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36613 <bp-sym.h> and <bp-asm.h>.
36614 (memcmp): Don't use BP_SYM.
36615 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36616 <bp-sym.h> and <bp-asm.h>.
36617 (memcpy): Don't use BP_SYM.
36618 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36619 <bp-sym.h> and <bp-asm.h>.
36620 (__mempcpy): Don't use BP_SYM.
36621 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36622 <bp-sym.h> and <bp-asm.h>.
36623 (__memrchr): Don't use BP_SYM.
36624 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36625 <bp-sym.h> and <bp-asm.h>.
36626 (memset): Don't use BP_SYM.
36627 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36628 <bp-sym.h> and <bp-asm.h>.
36629 (__rawmemchr): Don't use BP_SYM.
36630 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36631 <bp-sym.h> and <bp-asm.h>.
36632 (__STRCMP): Don't use BP_SYM.
36633 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36634 <bp-sym.h> and <bp-asm.h>.
36635 (strchr): Don't use BP_SYM.
36636 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36637 <bp-sym.h> and <bp-asm.h>.
36638 (__strchrnul): Don't use BP_SYM.
36639 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36640 <bp-sym.h> and <bp-asm.h>.
36641 (strlen): Don't use BP_SYM.
36642 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36643 <bp-sym.h> and <bp-asm.h>.
36644 (strncmp): Don't use BP_SYM.
36645 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36646 <bp-sym.h> and <bp-asm.h>.
36647 (__strnlen): Don't use BP_SYM.
36648 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36650 (__mpn_rshift): Don't use BP_SYM.
36651 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36652 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36653 <bp-sym.h> and <bp-asm.h>.
36654 (__sigsetjmp): Don't use BP_SYM.
36655 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36656 (L(start_addresses)): Don't use BP_SYM.
36657 (_start): Likewise.
36658 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36660 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36661 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36662 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36663 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36665 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36666 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36667 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36668 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36670 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36672 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36673 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36675 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
36677 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36678 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36679 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36681 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36683 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36685 (strncmp): Don't use BP_SYM,
36686 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36688 (__mpn_sub_n): Don't use BP_SYM.
36689 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36690 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36692 (__mpn_submul_1): Don't use BP_SYM.
36693 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36695 <bp-sym.h> and <bp-asm.h>.
36696 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36698 <bp-sym.h> and <bp-asm.h>.
36699 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36702 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36705 Use ZK to minimize writes to Z.
36706 (sub_magnitudes): Simplify code a bit.
36707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36708 Use ZK to minimize writes to Z.
36709 (sub_magnitudes): Simplify code a bit.
36711 2013-02-27 Roland McGrath <roland@hack.frob.com>
36713 * csu/gmon-start.c: Add special exception to license text.
36715 2013-02-27 Richard Henderson <rth@redhat.com>
36717 * scripts/config.guess: Update from config.git.
36718 * scripts/config.sub: Likewise.
36720 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36722 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36724 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36726 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36728 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36730 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36732 2013-02-26 Roland McGrath <roland@hack.frob.com>
36734 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36735 [$(build-shared = yes].
36737 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36739 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36740 (__mul): Reduce iterations for calculating mantissa.
36742 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36744 (__mpranred): Likewise.
36747 * malloc/memusagestat.c (main): Draw graphs for heap and stack
36748 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36750 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
36752 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36753 Define __attribute__.
36755 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36757 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36759 * posix/regex_internal.h (__attribute): Remove.
36760 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36761 (re_string_context_at): Likewise.
36762 (bitset_not): Use __attribute__ and mark function as possibly
36764 (bitset_merge): Likewise.
36765 (bitset_mask): Likewise.
36766 (re_string_char_size_at): Likewise.
36767 (re_string_wchar_at): Likewise.
36768 (re_string_elem_size_at): Likewise.
36770 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36772 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36776 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36780 (denorm): Likewise.
36781 (__dbl_mp): Likewise.
36782 (add_magnitudes): Likewise.
36783 (sub_magnitudes): Likewise.
36787 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36790 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36793 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36797 up changes with default code.
36798 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36801 2013-02-24 Allan McRae <allan@archlinux.org>
36803 * manual/socket.texi (The Internet Namespace): Order menu items
36804 to match that in the file.
36806 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36807 node listing of the info page menu.
36809 2013-02-21 Joseph Myers <joseph@codesourcery.com>
36812 * sysdeps/i386/bp-asm.h: Remove file.
36813 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36814 (PARMS): Do not use macros from bp-asm.h.
36818 (__mpn_add_n): Do not use BP_SYM
36819 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36821 (PARMS): Do not use macros from bp-asm.h.
36824 (__mpn_addmul_1): Do not use BP_SYM
36825 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36827 (PARMS): Do not use macros from bp-asm.h.
36828 (SIGMSK): Likewise.
36829 (_setjmp): Likewise. Do not use BP_SYM.
36830 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36832 (PARMS): Do not use macros from bp-asm.h.
36833 (SIGMSK): Likewise.
36834 (setjmp): Likewise. Do not use BP_SYM.
36835 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36837 (PARMS): Do not use macros from bp-asm.h.
36838 (__frexp): Do not use BP_SYM.
36840 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36842 (PARMS): Do not use macros from bp-asm.h.
36843 (__frexpf): Do not use BP_SYM.
36844 (frexpf): Likewise.
36845 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36847 (PARMS): Do not use macros from bp-asm.h.
36848 (__frexpl): Do not use BP_SYM.
36849 (frexpl): Likewise.
36850 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36852 (PARMS): Do not use macros from bp-asm.h.
36853 (__remquo): Do not use BP_SYM.
36854 (remquo): Likewise.
36855 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36857 (PARMS): Do not use macros from bp-asm.h.
36858 (__remquof): Do not use BP_SYM.
36859 (remquof): Likewise.
36860 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36862 (PARMS): Do not use macros from bp-asm.h.
36863 (__remquol): Do not use BP_SYM.
36864 (remquol): Likewise.
36865 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36867 (PARMS): Do not use macros from bp-asm.h.
36870 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
36871 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36873 (PARMS): Do not use macros from bp-asm.h.
36874 (strlen): Do not use BP_SYM.
36875 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36877 (PARMS): Do not use macros from bp-asm.h.
36881 (__mpn_add_n): Do not use BP_SYM.
36882 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36884 (PARMS): Do not use macros from bp-asm.h.
36887 (__mpn_addmul_1): Do not use BP_SYM.
36888 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36891 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36893 (PARMS): Do not use macros from bp-asm.h.
36896 (__mpn_lshift): Do not use BP_SYM.
36897 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36899 (PARMS): Do not use macros from bp-asm.h.
36903 (memcpy): Likewise. Do not use BP_SYM.
36904 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36905 libc_hidden_def and weak_alias.
36906 (mempcpy): Do not use BP_SYM in weak_alias.
36907 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36909 (PARMS): Do not use macros from bp-asm.h.
36912 [!BZERO_P] (CHR): Likewise.
36913 (memset): Likewise. Do not use BP_SYM.
36914 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36916 (PARMS): Do not use macros from bp-asm.h.
36919 (__mpn_mul_1): Do not use BP_SYM.
36920 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36922 (PARMS): Do not use macros from bp-asm.h.
36925 (__mpn_rshift): Do not use BP_SYM.
36926 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36928 (PARMS): Do not use macros from bp-asm.h.
36931 (strchr): Likewise. Do not use BP_SYM.
36932 (index): Do not use BP_SYM in weak_alias.
36933 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36935 (PARMS): Do not use macros from bp-asm.h.
36938 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
36939 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36941 (PARMS): Do not use macros from bp-asm.h.
36942 (strlen): Do not use BP_SYM.
36943 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36945 (PARMS): Do not use macros from bp-asm.h.
36949 (__mpn_sub_n): Do not use BP_SYM.
36950 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36952 (PARMS): Do not use macros from bp-asm.h.
36955 (__mpn_submul_1): Do not use BP_SYM.
36956 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36958 (PARMS): Do not use macros from bp-asm.h.
36962 (__mpn_add_n): Do not use BP_SYM.
36963 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36966 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36968 (PARMS): Do not use macros from bp-asm.h.
36971 (memcmp): Do not use BP_SYM.
36972 (bcmp): Do not use BP_SYM in weak_alias.
36973 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36975 (PARMS): Do not use macros from bp-asm.h.
36979 (memcpy): Likewise. Do not use BP_SYM.
36980 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36982 (PARMS): Do not use macros from bp-asm.h.
36986 (memmove): Likewise. Do not use BP_SYM.
36987 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36989 (PARMS): Do not use macros from bp-asm.h.
36993 (__mempcpy): Likewise. Do not use BP_SYM.
36994 (mempcpy): Do not use BP_SYM in weak_alias.
36995 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36997 (PARMS): Do not use macros from bp-asm.h.
37000 [!BZERO_P] (CHR): Likewise.
37001 (memset): Likewise. Do not use BP_SYM.
37002 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37004 (PARMS): Do not use macros from bp-asm.h.
37006 (strcmp): Do not use BP_SYM.
37007 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37009 (PARMS): Do not use macros from bp-asm.h.
37012 [USE_AS_STRTOK_R] (SAVE): Likewise.
37013 (FUNCTION): Likewise. Do not use BP_SYM.
37014 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37016 (strtok_r): Likewise.
37017 (__GI___strtok_r): Likewise.
37018 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37019 (PARMS): Do not use macros from bp-asm.h.
37022 (__mpn_lshift): Do not use BP_SYM.
37023 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37024 (PARMS): Do not use macros from bp-asm.h.
37027 (__memchr): Do not use BP_SYM.
37028 (memchr): Do not use BP_SYM in weak_alias.
37029 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37030 (PARMS): Do not use macros from bp-asm.h.
37033 (memcmp): Do not use BP_SYM.
37034 (bcmp): Do not use BP_SYM in weak_alias.
37035 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37036 (PARMS): Do not use macros from bp-asm.h.
37039 (__mpn_mul_1): Do not use BP_SYM.
37040 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37042 (PARMS): Do not use macros from bp-asm.h.
37045 (__rawmemchr): Do not use BP_SYM.
37046 (rawmemchr): Do not use BP_SYM in weak_alias.
37047 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37048 (PARMS): Do not use macros from bp-asm.h.
37051 (__mpn_rshift): Do not use BP_SYM.
37052 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37053 (PARMS): Do not use macros from bp-asm.h.
37054 (SIGMSK): Likewise.
37055 (__sigsetjmp): Likewise. Do not use BP_SYM.
37056 * sysdeps/i386/start.S: Do not include "bp-sym.h".
37057 (_start): Do not use BP_SYM.
37058 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37059 (PARMS): Do not use macros from bp-asm.h.
37062 (__stpcpy): Likewise. Do not use BP_SYM.
37063 (stpcpy): Do not use BP_SYM in weak_alias.
37064 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37066 (PARMS): Do not use macros from bp-asm.h.
37070 (__stpncpy): Likewise. Do not use BP_SYM.
37071 (stpncpy): Do not use BP_SYM in weak_alias.
37072 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37073 (PARMS): Do not use macros from bp-asm.h.
37076 (strchr): Likewise. Do not use BP_SYM.
37077 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37079 (PARMS): Do not use macros from bp-asm.h.
37082 (__strchrnul): Likewise. Do not use BP_SYM.
37083 (strchrnul): Do not use BP_SYM in weak_alias.
37084 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37086 (PARMS): Do not use macros from bp-asm.h.
37088 (strcspn): Do not use BP_SYM.
37089 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37091 (PARMS): Do not use macros from bp-asm.h.
37094 (strpbrk): Likewise. Do not use BP_SYM.
37095 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37097 (PARMS): Do not use macros from bp-asm.h.
37100 (strrchr): Likewise. Do not use BP_SYM.
37101 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37102 (PARMS): Do not use macros from bp-asm.h.
37104 (strspn): Do not use BP_SYM.
37105 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37106 (PARMS): Do not use macros from bp-asm.h.
37110 (FUNCTION): Likewise. Do not use BP_SYM.
37111 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37113 (strtok_r): Likewise.
37114 (__GI___strtok_r): Likewise.
37115 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37116 (PARMS): Do not use macros from bp-asm.h.
37120 (__mpn_sub_n): Do not use BP_SYM.
37121 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37123 (PARMS): Do not use macros from bp-asm.h.
37126 (__mpn_submul_1): Do not use BP_SYM.
37127 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37129 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37131 (PARMS): Do not use macros from bp-asm.h.
37136 (__clone): Do not use BP_SYM.
37137 (clone): Do not use BP_SYM in weak_alias.
37138 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37140 (PARMS): Do not use macros from bp-asm.h.
37142 (__mmap64): Do not use BP_SYM.
37143 (mmap64): Do not use BP_SYM in weak_alias.
37144 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37145 <bp-sym.h> and <bp-asm.h>.
37146 (PARMS): Do not use macros from bp-asm.h.
37147 (__posix_fadvise64_l64): Do not use BP_SYM.
37148 * sysdeps/unix/sysv/linux/i386/semtimedop.S
37149 (PARMS): Do not use macros from bp-asm.h.
37151 (semtimedop): Do not use BP_SYM.
37152 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37155 2013-02-21 Allan McRae <allan@archlinux.org>
37157 * manual/message.texi (Charset conversion in gettext):
37158 Move @end statement to beginning of line.
37160 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37167 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37168 (denorm): Likewise.
37169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37172 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37174 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37175 tail-call to the resolved function if pltexit isn't needed.
37177 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37180 or Y being zero as being unlikely.
37181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37184 2013-02-20 Carlos O'Donell <carlos@redhat.com>
37186 * manual/nss.texi (System Databases and Name Service Switch):
37187 Remove frobnicate @pxref.
37189 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
37191 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37192 __attribute__ ((unused)) to __attribute__ ((__unused__)).
37194 2013-02-20 Petr Machata <pmachata@redhat.com>
37196 * elf/elf.h (R_ARM_TARGET1): New macro.
37197 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37198 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37199 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37200 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37201 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37202 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37203 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37204 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37205 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37206 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37207 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37208 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37209 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37210 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37211 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37212 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37213 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37214 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37215 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37216 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37217 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37218 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37219 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37220 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37221 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37222 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37223 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37224 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37225 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37226 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37227 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37228 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37229 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37230 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37231 (R_ARM_THM_GOT_BREL12): Likewise.
37232 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37233 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37234 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37235 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37236 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37237 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37238 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37239 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37240 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37242 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
37244 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37245 __attribute_used__ to __attribute__ ((unused)).
37247 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37249 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37252 comment formatting.
37253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37255 2013-02-19 Joseph Myers <joseph@codesourcery.com>
37258 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37260 (ENTER): Remove both macro definitions.
37262 (CHECK_BOUNDS_LOW): Likewise.
37263 (CHECK_BOUNDS_HIGH): Likewise.
37264 (CHECK_BOUNDS_BOTH): Likewise.
37265 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37266 (RETURN_BOUNDED_POINTER): Likewise.
37267 (RETURN_NULL_BOUNDED_POINTER): Likewise.
37268 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37269 (POP_ERRNO_LOCATION_RETURN): Likewise.
37270 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37271 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37272 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37274 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37275 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37276 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37277 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37278 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37279 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37280 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37281 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37282 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37283 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37284 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37285 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37286 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37287 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37289 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37290 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37292 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37293 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37294 * sysdeps/i386/i586/memset.S (memset): Likewise.
37295 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37296 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37297 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37299 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37300 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37301 Change uses of L(2) to L(out).
37302 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37303 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37304 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37305 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37306 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37308 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37309 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37311 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37312 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37313 (RETURN): Do not use macro LEAVE.
37314 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37315 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37316 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37317 * sysdeps/i386/i686/memset.S (memset): Likewise.
37318 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37319 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37320 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37321 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37323 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37324 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
37325 L(1_2) and L(1_3) into L(1).
37326 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37327 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37328 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37329 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37330 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37331 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37332 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37333 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37334 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37336 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37337 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37338 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37339 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37340 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37341 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37342 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37343 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37344 * sysdeps/i386/strcspn.S (strcspn): Likewise.
37345 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37346 * sysdeps/i386/strrchr.S (strrchr): Likewise.
37347 * sysdeps/i386/strspn.S (strspn): Likewise.
37348 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37350 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37351 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37352 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37353 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
37354 L(1_3) into L(1_1).
37355 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37356 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37357 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37359 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37361 2013-02-19 Jakub Jelinek <jakub@redhat.com>
37363 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37366 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37368 * math/atest-exp.c (exp_mpn): Remove ROUND.
37369 * math/atest-exp2.c (exp_mpn): Likewise.
37370 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37372 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37373 * stdlib/tst-tls-atexit-lib.c: Likewise.
37374 * stdlib/tst-tls-atexit.c: Likewise.
37376 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37378 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37379 and __attribute_alloc_size__.
37381 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37383 * include/programs/xmalloc.h: Change __attribute_alloc_size to
37384 __attribute_alloc_size__.
37385 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37386 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37388 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37390 * include/programs/xmalloc.h: New file.
37391 * catgets/gencat.c: Include it.
37392 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37393 * elf/pldd.c: Likewise.
37394 * iconv/iconv_charmap.c: Likewise.
37395 * iconv/iconvconfig.c: Likewise.
37396 * iconv/strtab.c: Likewise.
37397 * locale/programs/locale.c: Likewise.
37398 * locale/programs/localedef.h: Likewise.
37399 * locale/programs/simple-hash.c: Likewise.
37400 * nscd/nscd.h: Likewise.
37401 * nss/makedb.c: Likewise.
37402 * sysdeps/generic/ldconfig.h: Likewise.
37404 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37406 * Versions.def: Add GLIBC_2.18.
37407 * include/link.h (struct link_map): New member l_tls_dtor_count.
37408 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37409 (__call_tls_dtors): Likewise.
37410 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37411 __cxa_thread_atexit_impl.
37412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37420 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37428 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37429 (tests): Add test case tst-tls-atexit.
37430 (modules-names): Add shared library for tst-tls-atexit.
37431 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37432 (GLIBC_PRIVATE): Add __call_tls_dtors.
37433 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37435 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37436 * stdlib/tst-tls-atexit.c: New test case.
37437 * stdlib/tst-tls-atexit-lib.c: New test case.
37439 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37441 * elf/Versions (ld): Add _dl_find_dso_for_object.
37442 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37443 * elf/dl-open.c (_dl_find_dso_for_object): New function.
37444 (dl_open_worker): Use _dl_find_dso_for_object.
37445 * elf/dl-sym.c (do_sym): Likewise.
37446 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37448 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37450 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37451 Syntactic changes only.
37452 (_dl_runtime_profile): Do a tail-call to the resolved function.
37454 2013-02-17 Joseph Myers <joseph@codesourcery.com>
37457 * sysdeps/x86_64/bp-asm.h: Remove file.
37458 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37459 <bp-sym.h> and <bp-asm.h>.
37460 (__clone): Do not use BP_SYM.
37461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37462 <bp-sym.h> and <bp-asm.h>.
37463 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37464 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37466 (_setjmp): Do not use BP_SYM.
37467 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37469 (setjmp): Do not use BP_SYM.
37470 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37472 (mempcpy): Do not use BP_SYM in weak_alias.
37473 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37475 (strchr): Do not use BP_SYM.
37476 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37478 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37479 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37480 (_start): Do not use BP_SYM.
37481 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37483 (strcat): Do not use BP_SYM.
37484 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37486 (STRCMP): Do not use BP_SYM.
37487 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37489 (STRCPY): Do not use BP_SYM.
37490 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37492 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37494 (FUNCTION): Do not use BP_SYM.
37495 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37497 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37499 2013-02-17 Andreas Jaeger <aj@suse.de>
37501 * time/Versions: Sort entries.
37502 * string/Versions: Likewise.
37503 * resolv/Versions: Likewise.
37504 * posix/Versions: Likewise.
37505 * iconv/Versions: Likewise.
37506 * elf/Versions: Likewise.
37507 * wcsmbs/Versions: Likewise.
37509 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37511 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37512 loop termination condition.
37514 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37515 variable to calculate EZ.
37518 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37519 the lower precision input.
37521 2013-02-15 Joseph Myers <joseph@codesourcery.com>
37524 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37525 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37526 (run-via-rtld-prefix): Do not handle %-bp tests.
37527 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37528 (all-object-suffixes): Remove .ob.
37529 (bppfx): Remove variable.
37530 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37531 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37532 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37533 [$(build-bounded) = yes] (libtype.ob): Likewise.
37534 * Makerules (elide-routines.ob): Remove variable.
37535 (do-tests-clean): Do not handle *-bp.out.
37536 (common-mostlyclean): Do not handle *-bp and *-bp.out.
37537 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37538 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37539 (tests): Do not include $(tests-bp.out).
37540 (xtests): Do not include $(xtests-bp.out).
37541 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37542 [$(build-bounded) = yes] ($(addprefix
37543 $(objpfx),$(binaries-bounded))): Remove rule.
37544 ($(objpfx)%-bp.out): Remove rule.
37545 * config.make.in (build-bounded): Remove variable.
37546 * crypt/Makefile [$(build-bounded) = yes]
37547 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37548 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37549 append to variable.
37550 [$(build-bounded) = yes] (install-lib): Likewise.
37551 [$(build-bounded) = yes] (generated): Likewise.
37552 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37554 * intl/Makefile [$(build-bounded) = yes]
37555 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37556 * math/Makefile [$(build-bounded) = yes]
37557 ($(tests:%=$(objpfx)%-bp): Likewise.
37558 * misc/Makefile [$(build-bounded) = yes]
37559 ($(objpfx)tst-tsearch-bp): Likewise.
37560 * nptl/Makeconfig (bounded-thread-library): Remove variable.
37561 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37563 * string/Makefile (o-objects.ob): Remove variable.
37564 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37565 (CFLAGS-.ob): Remove variable.
37566 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37567 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37568 both definitions of variable.
37569 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37570 (ASFLAGS-.ob): Remove variable.
37572 2013-02-14 Joseph Myers <joseph@codesourcery.com>
37575 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37576 Remove __BOUNDED_POINTERS__ from condition.
37577 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37578 * string/bits/string2.h [!__NO_STRING_INLINES &&
37579 !__BOUNDED_POINTERS__]: Likewise.
37580 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37582 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37583 Remove conditional code.
37584 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37585 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37586 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37590 * csu/libc-start.c: Do not include <bp-sym.h>.
37591 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37592 * elf/dl-open.c: Do not include <bp-sym.h>.
37593 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37594 * math/fegetenv.c: Do not include <bp-sym.h>.
37595 (fegetenv): Do not use BP_SYM in versioned symbols.
37596 * nptl/sysdeps/pthread/bits/libc-lockP.h
37597 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37599 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37600 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37601 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37602 (__pthread_mutex_destroy): Likewise.
37603 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37604 (__pthread_mutex_lock): Likewise.
37605 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37606 (__pthread_mutex_trylock): Likewise.
37607 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37608 (__pthread_mutex_unlock): Likewise.
37609 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37610 (__pthread_mutexattr_init): Likewise.
37611 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37612 (__pthread_mutexattr_destroy): Likewise.
37613 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37614 (__pthread_mutexattr_settype): Likewise.
37615 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37616 (__pthread_rwlock_init): Likewise.
37617 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37618 (__pthread_rwlock_destroy): Likewise.
37619 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37620 (__pthread_rwlock_rdlock): Likewise.
37621 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37622 (__pthread_rwlock_tryrdlock): Likewise.
37623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37624 (__pthread_rwlock_wrlock): Likewise.
37625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37626 (__pthread_rwlock_trywrlock): Likewise.
37627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37628 (__pthread_rwlock_unlock): Likewise.
37629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37630 (__pthread_key_create): Likewise.
37631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37632 (__pthread_setspecific): Likewise.
37633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37634 (__pthread_getspecific): Likewise.
37635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37638 (_pthread_cleanup_push_defer): Likewise.
37639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37640 (_pthread_cleanup_pop_restore): Likewise.
37641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37642 (pthread_setcancelstate): Likewise.
37643 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37645 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37646 (memchr): Do not use BP_SYM in weak_alias.
37647 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37648 (fegetenv): Do not use BP_SYM in versioned symbols.
37649 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37650 (fesetenv): Do not use BP_SYM in versioned symbols.
37651 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37652 (feupdateenv): Do not use BP_SYM in versioned symbols.
37653 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37654 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37655 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37656 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37657 (open64): Do not use BP_SYM in weak_alias.
37658 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37659 (fegetenv): Do not use BP_SYM in versioned symbols.
37660 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37661 (fesetenv): Do not use BP_SYM in versioned symbols.
37662 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37663 (feupdateenv): Do not use BP_SYM in versioned symbols.
37664 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37665 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37666 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37667 (feraiseexcept): Do not use BP_SYM in versioned symbols.
37668 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37669 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37670 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37672 (__libc_start_main): Do not use BP_SYM.
37674 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37677 redundant return line.
37679 (denorm): Likewise.
37680 (dbl_mp): Likewise.
37681 (sub_magnitudes): Likewise.
37687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37689 (denorm): Likewise.
37690 (dbl_mp): Likewise.
37691 (sub_magnitudes): Likewise.
37698 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37700 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37701 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37704 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37705 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37706 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37707 of __mul for squares.
37708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37712 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37713 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37715 2013-02-13 Joseph Myers <joseph@codesourcery.com>
37718 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37720 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37721 prototype or function definition. Rename ubp_* variables and
37722 parameters. Remove argv definitions conditional on
37723 [__BOUNDED_POINTERS__].
37724 * debug/backtrace.c (__backtrace): Do not use __unbounded.
37725 * elf/dl-runtime.c (_dl_fixup): Likewise.
37726 * include/set-hooks.h (RUN_HOOK): Likewise.
37727 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37729 * string/strcpy.c (strcpy): Do not use __unbounded.
37730 * sysdeps/generic/frame.h (struct layout): Likewise.
37731 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37732 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37733 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37734 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37735 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37736 (__backtrace): Likewise.
37737 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37739 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37740 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37741 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37743 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37744 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37745 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37746 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37747 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37748 Do not use __unbounded.
37749 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37750 Rename __unboundedrlimits parameter to rlimits in prototype.
37751 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37752 Do not use __unbounded.
37753 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37754 not use __ptrvalue.
37755 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37756 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37757 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37758 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37759 __ptrvalue or __unbounded.
37760 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37761 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37763 (__new_msgctl): Do not use __ptrvalue.
37764 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37766 (__libc_msgrcv): Do not use __ptrvalue.
37767 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37768 startup_info): Do not use __unbounded.
37769 (__libc_start_main): Likewise. Rename ubp_* variables and
37770 parameters. Remove argv definitions conditional on
37771 [__BOUNDED_POINTERS__].
37772 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37774 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37776 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37778 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37780 (__new_shmctl): Do not use __ptrvalue.
37781 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37782 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37784 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37785 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37786 (__libc_sigaction): Likewise.
37787 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37788 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37790 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37792 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
37794 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37796 * string/mempcpy.c: Implement by calling memcpy.
37798 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37800 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37805 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37806 values in the mantissa.
37808 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37809 minimize writes to Z.
37810 (sub_magnitudes): Simplify code a bit.
37812 2013-02-12 Roland McGrath <roland@hack.frob.com>
37814 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37815 from the message. The linker prefixes all warnings with that already.
37817 2013-02-12 Andreas Schwab <schwab@suse.de>
37820 * posix/regexec.c (extend_buffers): Add parameter min_len.
37821 (check_matching): Pass minimum needed length.
37822 (clean_state_log_if_needed): Likewise.
37823 (get_subexp): Likewise.
37824 * posix/Makefile (tests): Add bug-regex34.
37825 (bug-regex34-ENV): Define.
37826 * posix/bug-regex34.c: New file.
37829 * posix/regcomp.c (parse_bracket_exp): When looking up collating
37830 elements compare against the byte sequence of it, not its name.
37831 * posix/Makefile (tests): Add bug-regex35.
37832 (bug-regex35-ENV): Define.
37833 * posix/bug-regex35.c: New file.
37835 2013-02-11 Tom de Vries <tom@codesourcery.com>
37837 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
37839 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37840 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37841 (CHECK_EOL): Add undef.
37843 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
37845 * bits/stdlib-bsearch.h: New file.
37846 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37847 * stdlib/stdlib.h: Likewise.
37849 2013-02-11 Roland McGrath <roland@hack.frob.com>
37851 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37852 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37854 * manual/search.texi (Array Search Function): Add missing const in
37856 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37857 declaration to use rlim_t.
37858 (Basic Scheduling Functions): Remove erroneous const from
37859 sched_getparam prototype. Remove erroneous * from
37860 sched_get_priority_max and sched_get_priority_min prototypes.
37861 (Resource Usage): Fix summary @comment on vtimes to refer to
37862 sys/vtimes.h rather than vtimes.h.
37863 Add missing *s in vtimes prototype.
37864 (Limits on Resources): Fix ulimit prototype to return long int.
37865 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37866 prototypes to use long int rather than double.
37867 (BSD Random): Fix initstate and setstate to use char *, not void *.
37868 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37869 prototype to make second argument 'struct aiocb64 *const[]'.
37870 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37871 (Status of AIO Operations): Remove erroneous const in aio_return and
37872 aio_return64 prototypes.
37873 (Synchronizing I/O): Fix sync prototype to return void.
37874 * manual/startup.texi (Suboptions): Remove an erroneous const in
37875 getsubopt prototype.
37876 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37877 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37878 use size_t rather than int.
37879 (Scanning All Users): Likewise for getpwent_r.
37880 (Setting Groups): Add missing const to setgroups prototype.
37881 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37882 * manual/socket.texi (Host Names): Fix gethostbyaddr and
37883 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37884 'const void *' rather than 'const char *'.
37885 (Host Address Functions): Likewise for inet_ntop.
37886 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37887 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37888 ssize_t for return value.
37889 (Sending Data): Likewise for send, sendto, sendmsg.
37890 (Socket Option Functions): Add a missing const in setsockopt prototype.
37891 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37892 use wchar_t for the argument.
37893 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37894 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37896 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37897 double/float/long double for second argument.
37898 Fix return types of significand, significandf, significandl.
37899 * manual/filesys.texi (Setting Permissions): Use mode_t for second
37900 argument in fchmod prototype.
37901 (File Owner): Use uid_t and gid_t in fchown prototype.
37902 (File Times): Add const to utimes, futimes, and lutimes prototypes.
37903 (Making Special Files): Use mode_t and dev_t in mknod prototype.
37904 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37905 use 'const struct dirent **' as argument types to CMP function pointer
37907 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37908 (File Times): Fix summary magic @comment for struct utimbuf and utime
37909 to refer to utime.h, not time.h.
37910 * manual/string.texi (Argz Functions): Add missing const in
37911 argz_extract and argz_next prototypes.
37912 (Finding Tokens in a String): Likewise for basename.
37913 (String/Array Comparison): Fix typo in wcscasecmp prototype.
37914 (Copying and Concatenation): Fix typo in wmemmove prototype.
37915 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37916 (Signal Stack): Remove erroneous const in sigstack prototype.
37917 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37919 (Simple Calendar Time): Likewise for stime.
37920 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37922 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37923 say sys/sysctl.h instead.
37924 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37925 and vsyslog prototypes.
37927 2013-02-11 Tom de Vries <tom@codesourcery.com>
37929 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37932 2013-02-11 Roland McGrath <roland@hack.frob.com>
37934 * misc/sys/mman.h: Fix typo in mremap comment.
37936 2013-02-08 Roland McGrath <roland@hack.frob.com>
37938 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37939 the '\0' terminator.
37941 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37944 * debug/segfault.c: Don't include <bp-checks.h>.
37945 * sysdeps/generic/bp-checks.h: Remove file.
37946 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37947 (__GETDENTS): Don't use CHECK_N.
37948 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37949 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37950 (__getgroups): Don't use CHECK_N.
37951 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37952 (setgroups): Don't use CHECK_N.
37953 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37954 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37955 (__libc_msgrcv): Don't use CHECK_N.
37956 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37957 (__libc_msgsnd): Don't use CHECK_N.
37958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37960 (__libc_pread): Don't use CHECK_N.
37961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37962 include <bp-checks.h>.
37963 (__libc_pread64): Don't use CHECK_N.
37964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37965 include <bp-checks.h>.
37966 (__libc_pwrite): Don't use CHECK_N.
37967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37968 include <bp-checks.h>.
37969 (__libc_pwrite64): Don't use CHECK_N.
37970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37972 (__libc_pread): Don't use CHECK_N.
37973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37974 include <bp-checks.h>.
37975 (__libc_pread64): Don't use CHECK_N.
37976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37977 include <bp-checks.h>.
37978 (__libc_pwrite): Don't use CHECK_N.
37979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37980 include <bp-checks.h>.
37981 (__libc_pwrite64): Don't use CHECK_N.
37982 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37983 (do_pread): Don't use CHECK_N.
37984 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37985 (do_pread64): Don't use CHECK_N.
37986 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37987 (do_pwrite): Don't use CHECK_N.
37988 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37989 (do_pwrite64): Don't use CHECK_N.
37990 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37991 (__libc_readv): Don't use CHECK_N.
37992 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37993 (semop): Don't use CHECK_N.
37994 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37996 (semtimedop): Don't use CHECK_N.
37997 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37998 (__libc_pread): Don't use CHECK_N.
37999 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38001 (__libc_pread64): Don't use CHECK_N.
38002 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38004 (__libc_pwrite): Don't use CHECK_N.
38005 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38007 (__libc_pwrite64): Don't use CHECK_N.
38008 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38010 (__libc_msgrcv): Don't use CHECK_N.
38011 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38012 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
38013 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38014 (__libc_writev): Don't use CHECK_N.
38016 2013-02-08 Roland McGrath <roland@hack.frob.com>
38018 * string/strcpy.c: Removed unused variable.
38020 * Makeconfig (+sysdep-includes): Define with := rather than =.
38021 Use an existing include/ subdir of each sysdeps dir before it.
38023 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38025 * nscd/connection.c (register_traced_file): Comment function.
38026 [HAVE_INOTIFY] (union __inev): Define.
38027 [HAVE_INOTIFY] (inotify_check_files): New function.
38028 [HAVE_INOTIFY] (clear_db_cache): Likewise.
38029 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38031 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38033 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38035 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38036 loaded if not already and that a failure is permanent.
38038 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38041 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38042 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38044 2013-02-08 Joseph Myers <joseph@codesourcery.com>
38047 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38048 (CHECK_1_NULL_OK): Likewise.
38049 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38050 (__fxstat): Do not use CHECK_1.
38051 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38053 (___fxstat64): Do not use CHECK_1.
38054 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38056 (__fxstatat): Do not use CHECK_1.
38057 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38059 (__fxstatat64): Do not use CHECK_1.
38060 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38062 (__fxstat): Do not use CHECK_1.
38063 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38065 (__fxstatat): Do not use CHECK_1.
38066 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38068 (__getresgid): Do not use CHECK_1.
38069 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38071 (__getresuid): Do not use CHECK_1.
38072 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38074 (__lxstat): Do not use CHECK_1.
38075 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38077 (__old_msgctl): Do not use CHECK_1.
38078 (__new_msgctl): Likewise.
38079 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38081 (__new_setrlimit): Do not use CHECK_1.
38082 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38084 (__old_shmctl): Do not use CHECK_1.
38085 (__new_shmctl): Likewise.
38086 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38088 (__xstat): Do not use CHECK_1.
38089 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38090 (__lxstat): Do not use CHECK_1.
38091 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38093 (___lxstat64): Do not use CHECK_1.
38094 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38095 (__old_msgctl): Do not use CHECK_1.
38096 (__new_msgctl): Likewise.
38097 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38099 (__gettimeofday): Do not use CHECK_1.
38100 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38101 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38102 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38104 (__gettimeofday): Do not use CHECK_1.
38105 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38106 (__old_shmctl): Do not use CHECK_1_NULL_OK.
38107 (__new_shmctl): Do not use CHECK_1.
38108 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38110 (do_sigtimedwait): Do not use CHECK_1.
38111 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38113 (do_sigwaitinfo): Do not use CHECK_1.
38114 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38116 (msgctl): Do not use CHECK_1.
38117 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38119 (shmctl): Do not use CHECK_1.
38120 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38121 (ustat): Do not use CHECK_1.
38122 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38124 (__fxstat): Do not use CHECK_1.
38125 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38127 (__fxstatat): Do not use CHECK_1.
38128 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38130 (__lxstat): Do not use CHECK_1.
38131 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38133 (__xstat): Do not use CHECK_1.
38134 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38135 (__xstat): Do not use CHECK_1.
38136 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38137 (___xstat64): Do not use CHECK_1.
38140 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38142 (CHECK_BOUNDS_HIGH): Likewise.
38143 * string/strcpy.c: Do not include <bp-checks.h>.
38144 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38146 2013-02-07 Roland McGrath <roland@hack.frob.com>
38148 * nscd/nscd-client.h (__nscd_drop_map_ref):
38149 Add __attribute__ ((unused)).
38150 * nis/nss-nisplus.h (niserr2nss): Likewise.
38152 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38153 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38155 * csu/libc-tls.c (init_static_tls, init_slotinfo):
38156 Remove inline keyword.
38157 * include/rounding-mode.h (round_away): Likewise.
38158 * libio/wfileops.c (adjust_wide_data): Likewise.
38159 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38160 (__m128i_strloadu_tolower): Likewise.
38161 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38162 (__m128i_strloadu_tolower): Likewise.
38163 * time/mktime.c (ydhms_diff): Likewise.
38164 * locale/elem-hash.h (elem_hash): Likewise.
38165 * locale/setlocale.c (setdata): Likewise.
38166 * posix/regex_internal.h (re_string_char_size_at): Likewise.
38167 (re_string_wchar_at): Likewise.
38168 (bitset_not, bitset_merge, bitset_mask): Likewise.
38169 [!(__GNUC__ > 3)] (inline): Remove macro.
38170 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38171 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38172 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38173 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38174 * string/memcmp.c (memcmp_bytes): Likewise.
38175 * locale/programs/locarchive.c (compute_hashval): Likewise.
38176 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38177 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38178 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38179 * nss/getent.c (print_rpc, print_protocols): Likewise.
38180 (print_passwd, print_group, print_aliases): Likewise.
38181 * nis/nss-nisplus.h (niserr2nss): Likewise.
38182 * nscd/connections.c (restart_p): Likewise.
38183 Change return type to bool.
38185 2013-02-05 Roland McGrath <roland@hack.frob.com>
38187 * Makeconfig (all-Depend-files): Add existing
38188 $(sorted-subdirs:=/Depend) files.
38189 (all-subdirs): Remove nss.
38190 * sysdeps/unix/inet/Subdirs: Add it here instead.
38191 * hesiod/Depend: New file.
38193 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38194 instead of calling alloca.
38196 * io/lseek.c (__lseek): Rename to __libc_lseek.
38197 Define __lseek as an alias.
38199 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38201 2013-02-04 Carlos O'Donell <carlos@redhat.com>
38203 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38204 else clause and remove check for non-standard endianness.
38206 2013-02-04 David S. Miller <davem@davemloft.net>
38208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38210 2013-02-04 Joseph Myers <joseph@codesourcery.com>
38213 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38214 (__ubp_memchr): Remove prototype.
38215 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38216 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38217 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38218 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38219 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38221 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38222 (__ubp_memchr): Likewise.
38223 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38224 (__ubp_memchr): Likewise.
38225 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38226 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38227 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38228 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38230 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38231 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38232 (__getcwd): Do not use CHECK_STRING.
38233 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38235 (__real_chown): Do not use CHECK_STRING.
38236 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38238 (fchownat): Do not use CHECK_STRING.
38239 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38241 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38243 (__lchown): Do not use CHECK_STRING.
38244 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38245 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38246 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38247 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38249 include <bp-checks.h>.
38250 (truncate64): Do not use CHECK_STRING.
38251 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38253 (__real_chown): Do not use CHECK_STRING.
38254 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38256 (__lchown): Do not use CHECK_STRING.
38257 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38259 (__chown): Do not use CHECK_STRING.
38260 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38262 (truncate64): Do not use CHECK_STRING.
38263 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38265 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38266 (__xmknod): Do not use CHECK_STRING.
38267 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38269 (__xmknodat): Do not use CHECK_STRING.
38270 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38271 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38273 2013-02-04 Andreas Schwab <schwab@suse.de>
38276 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38277 * include/netdb.h: Likewise for h_errno.
38278 * elf/tst-stackguard1.c: Include <tls.h>.
38280 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
38282 * elf/link.h (struct link_map): Extend the l_addr comment.
38283 * include/link.h (struct link_map): Likewise.
38285 2013-02-01 Joseph Myers <joseph@codesourcery.com>
38288 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38289 (BOUNDED_1): Remove macro.
38290 * debug/backtrace.c: Don't include <bp-checks.h>.
38291 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38292 (__backtrace): Likewise.
38293 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38295 (__backtrace): Don't use BOUNDED_1.
38296 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38298 (__backtrace): Don't use BOUNDED_1.
38299 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38300 (__backtrace): Don't use BOUNDED_1.
38301 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38302 (shmat): Don't use BOUNDED_N.
38304 2013-01-31 Joseph Myers <joseph@codesourcery.com>
38307 * sysdeps/generic/bp-start.h: Remove file.
38308 * csu/libc-start.c: Don't include <bp-start.h>.
38309 (LIBC_START_MAIN): Set up __environ directly instead of using
38310 INIT_ARGV_and_ENVIRON.
38311 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38315 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38317 (CHECK_FCNTL): Likewise.
38318 (CHECK_N_PAGES): Likewise.
38321 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38323 (CHECK_SIGSET_NULL_OK): Likewise.
38324 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38326 (sigpending): Don't use CHECK_SIGSET.
38327 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38329 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38330 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38332 (do_sigsuspend): Don't use CHECK_SIGSET.
38333 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38335 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38336 (do_sigwait): Don't use CHECK_SIGSET.
38337 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38339 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38340 include <bp-checks.h>.
38341 (sigpending): Don't use CHECK_SIGSET.
38342 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38343 include <bp-checks.h>.
38344 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38345 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38347 (sigpending): Don't use CHECK_SIGSET.
38348 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38350 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38353 * sysdeps/generic/bp-semctl.h: Remove file.
38354 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38355 <bp-checks.h> and <bp-semctl.h>.
38356 (__old_semctl): Don't use CHECK_SEMCTL.
38357 (__new_semctl): Likewise.
38358 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38360 (__old_semctl): Don't use CHECK_SEMCTL.
38361 (__new_semctl): Likewise.
38362 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38363 <bp-checks.h> and <bp-semctl.h>.
38364 (__old_semctl): Don't use CHECK_SEMCTL.
38365 (__new_semctl): Likewise.
38366 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38367 <bp-checks.h> and <bp-semctl.h>.
38368 (semctl): Don't use CHECK_SEMCTL.
38371 * Makerules (elide-bp-thunks): Remove variable.
38372 (elide-routines.oS): Don't use $(elide-bp-thunks).
38373 (elide-routines.os): Likewise.
38374 (elide-routines.o): Likewise.
38375 (elide-routines.op): Likewise.
38376 (elide-routines.og): Likewise.
38377 (objects): Don't use $(bp-thunks).
38378 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38380 (common-generated): Do not add s-proto-bp.d.
38381 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38384 Do not generate makefile rules for bounded-pointer thunks.
38385 * sysdeps/generic/bp-thunks.h: Remove file.
38386 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38387 * sysdeps/unix/s-proto-bp.S: Likewise.
38390 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38391 parts of result separately when argument is not close to line from
38392 -i to i and one part of argument is small.
38393 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38394 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38395 * math/libm-test.inc (cacos_test): Add more tests.
38396 (casin_test): Likewise.
38397 (casinh_test): Likewise.
38398 * sysdeps/i386/fpu/libm-test-ulps: Update.
38399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38401 2013-01-31 David S. Miller <davem@davemloft.net>
38403 * po/de.po: Update from translation team.
38405 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
38407 * time/tzfile.c: Include stdint.h for SIZE_MAX.
38409 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
38411 * configure.in (_AC_PROG_CC_C89): New definition.
38412 * configure: Regenerate.
38414 * configure.in (AC_PROG_CPP): New definition.
38415 * configure: Regenerate.
38417 2013-01-23 Joseph Myers <joseph@codesourcery.com>
38419 * debug/tst-backtrace.h: New file.
38420 * debug/tst-backtrace2.c: Include tst-backtrace.h.
38421 (ret): Remove variable.
38423 (FAIL): Remove macro.
38424 (NO_INLINE): Likewise.
38425 (fn1): Use match function instead of strstr.
38426 * debug/tst-backtrace3.c: Include tst-backtrace.h.
38427 (ret): Remove variable.
38429 (FAIL): Remove macro.
38430 (NO_INLINE): Likewise.
38431 (fn): Use match function instead of strstr.
38432 * debug/tst-backtrace4.c: Include tst-backtrace.h.
38433 (ret): Remove variable.
38435 (FAIL): Remove macro.
38436 (NO_INLINE): Likewise.
38437 (handle_signal): Use match function instead of strstr.
38438 * debug/tst-backtrace5.c: Include tst-backtrace.h.
38439 (ret): Remove variable.
38441 (FAIL): Remove macro.
38442 (NO_INLINE): Likewise.
38443 (handle_signal): Use match function instead of strstr.
38445 2013-01-23 Roland McGrath <roland@hack.frob.com>
38447 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38449 2013-01-23 David S. Miller <davem@davemloft.net>
38451 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38452 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38453 argument of CAS if possible.
38454 * sysdeps/sparc/sparc64/bits/atomic.h
38455 (__arch_compare_and_exchange_val_32_acq): Likewise.
38456 (__arch_compare_and_exchange_val_64_acq): Likewise.
38458 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
38460 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38461 * sysdeps/posix/ulimit.c: ... this.
38462 Include <limits.h>.
38463 * sysdeps/unix/bsd/ulimit.c: Remove file.
38465 2013-01-23 Adam Conrad <adconrad@0c3.net>
38467 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38468 (LDFLAGS-tst-array5): Likewise.
38470 2013-01-23 Joseph Myers <joseph@codesourcery.com>
38473 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38474 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38475 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38476 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38478 2013-01-21 David S. Miller <davem@davemloft.net>
38480 * sysdeps/sparc/backtrace.c: New file.
38481 * sysdeps/sparc/sparc32/backtrace.h: New file.
38482 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38483 * sysdeps/sparc/sparc64/backtrace.h: New file.
38484 * sysdeps/sparc/sparc64/backtrace.c: Delete.
38485 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38488 2013-01-21 Andreas Schwab <schwab@suse.de>
38491 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38494 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
38496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38500 2013-01-18 Joseph Myers <joseph@codesourcery.com>
38501 Mark Mitchell <mark@codesourcery.com>
38502 Tom de Vries <tom@codesourcery.com>
38503 Paul Pluzhnikov <ppluzhnikov@google.com>
38505 * debug/tst-backtrace2.c: New file.
38506 * debug/tst-backtrace3.c: Likewise.
38507 * debug/tst-backtrace4.c: Likewise.
38508 * debug/tst-backtrace5.c: Likewise.
38509 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38510 (CFLAGS-tst-backtrace3.c): Likewise.
38511 (CFLAGS-tst-backtrace4.c): Likewise.
38512 (CFLAGS-tst-backtrace5.c): Likewise.
38513 (LDFLAGS-tst-backtrace2): Likewise.
38514 (LDFLAGS-tst-backtrace3): Likewise.
38515 (LDFLAGS-tst-backtrace4): Likewise.
38516 (LDFLAGS-tst-backtrace5): Likewise.
38517 (tests): Add new tests tst-backtrace2, tst-backtrace3,
38518 tst-backtrace4 and tst-backtrace5.
38520 2013-01-18 Anton Blanchard <anton@samba.org>
38521 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38523 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38524 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38525 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38526 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38528 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38529 "+r" and remove output regs list as redundant. Add explicit inline
38530 asm to specify register of return val to work around compiler codegen
38531 bug. Remove (int) cast on return value. Add return type parameter to
38532 use in macro so that this macro does not truncate return value for
38534 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38535 pass to INTERNAL_VSYSCALL_NCS.
38536 (INLINE_VSYSCALL): Add 'long int' as return type to
38537 INTERNAL_VSYSCALL_NCS macro invocation.
38538 (INTERNAL_VSYSCALL): Add 'long int' as return type to
38539 INTERNAL_VSYSCALL_NCS macro invocation.
38540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38542 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38545 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38546 Fix application of SIMD FP exception mask.
38548 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38549 mp_no from a power of two.
38550 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38551 __mpexp_twomm1. Use __pow_mp.
38553 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38556 2013-01-17 David S. Miller <davem@davemloft.net>
38558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38560 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38563 * include/complex.h: Condition contents on [!_COMPLEX_H].
38564 (__kernel_casinhf): New prototype.
38565 (__kernel_casinh): Likewise.
38566 (__kernel_casinhl): Likewise.
38567 * math/Makefile (libm_calls): Add k_casinh.
38568 * math/k_casinh.c: New file.
38569 * math/k_casinhf.c: Likewise.
38570 * math/k_casinhl.c: Likewise.
38571 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38572 finite nonzero arguments.
38573 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38574 finite nonzero arguments.
38575 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38576 finite nonzero arguments.
38577 * math/s_casinh.c: Do not include <float.h>.
38578 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38579 * math/s_casinhf.c: Do not include <float.h>.
38580 (__casinhf): Move code for finite nonzero arguments to
38582 * math/s_casinhl.c: Do not include <float.h>.
38583 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38585 (__casinhl): Move code for finite nonzero arguments to
38587 * math/libm-test.inc (cacos_test): Add more tests.
38588 * sysdeps/i386/fpu/libm-test-ulps: Update.
38589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38591 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
38593 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38594 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38595 [!HAVE_MREMAP]: Remove [defined linux] case.
38596 * malloc/arena.c: Do not include <malloc-sysdep.h>.
38598 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38600 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38602 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
38604 * elf/elf.h (R_386_SIZE32): New relocation.
38605 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38607 (elf_machine_rela): Likewise.
38608 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38609 R_X86_64_SIZE64 and R_X86_64_SIZE32.
38611 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38613 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38614 (FP_FAST_FMA): Do not define.
38615 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38616 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38617 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38618 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38619 !_SOFT_FLOAT]: Likewise.
38620 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38621 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38623 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38624 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38625 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38626 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38627 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38628 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38631 2013-01-16 Andreas Schwab <schwab@suse.de>
38634 * include/stdlib.h (__mktemp): Add declaration.
38635 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38636 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38638 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38640 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38642 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38643 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38644 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38646 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38647 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38649 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38651 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38652 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38653 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38655 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38656 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38658 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38660 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38662 2013-01-15 David S. Miller <davem@davemloft.net>
38664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38665 trunc{,f} to libm-sysdep_routes.
38666 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38676 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38677 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38678 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38679 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38680 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38681 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38684 nearbyint{,f} to libm-sysdep_routes.
38685 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38696 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38698 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38699 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38701 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38702 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38703 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38705 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38706 libc_feholdexcept and libc_fesetenv.
38708 2013-01-15 Mike Frysinger <vapier@gentoo.org>
38710 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38712 2013-01-14 David S. Miller <davem@davemloft.net>
38714 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38715 (SPARC_ASM_VIS2_IFUNC): Likewise.
38716 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38718 use of 'siam' instruction.
38719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38726 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38727 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38740 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38752 routines to libm-sysdep_routines.
38753 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38756 fdim/fdimf to libm-sysdep_routines.
38757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38765 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38766 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38767 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38768 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38770 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38772 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38773 to optimize copies.
38775 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38776 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38780 local variable MPTWO.
38781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38784 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38786 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38789 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38791 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38793 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38795 * manual/pattern.texi (glob_t): Document gl_flags.
38796 (glob64_t): Likewise.
38798 2013-01-11 David S. Miller <davem@davemloft.net>
38800 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38801 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38802 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
38803 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38804 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38805 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38806 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38807 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38808 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38809 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38810 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38811 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38812 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38814 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38815 sparc V9 rather than using V8 code.
38816 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38817 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38819 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38821 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38824 2013-01-11 Roland McGrath <roland@hack.frob.com>
38826 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38827 not in the main loop.
38828 * configure: Regenerated.
38830 2013-01-11 Joseph Myers <joseph@codesourcery.com>
38832 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38833 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38835 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
38836 [!__GLIBC_HAVE_LONG_LONG] case.
38837 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38838 condition to just #else.
38839 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38840 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38841 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38842 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38844 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38845 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38846 #elif condition to just #else.
38847 * sysdeps/unix/sysv/linux/sys/sysmacros.h
38848 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38849 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38850 #elif condition to just #else.
38852 2013-01-11 Steve Ellcey <sellcey@mips.com>
38854 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38855 (EF_MIPS_ARCH_64): Fix value.
38856 (EF_MIPS_ARCH_32R2): New.
38857 (EF_MIPS_ARCH_64R2): New.
38859 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
38861 * Makeconfig (+link-pie-before-libc): New.
38862 (+link-pie-after-libc): Likewise.
38863 (+link-pie-tests): Likewise.
38864 (+link-pie): Rewritten.
38865 (link-before-libc): Remove $(config-LDFLAGS).
38866 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38867 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38868 (config-LDFLAGS): Renamed to ...
38869 (rtld-LDFLAGS): This.
38870 (rtld-tests-LDFLAGS): New macro.
38871 (link-libc-rpath-link): Likewise.
38872 (link-libc-tests-rpath-link): Likewise.
38873 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38874 (link-libc): Prepand $(link-libc-rpath-link).
38875 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38876 (test-program-prefix): New macro.
38877 (test-via-rtld-prefix): Likewise.
38878 (test-program-cmd): Likewise.
38879 (host-test-program-cmd): Likewise.
38880 * Makefile ($(common-objpfx)testrun.sh): Replace
38881 $(run-program-prefix) with $(test-program-prefix).
38882 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38884 ($(common-objpfx)shlib.lds): Likewise.
38885 (build-module-helper): Likewise.
38886 ($(common-objpfx)format.lds): Likewise.
38887 * Rules (binaries-pie-tests): New.
38888 (binaries-pie-notests): Likewise.
38889 (binaries-pie): Rewritten.
38890 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38891 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38892 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38893 (make-test-out): Replace $(host-built-program-cmd) with
38894 $(host-test-program-cmd).
38895 * config.make.in (build-hardcoded-path-in-tests): New variable.
38896 * configure.in (--enable-hardcoded-path-in-tests): New configure
38898 (hardcoded_path_in_tests): New AC_SUBST.
38899 * configure: Regenerated.
38900 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38901 $(built-program-cmd) with $(test-program-cmd).
38902 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38903 (test_program_cmd): This.
38904 * elf/Makefile ($(objpfx)order.out): Run test with
38905 $(test-program-prefix).
38906 ($(objpfx)order2.out): Likewise.
38907 ($(objpfx)tst-initorder.out): Likewise.
38908 ($(objpfx)tst-initorder2.out): Likewise.
38909 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38910 $(test-program-cmd).
38911 ($(objpfx)tst-array1-static.out): Likewise.
38912 ($(objpfx)tst-array2.out): Likewise.
38913 ($(objpfx)tst-array3.out): Likewise.
38914 ($(objpfx)tst-array4.out): Likewise.
38915 ($(objpfx)tst-array5.out): Likewise.
38916 ($(objpfx)tst-array5-static.out): Likewise.
38917 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38918 $(test-program-cmd).
38919 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38920 $(run-program-prefix) with $(test-program-prefix).
38921 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38922 (test_program_prefix): This.
38923 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38924 $(run-program-prefix) with $(test-program-prefix).
38925 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38926 (test_program_prefix): This.
38927 * iconvdata/tst-tables.sh: Likewise.
38928 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38929 $(run-program-prefix) with $(test-program-prefix).
38930 ($(objpfx)tst-translit.out): Likewise.
38931 ($(objpfx)tst-gettext2.out): Likewise.
38932 ($(objpfx)tst-gettext4.out): Likewise.
38933 ($(objpfx)tst-gettext6.out): Likewise.
38934 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38935 (test_program_prefix): This.
38936 * intl/tst-gettext2.sh: Likewise.
38937 * intl/tst-gettext4.sh Likewise.
38938 * intl/tst-gettext6.sh: Likewise.
38939 * intl/tst-translit.sh: Likewise.
38940 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38941 with $(test-program-cmd).
38942 * libio/Makefile ($(objpfx)test-freopen.out): Replace
38943 $(run-program-prefix) with $(test-program-prefix).
38944 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38945 (test_program_prefix): This.
38946 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38947 $(run-program-prefix) with $(test-program-prefix).
38948 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38949 (test_program_prefix): This.
38950 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38951 * posix/Makefile ($(objpfx)globtest.out): Replace
38952 $(run-via-rtld-prefix) and $(test-wrapper) with
38953 $(test-program-prefix) and $(test-via-rtld-prefix).
38954 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38955 $(test-program-prefix).
38956 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38957 $(host-test-program-cmd).
38958 (tst-spawn-ARGS): Likewise.
38959 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38960 $(test-program-prefix).
38961 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38962 (test_via_rtld_prefix): This.
38963 (test_wrapper): Renamed to ...
38964 (test_program_prefix): This.
38965 (run_program_prefix): Replaced by test_program_prefix.
38966 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38967 (test_program_prefix): This.
38968 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38969 with $(host-test-program-cmd).
38970 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38971 $(run-program-prefix) with $(test-program-prefix).
38972 ($(objpfx)tst-printf.out): Likewise.
38973 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38974 $(test-program-cmd).
38975 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38976 (test_program_prefix): This.
38977 * stdio-common/tst-unbputc.sh: Likewise.
38978 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38979 $(run-program-prefix) with $(test-program-prefix).
38980 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38981 (test_program_prefix): This.
38982 * string/Makefile ($(objpfx)tst-svc.out): Replace
38983 $(built-program-cmd) with $(test-program-cmd).
38985 2013-01-11 Andreas Jaeger <aj@suse.de>
38988 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38989 value. Sync with Linux 3.7.
38991 2013-01-10 David S. Miller <davem@davemloft.net>
38993 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38994 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38995 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38997 2013-01-10 Roland McGrath <roland@hack.frob.com>
38999 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39001 * configure: Regenerated.
39003 2013-01-10 David S. Miller <davem@davemloft.net>
39005 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39006 sparc V9 rather than using V8 code.
39007 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39008 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39010 2013-01-10 Roland McGrath <roland@hack.frob.com>
39012 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39013 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39014 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39015 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39016 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39017 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39018 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39019 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39020 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39021 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39022 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39023 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39024 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39025 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39026 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39027 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39028 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39029 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39030 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39031 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39032 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39033 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39034 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39035 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39036 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39037 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39038 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39040 2013-01-10 David S. Miller <davem@davemloft.net>
39042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39044 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
39046 * posix/Makefile (tests-static): New variable.
39047 (tests): Add $(tests-static).
39048 (tst-exec-static-ARGS): New variable.
39049 (tst-spawn-static-ARGS): Likewise.
39050 * posix/tst-exec-static.c: New file.
39051 * posix/tst-spawn-static.c: Likewise.
39052 * posix/tst-exec.c: Support run directly.
39053 * posix/tst-spawn.c: Likewise.
39055 2013-01-10 Joseph Myers <joseph@codesourcery.com>
39057 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39059 * math/bits/mathcalls.h (llrint): Likewise.
39060 (llround): Likewise.
39061 * stdlib/stdlib.h (struct drand48_data): Likewise.
39062 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39063 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39064 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39066 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39068 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39069 (elf_greg_t): Likewise.
39070 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39071 (__jmp_buf): Likewise.
39072 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39074 (llrint): Likewise, for all definitions.
39075 (llrintl): Likewise.
39077 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39078 Remove [__GNUC__] condition.
39079 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39080 condition to just [__USE_ISOC99].
39081 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39083 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
39086 * sysdeps/unix/sysv/linux/x86/bits/environments.h
39087 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39089 (_POSIX_V6_ILP32_OFF32): Likewise.
39090 (_XBS5_ILP32_OFF32): Likewise.
39091 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39092 (__ILP32_OFFBIG_LDFLAGS): Likewise.
39094 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39096 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39098 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39099 doubles __mpexp_twomm1. Adjust usage.
39100 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39103 2013-01-10 Andreas Schwab <schwab@suse.de>
39106 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39107 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39109 2013-01-09 David S. Miller <davem@davemloft.net>
39112 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39113 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39114 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39115 (TCP_FASTOPEN): Define.
39116 (tcp_repair_opt): New structure.
39117 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39119 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39120 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39121 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39122 (tcp_cookie_transactions): New structure.
39124 2013-01-09 Anton Blanchard <anton@samba.org>
39126 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39127 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39128 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39129 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39131 2013-01-09 Joseph Myers <joseph@codesourcery.com>
39133 * include/features.h (__USE_ANSI): Remove.
39135 2013-01-09 Roland McGrath <roland@hack.frob.com>
39137 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39139 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39141 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
39143 * sysdeps/s390/fpu/libm-test-ulps: Update.
39145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39147 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39151 (denorm): Likewise.
39152 (__mp_dbl): Likewise.
39153 (__dbl_mp): Likewise.
39154 (add_magnitudes): Likewise.
39155 (sub_magnitudes): Likewise.
39161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39165 (denorm): Likewise.
39166 (__mp_dbl): Likewise.
39167 (__dbl_mp): Likewise.
39168 (add_magnitudes): Likewise.
39169 (sub_magnitudes): Likewise.
39175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39179 (denorm): Likewise.
39180 (__mp_dbl): Likewise.
39181 (__dbl_mp): Likewise.
39182 (add_magnitudes): Likewise.
39183 (sub_magnitudes): Likewise.
39190 2013-01-08 Joseph Myers <joseph@codesourcery.com>
39192 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39193 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39194 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39195 2 && __USE_EXTERN_INLINES]: Likewise.
39197 2013-01-08 Andreas Jaeger <aj@suse.de>
39200 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39202 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39203 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39205 2013-01-07 Anton Blanchard <anton@samba.org>
39207 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39208 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39209 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39210 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39211 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39212 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39213 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39214 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39216 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39217 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39218 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39219 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39220 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39221 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39222 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39223 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39224 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39225 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39226 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39227 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39228 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39229 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39230 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39231 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39232 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39233 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39234 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39235 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39236 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39237 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39238 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39239 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39240 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39241 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39242 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39243 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39244 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39245 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39246 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39247 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39248 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39249 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39251 2013-01-07 Joseph Myers <joseph@codesourcery.com>
39253 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39254 (__MALLOC_PMT): Likewise.
39255 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39256 [__GNUC__], only on [_LIBC].
39257 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39258 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39259 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39260 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39261 forward declaration.
39262 (realloc_hook_ini): Likewise.
39263 (memalign_hook_ini): Likewise.
39264 (__libc_memalign): Do not use __MALLOC_PMT in variable
39266 (__libc_valloc): Likewise.
39267 (__libc_pvalloc): Likewise.
39268 (__libc_calloc): Likewise.
39269 (__posix_memalign): Likewise.
39272 * math/s_casinh.c: Include <float.h>.
39273 (__casinh): Do not do computation with squaring and square root
39274 for large arguments.
39275 * math/s_casinhf.c: Include <float.h>.
39276 (__casinhf): Do not do computation with squaring and square root
39277 for large arguments.
39278 * math/s_casinhl.c: Include <float.h>.
39279 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39280 (__casinhl): Do not do computation with squaring and square root
39281 for large arguments.
39282 * math/libm-test.inc (casin_test): Add more tests.
39283 (casinh_test): Likewise.
39284 * sysdeps/i386/fpu/libm-test-ulps: Update.
39285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39287 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
39289 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39290 (__x86_64_raw_data_cache_size): Likewise.
39291 (__x86_64_data_cache_size_half): Likewise.
39292 (__x86_64_raw_data_cache_size_half): Likewise.
39293 (__x86_64_shared_cache_size): Likewise.
39294 (__x86_64_raw_shared_cache_size): Likewise.
39295 (__x86_64_shared_cache_size_half): Likewise.
39296 (__x86_64_raw_shared_cache_size_half): Likewise.
39297 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39299 (__x86_data_cache_size): This.
39300 (__x86_64_raw_data_cache_size): Renamed to ...
39301 (__x86_raw_data_cache_size): This.
39302 (__x86_64_data_cache_size_half): Renamed to ...
39303 (__x86_data_cache_size_half): This.
39304 (__x86_64_raw_data_cache_size_half): Renamed to ...
39305 (__x86_raw_data_cache_size_half): This.
39306 (__x86_64_shared_cache_size): Renamed to ...
39307 (__x86_shared_cache_size): This.
39308 (__x86_64_raw_shared_cache_size): Renamed to ...
39309 (__x86_raw_shared_cache_size): This.
39310 (__x86_64_shared_cache_size_half): Renamed to ...
39311 (__x86_shared_cache_size_half): This.
39312 (__x86_64_raw_shared_cache_size_half): Renamed to ...
39313 (__x86_raw_shared_cache_size_half): This.
39314 * sysdeps/x86_64/memcpy.S: Updated.
39315 * sysdeps/x86_64/memset.S: Likewise.
39316 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39317 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39318 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39320 2013-01-04 David S. Miller <davem@davemloft.net>
39322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39324 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
39326 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39327 1 to avoid redefinition warning.
39328 (__USE_GNU): Don't define.
39329 (init_signaling_nan): Protoize.
39331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39333 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39335 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39337 (__cpymn): Likewise.
39338 (norm): Remove commented code.
39339 (denorm): Likewise.
39340 (__mp_dbl): Likewise.
39342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39343 (__cpymn): Likewise.
39344 (norm): Remove commented code.
39345 (denorm): Likewise.
39346 (__mp_dbl): Likewise.
39349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39350 mp_no value for 1.0 and 2.0.
39351 (norm): Use RADIXI instead of radixi.d.
39352 (denorm): Likewise.
39353 (__mul): Use 0.0 instead of zero.d.
39354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39355 mp_no value for 1.0 and 2.0.
39356 (norm): Use RADIXI instead of radixi.d.
39357 (denorm): Likewise.
39358 (__mul): Use 0.0 instead of zero.d.
39360 2013-01-04 Joseph Myers <joseph@codesourcery.com>
39363 * math/s_casinh.c (__casinh): Reduce finite argument to first
39364 quadrant then set signs of results at the end.
39365 * math/s_casinhf.c (__casinhf): Likewise.
39366 * math/s_casinhl.c (__casinhl): Likewise.
39367 * math/libm-test.inc (casin_test): Add more tests.
39368 (casinh_test): Likewise.
39369 * sysdeps/i386/fpu/libm-test-ulps: Update.
39370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39372 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39374 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39376 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39378 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39380 (denorm): Likewise.
39381 (__mp_dbl): Likewise.
39384 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39385 and adjust the header comment.
39387 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39388 variable name from declaration.
39390 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
39392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39393 Initialize COMMON_CPUID_INDEX_7 element.
39394 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39395 (CPUID_RTM): Likewise.
39396 (HAS_RTM): Likewise.
39397 (COMMON_CPUID_INDEX_7): New enum.
39399 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
39402 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39403 size is zero, record memory as freed.
39405 2013-01-03 Andreas Jaeger <aj@suse.de>
39407 * po/ia.po: Add new Interlingua translation.
39409 2012-01-03 Allan McRae <allan@archlinux.org>
39411 * locale/programs/localedef.c: Fix description of '--posix' flag.
39413 2013-01-02 Joseph Myers <joseph@codesourcery.com>
39415 * NEWS: Update dates in second copyright notice.
39416 * README: Update copyright dates in example.
39417 * manual/libc.texinfo: Update copyright dates.
39418 * scripts/test-installation.pl: Update copyright date in --version
39421 * hurd/ctty-input.c: Fix copyright notice formatting.
39422 * hurd/ctty-output.c: Likewise.
39423 * hurd/dtable.c: Likewise.
39424 * hurd/hurd-raise.c: Likewise.
39425 * hurd/hurdprio.c: Likewise.
39426 * hurd/msgportdemux.c: Likewise.
39427 * misc/sys/file.h: Likewise.
39428 * misc/sys/ioctl.h: Likewise.
39429 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39430 * sysdeps/mach/hurd/chdir.c: Likewise.
39431 * sysdeps/mach/hurd/fchdir.c: Likewise.
39432 * sysdeps/mach/hurd/rename.c: Likewise.
39433 * sysdeps/mach/hurd/rmdir.c: Likewise.
39434 * sysdeps/mach/hurd/seekdir.c: Likewise.
39435 * sysdeps/mach/hurd/setsid.c: Likewise.
39436 * sysdeps/posix/wait3.c: Likewise.
39438 * All files with FSF copyright notices: Update copyright dates
39439 using scripts/update-copyrights.
39440 * intl/plural.c: Regenerated.
39441 * locale/programs/charmap-kw.h: Likewise.
39442 * locale/programs/locfile-kw.h: Likewise.
39444 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39446 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39449 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39450 calculation loop and add branch prediction.
39452 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39453 check access beyond bounds of m1np.
39455 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39457 (__inv): Remove local variable MPTWO to use the global
39459 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39460 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39462 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39463 MP3HALFS static const.
39465 2013-01-01 David S. Miller <davem@davemloft.net>
39467 * po/ca.po: Update from translation team.
39469 2013-01-01 Joseph Myers <joseph@codesourcery.com>
39471 * scripts/update-copyrights: New file.
39472 * Makeconfig: Reformat copyright notice.
39473 * ctype/ctype.h: Likewise.
39474 * debug/swprintf_chk.c: Likewise.
39475 * elf/dl-cache.c: Likewise.
39476 * elf/dl-debug.c: Likewise.
39477 * elf/dl-object.c: Likewise.
39478 * grp/initgroups.c: Likewise.
39479 * hurd/Makefile: Likewise.
39480 * hurd/hurd/signal.h: Likewise.
39481 * hurd/hurdfault.c: Likewise.
39482 * hurd/hurdioctl.c: Likewise.
39483 * hurd/hurdlookup.c: Likewise.
39484 * hurd/intr-msg.c: Likewise.
39485 * iconv/gconv_open.c: Likewise.
39486 * libio/swprintf.c: Likewise.
39487 * locale/lc-ctype.c: Likewise.
39488 * locale/nl_langinfo.c: Likewise.
39489 * mach/Machrules: Likewise.
39490 * mach/Makefile: Likewise.
39491 * malloc/obstack.h: Likewise.
39492 * manual/Makefile: Likewise.
39493 * manual/tsort.awk: Likewise.
39494 * misc/bits/stab.def: Likewise.
39495 * nis/nis_print_group_entry.c: Likewise.
39496 * nis/nis_table.c: Likewise.
39497 * nis/nss_compat/compat-pwd.c: Likewise.
39498 * nis/nss_compat/compat-spwd.c: Likewise.
39499 * po/Makefile: Likewise.
39500 * posix/fnmatch.c: Likewise.
39501 * posix/regex.h: Likewise.
39502 * resolv/Makefile: Likewise.
39503 * resolv/nss_dns/dns-network.c: Likewise.
39504 * resolv/res_hconf.c: Likewise.
39505 * scripts/gen-sorted.awk: Likewise.
39506 * soft-fp/soft-fp.h: Likewise.
39507 * stdio-common/printf.h: Likewise.
39508 * stdlib/monetary.h: Likewise.
39509 * stdlib/random.c: Likewise.
39510 * stdlib/random_r.c: Likewise.
39511 * sysdeps/generic/Makefile: Likewise.
39512 * sysdeps/gnu/Makefile: Likewise.
39513 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39515 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39517 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39518 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39520 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39521 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39523 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39524 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39525 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39526 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39527 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39528 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39529 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39530 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39531 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39533 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39534 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39535 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39536 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39537 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39538 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39539 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39540 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39541 * sysdeps/mach/hurd/errnos.awk: Likewise.
39542 * sysdeps/mach/hurd/fork.c: Likewise.
39543 * sysdeps/mach/hurd/getcwd.c: Likewise.
39544 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39545 * sysdeps/mach/hurd/mmap.c: Likewise.
39546 * sysdeps/mach/hurd/utimes.c: Likewise.
39547 * sysdeps/mach/hurd/xmknod.c: Likewise.
39548 * sysdeps/posix/profil.c: Likewise.
39549 * sysdeps/posix/readdir_r.c: Likewise.
39550 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39551 * sysdeps/powerpc/bits/setjmp.h: Likewise.
39552 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39553 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39554 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39555 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39556 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39557 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39559 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39560 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39561 * sysdeps/pthread/lio_listio.c: Likewise.
39562 * sysdeps/sparc/dl-procinfo.h: Likewise.
39563 * sysdeps/unix/i386/sysdep.S: Likewise.
39564 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39565 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39566 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39567 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39569 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39570 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39571 * sysdeps/unix/sysv/linux/speed.c: Likewise.
39572 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39573 * sysdeps/wordsize-32/divdi3.c: Likewise.
39574 * time/sys/time.h: Likewise.
39575 * wcsmbs/Makefile: Likewise.
39577 2013-01-01 David S. Miller <davem@davemloft.net>
39579 * po/fr.po: Update from translation team.
39581 * catgets/gencat.c: Update copyright year.
39582 * csu/version.c: Likewise.
39583 * debug/catchsegv.sh: Likewise.
39584 * debug/pcprofiledump.c: Likewise.
39585 * debug/xtrace.sh: Likewise.
39586 * elf/ldconfig.c: Likewise.
39587 * elf/ldd.bash.in: Likewise.
39588 * elf/pldd.c: Likewise.
39589 * elf/sotruss.ksh: Likewise.
39590 * elf/sprof.c: Likewise.
39591 * iconv/iconv_prog.c: Likewise.
39592 * iconv/iconvconfig.c: Likewise.
39593 * locale/programs/locale.c: Likewise.
39594 * locale/programs/localedef.c: Likewise.
39595 * login/programs/pt_chown.c: Likewise.
39596 * malloc/memusage.sh: Likewise.
39597 * malloc/memusagestat.c: Likewise.
39598 * malloc/mtrace.pl: Likewise.
39599 * nscd/nscd.c: Likewise.
39600 * nss/getent.c: Likewise.
39601 * nss/makedb.c: Likewise.
39602 * posix/getconf.c: Likewise.
39604 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39606 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39609 2012-12-30 Mike Frysinger <vapier@gentoo.org>
39611 * math/bits/mathcalls.h (modf): Use __nonnull.
39613 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39615 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39616 (split): Use macro CN instead of the bare value.
39617 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39619 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39620 instead of the bare value.
39621 (power1): Likewise.
39623 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39625 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39627 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39629 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39631 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39632 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39633 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39634 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39636 2012-12-28 Andreas Jaeger <aj@suse.de>
39638 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
39639 values are from Linux 3.7.
39641 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39642 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
39644 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39646 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39649 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39651 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39652 variables with preprocessor constants.
39653 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39654 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39655 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39657 2012-12-27 Bruno Haible <bruno@clisp.org>
39660 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39663 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39665 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39666 and use variable directly.
39667 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39669 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39671 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39672 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39674 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39676 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39677 include directive. Remove local variable MPONE.
39678 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39679 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39680 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39682 2012-12-25 David S. Miller <davem@davemloft.net>
39684 * version.h (RELEASE): Set to "development".
39685 (VERSION): Set to "2.17.90".
39686 * NEWS: Add 2.18 section.
39688 2012-12-21 David S. Miller <davem@davemloft.net>
39690 * po/hr.po: Update from translation team.
39692 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39694 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39696 2012-12-19 Steve Ellcey <sellcey@mips.com>
39698 * NEWS: Mention new memcpy for MIPS.
39700 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39702 * manual/contrib.texi (Contributors): Spelling correction.
39704 2012-12-15 David S. Miller <davem@davemloft.net>
39706 * po/ru.po: Update from translation team.
39708 2012-12-13 David S. Miller <davem@davemloft.net>
39710 * NEWS: Mention IFUNC testsuite enhancements.
39712 * po/pl.po: Update from translation team.
39713 * po/bg.po: Likewise.
39715 * manual/contrib.texi (Contributors): Update entries for Hongjiu
39716 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
39718 2012-12-11 David S. Miller <davem@davemloft.net>
39720 * po/sv.po: Update from translation team.
39722 * po/vi.po: Update from translation team.
39724 * po/cs.po: Update from translation team.
39726 * po/de.po: Update from translation team.
39727 * po/eo.po: Likewise.
39728 * po/nl.po: Likewise.
39730 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39733 * manual/argp.texi (Argp Helper Functions): Move node to follow
39734 Argp Parsing State.
39737 * manual/conf.texi (Limits on File System Capacity): Mention if
39738 terminating null is included in the max size.
39740 2012-12-10 Andreas Jaeger <aj@suse.de>
39742 * po/cs.po: Update from translation team.
39744 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39746 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39747 void pointer and cast to uintptr_t.
39748 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39750 * sysdeps/s390/s390-64/memcpy.S: Likewise.
39751 * sysdeps/s390/s390-64/memset.S: Likewise.
39753 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
39756 * menual/message.texi (Message Translation): Fix typos.
39757 (Helper programs for gettext): Likewise.
39759 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
39762 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39765 2012-12-07 David S. Miller <davem@davemloft.net>
39767 * po/libc.pot: Update.
39769 2012-12-07 Richard Henderson <rth@redhat.com>
39772 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39773 normal/normal case to before the switch.
39774 (_FP_DIV): Likewise.
39776 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
39777 Mike Frysinger <vapier@gentoo.org>
39779 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39780 check for __NR_fadvise64_64.
39782 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
39784 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39785 0, not just to plain "0" as a statement.
39786 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39789 2012-12-06 Joseph Myers <joseph@codesourcery.com>
39791 * NEWS: Use sourceware.org in Bugzilla URL.
39793 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39796 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39798 * stdio-common/tst-put-error.c (do_test): Add newline to the
39799 padded test to ensure flush.
39801 2012-12-05 Jeff Law <law@redhat.com>
39803 * sunrpc/etc.rpc (fedfs_admin): Add entry.
39805 2012-12-05 Joseph Myers <joseph@codesourcery.com>
39807 * README: Don't refer to ports add-on as distributed separately.
39808 Mention AArch64 in list of systems supported in the ports add-on.
39810 * LICENSES: Add more non-FSF copyright and license notices.
39812 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39815 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39817 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39818 10000 as width of padded output.
39820 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39822 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39824 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39825 variable LX with __attribute__ ((unused)).
39826 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39828 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39829 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39830 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39831 with __attribute__ ((unused)).
39833 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
39835 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39837 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39839 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39840 (CFLAGS-nldbl-acos.c): New variable.
39841 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39842 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39843 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39844 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39845 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39846 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39847 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39848 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39849 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39850 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39851 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39852 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39853 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39854 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39855 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39856 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39857 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39858 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39859 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39860 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39861 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39862 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39863 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39864 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39865 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39866 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39867 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39868 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39869 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39870 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39871 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39872 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39873 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39874 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39875 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39876 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39877 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39878 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39879 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39880 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39881 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39882 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39883 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39884 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39885 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39886 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39887 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39888 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39889 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39890 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39891 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39892 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39893 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39894 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39895 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39896 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39897 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39898 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39899 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39900 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39901 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39902 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39903 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39904 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39905 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39906 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39907 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39908 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39909 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39910 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39911 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39912 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39913 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39914 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39915 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39916 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39917 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39918 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39919 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39920 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39921 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39922 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39923 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39924 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39925 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39926 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39927 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39928 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39929 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39930 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39931 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39932 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39933 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39934 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39935 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39936 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39937 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39940 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39944 whole low double instead of just low 47 bits when splitting values
39947 2012-12-03 Allan McRae <allan@archlinux.org>
39949 * manual/stdio.texi (Predefined Printf Handlers): Remove
39950 @hsep and @vsep usage.
39952 2012-12-03 Mike Frysinger <vapier@gentoo.org>
39954 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39955 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39957 2012-12-03 Jeff Law <law@redhat.com>
39959 * time/sys/time.h (settimeofday): Do not mark TV argument
39962 2012-12-01 Mike Frysinger <vapier@gentoo.org>
39964 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39965 when currently writing and seek to current position when not.
39966 * libio/Makefile (tests): Remove bug-fclose1.
39967 * libio/bug-fclose1.c: Delete.
39969 2012-12-01 Joseph Myers <joseph@codesourcery.com>
39971 * manual/arith.texi (feenableexcept): Fix typo.
39972 (fedisableexcept): Likewise.
39974 2012-11-30 Roland McGrath <roland@hack.frob.com>
39976 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39977 second, differently-typed declaration, rather than a cast.
39979 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39981 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39982 * include/rpc/svc.h: ... here.
39984 2012-11-30 Aurelien Jarno <aurel32@debian.org>
39987 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39988 depending n and resplen2 to catch cases where answer
39991 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
39993 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39994 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39996 2012-11-29 Mike Frysinger <vapier@gentoo.org>
39998 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40000 2012-11-29 Roland McGrath <roland@hack.frob.com>
40002 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40004 2012-11-28 Jeff Law <law@redhat.com>
40007 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40008 dataset_temporary. Track alloca usage into alloca_used.
40009 If dataset is large allocate and release it via malloc/free.
40011 2012-06-04 Florian Weimer <fweimer@redhat.com>
40014 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40016 2012-11-28 David S. Miller <davem@davemloft.net>
40018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40020 2012-11-28 Joseph Myers <joseph@codesourcery.com>
40023 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40024 of pi/2 rounded to nearest to 64 bits.
40025 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40026 nearest to 64 bits.
40027 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40030 2012-11-28 Jeff Law <law@redhat.com>
40031 Martin Osvald <mosvald@redhat.com>
40034 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40035 * sunrpc/svc.c: Include time.h.
40036 (__svc_accept_failed): New function.
40037 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40038 any reason other than EINTR, call __svc_accept_failed.
40039 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40040 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40042 2012-11-28 Andreas Schwab <schwab@suse.de>
40044 * scripts/abilist.awk: Also handle indirect functions in .opd
40047 2012-11-28 Joseph Myers <joseph@codesourcery.com>
40050 * sysdeps/x86/fpu/powl_helper.c: New file.
40051 * sysdeps/x86/fpu/Makefile: Likewise.
40052 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40054 (__ieee754_powl): Use __powl_helper for finite arguments except
40055 integer exponents below 8.
40056 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40058 (__ieee754_powl): Use __powl_helper for finite arguments except
40059 integer exponents below 8.
40060 * math/libm-test.inc (pow_test): Add more tests and enable some
40061 previously disabled tests.
40062 * sysdeps/i386/fpu/libm-test-ulps: Update.
40063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40065 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40066 Carlos O'Donell <carlos_odonell@mentor.com>
40068 * nss/makedb.c (is_prime): Assert that input is odd and greater
40069 than 4. Note that fact in a comment too.
40070 (next_prime): Add 4 to input.
40072 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40075 * libio/Makefile (tests): Add test case tst-fwrite-error.
40076 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40077 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40078 * libio/tst-fwrite-error.c: New test case.
40080 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
40082 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40083 before casting to void *.
40084 * include/libc-internal.h (__pointer_type): New macro.
40085 (__integer_if_pointer_type_sub): Likewise.
40086 (__integer_if_pointer_type): Likewise.
40087 (cast_to_integer): Likewise.
40088 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40089 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40090 before casting to atomic64_t.
40091 (atomic_exchange_acq): Likewise.
40092 (__arch_exchange_and_add_body): Likewise.
40093 (__arch_add_body): Likewise.
40094 (atomic_add_negative): Likewise.
40095 (atomic_add_zero): Likewise.
40097 2012-11-26 Joseph Myers <joseph@codesourcery.com>
40099 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40100 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40101 (add_fdes): Likewise.
40102 (linear_search_fdes): Likewise.
40103 (binary_search_unencoded_fdes): Likewise.
40105 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
40107 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40109 2012-11-24 Adam Conrad <adconrad@0c3.net>
40111 * configure.in: Autodetect C++ header directories.
40112 * configure: Regenerated.
40114 2012-11-23 Mike Frysinger <vapier@gentoo.org>
40116 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40118 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
40120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40122 2012-11-22 Joseph Myers <joseph@codesourcery.com>
40124 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40125 LDBL_MANT_DIG == 106]: Disable some tests.
40126 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40128 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40132 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40133 input for small inputs. Return +/- pi/2 for large inputs.
40134 * math/libm-test.inc (atan_test): Add more tests.
40136 * sysdeps/generic/unwind-dw2-fde-glibc.c
40137 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40138 __attribute__ ((unused)).
40141 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40142 x * y if x and y are nonzero and z is zero.
40145 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40146 nonzero exponents with absolute value below 0x1p-117 to +/-
40150 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40151 up arguments below 2**-450, not just those below 2**-500.
40152 * math/libm-test.inc (hypot_test): Add another test.
40155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40156 Return a+b for ratio over 2**120, not 2**60.
40157 * math/libm-test.inc (hypot_test): Add another test.
40159 * math/libm-test.inc (clog_test): Use
40160 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40161 (clog10_test): Likewise.
40164 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40166 2012-11-22 Andreas Schwab <schwab@suse.de>
40168 * sysdeps/i386/fpu/libm-test-ulps: Update.
40170 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
40172 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40173 printf output with newline.
40175 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
40178 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40179 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40180 -z nodlopen, -z initfirst and -z execstack support.
40181 * configure: Regenerated.
40183 * elf/elf.h (DF_1_NODIRECT): New macro.
40184 (DF_1_IGNMULDEF): Likewise.
40185 (DF_1_NOKSYMS): Likewise.
40186 (DF_1_NOHDR): Likewise.
40187 (DF_1_EDITED): Likewise.
40188 (DF_1_NORELOC): Likewise.
40189 (DF_1_SYMINTPOSE): Likewise.
40190 (DF_1_GLOBAUDIT): Likewise.
40191 (DF_1_SINGLETON): Likewise.
40192 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40193 DT_1_SUPPORTED_MASK bits.
40194 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40196 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
40198 * sysdeps/unix/make-syscalls.sh: Document prefixes.
40200 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
40202 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40205 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40206 (sendmmsg): Move declarations...
40207 * socket/sys/socket.h: ... here.
40208 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40209 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40211 * socket/recvmmsg.c: ... this new file.
40212 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40213 (sendmmsg): Rename to __sendmmsg, create weak alias and make
40214 definition of __sendmmsg hidden.
40215 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40216 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40217 Move ENOSYS stub into and include it from...
40218 * socket/sendmmsg.c: ... this new file.
40219 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40220 (sysdep_routines): Move recvmmsg and sendmmsg...
40221 * socket/Makefile (routines): ... here.
40222 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40223 (GLIBC_PRIVATE): Add __sendmmsg.
40224 * include/sys/socket.h (__sendmmsg): Add declarations.
40225 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40228 2012-11-20 Joseph Myers <joseph@codesourcery.com>
40230 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40231 variable I1 with __attribute__ ((unused)).
40232 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40234 2012-11-19 Joseph Myers <joseph@codesourcery.com>
40236 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40237 DUMMY variables with __attribute__ ((unused)).
40239 * bits/byteswap.h: Include <bits/types.h>.
40240 (__bswap_64): Use __uint64_t instead of unsigned long long int.
40242 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
40244 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40245 string_t. Do not manually set errno.
40246 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40247 length with __strnlen. Make sure to both set errno and return it on
40250 2012-11-19 David S. Miller <davem@davemloft.net>
40252 With help from Joseph Myers.
40253 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40254 very large arguments properly.
40255 * math/libm-test.inc (atan_test): New tests.
40256 (atan2_test): New tests.
40257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40260 2012-11-19 Joseph Myers <joseph@codesourcery.com>
40263 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40266 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40267 [POSIX] (EADDRNOTAVAIL): Likewise.
40268 [POSIX] (EAFNOSUPPORT): Likewise.
40269 [POSIX] (EALREADY): Likewise.
40270 [POSIX] (ECONNABORTED): Likewise.
40271 [POSIX] (ECONNREFUSED): Likewise.
40272 [POSIX] (ECONNRESET): Likewise.
40273 [POSIX] (EDESTADDRREQ): Likewise.
40274 [POSIX] (EDQUOT): Likewise.
40275 [POSIX] (EHOSTUNREACH): Likewise.
40276 [POSIX] (EIDRM): Likewise.
40277 [POSIX] (EISCONN): Likewise.
40278 [POSIX] (ELOOP): Likewise.
40279 [POSIX] (EMULTIHOP): Likewise.
40280 [POSIX] (ENETDOWN): Likewise.
40281 [POSIX] (ENETUNREACH): Likewise.
40282 [POSIX] (ENOBUFS): Likewise.
40283 [POSIX] (ENODATA): Likewise.
40284 [POSIX] (ENOLINK): Likewise.
40285 [POSIX] (ENOMSG): Likewise.
40286 [POSIX] (ENOPROTOOPT): Likewise.
40287 [POSIX] (ENOSR): Likewise.
40288 [POSIX] (ENOSTR): Likewise.
40289 [POSIX] (ENOTCONN): Likewise.
40290 [POSIX] (ENOTSOCK): Likewise.
40291 [POSIX] (EOPNOTSUPP): Likewise.
40292 [POSIX] (EOVERFLOW): Likewise.
40293 [POSIX] (EPROTO): Likewise.
40294 [POSIX] (EPROTONOSUPPORT): Likewise.
40295 [POSIX] (EPROTOTYPE): Likewise.
40296 [POSIX] (ESTALE): Likewise.
40297 [POSIX] (ETIME): Likewise.
40298 [POSIX] (ETXTBSY): Likewise.
40299 [POSIX] (EWOULDBLOCK): Likewise.
40300 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40301 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40302 [POSIX] (SEEK_CUR): Likewise.
40303 [POSIX] (SEEK_END): Likewise.
40304 [POSIX || UNIX98] (mode_t): Do not require.
40305 [POSIX] (off_t): Likewise.
40306 [POSIX] (pid_t): Likewise.
40307 [POSIX] (sys/stat.h): Do not allow header.
40308 [POSIX] (unistd.h): Likewise.
40309 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40310 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40311 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40312 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40314 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40315 sigevent): Specify elements.
40316 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40318 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40319 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40321 * conform/data/cpio.h-data [POSIX]: Disable whole file.
40322 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40323 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40324 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40325 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40326 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40327 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40328 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40329 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40330 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40331 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40332 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40333 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40334 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40336 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40338 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40340 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40342 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40343 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40344 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40345 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40346 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40347 Specify lower bound on value.
40348 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40349 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40350 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40351 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40352 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40353 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40354 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40355 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40357 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40359 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40360 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40361 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40362 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40363 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40364 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40365 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40366 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40367 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40368 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40369 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40370 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40371 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40372 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40373 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40374 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40376 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40378 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40379 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40380 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40381 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40382 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40383 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40385 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40386 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40387 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40388 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40389 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
40390 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40391 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40393 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40394 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40395 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40396 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40397 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40398 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40399 specify as optional.
40400 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40401 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40402 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40403 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40404 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40405 [XPG3] (NL_LANGMAX): Likewise.
40406 [POSIX || XPG3] (NL_MSGMAX): Likewise.
40407 [POSIX || XPG3] (NL_NMAX): Likewise.
40408 [POSIX || XPG3] (NL_SETMAX): Likewise.
40409 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40410 [XPG3] (NZERO): Likewise.
40411 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40412 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40413 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40414 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40415 (REG_ERANGE): Expect.
40416 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40418 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40419 Use (void) in prototype.
40420 [POSIX] (*_t): Allow.
40421 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40422 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40423 (WRDE_BADVAL): Expect.
40425 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40427 [XPG3 || XPG4] (O_RSYNC): Likewise.
40428 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40430 [XPG3 || XPG4] (pthread_sigmask): Likewise.
40431 [XPG3 || XPG4] (sigqueue): Likewise.
40432 [XPG3 || XPG4] (sigtimedwait): Likewise.
40433 [XPG3 || XPG4] (sigwaitinfo): Likewise.
40434 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40435 [XPG3 || XPG4] (vsnprintf): Likewise.
40436 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40438 [XPG3 || XPG4] (blksize_t): Likewise.
40439 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40441 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40442 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40443 [XPG3 || XPG4] (struct itimerspec): Likewise.
40444 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40445 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40446 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40447 [XPG3 || XPG4] (clockid_t): Likewise.
40448 [XPG3 || XPG4] (timer_t): Likewise.
40449 [XPG3 || XPG4] (clock_getres): Likewise.
40450 [XPG3 || XPG4] (clock_gettime): Likewise.
40451 [XPG3 || XPG4] (clock_settime): Likewise.
40452 [XPG3 || XPG4] (nanosleep): Likewise.
40453 [XPG3 || XPG4] (timer_create): Likewise.
40454 [XPG3 || XPG4] (timer_delete): Likewise.
40455 [XPG3 || XPG4] (timer_gettime): Likewise.
40456 [XPG3 || XPG4] (timer_getoverrun): Likewise.
40457 [XPG3 || XPG4] (timer_settime): Likewise.
40458 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40459 [XPG3 || XPG4] (getlogin_r): Likewise.
40460 [XPG3 || XPG4] (pread): Likewise.
40461 [XPG3 || XPG4] (pthread_atfork): Likewise.
40462 [XPG3 || XPG4] (pwrite): Likewise.
40465 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40468 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
40470 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40471 finalizing MALLSTREAM.
40473 * sysdeps/mach/hurd/syncfs.c: New file.
40475 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40478 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40479 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40480 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40481 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40482 (_nss_dns_gethostbyname4_r): Likewise.
40483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40484 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40486 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
40489 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40491 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
40493 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40494 * elf/cache.c (print_entry): Print ",AArch64" for
40497 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40498 * elf/cache.c (print_entry): Print ",hard-float" for
40501 2012-11-18 David S. Miller <davem@davemloft.net>
40503 With help from Joseph Myers.
40504 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40506 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40508 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40509 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40511 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40512 * math/libm-test.inc (y0_test): New tests.
40513 (y1_test): New tests.
40514 * sysdeps/i386/fpu/libm-test-ulps: Update.
40515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40518 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
40520 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40522 * configure: Regenerated.
40524 2012-11-17 David S. Miller <davem@davemloft.net>
40527 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40528 nonzero exponents with absolute value below 0x1p-128 to +/-
40531 2012-11-17 Joseph Myers <joseph@codesourcery.com>
40533 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40535 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40537 * posix/getconf-speclist.c: New file.
40538 * posix/posix-envs.def: Likewise.
40539 * posix/confstr.c (START_ENV_GROUP): New macro.
40540 (END_ENV_GROUP): Likewise.
40541 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40542 (KNOWN_PRESENT_ENV_STRING): Likewise.
40543 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40544 (UNKNOWN_ENVIRONMENT): Likewise.
40545 (confstr): Include posix-envs.def instead of handling
40546 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40547 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40548 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40549 (END_ENV_GROUP): Likewise.
40550 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40551 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40552 (UNKNOWN_ENVIRONMENT): Likewise.
40553 (__sysconf): Include posix-envs.def instead of handling associated
40554 cases directly here.
40555 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40556 preprocessing getconf-speclist.c rather than running getconf or
40557 generating empty file.
40559 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
40561 * scripts/check-local-headers.sh: Ignore 'mach' headers.
40563 2012-11-16 Andrej Lajovic <natrij@gmail.com>
40566 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40568 2012-11-16 David S. Miller <davem@davemloft.net>
40570 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40571 smaller than LDBL_EPSILON/2.0L, just return xm1.
40573 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
40575 * elf/tst-array1.c (init): Set constructor priority to 1000.
40576 (fini): Set destructor priority to 1000.
40577 * elf/tst-array2dep.c: Likewise.
40579 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40582 * libio/fileops.c (_IO_new_file_write): Correctly return error.
40583 (_IO_new_file_xsputn): Also return EOF if none of the input
40584 data was written when overflow failed.
40585 * libio/iopadn.c (_IO_padn): Likewise.
40586 * libio/iowpadn.c (_IO_wpadn): Likewise.
40587 * stdio-common/tst-put-error.c: Add copyright notice.
40588 (do_test): Add case for printing padded string.
40589 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40590 _IO_padn returned error.
40591 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40592 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40595 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40597 * libio/libioP.h: Add comment note that the references to C++
40598 bits are now obsolete.
40600 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40602 * math/libm-test.inc (check_complex): Use asprintf.
40604 2012-11-14 Joseph Myers <joseph@codesourcery.com>
40606 * debug/pcprofiledump.c (print_version): Update copyright year.
40607 * malloc/memusagestat.c (print_version): Likewise.
40609 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
40612 * elf/Makefile (tests): Add tst-audit8.
40613 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40614 ($(objpfx)tst-audit8.out): New target.
40615 (tst-audit8-ENV): New variable.
40616 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40617 audit if l_reloc_result is NULL.
40618 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40619 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40620 * elf/tst-audit8.c: New file.
40622 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40624 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40625 * misc/Makefile (CFLAGS-select.c): Define.
40626 * posix/Makefile (CFLAGS-pause.c): Define.
40628 2012-11-13 David S. Miller <davem@davemloft.net>
40630 * crypt/Makefile: Move test targets after toplevel Rules
40631 inclusion. Grab any necessary sysdep routines when linking.
40632 * crypt/md5.c (md5_process_block): Remove define, we will always
40633 name it __md5_process_block.
40634 (md5_finish_ctx): Update md5_process_block call.
40635 (md5_stream): Likewise.
40636 (md5_process_bytes): Likewise.
40637 (md5_process_block): Rename to __md5_process_block and move to ...
40638 * crypt/md5-block.c: ... here.
40639 * crypt/sha256.c (sha256_process_block): Move to ...
40640 * crypt/sha256-block.c: ... here.
40641 * crypt/sha512.c (sha512_process_block): Move to ...
40642 * crypt/sha512-block.c: ... here.
40643 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40645 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40646 * sysdeps/sparc/sparc64/multiarch/Makefile
40647 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40649 (localedef-aux): Add md5 crypto assembler when in locale subdir.
40650 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40652 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40653 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40654 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40655 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40656 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40657 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40658 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40659 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40660 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40662 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40663 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40665 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40667 2012-11-13 Joseph Myers <joseph@codesourcery.com>
40669 * timezone/tzselect.ksh: Update from tzcode git revision
40670 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40671 * timezone/zdump.c: Likewise.
40672 * timezone/zic.c: Likewise.
40673 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40674 in TZVERSION setting, not $(PKGVERSION).
40675 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
40676 REPORT_BUGS_TO settings.
40679 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40682 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40684 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40685 detection to immediately after _FP_ROUND().
40686 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40689 2012-11-11 David S. Miller <davem@davemloft.net>
40691 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40693 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40694 __close rather than their public counterparts.
40696 2012-11-10 Joseph Myers <joseph@codesourcery.com>
40698 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40700 [UNIX98] (sem_timedwait): Do not expect.
40701 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40702 [XPG4 || UNIX98] (sockatmark): Do not expect.
40703 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40704 (clock_getcpuclockid): Do not expect.
40705 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40706 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40708 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40709 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40710 [UNIX98] (vwscanf): Likewise.
40711 [UNIX98] (vswscanf): Likewise.
40713 2012-11-09 Joseph Myers <joseph@codesourcery.com>
40715 * timezone/version.h: Remove file.
40716 * timezone/README: Do not refer to version.h.
40717 * timezone/Makefile ($(objpfx)zic.o): New dependency on
40718 $(objpfx)version.h.
40719 ($(objpfx)zdump.o): Likewise.
40720 ($(objpfx)version.h): New target.
40722 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40724 * timezone/README: Don't mention modification to tzselect.ksh.
40725 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40726 work on unmodified tzselect.ksh. Substitute version numbers in
40729 * Makefile (format-me): Remove.
40730 (INSTALL): Adjust indentation. Use commands directly instead of
40731 using $(format-me).
40733 * aclocal.m4 (ACX_PKGVERSION): New macro.
40734 (ACX_BUGURL): Likewise.
40735 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40736 (PKGVERSION): New AC_DEFINE_UNQUOTED.
40737 (REPORT_BUGS_TO): Likewise.
40738 * configure: Regenerated.
40739 * config.h.in (PKGVERSION): New macro.
40740 (REPORT_BUGS_TO): Likewise.
40741 * config.make.in (PKGVERSION): New variable.
40742 (PKGVERSION_TEXI): Likewise.
40743 (REPORT_BUGS_TO): Likewise.
40744 (REPORT_BUGS_TEXI): Likewise.
40745 * Makefile (format-me): Use -I$(common-objpfx)manual.
40746 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40747 ($(common-objpfx)manual/%): New target.
40748 (manual/%): Remove target.
40749 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40750 (print_version): Use PKGVERSION.
40751 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40752 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40753 and REPORT_BUGS_TO.
40754 ($(objpfx)xtrace): Likewise.
40755 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40756 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40757 (print_version): Use PKGVERSION.
40758 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40759 (do_version): Use PKGVERSION.
40760 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40762 (common-ldd-rewrite): Likewise.
40763 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40764 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40765 (print_version): Use PKGVERSION.
40766 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40767 * elf/pldd.c (argp_program_bug_address): Remove variable.
40768 (more_help): New function.
40769 (argp): Use more_help.
40770 (print_version): Use PKGVERSION.
40771 * elf/sln.c (main): Use PKGVERSION.
40772 (usage): Use REPORT_BUGS_TO.
40773 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40774 (top level): Use PKGVERSION.
40775 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40776 (print_version): Use PKGVERSION.
40777 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40778 (print_version): Use PKGVERSION.
40779 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40780 (print_version): Use PKGVERSION.
40781 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40782 (print_version): Use PKGVERSION.
40783 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40784 (print_version): Use PKGVERSION.
40785 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40786 (print_version): Use PKGVERSION.
40787 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40789 ($(objpfx)memusage): Likewise.
40790 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40791 (do_version): Use PKGVERSION.
40792 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40793 (print_version): Use PKGVERSION.
40794 * malloc/mtrace.pl ($PACKAGE): Remove variable.
40795 ($PKGVERSION): New variable.
40796 ($REPORT_BUGS_TO): Likewise.
40797 (usage): Use $REPORT_BUGS_TO.
40798 (top level): Use $PKGVERSION.
40799 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40800 ($(objpfx)pkgvers.texi): New rule.
40801 ($(objpfx)stamp-pkgvers): Likewise.
40802 * manual/install.texi: Include pkgvers.texi.
40803 (--with-pkgversion): Document new configure option.
40804 (--with-bugurl): Likewise.
40805 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40806 than necessarily for this particular distribution. Use
40807 REPORT_BUGS_TO for where to report bugs.
40808 * INSTALL: Regenerated.
40809 * manual/libc.texinfo: Include pkgvers.texi.
40810 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40811 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40812 (print_version): Use PKGVERSION.
40813 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40814 (print_version): Use PKGVERSION.
40815 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40816 (print_version): Use PKGVERSION.
40817 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40818 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40820 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40821 (print_version): Use PKGVERSION.
40822 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40823 (print_version): Use PKGVERSION.
40824 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40827 * timezone/checktab.awk: Update from tzcode 2012i.
40828 * timezone/ialloc.c: Likewise.
40829 * timezone/private.h: Likewise.
40830 * timezone/scheck.c: Likewise.
40831 * timezone/tzfile.h: Likewise.
40832 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40833 (TZVERSION): Hardcode tzcode version number.
40834 * timezone/zdump.c: Update from tzcode 2012i.
40835 * timezone/zic.c: Likewise.
40836 * timezone/version.h: New file.
40837 * timezone/README: Describe version.h. Update upstream location.
40840 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40841 (mktemp): Enable declaration.
40842 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40843 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40844 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40845 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40847 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40849 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40851 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40853 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40855 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40859 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40860 offset in buffer as u_int32_t not u_long. Consistently use memcpy
40861 for copies of such integer values.
40862 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40863 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40865 2012-11-09 Andreas Jaeger <aj@suse.de>
40867 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40868 definitions and declarations that are provided by
40869 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40871 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40873 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40874 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40875 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40878 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40880 * elf/elf.h: Update comment before AArch64 relocations.
40882 2012-11-07 David S. Miller <davem@davemloft.net>
40884 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40885 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40886 (__start_context): Declare.
40887 (__makecontext_ret): Delete.
40888 (__makecontext): Hook up __start_context instead of
40890 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40891 (sysdep_routines): Add __start_context when in stdlib.
40893 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40895 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40896 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40897 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
40899 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
40900 (READELF): New variable. Use it instead of hardcoded "readelf".
40902 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
40904 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40905 * sysdeps/x86/Makefile: Here.
40906 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40907 * sysdeps/x86/tst-xmmymm.sh: This.
40909 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40911 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40913 [UNIX98] (pthread_barrier_t): Do not expect.
40914 [UNIX98] (pthread_barrierattr_t): Likewise.
40915 [UNIX98] (pthread_spinlock_t): Likewise.
40916 [UNIX98] (pthread_barrier_destroy): Likewise.
40917 [UNIX98] (pthread_barrier_init): Likewise.
40918 [UNIX98] (pthread_barrier_wait): Likewise.
40919 [UNIX98] (pthread_barrierattr_destroy): Likewise.
40920 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40921 [UNIX98] (pthread_barrierattr_init): Likewise.
40922 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40923 [UNIX98] (pthread_getcpuclockid): Likewise.
40924 [UNIX98] (pthread_mutex_timedlock): Likewise.
40925 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40926 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40927 [UNIX98] (pthread_sigmask): Likewise.
40928 [UNIX98] (pthread_spin_destroy): Likewise.
40929 [UNIX98] (pthread_spin_init): Likewise.
40930 [UNIX98] (pthread_spin_lock): Likewise.
40931 [UNIX98] (pthread_spin_trylock): Likewise.
40932 [UNIX98] (pthread_spin_unlock): Likewise.
40933 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40935 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40936 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40937 [XPG3 || XPG4] (pthread_cond_t): Likewise.
40938 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40939 [XPG3 || XPG4] (pthread_key_t): Likewise.
40940 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40941 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40942 [XPG3 || XPG4] (pthread_once_t): Likewise.
40943 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40944 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40945 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40946 [XPG3 || XPG4] (pthread_t): Likewise.
40948 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40950 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40952 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40953 Change function return type to int.
40955 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40956 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40957 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40958 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40959 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40960 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40961 [!POSIX] (posix_madvise): Likewise.
40962 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40964 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40965 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40966 (mode_t): Likewise.
40967 (posix_mem_offset): Likewise.
40968 (posix_typed_mem_get_info): Likewise.
40969 (posix_typed_mem_open): Likewise.
40971 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40972 Change condition to [XOPEN2K8].
40974 * conform/conformtest.pl: Preprocess allow-header data with -x c
40975 instead of from stdin.
40976 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40977 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40978 [C99-based standards] (cerfc): Likewise.
40979 [C99-based standards] (cexp2): Likewise.
40980 [C99-based standards] (cexpm1): Likewise.
40981 [C99-based standards] (clog10): Likewise.
40982 [C99-based standards] (clog1p): Likewise.
40983 [C99-based standards] (clog2): Likewise.
40984 [C99-based standards] (clgamma): Likewise.
40985 [C99-based standards] (ctgamma): Likewise.
40986 [C99-based standards] (cerff): Likewise.
40987 [C99-based standards] (cerfcf): Likewise.
40988 [C99-based standards] (cexp2f): Likewise.
40989 [C99-based standards] (cexpm1f): Likewise.
40990 [C99-based standards] (clog10f): Likewise.
40991 [C99-based standards] (clog1pf): Likewise.
40992 [C99-based standards] (clog2f): Likewise.
40993 [C99-based standards] (clgammaf): Likewise.
40994 [C99-based standards] (ctgammaf): Likewise.
40995 [C99-based standards] (cerfl): Likewise.
40996 [C99-based standards] (cerfcl): Likewise.
40997 [C99-based standards] (cexp2l): Likewise.
40998 [C99-based standards] (cexpm1l): Likewise.
40999 [C99-based standards] (clog10l): Likewise.
41000 [C99-based standards] (clog1pl): Likewise.
41001 [C99-based standards] (clog2l): Likewise.
41002 [C99-based standards] (clgammal): Likewise.
41003 [C99-based standards] (ctgammal): Likewise.
41004 * conform/data/inttypes.h-data [C99-based standards]: Include
41005 stdint.h-data. Remove all expectations for stdint.h contents.
41006 [C99-based standards] (PRI*): Do not allow.
41007 [C99-based standards] (SCN*): Likewise.
41008 [C99-based standards] (*_t): Likewise.
41009 [C99-based-standards] (PRId8): Expect macro.
41010 [C99-based-standards] (PRIi8): Likewise.
41011 [C99-based-standards] (PRIo8): Likewise.
41012 [C99-based-standards] (PRIu8): Likewise.
41013 [C99-based-standards] (PRIx8): Likewise.
41014 [C99-based-standards] (PRIX8): Likewise.
41015 [C99-based-standards] (SCNd8): Likewise.
41016 [C99-based-standards] (SCNi8): Likewise.
41017 [C99-based-standards] (SCNo8): Likewise.
41018 [C99-based-standards] (SCNu8): Likewise.
41019 [C99-based-standards] (SCNx8): Likewise.
41020 [C99-based-standards] (PRIdLEAST8): Likewise.
41021 [C99-based-standards] (PRIiLEAST8): Likewise.
41022 [C99-based-standards] (PRIoLEAST8): Likewise.
41023 [C99-based-standards] (PRIuLEAST8): Likewise.
41024 [C99-based-standards] (PRIxLEAST8): Likewise.
41025 [C99-based-standards] (PRIXLEAST8): Likewise.
41026 [C99-based-standards] (SCNdLEAST8): Likewise.
41027 [C99-based-standards] (SCNiLEAST8): Likewise.
41028 [C99-based-standards] (SCNoLEAST8): Likewise.
41029 [C99-based-standards] (SCNuLEAST8): Likewise.
41030 [C99-based-standards] (SCNxLEAST8): Likewise.
41031 [C99-based-standards] (PRIdFAST8): Likewise.
41032 [C99-based-standards] (PRIiFAST8): Likewise.
41033 [C99-based-standards] (PRIoFAST8): Likewise.
41034 [C99-based-standards] (PRIuFAST8): Likewise.
41035 [C99-based-standards] (PRIxFAST8): Likewise.
41036 [C99-based-standards] (PRIXFAST8): Likewise.
41037 [C99-based-standards] (SCNdFAST8): Likewise.
41038 [C99-based-standards] (SCNiFAST8): Likewise.
41039 [C99-based-standards] (SCNoFAST8): Likewise.
41040 [C99-based-standards] (SCNuFAST8): Likewise.
41041 [C99-based-standards] (SCNxFAST8): Likewise.
41042 [C99-based-standards] (PRId16): Likewise.
41043 [C99-based-standards] (PRIi16): Likewise.
41044 [C99-based-standards] (PRIo16): Likewise.
41045 [C99-based-standards] (PRIu16): Likewise.
41046 [C99-based-standards] (PRIx16): Likewise.
41047 [C99-based-standards] (PRIX16): Likewise.
41048 [C99-based-standards] (SCNd16): Likewise.
41049 [C99-based-standards] (SCNi16): Likewise.
41050 [C99-based-standards] (SCNo16): Likewise.
41051 [C99-based-standards] (SCNu16): Likewise.
41052 [C99-based-standards] (SCNx16): Likewise.
41053 [C99-based-standards] (PRIdLEAST16): Likewise.
41054 [C99-based-standards] (PRIiLEAST16): Likewise.
41055 [C99-based-standards] (PRIoLEAST16): Likewise.
41056 [C99-based-standards] (PRIuLEAST16): Likewise.
41057 [C99-based-standards] (PRIxLEAST16): Likewise.
41058 [C99-based-standards] (PRIXLEAST16): Likewise.
41059 [C99-based-standards] (SCNdLEAST16): Likewise.
41060 [C99-based-standards] (SCNiLEAST16): Likewise.
41061 [C99-based-standards] (SCNoLEAST16): Likewise.
41062 [C99-based-standards] (SCNuLEAST16): Likewise.
41063 [C99-based-standards] (SCNxLEAST16): Likewise.
41064 [C99-based-standards] (PRIdFAST16): Likewise.
41065 [C99-based-standards] (PRIiFAST16): Likewise.
41066 [C99-based-standards] (PRIoFAST16): Likewise.
41067 [C99-based-standards] (PRIuFAST16): Likewise.
41068 [C99-based-standards] (PRIxFAST16): Likewise.
41069 [C99-based-standards] (PRIXFAST16): Likewise.
41070 [C99-based-standards] (SCNdFAST16): Likewise.
41071 [C99-based-standards] (SCNiFAST16): Likewise.
41072 [C99-based-standards] (SCNoFAST16): Likewise.
41073 [C99-based-standards] (SCNuFAST16): Likewise.
41074 [C99-based-standards] (SCNxFAST16): Likewise.
41075 [C99-based-standards] (PRId32): Likewise.
41076 [C99-based-standards] (PRIi32): Likewise.
41077 [C99-based-standards] (PRIo32): Likewise.
41078 [C99-based-standards] (PRIu32): Likewise.
41079 [C99-based-standards] (PRIx32): Likewise.
41080 [C99-based-standards] (PRIX32): Likewise.
41081 [C99-based-standards] (SCNd32): Likewise.
41082 [C99-based-standards] (SCNi32): Likewise.
41083 [C99-based-standards] (SCNo32): Likewise.
41084 [C99-based-standards] (SCNu32): Likewise.
41085 [C99-based-standards] (SCNx32): Likewise.
41086 [C99-based-standards] (PRIdLEAST32): Likewise.
41087 [C99-based-standards] (PRIiLEAST32): Likewise.
41088 [C99-based-standards] (PRIoLEAST32): Likewise.
41089 [C99-based-standards] (PRIuLEAST32): Likewise.
41090 [C99-based-standards] (PRIxLEAST32): Likewise.
41091 [C99-based-standards] (PRIXLEAST32): Likewise.
41092 [C99-based-standards] (SCNdLEAST32): Likewise.
41093 [C99-based-standards] (SCNiLEAST32): Likewise.
41094 [C99-based-standards] (SCNoLEAST32): Likewise.
41095 [C99-based-standards] (SCNuLEAST32): Likewise.
41096 [C99-based-standards] (SCNxLEAST32): Likewise.
41097 [C99-based-standards] (PRIdFAST32): Likewise.
41098 [C99-based-standards] (PRIiFAST32): Likewise.
41099 [C99-based-standards] (PRIoFAST32): Likewise.
41100 [C99-based-standards] (PRIuFAST32): Likewise.
41101 [C99-based-standards] (PRIxFAST32): Likewise.
41102 [C99-based-standards] (PRIXFAST32): Likewise.
41103 [C99-based-standards] (SCNdFAST32): Likewise.
41104 [C99-based-standards] (SCNiFAST32): Likewise.
41105 [C99-based-standards] (SCNoFAST32): Likewise.
41106 [C99-based-standards] (SCNuFAST32): Likewise.
41107 [C99-based-standards] (SCNxFAST32): Likewise.
41108 [C99-based-standards] (PRId64): Likewise.
41109 [C99-based-standards] (PRIi64): Likewise.
41110 [C99-based-standards] (PRIo64): Likewise.
41111 [C99-based-standards] (PRIu64): Likewise.
41112 [C99-based-standards] (PRIx64): Likewise.
41113 [C99-based-standards] (PRIX64): Likewise.
41114 [C99-based-standards] (SCNd64): Likewise.
41115 [C99-based-standards] (SCNi64): Likewise.
41116 [C99-based-standards] (SCNo64): Likewise.
41117 [C99-based-standards] (SCNu64): Likewise.
41118 [C99-based-standards] (SCNx64): Likewise.
41119 [C99-based-standards] (PRIdLEAST64): Likewise.
41120 [C99-based-standards] (PRIiLEAST64): Likewise.
41121 [C99-based-standards] (PRIoLEAST64): Likewise.
41122 [C99-based-standards] (PRIuLEAST64): Likewise.
41123 [C99-based-standards] (PRIxLEAST64): Likewise.
41124 [C99-based-standards] (PRIXLEAST64): Likewise.
41125 [C99-based-standards] (SCNdLEAST64): Likewise.
41126 [C99-based-standards] (SCNiLEAST64): Likewise.
41127 [C99-based-standards] (SCNoLEAST64): Likewise.
41128 [C99-based-standards] (SCNuLEAST64): Likewise.
41129 [C99-based-standards] (SCNxLEAST64): Likewise.
41130 [C99-based-standards] (PRIdFAST64): Likewise.
41131 [C99-based-standards] (PRIiFAST64): Likewise.
41132 [C99-based-standards] (PRIoFAST64): Likewise.
41133 [C99-based-standards] (PRIuFAST64): Likewise.
41134 [C99-based-standards] (PRIxFAST64): Likewise.
41135 [C99-based-standards] (PRIXFAST64): Likewise.
41136 [C99-based-standards] (SCNdFAST64): Likewise.
41137 [C99-based-standards] (SCNiFAST64): Likewise.
41138 [C99-based-standards] (SCNoFAST64): Likewise.
41139 [C99-based-standards] (SCNuFAST64): Likewise.
41140 [C99-based-standards] (SCNxFAST64): Likewise.
41141 [C99-based-standards] (PRIdMAX): Likewise.
41142 [C99-based-standards] (PRIiMAX): Likewise.
41143 [C99-based-standards] (PRIoMAX): Likewise.
41144 [C99-based-standards] (PRIuMAX): Likewise.
41145 [C99-based-standards] (PRIxMAX): Likewise.
41146 [C99-based-standards] (PRIXMAX): Likewise.
41147 [C99-based-standards] (SCNdMAX): Likewise.
41148 [C99-based-standards] (SCNiMAX): Likewise.
41149 [C99-based-standards] (SCNoMAX): Likewise.
41150 [C99-based-standards] (SCNuMAX): Likewise.
41151 [C99-based-standards] (SCNxMAX): Likewise.
41152 [C99-based-standards] (PRIdPTR): Likewise.
41153 [C99-based-standards] (PRIiPTR): Likewise.
41154 [C99-based-standards] (PRIoPTR): Likewise.
41155 [C99-based-standards] (PRIuPTR): Likewise.
41156 [C99-based-standards] (PRIxPTR): Likewise.
41157 [C99-based-standards] (PRIXPTR): Likewise.
41158 [C99-based-standards] (SCNdPTR): Likewise.
41159 [C99-based-standards] (SCNiPTR): Likewise.
41160 [C99-based-standards] (SCNoPTR): Likewise.
41161 [C99-based-standards] (SCNuPTR): Likewise.
41162 [C99-based-standards] (SCNxPTR): Likewise.
41163 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41165 * conform/data/stdint.h-data: Update comments to clarify
41167 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
41169 [C99-based standards] (INT8_MAX): Likewise.
41170 [C99-based standards] (INT16_MIN): Likewise.
41171 [C99-based standards] (INT16_MAX): Likewise.
41172 [C99-based standards] (INT32_MIN): Likewise.
41173 [C99-based standards] (INT32_MAX): Likewise.
41174 [C99-based standards] (INT64_MIN): Likewise.
41175 [C99-based standards] (INT64_MAX): Likewise.
41176 [C99-based standards] (UINT8_MAX): Likewise.
41177 [C99-based standards] (UINT16_MAX): Likewise.
41178 [C99-based standards] (UINT32_MAX): Likewise.
41179 [C99-based standards] (UINT64_MAX): Likewise.
41180 [C99-based standards] (INT_LEAST8_MIN): Likewise.
41181 [C99-based standards] (INT_LEAST8_MAX): Likewise.
41182 [C99-based standards] (INT_LEAST16_MIN): Likewise.
41183 [C99-based standards] (INT_LEAST16_MAX): Likewise.
41184 [C99-based standards] (INT_LEAST32_MIN): Likewise.
41185 [C99-based standards] (INT_LEAST32_MAX): Likewise.
41186 [C99-based standards] (INT_LEAST64_MIN): Likewise.
41187 [C99-based standards] (INT_LEAST64_MAX): Likewise.
41188 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41189 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41190 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41191 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41192 [C99-based standards] (INT_FAST8_MIN): Likewise.
41193 [C99-based standards] (INT_FAST8_MAX): Likewise.
41194 [C99-based standards] (INT_FAST16_MIN): Likewise.
41195 [C99-based standards] (INT_FAST16_MAX): Likewise.
41196 [C99-based standards] (INT_FAST32_MIN): Likewise.
41197 [C99-based standards] (INT_FAST32_MAX): Likewise.
41198 [C99-based standards] (INT_FAST64_MIN): Likewise.
41199 [C99-based standards] (INT_FAST64_MAX): Likewise.
41200 [C99-based standards] (UINT_FAST8_MAX): Likewise.
41201 [C99-based standards] (UINT_FAST16_MAX): Likewise.
41202 [C99-based standards] (UINT_FAST32_MAX): Likewise.
41203 [C99-based standards] (UINT_FAST64_MAX): Likewise.
41204 [C99-based standards] (INTPTR_MIN): Likewise.
41205 [C99-based standards] (INTPTR_MAX): Likewise.
41206 [C99-based standards] (UINTPTR_MAX): Likewise.
41207 [C99-based standards] (INTMAX_MIN): Likewise.
41208 [C99-based standards] (INTMAX_MAX): Likewise.
41209 [C99-based standards] (UINTMAX_MAX): Likewise.
41210 [C99-based standards] (PTRDIFF_MIN): Likewise.
41211 [C99-based standards] (PTRDIFF_MAX): Likewise.
41212 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41213 [C99-based standards] (SIZE_MAX): Likewise.
41214 [C99-based standards] (WCHAR_MAX): Likewise.
41215 [C99-based standards] (WINT_MAX): Likewise.
41216 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
41217 constraint on value.
41218 [C99-based standards] (WCHAR_MIN): Likewise.
41219 [C99-based standards] (WINT_MIN): Likewise.
41220 [C99-based standards] (*_t): Allow.
41221 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41222 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41223 Include math.h-data and complex.h-data. Remove all expectations
41224 of math.h and complex.h contents.
41225 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41227 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41228 (struct tm): Expect tag.
41229 [C99-based-standards] (wcstof): Expect function.
41230 [C99-based-standards] (wcstold): Likewise.
41231 [C99-based-standards] (wcstoll): Likewise.
41232 [C99-based-standards] (wcstoull): Likewise.
41233 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41234 macro-int-constant. Specify type.
41235 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
41236 constraint on value.
41237 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41239 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41241 [ISO C standards]: Do not allow headers.
41242 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41243 wcs[abcdefghijklmnopqrstuvwxyz]*.
41244 [ISO C standards] (*_t): Do not allow.
41245 * conform/data/wctype.h-data [C99-based standards] (iswblank):
41247 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41248 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41250 [ISO C standards]: Do not allow headers.
41251 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41252 is[abcdefghijklmnopqrstuvwxyz]*.
41253 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41254 to[abcdefghijklmnopqrstuvwxyz]*.
41255 [ISO C standards] (*_t): Do not allow.
41256 * conform/data/stdalign.h-data: New file.
41257 * conform/data/stdbool.h-data: Likewise.
41258 * conform/data/stdnoreturn.h-data: Likewise.
41260 2012-11-07 Roland McGrath <roland@hack.frob.com>
41263 * manual/filesys.texi (Directory Entries): Typo fix.
41264 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41266 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41268 * elf/elf.h (EM_AARCH64): New macro.
41269 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41270 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41271 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41272 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41273 (R_AARCH64_TLSDESC): Likewise.
41274 (NT_ARM_TLS): Likewise.
41275 (NT_ARM_HW_BREAK): Likewise.
41276 (NT_ARM_HW_WATCH): Likewise.
41278 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41281 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41282 (__ieee754_powl): Saturate nonzero exponents with absolute value
41283 below 0x1p-79 to +/- 0x1p-79.
41284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41285 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41286 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41287 nonzero exponents with absolute value below 0x1p-32 to +/-
41289 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41290 (__ieee754_powl): Saturate nonzero exponents with absolute value
41291 below 0x1p-79 to +/- 0x1p-79.
41292 * math/libm-test.inc (pow_test): Add more tests.
41294 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41296 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41297 _dl_s390_cap_flags with kernel. Increase string length.
41298 (_dl_s390_platforms): Add z196 and zEC12.
41300 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41302 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41303 Change XOPEN21K to XOPEN2K.
41305 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
41307 * string/memmove.c: Use memcpy when possible.
41309 2012-11-06 Andreas Jaeger <aj@suse.de>
41311 * po/eo.po: Update from translation team.
41313 2012-11-06 Joseph Myers <joseph@codesourcery.com>
41316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41317 exponent and small x and y exponents, scale x or y up. Increase
41318 by 2 the exponent used in scaling up.
41319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41321 * math/libm-test.inc (fma_test): Add more tests.
41322 (fma_test_towardzero): Likewise.
41323 (fma_test_downward): Likewise.
41324 (fma_test_upward): Likewise.
41326 2012-11-05 Joseph Myers <joseph@codesourcery.com>
41329 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41333 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41334 namespace for names of struct fields.
41335 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41337 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41338 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41340 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
41343 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41345 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
41347 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41351 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41354 2012-11-04 Joseph Myers <joseph@codesourcery.com>
41357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41358 definitely overflow as x * y not x * y + z.
41359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41360 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41361 * math/libm-test.inc (fma_test): Add more tests.
41362 (fma_test_towardzero): Likewise.
41363 (fma_test_downward): Likewise.
41364 (fma_test_upward): Likewise.
41366 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
41370 * include/stub-tag.h: Remove file.
41371 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41373 * manual/maint.texi (Porting): Don't reference it.
41374 * Makerules ($(objpfx)stubs): Likewise.
41375 * dirent/closedir.c: Don't include <stub-tag.h>.
41376 * dirent/dirfd.c: Likewise.
41377 * dirent/fdopendir.c: Likewise.
41378 * dirent/getdents.c: Likewise.
41379 * dirent/getdents64.c: Likewise.
41380 * dirent/opendir.c: Likewise.
41381 * dirent/readdir.c: Likewise.
41382 * dirent/readdir64.c: Likewise.
41383 * dirent/readdir64_r.c: Likewise.
41384 * dirent/readdir_r.c: Likewise.
41385 * dirent/rewinddir.c: Likewise.
41386 * dirent/seekdir.c: Likewise.
41387 * dirent/telldir.c: Likewise.
41388 * gmon/profil.c: Likewise.
41389 * grp/setgroups.c: Likewise.
41390 * inet/if_index.c: Likewise.
41391 * io/access.c: Likewise.
41392 * io/chdir.c: Likewise.
41393 * io/chmod.c: Likewise.
41394 * io/chown.c: Likewise.
41395 * io/close.c: Likewise.
41396 * io/dup.c: Likewise.
41397 * io/dup2.c: Likewise.
41398 * io/dup3.c: Likewise.
41399 * io/euidaccess.c: Likewise.
41400 * io/faccessat.c: Likewise.
41401 * io/fchdir.c: Likewise.
41402 * io/fchmod.c: Likewise.
41403 * io/fchmodat.c: Likewise.
41404 * io/fchown.c: Likewise.
41405 * io/fchownat.c: Likewise.
41406 * io/fcntl.c: Likewise.
41407 * io/flock.c: Likewise.
41408 * io/fstatfs.c: Likewise.
41409 * io/fstatfs64.c: Likewise.
41410 * io/fstatvfs.c: Likewise.
41411 * io/fstatvfs64.c: Likewise.
41412 * io/futimens.c: Likewise.
41413 * io/fxstat.c: Likewise.
41414 * io/fxstat64.c: Likewise.
41415 * io/fxstatat.c: Likewise.
41416 * io/fxstatat64.c: Likewise.
41417 * io/getcwd.c: Likewise.
41418 * io/isatty.c: Likewise.
41419 * io/lchmod.c: Likewise.
41420 * io/lchown.c: Likewise.
41421 * io/link.c: Likewise.
41422 * io/linkat.c: Likewise.
41423 * io/lseek.c: Likewise.
41424 * io/lseek64.c: Likewise.
41425 * io/lxstat64.c: Likewise.
41426 * io/mkdir.c: Likewise.
41427 * io/mkdirat.c: Likewise.
41428 * io/mkfifo.c: Likewise.
41429 * io/mkfifoat.c: Likewise.
41430 * io/open.c: Likewise.
41431 * io/open64.c: Likewise.
41432 * io/openat.c: Likewise.
41433 * io/openat64.c: Likewise.
41434 * io/pipe.c: Likewise.
41435 * io/pipe2.c: Likewise.
41436 * io/poll.c: Likewise.
41437 * io/posix_fadvise.c: Likewise.
41438 * io/posix_fadvise64.c: Likewise.
41439 * io/posix_fallocate.c: Likewise.
41440 * io/posix_fallocate64.c: Likewise.
41441 * io/read.c: Likewise.
41442 * io/readlink.c: Likewise.
41443 * io/readlinkat.c: Likewise.
41444 * io/rmdir.c: Likewise.
41445 * io/sendfile.c: Likewise.
41446 * io/sendfile64.c: Likewise.
41447 * io/statfs.c: Likewise.
41448 * io/statfs64.c: Likewise.
41449 * io/statvfs.c: Likewise.
41450 * io/statvfs64.c: Likewise.
41451 * io/symlink.c: Likewise.
41452 * io/symlinkat.c: Likewise.
41453 * io/ttyname.c: Likewise.
41454 * io/ttyname_r.c: Likewise.
41455 * io/umask.c: Likewise.
41456 * io/unlink.c: Likewise.
41457 * io/unlinkat.c: Likewise.
41458 * io/utime.c: Likewise.
41459 * io/utimensat.c: Likewise.
41460 * io/write.c: Likewise.
41461 * io/xmknod.c: Likewise.
41462 * io/xmknodat.c: Likewise.
41463 * io/xstat.c: Likewise.
41464 * io/xstat64.c: Likewise.
41465 * login/getpt.c: Likewise.
41466 * login/grantpt.c: Likewise.
41467 * login/unlockpt.c: Likewise.
41468 * math/e_acoshl.c: Likewise.
41469 * math/e_acosl.c: Likewise.
41470 * math/e_asinl.c: Likewise.
41471 * math/e_atan2l.c: Likewise.
41472 * math/e_atanhl.c: Likewise.
41473 * math/e_coshl.c: Likewise.
41474 * math/e_expl.c: Likewise.
41475 * math/e_fmodl.c: Likewise.
41476 * math/e_gammal_r.c: Likewise.
41477 * math/e_hypotl.c: Likewise.
41478 * math/e_j0l.c: Likewise.
41479 * math/e_j1l.c: Likewise.
41480 * math/e_jnl.c: Likewise.
41481 * math/e_lgammal_r.c: Likewise.
41482 * math/e_log10l.c: Likewise.
41483 * math/e_log2l.c: Likewise.
41484 * math/e_logl.c: Likewise.
41485 * math/e_powl.c: Likewise.
41486 * math/e_rem_pio2l.c: Likewise.
41487 * math/e_sinhl.c: Likewise.
41488 * math/e_sqrtl.c: Likewise.
41489 * math/fclrexcpt.c: Likewise.
41490 * math/fedisblxcpt.c: Likewise.
41491 * math/feenablxcpt.c: Likewise.
41492 * math/fegetenv.c: Likewise.
41493 * math/fegetexcept.c: Likewise.
41494 * math/fegetround.c: Likewise.
41495 * math/feholdexcpt.c: Likewise.
41496 * math/fesetenv.c: Likewise.
41497 * math/fesetround.c: Likewise.
41498 * math/feupdateenv.c: Likewise.
41499 * math/fgetexcptflg.c: Likewise.
41500 * math/fraiseexcpt.c: Likewise.
41501 * math/fsetexcptflg.c: Likewise.
41502 * math/ftestexcept.c: Likewise.
41503 * math/k_cosl.c: Likewise.
41504 * math/k_rem_pio2l.c: Likewise.
41505 * math/k_sinl.c: Likewise.
41506 * math/k_tanl.c: Likewise.
41507 * math/s_asinhl.c: Likewise.
41508 * math/s_atanl.c: Likewise.
41509 * math/s_cbrtl.c: Likewise.
41510 * math/s_erfl.c: Likewise.
41511 * math/s_expm1l.c: Likewise.
41512 * math/s_log1pl.c: Likewise.
41513 * math/s_tanhl.c: Likewise.
41514 * misc/acct.c: Likewise.
41515 * misc/brk.c: Likewise.
41516 * misc/chflags.c: Likewise.
41517 * misc/chroot.c: Likewise.
41518 * misc/fchflags.c: Likewise.
41519 * misc/fgetxattr.c: Likewise.
41520 * misc/flistxattr.c: Likewise.
41521 * misc/fremovexattr.c: Likewise.
41522 * misc/fsetxattr.c: Likewise.
41523 * misc/fsync.c: Likewise.
41524 * misc/ftruncate.c: Likewise.
41525 * misc/futimes.c: Likewise.
41526 * misc/futimesat.c: Likewise.
41527 * misc/getdomain.c: Likewise.
41528 * misc/getdtsz.c: Likewise.
41529 * misc/gethostid.c: Likewise.
41530 * misc/gethostname.c: Likewise.
41531 * misc/getloadavg.c: Likewise.
41532 * misc/getpagesize.c: Likewise.
41533 * misc/getsysstats.c: Likewise.
41534 * misc/getxattr.c: Likewise.
41535 * misc/gtty.c: Likewise.
41536 * misc/ioctl.c: Likewise.
41537 * misc/lgetxattr.c: Likewise.
41538 * misc/listxattr.c: Likewise.
41539 * misc/llistxattr.c: Likewise.
41540 * misc/lremovexattr.c: Likewise.
41541 * misc/lsetxattr.c: Likewise.
41542 * misc/lutimes.c: Likewise.
41543 * misc/madvise.c: Likewise.
41544 * misc/mincore.c: Likewise.
41545 * misc/mlock.c: Likewise.
41546 * misc/mlockall.c: Likewise.
41547 * misc/mmap.c: Likewise.
41548 * misc/mprotect.c: Likewise.
41549 * misc/msync.c: Likewise.
41550 * misc/munlock.c: Likewise.
41551 * misc/munlockall.c: Likewise.
41552 * misc/munmap.c: Likewise.
41553 * misc/preadv.c: Likewise.
41554 * misc/preadv64.c: Likewise.
41555 * misc/ptrace.c: Likewise.
41556 * misc/pwritev.c: Likewise.
41557 * misc/pwritev64.c: Likewise.
41558 * misc/readv.c: Likewise.
41559 * misc/reboot.c: Likewise.
41560 * misc/remap_file_pages.c: Likewise.
41561 * misc/removexattr.c: Likewise.
41562 * misc/revoke.c: Likewise.
41563 * misc/select.c: Likewise.
41564 * misc/setdomain.c: Likewise.
41565 * misc/setegid.c: Likewise.
41566 * misc/seteuid.c: Likewise.
41567 * misc/sethostid.c: Likewise.
41568 * misc/sethostname.c: Likewise.
41569 * misc/setregid.c: Likewise.
41570 * misc/setreuid.c: Likewise.
41571 * misc/setxattr.c: Likewise.
41572 * misc/sstk.c: Likewise.
41573 * misc/stty.c: Likewise.
41574 * misc/swapoff.c: Likewise.
41575 * misc/swapon.c: Likewise.
41576 * misc/sync.c: Likewise.
41577 * misc/syncfs.c: Likewise.
41578 * misc/syscall.c: Likewise.
41579 * misc/truncate.c: Likewise.
41580 * misc/ualarm.c: Likewise.
41581 * misc/usleep.c: Likewise.
41582 * misc/ustat.c: Likewise.
41583 * misc/utimes.c: Likewise.
41584 * misc/vhangup.c: Likewise.
41585 * misc/writev.c: Likewise.
41586 * posix/_exit.c: Likewise.
41587 * posix/alarm.c: Likewise.
41588 * posix/execve.c: Likewise.
41589 * posix/fexecve.c: Likewise.
41590 * posix/fork.c: Likewise.
41591 * posix/fpathconf.c: Likewise.
41592 * posix/getaddrinfo.c: Likewise.
41593 * posix/getegid.c: Likewise.
41594 * posix/geteuid.c: Likewise.
41595 * posix/getgid.c: Likewise.
41596 * posix/getgroups.c: Likewise.
41597 * posix/getlogin.c: Likewise.
41598 * posix/getlogin_r.c: Likewise.
41599 * posix/getpgid.c: Likewise.
41600 * posix/getpid.c: Likewise.
41601 * posix/getppid.c: Likewise.
41602 * posix/getresgid.c: Likewise.
41603 * posix/getresuid.c: Likewise.
41604 * posix/getsid.c: Likewise.
41605 * posix/getuid.c: Likewise.
41606 * posix/glob64.c: Likewise.
41607 * posix/nanosleep.c: Likewise.
41608 * posix/pathconf.c: Likewise.
41609 * posix/pause.c: Likewise.
41610 * posix/posix_madvise.c: Likewise.
41611 * posix/pread.c: Likewise.
41612 * posix/pread64.c: Likewise.
41613 * posix/pwrite.c: Likewise.
41614 * posix/pwrite64.c: Likewise.
41615 * posix/sched_getaffinity.c: Likewise.
41616 * posix/sched_getp.c: Likewise.
41617 * posix/sched_gets.c: Likewise.
41618 * posix/sched_primax.c: Likewise.
41619 * posix/sched_primin.c: Likewise.
41620 * posix/sched_rr_gi.c: Likewise.
41621 * posix/sched_setaffinity.c: Likewise.
41622 * posix/sched_setp.c: Likewise.
41623 * posix/sched_sets.c: Likewise.
41624 * posix/sched_yield.c: Likewise.
41625 * posix/setgid.c: Likewise.
41626 * posix/setlogin.c: Likewise.
41627 * posix/setpgid.c: Likewise.
41628 * posix/setresgid.c: Likewise.
41629 * posix/setresuid.c: Likewise.
41630 * posix/setsid.c: Likewise.
41631 * posix/setuid.c: Likewise.
41632 * posix/sleep.c: Likewise.
41633 * posix/spawni.c: Likewise.
41634 * posix/sysconf.c: Likewise.
41635 * posix/times.c: Likewise.
41636 * posix/wait.c: Likewise.
41637 * posix/wait3.c: Likewise.
41638 * posix/wait4.c: Likewise.
41639 * posix/waitpid.c: Likewise.
41640 * resolv/gai_sigqueue.c: Likewise.
41641 * resource/getpriority.c: Likewise.
41642 * resource/getrlimit.c: Likewise.
41643 * resource/getrusage.c: Likewise.
41644 * resource/nice.c: Likewise.
41645 * resource/setpriority.c: Likewise.
41646 * resource/setrlimit.c: Likewise.
41647 * resource/ulimit.c: Likewise.
41648 * rt/aio_cancel.c: Likewise.
41649 * rt/aio_fsync.c: Likewise.
41650 * rt/aio_read.c: Likewise.
41651 * rt/aio_sigqueue.c: Likewise.
41652 * rt/aio_suspend.c: Likewise.
41653 * rt/aio_write.c: Likewise.
41654 * rt/clock_getres.c: Likewise.
41655 * rt/clock_gettime.c: Likewise.
41656 * rt/clock_nanosleep.c: Likewise.
41657 * rt/clock_settime.c: Likewise.
41658 * rt/lio_listio.c: Likewise.
41659 * rt/mq_close.c: Likewise.
41660 * rt/mq_getattr.c: Likewise.
41661 * rt/mq_notify.c: Likewise.
41662 * rt/mq_open.c: Likewise.
41663 * rt/mq_receive.c: Likewise.
41664 * rt/mq_send.c: Likewise.
41665 * rt/mq_setattr.c: Likewise.
41666 * rt/mq_timedreceive.c: Likewise.
41667 * rt/mq_timedsend.c: Likewise.
41668 * rt/mq_unlink.c: Likewise.
41669 * rt/shm_open.c: Likewise.
41670 * rt/shm_unlink.c: Likewise.
41671 * rt/timer_create.c: Likewise.
41672 * rt/timer_delete.c: Likewise.
41673 * rt/timer_getoverr.c: Likewise.
41674 * rt/timer_gettime.c: Likewise.
41675 * rt/timer_settime.c: Likewise.
41676 * setjmp/__longjmp.c: Likewise.
41677 * setjmp/setjmp.c: Likewise.
41678 * signal/kill.c: Likewise.
41679 * signal/killpg.c: Likewise.
41680 * signal/raise.c: Likewise.
41681 * signal/sigaction.c: Likewise.
41682 * signal/sigaltstack.c: Likewise.
41683 * signal/sigblock.c: Likewise.
41684 * signal/sigignore.c: Likewise.
41685 * signal/sigintr.c: Likewise.
41686 * signal/signal.c: Likewise.
41687 * signal/sigpause.c: Likewise.
41688 * signal/sigpending.c: Likewise.
41689 * signal/sigqueue.c: Likewise.
41690 * signal/sigreturn.c: Likewise.
41691 * signal/sigset.c: Likewise.
41692 * signal/sigsetmask.c: Likewise.
41693 * signal/sigstack.c: Likewise.
41694 * signal/sigsuspend.c: Likewise.
41695 * signal/sigtimedwait.c: Likewise.
41696 * signal/sigvec.c: Likewise.
41697 * signal/sigwait.c: Likewise.
41698 * signal/sigwaitinfo.c: Likewise.
41699 * signal/sysv_signal.c: Likewise.
41700 * socket/accept.c: Likewise.
41701 * socket/accept4.c: Likewise.
41702 * socket/bind.c: Likewise.
41703 * socket/connect.c: Likewise.
41704 * socket/getpeername.c: Likewise.
41705 * socket/getsockname.c: Likewise.
41706 * socket/getsockopt.c: Likewise.
41707 * socket/isfdtype.c: Likewise.
41708 * socket/listen.c: Likewise.
41709 * socket/recv.c: Likewise.
41710 * socket/recvfrom.c: Likewise.
41711 * socket/recvmsg.c: Likewise.
41712 * socket/send.c: Likewise.
41713 * socket/sendmsg.c: Likewise.
41714 * socket/sendto.c: Likewise.
41715 * socket/setsockopt.c: Likewise.
41716 * socket/shutdown.c: Likewise.
41717 * socket/sockatmark.c: Likewise.
41718 * socket/socket.c: Likewise.
41719 * socket/socketpair.c: Likewise.
41720 * stdio-common/ctermid.c: Likewise.
41721 * stdio-common/cuserid.c: Likewise.
41722 * stdio-common/remove.c: Likewise.
41723 * stdio-common/rename.c: Likewise.
41724 * stdio-common/renameat.c: Likewise.
41725 * stdio-common/tempname.c: Likewise.
41726 * stdlib/getcontext.c: Likewise.
41727 * stdlib/makecontext.c: Likewise.
41728 * stdlib/setcontext.c: Likewise.
41729 * stdlib/swapcontext.c: Likewise.
41730 * stdlib/system.c: Likewise.
41731 * streams/fattach.c: Likewise.
41732 * streams/fdetach.c: Likewise.
41733 * streams/getmsg.c: Likewise.
41734 * streams/getpmsg.c: Likewise.
41735 * streams/putmsg.c: Likewise.
41736 * streams/putpmsg.c: Likewise.
41737 * sysdeps/unix/bsd/getpt.c: Likewise.
41738 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41739 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41740 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41743 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41744 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41745 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41746 * sysvipc/msgctl.c: Likewise.
41747 * sysvipc/msgget.c: Likewise.
41748 * sysvipc/msgrcv.c: Likewise.
41749 * sysvipc/msgsnd.c: Likewise.
41750 * sysvipc/semctl.c: Likewise.
41751 * sysvipc/semget.c: Likewise.
41752 * sysvipc/semop.c: Likewise.
41753 * sysvipc/semtimedop.c: Likewise.
41754 * sysvipc/shmat.c: Likewise.
41755 * sysvipc/shmctl.c: Likewise.
41756 * sysvipc/shmdt.c: Likewise.
41757 * sysvipc/shmget.c: Likewise.
41758 * termios/tcdrain.c: Likewise.
41759 * termios/tcflow.c: Likewise.
41760 * termios/tcflush.c: Likewise.
41761 * termios/tcgetattr.c: Likewise.
41762 * termios/tcgetpgrp.c: Likewise.
41763 * termios/tcsendbrk.c: Likewise.
41764 * termios/tcsetattr.c: Likewise.
41765 * termios/tcsetpgrp.c: Likewise.
41766 * time/adjtime.c: Likewise.
41767 * time/clock.c: Likewise.
41768 * time/getitimer.c: Likewise.
41769 * time/gettimeofday.c: Likewise.
41770 * time/setitimer.c: Likewise.
41771 * time/settimeofday.c: Likewise.
41772 * time/stime.c: Likewise.
41773 * time/time.c: Likewise.
41775 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
41777 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41780 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41782 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41784 2012-11-03 Joseph Myers <joseph@codesourcery.com>
41787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41788 FE_TONEAREST before applying Dekker multiplication and Knuth
41789 addition. Clear inexact exceptions and check for exact zero
41790 results afterwards.
41791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41792 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41793 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41794 * math/libm-test.inc (fma_test): Add more tests.
41795 (fma_test_towardzero): Likewise.
41796 (fma_test_downward): Likewise.
41797 (fma_test_upward): Likewise.
41798 * sysdeps/generic/math_private.h (default_libc_fesetround): New
41800 (libc_fesetround): New macro.
41801 (libc_fesetroundf): Likewise.
41802 (libc_fesetroundl): Likewise.
41803 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41805 (libc_fesetround_387): Likewise.
41806 (libc_fesetroundf): New macro.
41807 (libc_fesetround): Likewise.
41808 (libc_fesetroundl): Likewise.
41809 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41811 (libc_fesetroundf): New macro.
41812 (libc_fesetround): Likewise.
41813 (libc_fesetroundl): Likewise.
41814 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41815 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41816 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41818 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41819 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41821 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41822 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41824 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41828 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41829 integer constant usable in #if and use that to give value to enum
41831 (FE_DIVBYZERO): Likewise.
41832 (FE_UNDERFLOW): Likewise.
41833 (FE_OVERFLOW): Likewise.
41834 (FE_INVALID): Likewise.
41835 (FE_INVALID_SNAN): Likewise.
41836 (FE_INVALID_ISI): Likewise.
41837 (FE_INVALID_IDI): Likewise.
41838 (FE_INVALID_ZDZ): Likewise.
41839 (FE_INVALID_IMZ): Likewise.
41840 (FE_INVALID_COMPARE): Likewise.
41841 (FE_INVALID_SOFTWARE): Likewise.
41842 (FE_INVALID_SQRT): Likewise.
41843 (FE_INVALID_INTEGER_CONVERSION): Likewise.
41844 (FE_TONEAREST): Likewise.
41845 (FE_TOWARDZERO): Likewise.
41846 (FE_UPWARD): Likewise.
41847 (FE_DOWNWARD): Likewise.
41848 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41849 (FE_DIVBYZERO): Likewise.
41850 (FE_OVERFLOW): Likewise.
41851 (FE_UNDERFLOW): Likewise.
41852 (FE_INEXACT): Likewise.
41853 (FE_TONEAREST): Likewise.
41854 (FE_DOWNWARD): Likewise.
41855 (FE_UPWARD): Likewise.
41856 (FE_TOWARDZERO): Likewise.
41857 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41858 (FE_UNDERFLOW): Likewise.
41859 (FE_OVERFLOW): Likewise.
41860 (FE_DIVBYZERO): Likewise.
41861 (FE_INVALID): Likewise.
41862 (FE_TONEAREST): Likewise.
41863 (FE_TOWARDZERO): Likewise.
41864 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41865 (FE_OVERFLOW): Likewise.
41866 (FE_UNDERFLOW): Likewise.
41867 (FE_DIVBYZERO): Likewise.
41868 (FE_INEXACT): Likewise.
41869 (FE_TONEAREST): Likewise.
41870 (FE_TOWARDZERO): Likewise.
41871 (FE_UPWARD): Likewise.
41872 (FE_DOWNWARD): Likewise.
41873 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41874 (FE_DIVBYZERO): Likewise.
41875 (FE_OVERFLOW): Likewise.
41876 (FE_UNDERFLOW): Likewise.
41877 (FE_INEXACT): Likewise.
41878 (FE_TONEAREST): Likewise.
41879 (FE_DOWNWARD): Likewise.
41880 (FE_UPWARD): Likewise.
41881 (FE_TOWARDZERO): Likewise.
41883 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
41885 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41887 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
41889 * scripts/cross-test-ssh.sh (command): Use newlines to separate
41890 commands. Quote $PWD.
41891 (blacklist_exports): Don't use remove_newlines. Replace "declare
41893 (remove_newlines): Remove.
41895 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
41897 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41898 * stdlib/stdlib.h (atof): Moved to ...
41899 * include/bits/stdlib-float.h: Here. New file.
41900 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41901 * stdlib/bits/stdlib-float.h: New file.
41902 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41904 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41907 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41909 * conform/conformtest.pl (@headers): Add fenv.h.
41910 * conform/data/fenv.h-data: New file.
41911 * include/fenv.h [_ISOMAC]: Disable all contents of file except
41912 include of <math/fenv.h>.
41914 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41915 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41916 && !UNIX98]. Enables tests for XOPEN2K8.
41917 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41918 POSIX2008]: Likewise.
41920 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41921 (struct rusage): Do not expect type or its members.
41924 * math/math.h (FP_NAN): Define macro to integer constant usable in
41925 #if and use that to give value to enum constant.
41926 (FP_INFINITE): Likewise.
41927 (FP_ZERO): Likewise.
41928 (FP_SUBNORMAL): Likewise.
41929 (FP_NORMAL): Likewise.
41931 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
41933 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41934 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41937 2012-11-02 Roland McGrath <roland@hack.frob.com>
41939 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41940 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41941 autoconf-time if not.
41942 * configure.in: Remove AC_PREREQ.
41944 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41946 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41947 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41948 of the internal implementation.
41950 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41952 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41953 except include of <misc/sys/syslog.h>.
41955 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41958 function returns with a NULL context exit with zero.
41960 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41962 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41964 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
41966 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41967 (run_program_cmd): This.
41968 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41969 (tst_langinfo): New variable. Use it.
41971 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
41973 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41974 floating point opcodes.
41976 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41978 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41981 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41983 * sysdeps/mach/hurd/powerpc: Remove directory.
41984 * sysdeps/mach/powerpc: Likewise.
41986 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41988 * scripts/check-local-headers.sh: Ignore c++ headers.
41990 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41992 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41993 __libc_cleanup_region_start argument.
41995 2012-11-01 Joseph Myers <joseph@codesourcery.com>
41999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42000 x * y using scaling, not as x * y + z.
42001 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42002 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42003 * math/libm-test.inc (fma_test): Add more tests.
42004 (fma_test_towardzero): Likewise.
42005 (fma_test_downward): Likewise.
42006 (fma_test_upward): Likewise.
42008 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42010 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42012 2012-10-31 Joseph Myers <joseph@codesourcery.com>
42014 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42017 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
42019 * rt/tst-shm.c (worker): Correct checking for mmap failure.
42021 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
42023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42028 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42031 Fix the order of the list for glibc 2.17.
42032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42035 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
42037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42039 2012-10-31 Joseph Myers <joseph@codesourcery.com>
42042 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42043 for low part of x being zero before using __atanl (y).
42044 * math/libm-test.inc (atan2_test): Add another test.
42046 * manual/install.texi (Configuring and compiling): Document
42047 general use of test-wrapper and test-wrapper-env.
42048 * INSTALL: Regenerated.
42050 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42051 (__fma): Do not extract and scale down low bits on after-rounding
42052 systems when result rounded to normal precision would have normal
42054 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42055 (__fmal): Do not extract and scale down low bits on after-rounding
42056 systems when result rounded to normal precision would have normal
42058 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42059 (__fmal): Do not extract and scale down low bits on after-rounding
42060 systems when result rounded to normal precision would have normal
42062 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42064 (fma_test): Add more tests.
42065 (fma_test_towardzero): Likewise.
42066 (fma_test_downward): Likewise.
42067 (fma_test_upward): Likewise.
42069 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
42071 * sysdeps/i386/tininess.h: Renamed to ...
42072 * sysdeps/x86/tininess.h: This.
42073 * sysdeps/x86_64/tininess.h: Removed.
42075 2012-10-30 Joseph Myers <joseph@codesourcery.com>
42077 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42078 input. Use $(build-program-cmd).
42079 ($(objpfx)tst-array1-static.out): Likewise.
42080 ($(objpfx)tst-array2.out): Likewise.
42081 ($(objpfx)tst-array3.out): Likewise.
42082 ($(objpfx)tst-array4.out): Likewise.
42083 ($(objpfx)tst-array5.out): Likewise.
42084 ($(objpfx)tst-array5-static.out): Likewise.
42086 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
42088 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42091 * nss/nsswitch.h (nss_interface_function): Provide new
42092 macro for use with NSS functions.
42093 * grp/initgroups.c: Use new macro.
42094 * nss/getXXbyYY.c: Likewise.
42095 * nss/getXXbyYY_r.c: Likewise.
42096 * nss/getXXent.c: Likewise.
42097 * nss/getXXent_r.c: Likewise.
42098 * sysdeps/posix/getaddrinfo.c: Likewise.
42100 2012-10-30 Andreas Jaeger <aj@suse.de>
42102 * po/ru.po: Update Russion translation from translation project.
42104 2012-10-30 Joseph Myers <joseph@codesourcery.com>
42108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42109 result and shift together with sticky bit instead of replicating
42110 round-to-nearest rounding.
42111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42112 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42113 * math/libm-test.inc (fma_test): Add more tests. Do not permit
42114 missing underflow exceptions.
42115 (fma_test_towardzero): Add more tests.
42116 (fma_test_downward): Likewise.
42117 (fma_test_upward): Likewise.
42120 * sysdeps/generic/tininess.h: New file.
42121 * sysdeps/i386/tininess.h: Likewise.
42122 * sysdeps/sh/tininess.h: Likewise.
42123 * sysdeps/x86_64/tininess.h: Likewise.
42124 * stdlib/tst-strtod-underflow.c: Likewise.
42125 * stdlib/tst-tininess.c: Likewise.
42126 * stdlib/strtod_l.c: Include <tininess.h>.
42127 (round_and_return): Do not set errno for exact underflow cases.
42128 Force an underflow exception when setting errno for underflow.
42129 Determine underflow based on rounding to normal precision if
42130 TININESS_AFTER_ROUNDING.
42131 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42132 ERANGE for exact underflow cases.
42133 * stdlib/Makefile (tests): Add tst-tininess and
42134 tst-strtod-underflow.
42135 ($(objpfx)tst-tininess): Use $(link-libm).
42136 ($(objpfx)tst-strtod-underflow): Likewise.
42138 2012-10-30 Andreas Jaeger <aj@suse.de>
42141 * elf/Makefile (tests): Remove conditional for have-initfini-array
42142 since this is now always required and the variable does not exist
42144 (tests-static): Likewise.
42145 (modules-names): Likewise.
42147 * po/eo.po: Add Esperanto translation from translation project.
42149 * elf/tst-array1.c (fini_array): Make writeable so that it can be
42150 merged with constructor/destructor.
42151 (init_array): Likewise.
42152 * elf/tst-array2dep.c (fini_array): Likewise.
42153 (init_array): Likewise.
42155 2012-10-29 Mike Frysinger <vapier@gentoo.org>
42157 * manual/message.texi: Delete @cartouche tags.
42159 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
42161 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42163 * sysdeps/mach/hurd/fsync.c: Likewise.
42165 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42166 [_POSIX_REALTIME_SIGNALS]: Change condition to
42167 [_POSIX_REALTIME_SIGNALS > 0].
42169 2012-10-27 Andreas Jaeger <aj@suse.de>
42171 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42172 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42174 [__WORDSIZE != 64]: Likewise.
42176 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
42178 * iconvdata/tst-table.sh: Remove ${SHELL}.
42179 * iconvdata/tst-tables.sh: Likewise.
42181 2012-10-25 David S. Miller <davem@davemloft.net>
42183 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42184 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42189 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42190 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42191 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42194 2012-10-25 Roland McGrath <roland@hack.frob.com>
42196 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42197 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42200 2012-10-25 Joseph Myers <joseph@codesourcery.com>
42201 Jim Blandy <jimb@codesourcery.com>
42203 * scripts/cross-test-ssh.sh: New file.
42204 * manual/install.texi (Configuring and compiling): Document use of
42206 * INSTALL: Regenerated.
42208 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
42210 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42213 2012-10-25 Joseph Myers <joseph@codesourcery.com>
42215 * Makeconfig (run-program-prefix): Fix comment.
42217 2012-10-24 Joseph Myers <joseph@codesourcery.com>
42218 Jim Blandy <jimb@codesourcery.com>
42220 * Makeconfig (test-wrapper): New variable,
42221 (test-wrapper-env): Likewise.
42222 [$(cross-compiling) = yes && $(test-wrapper) != ""]
42223 (run-built-tests): Define to yes.
42224 (run-program-prefix): Use $(test-wrapper).
42225 (built-program-cmd): Likewise.
42226 * Rules (make-test-out): Use $(test-wrapper-env) and
42227 $(host-built-program-cmd).
42228 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42229 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42231 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42232 $(test-wrapper-env) to tst-rtld-load-self.sh.
42233 ($(objpfx)order2.out): Use $(test-wrapper).
42234 ($(objpfx)tst-initorder.out): Likewise.
42235 ($(objpfx)tst-initorder2.out): Likewise.
42236 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42237 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42238 (test_wrapper_env): New variable. Use it to run ld.so.
42239 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42240 Use it to run ld.so.
42241 (test_wrapper_env): Likewise.
42242 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42243 $(test-wrapper) to run-iconv-test.sh.
42244 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42245 (ICONV): Use $test_wrapper.
42246 * posix/Makefile ($(objpfx)globtest.out): Pass
42247 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42248 globtest.sh, not $(run-program-prefix).
42249 * posix/globtest.sh (run_via_rtld_prefix): New variable.
42250 (test_wrapper): Likewise.
42251 (test_wrapper_env): Likewise. Use it to run globtest with HOME
42252 set together with run_via_rtld_prefix.
42253 (run_program_prefix): Define in terms of test_wrapper and
42254 run_via_rtld_prefix.
42256 2012-10-24 Roland McGrath <roland@hack.frob.com>
42258 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42259 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42263 * include/time.h: Remove librt_hidden_proto (clock_gettime).
42264 Declare __clock_getres, __clock_gettime, __clock_settime,
42265 __clock_nanosleep, and __clock_getcpuclockid.
42266 * rt/clock_gettime.c: Define __clock_gettime as an alias.
42267 Remove librt_hidden_def (clock_gettime).
42268 * sysdeps/unix/clock_gettime.c: Likewise.
42269 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42270 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42271 * rt/clock_getres.c: Define __clock_getres as an alias.
42272 * sysdeps/posix/clock_getres.c: Likewise.
42273 * rt/clock_settime.c: Define __clock_settime as an alias.
42274 * sysdeps/unix/clock_settime.c: Likewise.
42275 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42276 * sysdeps/unix/clock_nanosleep.c: Likewise.
42277 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42278 * rt/clock-compat.c: New file.
42279 * rt/Makefile (librt-routines): Add clock-compat and move
42280 $(clock-routines) to ...
42281 (routines): ... here, new variable.
42282 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42283 Don't add get_clockfreq here.
42284 * rt/Versions (libc: GLIBC_2.17): New version set.
42285 Add clock_* symbols here.
42286 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
42287 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42288 (GLIBC_2.17): Add clock_* symbols.
42289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42291 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42300 * NEWS: Mention the move.
42302 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42303 Use __open, __read, __close rather than their public counterparts.
42304 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42305 (__get_clockfreq_via_cpuinfo): Likewise.
42306 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42307 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42309 * config.h.in (HAVE_IFUNC): New #undef.
42310 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42312 * configure: Regenerated.
42314 2012-10-24 Mike Frysinger <vapier@gentoo.org>
42316 * configure.in: Move READELF check to start of file.
42317 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42318 libc_cv_asm_gnu_indirect_function in the process.
42319 * configure: Regenerated.
42321 2012-10-24 Mike Frysinger <vapier@gentoo.org>
42323 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42324 send the output to /dev/null.
42325 (libc_cv_cc_with_libunwind): Likewise.
42326 (libc_cv_as_noexecstack): Likewise.
42327 * configure: Regenerate.
42329 2012-10-24 Joseph Myers <joseph@codesourcery.com>
42331 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42333 * posix/globtest.sh (TMPDIR): Do not set.
42334 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42335 (testout): Likewise.
42337 2012-10-24 Andreas Jaeger <aj@suse.de>
42339 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42340 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42341 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42342 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42343 posix_fadvise64, posix_fallocate64.
42345 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42346 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42347 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42349 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42351 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42354 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42355 <bits/fcntl-linux.h>.
42356 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42358 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42359 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42360 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42361 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42362 [__WORDSIZE != 64]: Likewise.
42364 2012-10-23 Joseph Myers <joseph@codesourcery.com>
42366 * Makeconfig (run-built-tests): New variable.
42367 * Rules [$(cross-compiling) = yes]: Change condition to
42368 [$(run-built-tests) = no].
42369 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42370 to [$(run-built-tests) = yes].
42371 * elf/Makefile [$(cross-compiling) = no]: Likewise
42372 * grp/Makefile [$(cross-compiling) = no]: Likewise.
42373 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42374 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42375 * intl/Makefile [$(cross-compiling) = no]: Likewise.
42376 * io/Makefile [$(cross-compiling) = no]: Likewise.
42377 * libio/Makefile [$(cross-compiling) = no]: Likewise.
42378 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42379 * misc/Makefile [$(cross-compiling) = no]: Likewise.
42380 * posix/Makefile [$(cross-compiling) = no]: Likewise.
42381 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42382 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42383 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42384 * string/Makefile [$(cross-compiling) = no]: Likewise.
42386 * posix/Makefile ($(objpfx)globtest.out): Pass
42387 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42388 $(rtld-installed-name).
42389 * posix/globtest.sh (elf_objpfx): Remove variable.
42390 (rtld_installed_name): Likewise.
42391 (library_path): Likewise.
42392 (run_program_prefix): New variable. Use for running globtest
42395 2012-10-23 Jim Blandy <jimb@codesourcery.com>
42396 Joseph Myers <joseph@codesourcery.com>
42398 * Makeconfig (host-built-program-cmd): New variable.
42399 * elf/Makefile (tst-stackguard1-ARGS): Use
42400 $(host-built-program-cmd).
42401 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42402 (tst-spawn-ARGS): Likewise.
42403 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42405 2012-10-23 Joseph Myers <joseph@codesourcery.com>
42406 Jim Blandy <jimb@codesourcery.com>
42408 * Makeconfig (run-via-rtld-prefix): New variable.
42409 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42410 (built-program-cmd): Likewise.
42412 2012-10-22 Andreas Jaeger <aj@suse.de>
42414 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42415 __O_RSYNC if it exists, otherwise to O_SYNC.
42417 2012-10-22 Jim Blandy <jimb@codesourcery.com>
42418 Joseph Myers <joseph@codesourcery.com>
42420 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42422 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42424 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42427 2012-10-22 Andreas Jaeger <aj@suse.de>
42429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42431 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42434 bits/fcntl-linux.h.
42436 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42437 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42441 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42444 2012-10-21 Jim Blandy <jimb@codesourcery.com>
42445 Joseph Myers <joseph@codesourcery.com>
42447 * config.make.in (NM): New variable.
42449 2012-10-21 Andreas Jaeger <aj@suse.de>
42451 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42452 definitions and declarations that are provided by
42453 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42455 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42458 * elf/Makefile (tests-static): Add tst-leaks1-static.
42459 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42460 ($(objpfx)tst-leaks1-static): New rule.
42461 ($(objpfx)tst-leaks1-static-mem): Likewise.
42462 (tst-leaks1-static-ENV): New macro.
42463 * elf/dl-open.c (dl_open_worker): Check the main application
42464 only if SHARED is defined.
42465 * elf/tst-leaks1-static.c: New file.
42467 2012-10-20 Andreas Jaeger <aj@suse.de>
42469 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42470 generic values for Linux.
42471 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42472 and declarations that are provided by <bits/fcntl-linux.h> and
42473 include <bits/fcntl-linux.h>.
42474 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42475 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42477 2012-10-20 Roland McGrath <roland@hack.frob.com>
42479 * io/fcntl.h: Move include of <bits/types.h> to the top and
42480 include it unconditionally.
42482 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42484 * wcsmbs/Makefile (tests-ifunc): New variable.
42485 (tests): Add $(tests-ifunc).
42486 * wcsmbs/test-wcschr-ifunc.c: New file.
42487 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42488 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42489 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42490 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42491 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42493 * string/Makefile (tests-ifunc): New variable.
42494 (tests): Add $(tests-ifunc).
42495 * string/test-memccpy.c (TEST_NAME): New macro.
42496 * string/test-memchr.c (TEST_NAME): Likewise.
42497 * string/test-memcmp.c (TEST_NAME): Likewise.
42498 * string/test-memcpy.c (TEST_NAME): Likewise.
42499 * string/test-memmem.c (TEST_NAME): Likewise.
42500 * string/test-memmove.c (TEST_NAME): Likewise.
42501 * string/test-memset.c (TEST_NAME): Likewise.
42502 * string/test-rawmemchr.c (TEST_NAME): Likewise.
42503 * string/test-stpcpy.c (TEST_NAME): Likewise.
42504 * string/test-stpncpy.c (TEST_NAME): Likewise.
42505 * string/test-strcasecmp.c (TEST_NAME): Likewise.
42506 * string/test-strcasestr.c (TEST_NAME): Likewise.
42507 * string/test-strcat.c (TEST_NAME): Likewise.
42508 * string/test-strchr.c (TEST_NAME): Likewise.
42509 * string/test-strcmp.c(TEST_NAME): Likewise.
42510 * string/test-strcpy.c (TEST_NAME): Likewise.
42511 * string/test-strcspn.c (TEST_NAME): Likewise.
42512 * string/test-strlen.c (TEST_NAME): Likewise.
42513 * string/test-strncasecmp.c (TEST_NAME): Likewise.
42514 * string/test-strncmp.c (TEST_NAME): Likewise.
42515 * string/test-strncpy.c (TEST_NAME): Likewise.
42516 * string/test-strnlen.c (TEST_NAME): Likewise.
42517 * string/test-strpbrk.c (TEST_NAME): Likewise.
42518 * string/test-strrchr.c (TEST_NAME): Likewise.
42519 * string/test-strspn.c (TEST_NAME): Likewise.
42520 * string/test-strstr.c (TEST_NAME): Likewise.
42521 * string/test-bcopy-ifunc.c: New file.
42522 * string/test-bzero-ifunc.c: Likewise.
42523 * string/test-memccpy-ifunc.c: Likewise.
42524 * string/test-memchr-ifunc.c: Likewise.
42525 * string/test-memcmp-ifunc.c: Likewise.
42526 * string/test-memcpy-ifunc.c: Likewise.
42527 * string/test-memmem-ifunc.c: Likewise.
42528 * string/test-memmove-ifunc.c: Likewise.
42529 * string/test-mempcpy-ifunc.c: Likewise.
42530 * string/test-memset-ifunc.c: Likewise.
42531 * string/test-rawmemchr-ifunc.c: Likewise.
42532 * string/test-stpcpy-ifunc.c: Likewise.
42533 * string/test-stpncpy-ifunc.c: Likewise.
42534 * string/test-strcasecmp-ifunc.c: Likewise.
42535 * string/test-strcasestr-ifunc.c: Likewise.
42536 * string/test-strcat-ifunc.c: Likewise.
42537 * string/test-strchr-ifunc.c: Likewise.
42538 * string/test-strchrnul-ifunc.c: Likewise.
42539 * string/test-strcmp-ifunc.c: Likewise.
42540 * string/test-strcpy-ifunc.c: Likewise.
42541 * string/test-strcspn-ifunc.c: Likewise.
42542 * string/test-strlen-ifunc.c: Likewise.
42543 * string/test-strncasecmp-ifunc.c: Likewise.
42544 * string/test-strncat-ifunc.c: Likewise.
42545 * string/test-strncmp-ifunc.c: Likewise.
42546 * string/test-strncpy-ifunc.c: Likewise.
42547 * string/test-strnlen-ifunc.c: Likewise.
42548 * string/test-strpbrk-ifunc.c: Likewise.
42549 * string/test-strrchr-ifunc.c: Likewise.
42550 * string/test-strspn-ifunc.c: Likewise.
42551 * string/test-strstr-ifunc.c: Likewise.
42553 * debug/Makefile (tests-ifunc): New variable.
42554 (tests): Add $(tests-ifunc).
42555 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42556 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42557 * debug/test-stpcpy_chk-ifunc.c: New file.
42558 * debug/test-strcpy_chk-ifunc.c: Likewise.
42560 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42563 * elf/dl-load.c (open_verify): Retry read if the entire ELF
42564 header is not read in.
42566 2012-10-19 Joseph Myers <joseph@codesourcery.com>
42568 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
42569 script to $(SHELL) as $<. Pass $(common-objpfx) to script
42570 directly. Pass built executable to script as
42571 $(built-program-cmd).
42572 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
42573 $testprogram without using LD_LIBRARY_PATH and $ldso.
42575 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42576 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42577 $(rtld-installed-name).
42578 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42579 (rtld_installed_name): Likewise.
42580 (library_path): Likewise.
42581 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
42582 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42583 $(run-program-prefix) to tst-tables.sh.
42584 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
42585 it to run tst-table-from and tst-table-to.
42586 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42587 Pass it to tst-table.sh.
42588 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42589 $(run-program-prefix) to tst-gettext.sh.
42590 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42592 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42594 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
42595 to run tst-gettext.
42596 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
42597 to run tst-gettext2.
42598 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
42599 to run tst-translit.
42600 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42601 $(run-program-prefix) to tst-mtrace.sh.
42602 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
42604 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42605 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42606 $(rtld-installed-name).
42607 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42608 (rtld_installed_name): Likewise.
42609 (run_program_prefix): New variable. Use it to run wordexp-test.
42611 * Makeconfig (ARCH): Remove all definitions.
42612 (machine): Likewise.
42613 [ARCH]: Remove conditional code.
42614 [!objdir]: Give error.
42615 [!objdir] (objpfx): Remove.
42616 [!objdir] (common-objpfx): Likewise.
42617 [!objdir] (common-objdir): Likewise.
42618 * configure.in (config_makefile): Remove. Hardcode Makefile in
42619 AC_CONFIG_FILES call.
42620 * configure: Regenerated.
42623 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42625 (testout): Likewise.
42627 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42628 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42629 $(rtld-installed-name).
42630 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42631 (rtld_installed_name): Likwise.
42632 (runit): Remove function.
42633 (run_getconf): New variable, Use it for running getconf binary.
42635 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
42638 * string/test-memmem.c (check_result): New function.
42639 (do_one_test): Use it.
42640 (check1): New function.
42641 (test_main): Use it.
42643 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
42645 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42647 2012-10-18 Joseph Myers <joseph@codesourcery.com>
42649 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42650 (_G_LSEEK64): Likewise.
42651 (_G_MMAP64): Likewise.
42652 (_G_FSTAT64): Likewise.
42653 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42654 (_G_LSEEK64): Likewise.
42655 (_G_MMAP64): Likewise.
42656 (_G_FSTAT64): Likewise.
42657 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42658 unconditional. Call __mmap64 directly.
42659 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42660 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
42661 __lseek64 directly.
42662 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42663 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
42665 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42666 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
42667 __lseek64 directly.
42668 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42669 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
42670 __lseek64 directly.
42671 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42672 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
42673 __lseek64 directly.
42674 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42675 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
42676 __fxstat64 directly.
42677 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42678 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42680 (freopen64) [!_G_OPEN64]: Remove conditional code.
42681 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42683 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42684 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42686 (ftello64) [!_G_LSEEK64]: Remove conditional code.
42687 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42689 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42690 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42692 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42693 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42695 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42696 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42698 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42699 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42701 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42703 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42706 * manual/memory.texi (Malloc Tunable Parameters): Add note
42707 about free list pointers overwriting some perturb bytes.
42708 Wording suggested by Roland McGrath.
42710 2012-10-17 Joseph Myers <joseph@codesourcery.com>
42712 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42713 (lgamma_test): Likewise.
42714 (tgamma_test): Likewise.
42716 2012-10-16 Florian Weimer <fweimer@redhat.com>
42719 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42720 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42722 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
42724 * NEWS: Mention BZ #14716.
42725 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42726 when removing AVAILABLE1_USES_J macro.
42728 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
42730 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42731 (__bswap_64): __uint64_t for unsigned 64-bit int.
42733 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
42735 * include/string.h (memmem): Declare libc hidden alias.
42736 * string/memmem.c (memmem): Define libc hidden alias.
42737 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42738 __read, __close instead of open, read, close.
42740 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
42742 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42743 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42745 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42746 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42747 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42749 (__rawmemchr_sse2): Likewise.
42750 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42751 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42752 (__strchr_sse2): Likewise.
42753 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42754 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42755 (__strcasecmp_sse2): Likewise.
42756 (__strncasecmp_sse2): Likewise.
42757 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42758 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42759 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42760 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42761 (__strrchr_sse2): Likewise.
42762 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42764 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42765 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42766 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42767 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42768 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42769 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42770 * sysdeps/x86_64/multiarch/memset.S: Likewise.
42771 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42772 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42773 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42774 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42775 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42776 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42777 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42778 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42779 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42780 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42781 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42782 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42783 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42784 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42785 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42786 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42787 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42788 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42789 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42790 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42791 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42792 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42793 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42795 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42797 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42798 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42799 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42800 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42802 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42804 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42805 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42806 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42807 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42809 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42810 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42811 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42812 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42813 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42814 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42815 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42816 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42817 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42818 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42819 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42820 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42821 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42822 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42823 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42824 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42825 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42826 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42827 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42828 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42829 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42830 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42831 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42832 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42833 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42834 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42835 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42836 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42837 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42838 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42839 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42840 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42841 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42842 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42843 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42844 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42845 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42846 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42847 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42848 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42849 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42851 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42852 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42853 * include/ifunc-impl-list.h: New file.
42854 * misc/ifunc-impl-list.c: Likewise.
42855 * misc/Makefile (routines): Add ifunc-impl-list.
42856 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42857 * string/test-string.h: Include <ifunc-impl-list.h>.
42858 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42859 TEST_NAME]: New variables.
42860 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42862 (test_init): Call __libc_ifunc_impl_list to initialize
42863 func_list if TEST_IFUNC and TEST_NAME are defined.
42865 * string/Makefile (strop-tests): Add bcopy and bzero.
42866 * string/test-bcopy.c: New file.
42867 * string/test-bzero.c: Likewise.
42868 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42870 * string/test-memset.c: Support bzero test if TEST_BZERO is
42872 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42874 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42876 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42879 2012-10-10 Joseph Myers <joseph@codesourcery.com>
42881 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42882 * configure: Regenerated.
42884 * Makeconfig (+link-static-before-libc): Don't include
42885 $(link-static-libc).
42887 * libio/libio.h (_IO_pos_t): Remove.
42889 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42891 * NEWS: Add note about FIPS mode. Wording suggested by Roland
42894 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42896 * crypt/crypt-entry.c: Include fips-private.h.
42897 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42898 * crypt/md5c-test.c (main): Tolerate disabled MD5.
42899 * sysdeps/unix/sysv/linux/fips-private.h: New file.
42900 * sysdeps/generic/fips-private.h: New file, dummy fallback.
42902 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42904 * crypt/crypt-private.h: Include stdbool.h.
42905 (_ufc_setup_salt_r): Return bool.
42906 * crypt/crypt-entry.c: Include errno.h.
42907 (__crypt_r): Return NULL with EINVAL for bad salt.
42908 * crypt/crypt_util.c (bad_for_salt): New.
42909 (_ufc_setup_salt_r): Check that salt is long enough and within
42910 the specified alphabet.
42911 * crypt/badsalttest.c: New file.
42912 * crypt/Makefile (tests): Add it.
42913 ($(objpfx)badsalttest): New.
42915 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
42917 * NEWS: Add entry for BZ #14602.
42919 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42921 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42923 * math/libm-test.inc: Update comment listing what functions and
42925 (isgreater_test): New function.
42926 (isgreaterequal_test): Likewise.
42927 (isless_test): Likewise.
42928 (islessequal_test): Likewise.
42929 (islessgreater_test): Likewise.
42930 (isunordered_test): Likewise.
42931 (main): Call the new functions.
42933 2012-10-09 Roland McGrath <roland@hack.frob.com>
42935 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42936 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42937 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42938 * sysdeps/i386/configure: Regenerated.
42939 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42940 * sysdeps/mach/configure: Regenerated.
42941 * sysdeps/mach/hurd/configure: Regenerated.
42942 * sysdeps/powerpc/configure: Regenerated.
42943 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42944 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42945 * sysdeps/s390/s390-32/configure: Regenerated.
42946 * sysdeps/s390/s390-64/configure: Regenerated.
42947 * sysdeps/sh/configure: Regenerated.
42948 * sysdeps/sparc/configure: Regenerated.
42949 * sysdeps/unix/sysv/linux/configure: Regenerated.
42950 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42951 * sysdeps/x86_64/configure: Regenerated.
42953 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42954 defined. Don't check if MAP is NULL.
42956 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42958 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42959 (_G_stat64): Likewise.
42960 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42961 (_G_stat64): Likewise.
42962 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42963 instead of struct _G_stat64.
42964 * libio/fileops.c (mmap_remap_check): Likewise.
42965 (decide_maybe_mmap): Likewise.
42966 (_IO_new_file_seekoff): Likewise.
42967 (_IO_file_stat): Likewise.
42968 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42970 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42971 instead of struct _G_stat64.
42972 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42974 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
42977 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42979 (CHECK_EOL): New macro.
42980 (two_way_short_needle): Check beginning of haystack for EOL. Use
42982 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42983 Replace with CHECK_EOL.
42984 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42985 Replace with CHECK_EOL.
42987 2012-10-08 Joseph Myers <joseph@codesourcery.com>
42989 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42991 * math/libm-test.inc: Update comment listing what functions and
42993 (finite_test): New function.
42994 (isinf_test): Likewise.
42995 (isnan_test): Likewise.
42996 (fpclassify_test): Test subnormal input.
42997 (isfinite_test): Likewise.
42998 (isnormal_test): Likewise.
42999 (main): Call the new functions.
43001 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
43004 * Makerules (%.dynsym): Force C locale when running
43005 $(OBJDUMP) --dynamic-syms.
43007 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
43009 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43012 2012-10-06 David S. Miller <davem@davemloft.net>
43014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43015 upper 32-bits of the length value in %o2 since we use branch-on-register
43016 tests which consider the entire 64-bit register.
43018 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
43020 * string/test-strstr.c (check2): Add a test for page boundary.
43022 2012-10-05 David S. Miller <davem@davemloft.net>
43024 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43025 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43027 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43029 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43030 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43031 and bzero when HWCAP_SPARC_CRYPTO is present.
43033 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
43036 * string/test-strstr.c (check2): New function.
43037 (test_main): Call check2.
43039 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43041 * string/bug-strcasestr1.c (do_test): Moved to ...
43042 * string/test-strcasestr.c (check1): Here. New function.
43043 (do_one_test): Break out result checking code into ...
43044 (check_result): This. New function.
43045 (do_one_test): Call check_result.
43046 (test_main): Call check1.
43047 * string/bug-strchr1.c (do_test): Moved to ...
43048 * string/test-strchr.c (check1): Here. New function.
43049 (do_one_test): Break out result checking code into ...
43050 (check_result): This. New function.
43051 (do_one_test): Call check_result.
43052 (test_main): Call check1.
43053 * string/bug-strstr1.c (main): Moved to ...
43054 * string/test-strstr.c (check1): Here. New function.
43055 (do_one_test): Break out result checking code into ...
43056 (check_result): This. New function.
43057 (do_one_test): Call check_result.
43058 (test_main): Call check1.
43059 * string/bug-strcasestr1.c: Removed.
43060 * string/bug-strchr1.c: Likewise.
43061 * string/bug-strstr1.c: Likewise.
43063 * elf/Makefile (dl-routines): Add hwcaps.
43064 * elf/dl-support.c (_dl_important_hwcaps): Removed.
43065 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43066 (_dl_important_hwcaps): Moved to ...
43067 * elf/dl-hwcaps.c: Here. New file.
43068 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43071 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43072 if IS_IN_rtld isn't defined.
43074 * elf/dl-support.c (_dl_sysinfo_map): New.
43075 Include "get-dynamic-info.h" and "setup-vdso.h".
43076 (_dl_non_dynamic_init): Call setup_vdso.
43077 * elf/dynamic-link.h: Don't include <assert.h>.
43078 (elf_get_dynamic_info): Moved to ...
43079 * elf/get-dynamic-info.h: Here. New file.
43080 * elf/dynamic-link.h: Include "get-dynamic-info.h".
43081 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43082 * elf/setup-vdso.h: Here. New file.
43083 * elf/rtld.c: Include "setup-vdso.h".
43084 (dl_main): Call setup_vdso.
43086 2012-10-05 Joseph Myers <joseph@codesourcery.com>
43088 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43089 creal in comment listing functions tested. List finite, isinf,
43090 isnan, isless, islessequal, isgreater, isgreaterequal,
43091 islessgreater, isunordered, lgamma_r and pow10 as functions and
43092 macros not tested. Mention which functions not tested are aliases
43093 for other functions. Fix typo. Note that signs of NaNs are not
43096 * scripts/config.guess: Update from config.git.
43097 * scripts/config.sub: Likewise.
43099 2012-10-04 Roland McGrath <roland@hack.frob.com>
43101 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43102 * misc/madvise.c (madvise): Renamed to __madvise.
43103 Make madvise a weak alias.
43104 * include/sys/mman.h: Declare __madvise.
43105 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43106 * sysdeps/unix/syscalls.list
43107 (madvise): Make __madvise the strong name, and madvise a weak alias.
43108 * sysdeps/unix/sysv/linux/syscalls.list
43109 (madvise, mmap): Remove redundant entries.
43110 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43111 * malloc/malloc.c (mtrim): Likewise.
43112 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43114 2012-10-03 Roland McGrath <roland@hack.frob.com>
43116 * sysdeps/mach/hurd/dl-cache.c: File removed.
43117 * config.h.in (USE_LDCONFIG): New #undef.
43118 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43119 * configure: Regenerated.
43120 * elf/Makefile (dl-routines): Add dl-cache only under
43121 [$(use-ldconfig) = yes].
43122 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43123 cache on [USE_LDCONFIG].
43124 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43126 * elf/rtld.c (dl_main): Likewise.
43128 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
43130 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43131 _SC_LEVEL4_CACHE_LINESIZE.
43133 2012-10-03 Roland McGrath <roland@hack.frob.com>
43135 * sysdeps/unix/bsd/confstr.h: File removed.
43137 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
43139 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43142 2012-10-02 Roland McGrath <roland@hack.frob.com>
43144 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43145 Make 'mapoff' field ElfW(Off) rather than off_t.
43147 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
43149 * nscd/Makefile: Remove nscd-cflags and all its users.
43150 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43151 (CFLAGS-nonlib): Add compiler flags for nscd modules.
43154 * malloc.c (malloc_printerr): Clarify error message.
43156 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
43159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43160 Set bit_FMA_Usable if FMA is supported.
43161 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43163 (bit_FMA4_Usable): Updated.
43164 (index_FMA_Usable): New macro.
43165 (CPUID_FMA): Likewise
43166 (HAS_FMA): Defined with bit_FMA_Usable.
43168 2012-10-01 Roland McGrath <roland@hack.frob.com>
43170 * bits/types.h (__swblk_t): Type removed.
43171 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43172 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43173 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43174 (__SWBLK_T_TYPE): Likewise.
43175 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43176 (__SWBLK_T_TYPE): Likewise.
43177 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43178 (__SWBLK_T_TYPE): Likewise.
43179 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43180 (__SWBLK_T_TYPE): Likewise.
43182 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
43183 Honza Horak <hhorak@redhat.com>
43185 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43186 (xdr_mapname): Use YPMAXMAP as maxsize.
43187 (xdr_peername): Use YPMAXPEER as maxsize.
43188 (xdr_keydat): Use YPAXRECORD as maxsize.
43189 (xdr_valdat): Use YPMAXRECORD as maxsize.
43191 2012-10-01 Roland McGrath <roland@hack.frob.com>
43193 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43195 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43196 * csu/init-first.c: ... here.
43197 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43198 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43199 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43200 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43201 * sysdeps/i386/init-first.c: File removed.
43202 * sysdeps/sh/init-first.c: File removed.
43204 2012-10-01 Joseph Myers <joseph@codesourcery.com>
43207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43208 if x * y might underflow to zero and z is zero.
43209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43210 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43211 * math/libm-test.inc (min_subnorm_value): New variable.
43212 (fma_test): Add more tests.
43213 (fma_test_towardzero): Likewise.
43214 (fma_test_downward): Likewise
43215 (fma_test_upward): Likewise.
43216 (initialize): Set min_subnorm_value.
43218 2012-09-29 Joseph Myers <joseph@codesourcery.com>
43221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43223 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43224 mode for addition resulting in exact zero.
43225 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43228 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43229 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43230 * math/libm-test.inc (fma_test): Add more tests.
43231 (fma_test_towardzero): New function.
43232 (fma_test_downward): Likewise.
43233 (fma_test_upward): Likewise.
43234 (main): Call the new functions.
43236 2012-09-28 David S. Miller <davem@davemloft.net>
43238 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43240 2012-09-28 Roland McGrath <roland@hack.frob.com>
43242 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43243 instead of SIGALRM.
43245 * sysdeps/gnu/_G_config.h: Moved to ...
43246 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43247 * sysdeps/mach/hurd/_G_config.h: Moved to ...
43248 * sysdeps/generic/_G_config.h: ... here.
43250 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
43252 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43254 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43255 Conditionalize target on [libnss_test1.so-version].
43257 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43259 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43260 (elfobjdir): Move out of conditionals.
43262 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43263 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43264 (__nss_lookup_function): Conditionalize label remove_from_tree on
43265 [!DO_STATIC_NSS || SHARED], matching its only use.
43267 2012-09-28 David S. Miller <davem@davemloft.net>
43269 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43270 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43272 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43274 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43276 when HWCAP_SPARC_CRYPTO is present.
43278 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43280 * io/tst-mknodat.c: Create a FIFO instead of a socket.
43282 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
43285 * stdio-common/vfprintf.c (process_string_arg): Revert
43288 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
43290 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43292 * stdio-common/tst-sprintf.c: Include <locale.h>
43293 (main): Test sprintf's handling of incomplete multibyte
43296 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
43298 * elf/dl-runtime.c (VERSYMIDX): Removed.
43299 * elf/dl-version.c (VERSYMIDX): Likewise.
43300 * elf/do-rel.h (VERSYMIDX): Likewise.
43301 (VALIDX): Likewise.
43302 * elf/dynamic-link.h (VERSYMIDX): Likewise.
43303 * elf/rtld.c (VALIDX): Likewise.
43304 (ADDRIDX): Likewise.
43305 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43306 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43307 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43308 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43309 (VALIDX): Likewise.
43310 (ADDRIDX): Likewise.
43312 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43314 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43316 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
43319 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43321 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43322 addresses are in the same scope as 192.0.2/24.
43323 * posix/gai.conf: Document new scope table defaults.
43325 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43328 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43329 for ftell. Compute offsets from write pointers instead.
43330 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43332 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43335 * libio/Makefile (tests): New test case tst-fseek.
43336 * libio/tst-fseek.c: New test case to verify that fseek/ftell
43337 combination works in wide mode.
43338 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43339 state when the external buffer state changes.
43341 2012-09-27 David S. Miller <davem@davemloft.net>
43344 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43345 pass reloc->r_addend in as the 'high' argument to
43346 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43350 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43352 * rt/tst-aio2.c: Include <pthread.h>.
43353 * rt/tst-aio3.c: Likewise.
43355 2012-09-27 Steve Ellcey <sellcey@mips.com>
43357 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43359 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
43361 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43362 contents on [SHARED].
43364 2012-09-26 Marek Polacek <polacek@redhat.com>
43368 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43369 for C++ and GCC <4.3 as well as for non GCC compilers.
43371 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
43373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43375 2012-09-25 Roland McGrath <roland@hack.frob.com>
43377 * Makefile.in (all, install): Declare with .PHONY.
43378 Reported by Michael Hope <michael.hope@linaro.org>.
43380 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43382 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43383 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43385 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43387 (sydep_routines): Add the new and the internal functions.
43388 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43389 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43391 (GLIBC_2.17): Add the new function.
43392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43393 (GLIBC_2.17): Likewise.
43394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43395 (GLIBC_2.17): Likewise.
43396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43397 (GLIBC_2.17): Likewise.
43398 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43400 2012-09-25 Alan Modra <amodra@gmail.com>
43402 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43403 Add release barrier before setting once_control to say
43404 initialisation is done. Add hints on lwarx. Use macro in
43406 (clear_once_control): Add release barrier.
43408 2012-09-25 Joseph Myers <joseph@codesourcery.com>
43411 * math/s_clog.c (__clog): Handle more values close to |z| = 1
43413 * math/s_clog10.c (__clog10): Likewise.
43414 * math/s_clog10f.c (__clog10f): Likewise.
43415 * math/s_clog10l.c (__clog10l): Likewise.
43416 * math/s_clogf.c (__clogf): Likewise.
43417 * math/s_clogl.c (__clogl): Likewise.
43418 * math/Makefile (libm-calls): Add x2y2m1.
43419 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43420 (__x2y2m1): Likewise.
43421 (__x2y2m1l): Likewise.
43422 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43423 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43424 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43425 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43426 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43427 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43428 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43429 * sysdeps/i386/fpu/libm-test-ulps: Update.
43430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43433 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43434 int as type of variable DEPTH.
43435 (glob): Use size_t instead of int as type of variables NEWCOUNT
43438 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43440 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43441 Add s_sincosf-sse2.
43442 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43443 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43444 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43445 macros for using routine as __sincosf_ia32.
43446 Use macro for function declaration and weak_alias.
43447 * sysdeps/i386/fpu/libm-test-ulps: Update.
43449 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43452 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43453 subnormal argument.
43454 * math/s_cexpf.c (__cexpf): Likewise.
43455 * math/s_csinf.c (__csinf): Likewise.
43456 * math/s_csinhf.c (__csinhf): Likewise.
43457 * math/s_ctanf.c (__ctanf): Likewise.
43458 * math/s_ctanhf.c (__ctanhf): Likewise.
43459 * math/s_ccosh.c (__ccoshf): Likewise.
43460 * math/s_cexp.c (__cexpl): Likewise.
43461 * math/s_csin.c (__csin): Likewise.
43462 * math/s_csinh.c (__csinh): Likewise.
43463 * math/s_ctan.c (__ctan): Likewise.
43464 * math/s_ctanh.c (ctanh): Likewise.
43465 * math/s_ccoshl.c (__ccoshl): Likewise.
43466 * math/s_cexpl.c (__cexpl): Likewise.
43467 * math/s_csinl.c (__csinl): Likewise.
43468 * math/s_csinhl.c (__csinhl): Likewise.
43469 * math/s_ctanl.c (__ctanl): Likewise.
43470 * math/s_ctanhl.c (__ctanhl): Likewise.
43472 2012-09-25 Joseph Myers <joseph@codesourcery.com>
43474 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43475 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43476 (_IO_off_t): Define to __off_t, not _G_off_t.
43477 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43478 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43479 (_IO_wint_t): Define to wint_t, not _G_wint_t.
43480 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43481 type of __dummy and __dummy2 fields.
43482 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43483 (_G_ssize_t): Likewise.
43484 (_G_off_t): Likewise.
43485 (_G_pid_t): Likewise.
43486 (_G_uid_t): Likewise.
43487 (_G_wchar_t): Likewise.
43488 (_G_wint_t): Likewise.
43489 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43490 (_G_ssize_t): Likewise.
43491 (_G_off_t): Likewise.
43492 (_G_pid_t): Likewise.
43493 (_G_uid_t): Likewise.
43494 (_G_wchar_t): Likewise.
43495 (_G_wint_t): Likewise.
43496 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43497 (_G_ssize_t): Likewise.
43498 (_G_off_t): Likewise.
43499 (_G_pid_t): Likewise.
43500 (_G_uid_t): Likewise.
43501 (_G_wchar_t): Likewise.
43502 (_G_wint_t): Likewise.
43504 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43506 * malloc/arena.c: Include malloc-sysdep.h.
43507 (shrink_heap): Use check_may_shrink_heap to decide if madvise
43508 is sufficient to shrink the heap or an unmap is needed.
43509 * sysdeps/generic/malloc-sysdep.h: New file. Define
43510 new function check_may_shrink_heap.
43511 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
43512 new function check_may_shrink_heap.
43514 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43516 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43519 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
43521 * catgets/test-gencat.sh: Add "set -e".
43522 * elf/tst-pathopt.sh: Likewise.
43523 * grp/tst_fgetgrent.sh: Likewise.
43524 * iconvdata/run-iconv-test.sh: Likewise.
43525 * intl/tst-gettext.sh: Likewise.
43526 * intl/tst-gettext2.sh: Likewise.
43527 * intl/tst-gettext4.sh: Likewise.
43528 * intl/tst-gettext6.sh: Likewise.
43529 * intl/tst-translit.sh: Likewise.
43530 * io/ftwtest-sh: Likewise.
43531 * libio/test-freopen.sh: Likewise.
43532 * malloc/tst-mtrace.sh: Likewise.
43533 * posix/globtest.sh: Likewise.
43534 * posix/tst-getconf.sh: Likewise.
43535 * posix/wordexp-tst.sh: Likewise.
43536 * stdio-common/tst-printf.sh: Likewise.
43537 * stdio-common/tst-unbputc.sh: Likewise.
43538 * stdlib/tst-fmtmsg.sh: Likewise.
43539 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43540 * catgets/Makefile: Do not specify -e option when running
43541 testsuite shell scripts.
43542 * elf/Makefile: Likewise.
43543 * grp/Makefile: Likewise.
43544 * iconvdata/Makefile: Likewise.
43545 * intl/Makefile: Likewise.
43546 * io/Makefile: Likewise.
43547 * libio/Makefile: Likewise.
43548 * malloc/Makefile: Likewise.
43549 * posix/Makefile: Likewise.
43550 * stdio-common/Makefile: Likewise.
43551 * stdlib/Makefile: Likewise.
43552 * sysdeps/x86_64/Makefile: Likewise.
43554 * io/ftwtest-sh: Add copyright header.
43555 * posix/globtest.sh: Likewise.
43556 * posix/tst-getconf.sh: Likewise.
43557 * posix/wordexp-tst.sh: Likewise.
43558 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43560 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
43563 * Makeconfig (+link): Defined as $(+link-static) if
43564 $(build-shared) isn't yes.
43565 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43567 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43569 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43572 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43573 new chunk size with MALLOC_ALIGN_MASK.
43575 2012-09-24 Joseph Myers <joseph@codesourcery.com>
43578 * stdio-common/printf_fphex.c: Include <stdbool.h> and
43580 (__printf_fphex): Determine rounding using get_rounding_mode and
43582 * stdio-common/tst-printf-round.c (struct hex_test): New
43584 (hex_tests): New variable.
43585 (test_hex_in_one_mode): New function.
43586 (do_test): Also run tests for hex float output.
43588 2012-09-21 Joseph Myers <joseph@codesourcery.com>
43590 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43591 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43592 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43593 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43594 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43595 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43596 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43597 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43599 2012-09-20 Joseph Myers <joseph@codesourcery.com>
43601 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43602 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43603 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43604 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43606 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
43609 * elf/rtld.c (dl_main): Limit the check for self loading to normal
43611 * elf/tst-rtld-load-self.sh: New test.
43612 * elf/Makefile: Run it.
43614 2012-09-18 Joseph Myers <joseph@codesourcery.com>
43616 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43617 (tst-writev-ENV): Remove.
43618 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43620 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
43622 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43624 2012-09-17 Joseph Myers <joseph@codesourcery.com>
43626 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43628 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43630 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43631 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43632 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43635 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
43638 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43639 * config.make.in (have-cpp-asm-debuginfo): Removed.
43640 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43641 * configure: Regenerated.
43643 2012-09-14 Joseph Myers <joseph@codesourcery.com>
43646 * stdio-common/printf_fp.c: Include <stdbool.h> and
43648 (___printf_fp): Determine rounding using get_rounding_mode and
43650 * stdio-common/tst-printf-round.c: New file.
43651 * stdio-common/Makefile (tests): Add tst-printf-round.
43652 (link-libm): New variable.
43653 ($(objpfx)tst-printf-round): Depend in $(link-libm).
43655 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
43658 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43659 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43661 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43664 2012-09-13 Joseph Myers <joseph@codesourcery.com>
43666 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43667 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43668 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43669 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43671 2012-09-12 Joseph Myers <joseph@codesourcery.com>
43674 * include/rounding-mode.h: New file.
43675 * sysdeps/generic/get-rounding-mode.h: Likewise.
43676 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43677 * stdlib/strtod_l.c: Include <rounding-mode.h>.
43678 (MAX_VALUE): New macro.
43679 (MIN_VALUE): Likewise.
43680 (overflow_value): New function.
43681 (underflow_value): Likewise.
43682 (round_and_return): Use overflow_value and underflow_value to
43683 determine return values in overflow and underflow cases. Use
43684 round_away to determine rounding depending on rounding mode.
43685 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43686 determine return values in overflow and underflow cases.
43687 * stdlib/tst-strtod-round.c: Include <fenv.h>.
43688 (struct test_results): New structure.
43689 (struct test): Use struct test_results to store expected results
43690 for all rounding modes.
43691 (TEST): Include expected results for all rounding modes.
43692 (test_in_one_mode): New function.
43693 (do_test): Use test_in_one_mode to compute and check results.
43694 Check results for all rounding modes.
43695 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43698 2012-12-09 Allan McRae <allan@archlinux.org>
43700 * sysdeps/i386/fpu/libm-test-ulps: Update
43702 2012-09-11 Joseph Myers <joseph@codesourcery.com>
43704 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43705 (_G_int32_t): Likewise.
43706 (_G_uint16_t): Likewise.
43707 (_G_uint32_t): Likewise.
43708 (_G_HAVE_BOOL): Likewise.
43709 (_G_HAVE_ATEXIT): Likewise.
43710 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43711 (_G_HAVE_IO_FILE_OPEN): Likewise.
43712 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43713 (_G_int32_t): Likewise.
43714 (_G_uint16_t): Likewise.
43715 (_G_uint32_t): Likewise.
43716 (_G_HAVE_BOOL): Likewise.
43717 (_G_HAVE_ATEXIT): Likewise.
43718 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43719 (_G_HAVE_IO_FILE_OPEN): Likewise.
43720 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43721 (_G_int32_t): Likewise.
43722 (_G_uint16_t): Likewise.
43723 (_G_uint32_t): Likewise.
43724 (_G_HAVE_BOOL): Likewise.
43725 (_G_HAVE_ATEXIT): Likewise.
43726 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43727 (_G_HAVE_IO_FILE_OPEN): Likewise.
43729 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
43731 * csu/libc-tls.c: Update copyright years.
43733 2012-09-10 Joseph Myers <joseph@codesourcery.com>
43735 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43736 [!_G_USING_THUNKS]: Remove conditional code.
43737 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43738 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43740 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43741 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43742 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43743 (_G_VTABLE_LABEL_PREFIX): Likewise.
43744 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43745 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43746 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43747 (_G_VTABLE_LABEL_PREFIX): Likewise.
43748 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43749 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43750 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43751 (_G_VTABLE_LABEL_PREFIX): Likewise.
43752 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43754 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
43756 * libio/Makefile: Include ../Makeconfig before tests.
43757 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43758 only if $(build-shared) is yes.
43760 * iconv/gconv_db.c: Update copyright years.
43762 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43764 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43765 unwind info if defined PIC. Fix special cases description.
43766 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43768 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43770 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43772 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
43774 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43776 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43779 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43780 (LDLIBS-tst-chk4): This.
43781 (LDFLAGS-tst-chk5): Renamed to ...
43782 (LDLIBS-tst-chk5): This.
43783 (LDFLAGS-tst-chk6): Renamed to ...
43784 (LDLIBS-tst-chk6): This.
43785 (LDFLAGS-tst-lfschk4): Renamed to ...
43786 (LDLIBS-tst-lfschk4): This.
43787 (LDFLAGS-tst-lfschk5): Renamed to ...
43788 (LDLIBS-tst-lfschk5): This.
43789 (LDFLAGS-tst-lfschk6): Renamed to ...
43790 (LDLIBS-tst-lfschk6): This.
43792 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43793 on $(common-objpfx)soversions.mk.
43795 2012-09-07 Joseph Myers <joseph@codesourcery.com>
43798 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43801 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
43803 * malloc/arena.c (arena_get_retry): New function that gets
43804 another arena for the caller to try its request on.
43805 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43806 current arena cannot fulfill the request.
43807 (__libc_memalign): Likewise.
43808 (__libc_memalign): Likewise.
43809 (__libc_pvalloc): Likewise.
43810 (__libc_calloc): Likewise.
43812 2012-09-05 John Tobey <john.tobey@gmail.com>
43815 * manual/arith.texi (Operations on Complex): Fix description
43816 of carg branch cut.
43818 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43821 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43825 * manual/memory.texi (Memory): Make order of menu items match
43828 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43830 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43831 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
43832 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43834 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43836 * csu/libc-tls.c (static_dtv): Renamed to ...
43837 (_dl_static_dtv): This. Make it global.
43838 (_dl_initial_dtv): Removed.
43839 (__libc_setup_tls): Updated.
43840 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43841 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43844 2012-09-06 Petr Machata <pmachata@redhat.com>
43846 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43847 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43848 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43849 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43851 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43854 * csu/libc-tls.c (_dl_initial_dtv): New variable.
43855 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43858 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43861 * Makeconfig (link-static-before-libc): Replace $(+prector)
43863 (link-static-after-libc): Replace $(+postctor) with
43865 (link-bounded): Replace $(+prector)/$(+postctor) with
43866 $(+prectorT)/$(+postctorT).
43867 (+prectorT): New macro.
43868 (+postctorT): Likewise.
43870 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43872 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43873 (round_str): Handle values above the maximum for IBM long double
43875 * stdlib/tst-strtod-round.c (tests): Regenerated.
43877 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43879 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43881 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43882 zarch_nohighgprs around the zarch optimized routines.
43883 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43884 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43885 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43888 2012-09-05 David S. Miller <davem@davemloft.net>
43890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43892 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43893 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43894 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43895 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43898 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43900 * malloc/arena.c: Fold copyright years.
43901 * malloc/mcheck.c, malloc/memusage.c: Likewise.
43903 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43905 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43907 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43909 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
43911 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43913 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43914 change internal state upon failure.
43916 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43918 * malloc/mcheck.c (mcheck_check_all): Fix typo.
43919 * malloc/memusage.c (mmap): Likewise.
43920 (mmap64, mremap): Likewise. Adjust name in comment.
43922 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43924 * libio/fileops.c: Fix typos in comments.
43925 * libio/oldfileops.c: Likewise.
43926 * libio/wfileops.c: Likewise.
43928 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43931 * malloc/Makefile (tests): Add tst-malloc-usable test case.
43932 (tst-malloc-usable-ENV): Set environment for test case.
43933 * malloc/hooks.c (malloc_check_get_size): New function to get
43935 * malloc/malloc.c (musable): Use malloc_check_get_size.
43936 * malloc/tst-malloc-usable.c: New test case.
43938 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43940 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43942 2012-09-05 Allan McRae <allan@archlinux.org>
43945 * configure.in (CXX_SYSINCLUDES): Use compiler output to
43946 determine header location.
43947 * configure: Regenerated.
43949 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43951 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43953 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43954 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43956 (test): Regenerate.
43958 2012-09-04 David S. Miller <davem@davemloft.net>
43960 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43961 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43962 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43964 2012-09-04 Florian Weimer <fweimer@redhat.com>
43966 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43969 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43971 2012-09-04 Joseph Myers <joseph@codesourcery.com>
43974 * libio/iogetdelim.c: Include <limits.h>.
43975 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43976 + len + 1 would overflow.
43978 2012-09-03 Andreas Jaeger <aj@suse.de>
43980 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43981 * sysdeps/i386/fpu/libm-test-ulps: Update.
43983 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43985 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43986 Add s_sinf-sse2, s_conf-sse2.
43988 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43989 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43990 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43991 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43993 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43994 for using routine as __sinf_ia32.
43995 Use macro for function declaration and weak_alias.
43996 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43997 for using routine as __cosf_ia32.
43998 Use macro for function declaration and weak_alias.
44000 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44001 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44003 * sysdeps/x86_64/fpu/s_sinf.S: New file.
44004 * sysdeps/x86_64/fpu/s_cosf.S: New file.
44005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44007 * math/libm-test.inc (cos_test): Add more test cases.
44008 (sin_test): Likewise.
44009 (sincos_test): Likewise.
44011 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44013 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44014 (IFUNC_RESOLVE): Make pointers to the specialized implementations
44016 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44018 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
44021 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44022 first element of the GOT.
44023 (elf_machine_load_address): Return the difference between
44024 the runtime address of _DYNAMIC and elf_machine_dynamic ().
44026 2012-09-01 Allan McRae <allan@archlinux.org>
44029 * configure.in (AWK): Require gawk version 3.0 or later.
44030 * configure: Regenerated.
44032 2012-09-01 Joseph Myers <joseph@codesourcery.com>
44034 * sysdeps/unix/sysv/linux/kernel-features.h
44035 (__ASSUME_POSIX_CPU_TIMERS): Remove.
44036 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44037 [__NR_clock_getres]: Make code unconditional.
44038 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44039 (clock_getcpuclockid): Remove code left unreachable by removal of
44041 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44042 code unconditional.
44043 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44044 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44045 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44046 Make code unconditional.
44047 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44048 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44049 * sysdeps/unix/sysv/linux/clock_settime.c
44050 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44052 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44053 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44055 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
44058 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44059 scripts/test-installation.pl.
44061 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44062 and $ld_so_version if it is set.
44064 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
44067 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44068 failure if reading from procfs failed.
44069 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44071 2012-08-27 Joseph Myers <joseph@codesourcery.com>
44073 * sysdeps/unix/sysv/linux/kernel-features.h
44074 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44075 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44076 Remove conditional code.
44077 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44078 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44079 Remove conditional code.
44080 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44081 * sysdeps/unix/sysv/linux/i386/fxstat.c
44082 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44083 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44084 * sysdeps/unix/sysv/linux/i386/fxstatat.c
44085 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44086 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44087 * sysdeps/unix/sysv/linux/i386/lxstat.c
44088 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44089 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44090 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44091 Remove conditional code.
44092 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44093 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44094 Remove conditional code.
44095 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44096 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44097 <kernel-features.h>.
44098 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44100 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44101 Remove conditional code.
44102 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44103 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44104 Remove conditional.
44106 2012-08-27 Mike Frysinger <vapier@gentoo.org>
44109 * NEWS: Add fixed bug number.
44111 2012-08-27 Joseph Myers <joseph@codesourcery.com>
44114 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44115 underflowing exponent in case of negative sign.
44116 * stdlib/tst-strtod-round-data: Add more tests.
44117 * stdlib/tst-strtod-round.c (tests): Regenerated.
44120 * stdlib/strtod_l.c (NDIG): Remove.
44121 (HEXNDIG): Likewise.
44122 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44123 smallest representable value.
44124 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44125 lie within an exact representation of 1/2 ulp of the result.
44126 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44128 (TENS_P9_IDX): Define unconditionally.
44129 (TENS_P9_SIZE): Likewise.
44130 (TENS_P10_IDX): Likewise.
44131 (TENS_P10_SIZE): Likewise.
44132 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44133 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44134 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44135 entries for 10^2^13 and 10^2^14.
44136 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44137 (TENS_P13_IDX): Define.
44138 (TENS_P13_SIZE): Likewise.
44139 (TENS_P14_IDX): Likewise.
44140 (TENS_P14_SIZE): Likewise.
44141 (_fpioconst_pow10): Change array size to
44142 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
44144 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44145 1024]: Add entries for 10^2^13 and 10^2^14.
44146 [LAST_POW10 > _LAST_POW10]: Remove #error.
44147 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44148 (_fpioconst_pow10): Change array size to
44149 FPIOCONST_POW10_ARRAY_SIZE.
44150 * stdlib/gen-fpioconst.c: New file.
44151 * stdlib/gen-tst-strtod-round.c: Likewise.
44152 * stdlib/tst-strtod-round-data: Likewise.
44153 * stdlib/tst-strtod-round.c: Likewise.
44154 * stdlib/Makefile (tests): Add tst-strtod-round.
44157 * stdlib/strtod_l.c: Include <stdint.h>.
44158 (NDEBUG): Do not define.
44159 (round_and_return): Change EXPONENT parameter to type intmax_t.
44160 Rearrange calculations to avoid internal overflow possibilities.
44161 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44162 Rearrange calculations to avoid internal overflow possibilities.
44163 Assert that number fits inside MPNSIZE limbs.
44164 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44165 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
44166 calculations and add assertions to avoid internal overflow
44167 possibilities. Add casts to avoid signed/unsigned operations.
44168 * stdlib/tst-strtod-overflow.c: New file.
44169 * stdlib/Makefile (tests): Add tst-strtod-overflow.
44171 2012-08-25 Marek Polacek <polacek@redhat.com>
44173 * time/time.h: Fix some typos in comments.
44175 2012-08-23 Roland McGrath <roland@hack.frob.com>
44177 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44178 * posix/tst-rfc3484-2.c: Likewise.
44179 * posix/tst-rfc3484-3.c: Likewise.
44181 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
44183 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44184 (EF_ARM_ABI_FLOAT_HARD): Likewise.
44186 2012-08-23 Joseph Myers <joseph@codesourcery.com>
44188 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44189 #include of fxstatat64.c.
44191 2012-08-22 Roland McGrath <roland@hack.frob.com>
44193 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44194 * shadow/getspent_r.c: Likewise.
44195 * shadow/getspnam.c: Likewise.
44196 * shadow/getspnam_r.c: Likewise.
44197 * gshadow/getsgent.c: Likewise.
44198 * gshadow/getsgent_r.c: Likewise.
44199 * gshadow/getsgnam.c: Likewise.
44200 * gshadow/getsgnam_r.c: Likewise.
44201 * inet/getnetbyad.c: Likewise.
44202 * inet/getnetbyad_r.c: Likewise.
44203 * inet/getnetbynm.c: Likewise.
44204 * inet/getnetbynm_r.c: Likewise.
44205 * inet/getnetent.c: Likewise.
44206 * inet/getnetent_r.c: Likewise.
44207 * inet/getproto.c: Likewise.
44208 * inet/getproto_r.c: Likewise.
44209 * inet/getprtent.c: Likewise.
44210 * inet/getprtent_r.c: Likewise.
44211 * inet/getprtname.c: Likewise.
44212 * inet/getprtname_r.c: Likewise.
44213 * inet/getrpcbyname.c: Likewise.
44214 * inet/getrpcbyname_r.c: Likewise.
44215 * inet/getrpcbynumber.c: Likewise.
44216 * inet/getrpcbynumber_r.c: Likewise.
44217 * inet/getrpcent.c: Likewise.
44218 * inet/getrpcent_r.c: Likewise.
44219 * inet/getaliasent.c: Likewise.
44220 * inet/getaliasent_r.c: Likewise.
44221 * inet/getaliasname.c: Likewise.
44222 * inet/getaliasname_r.c: Likewise.
44223 * nscd/getgrgid_r.c: Likewise.
44224 * nscd/getgrnam_r.c: Likewise.
44225 * nscd/gethstbyad_r.c: Likewise.
44226 * nscd/gethstbynm3_r.c: Likewise.
44227 * nscd/getpwnam_r.c: Likewise.
44228 * nscd/getpwuid_r.c: Likewise.
44229 * nscd/getsrvbynm_r.c: Likewise.
44230 * nscd/getsrvbypt_r.c: Likewise.
44231 * nscd/gai.c: Likewise.
44233 * configure.in (build_nscd): New substituted variable, set
44234 by --disable-build-nscd and defaults to $use_nscd.
44235 * configure: Regenerated.
44236 * config.make.in (build-nscd): New substituted variable.
44237 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44238 Change conditional to require [$(build-nscd) = yes] as well.
44239 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44242 * configure.in (use_nscd): New substituted variable, set by
44243 --disable-nscd. If enabled, define USE_NSCD.
44244 * configure: Regenerated.
44245 * config.h.in: Add USE_NSCD.
44246 * config.make.in (use-nscd): New substituted variable.
44247 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44248 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44249 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44250 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44251 (CFLAGS-getgrnam_r.c): Likewise.
44252 (CFLAGS-initgroups.c): Likewise.
44253 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44254 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44256 * inet/getnetgrent_r.c
44257 (nscd_setnetgrent): New function, broken out of ...
44258 (setnetgrent): ... here. Call it.
44259 (innetgr): Conditionalize nscd bits on [USE_NSCD].
44260 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44261 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44262 * nscd/Makefile (routines, aux): Move definitions after include of
44263 Makeconfig. Conditionalize on [$(use-nscd) != no].
44264 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44265 Conditionalize on [USE_NSCD].
44266 (is_nscd, nscd_init_cb): Likewise.
44267 (nss_load_library): Conditionalize init callback on [USE_NSCD].
44268 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44269 * nss/nss_db/db-init.c: Likewise.
44270 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44272 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44273 (make_request): Use it.
44274 (cache_valid_p): New function.
44275 (__check_pf): Use it.
44276 * NEWS: Add item for --disable-nscd.
44278 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
44280 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44281 to support sed >= 4.2.1-20-ga9bf076.
44282 * configure: Regenerated.
44284 2012-08-22 Roland McGrath <roland@hack.frob.com>
44286 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44287 Conditionalize whole body on [IREL].
44289 2012-08-22 Jeff Law <law@redhat.com>
44292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44293 if the family is PF_UNSPEC.
44295 2012-08-22 Mike Frysinger <vapier@gentoo.org>
44297 * Makerules (lib-version): Rename from V.
44298 (install-lib-nosubdir): Change V to lib-version.
44300 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
44303 * powerpc32/power6/wcschr.c: New file.
44304 * powerpc32/power6/wcscpy.c: New file.
44305 * powerpc32/power6/wcsrchr.c: New file.
44306 * powerpc64/power6/wcschr.c: New file.
44307 * powerpc64/power6/wcscpy.c: New file.
44308 * powerpc64/power6/wcsrchr.c: New file.
44310 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
44312 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44313 (two_way_short_needle): Use it.
44314 * string/strstr.c (AVAILABLE1_USES_J): Define.
44315 * string/strcasestr.c: Likewise.
44317 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44319 * string/strcasestr.c (TOLOWER): Make side-effect safe.
44322 * NEWS: Add an entry.
44323 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44324 define their defaults.
44325 (two_way_short_needle): Detect end-of-string on-the-fly.
44326 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44327 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44328 * string/bug-strcasestr1.c: New test.
44329 * string/Makefile: Run it.
44331 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
44334 * string/str-two-way.h (two_way_short_needle): Optimize matching of
44335 the first character.
44337 2012-08-21 Roland McGrath <roland@hack.frob.com>
44339 * csu/elf-init.c (__libc_csu_irel): Function removed.
44340 * csu/libc-start.c (apply_irel): New function.
44341 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44343 2012-08-21 Joseph Myers <joseph@codesourcery.com>
44345 * sysdeps/unix/sysv/linux/kernel-features.h
44346 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44347 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44348 <kernel-features.h>.
44349 [__NR_fadvise64_64]: Make code unconditional.
44350 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44351 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44352 !__NR_fadvise64_64)]: Likewise.
44353 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44354 !__NR_fadvise64_64))]: Likewise.
44355 [__NR_fadvise64]: Make code unconditional.
44356 [!__NR_fadvise64]: Remove conditional code.
44357 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44358 <kernel-features.h>.
44359 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44361 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44364 not include <kernel-features.h>.
44365 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44367 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44369 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44370 include <kernel-features.h>.
44371 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44373 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44376 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44378 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44379 slight instruction rearrangements per scrollpipe analysis.
44380 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44382 2012-08-20 Roland McGrath <roland@hack.frob.com>
44384 * manual/syslog.texi (syslog; vsyslog, closelog):
44385 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44386 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44388 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44389 DSOCAPS to match condition on defining it.
44391 2012-08-20 Joseph Myers <joseph@codesourcery.com>
44393 * sysdeps/unix/sysv/linux/kernel-features.h
44394 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44396 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44397 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44399 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44400 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44402 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44403 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44405 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44406 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44408 * sysdeps/unix/sysv/linux/kernel-features.h
44409 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44410 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44412 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44413 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44414 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44415 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44416 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44417 Make code unconditional.
44418 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44419 (__mmap64) [!__NR_mmap2]: Likewise.
44420 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44421 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44422 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44423 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44424 [__NR_mmap2]: Make code unconditional.
44425 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44426 (__mmap64) [!__NR_mmap2]: Likewise.
44428 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44430 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44432 2012-08-18 Andreas Jaeger <aj@suse.de>
44434 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44436 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44438 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44439 * include/unistd.h (__have_sock_cloexec): Likewise.
44440 (__have_pipe2): Likewise.
44441 (__have_dup3): Likewise.
44443 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44446 * include/unistd.h (__have_pipe2): Change define into an extern int.
44447 (__have_dup3): Likewise.
44448 * socket/have_sock_cloexec.c: Include fcntl.h.
44449 (__have_pipe2): New variable.
44450 (__have_dup3): Likewise.
44452 2012-08-17 Mike Frysinger <vapier@gentoo.org>
44454 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44456 2012-08-17 Marek Polacek <polacek@redhat.com>
44458 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44459 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44461 2012-08-17 Roland McGrath <roland@hack.frob.com>
44463 * configure.in: Add AC_SUBST for sysheaders.
44464 * configure: Regenerated.
44465 * config.make.in (sysheaders): New substituted variable.
44467 * sysdeps/unix/mkfifo.c: Moved ...
44468 * sysdeps/posix/mkfifo.c: ... here.
44469 * sysdeps/unix/mkfifoat.c: Moved ...
44470 * sysdeps/posix/mkfifoat.c: ... here.
44472 * sysdeps/unix/utime.c: Moved ...
44473 * sysdeps/posix/utime.c: ... here.
44475 * sysdeps/unix/time.c: Moved ...
44476 * sysdeps/posix/time.c: ... here.
44477 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44478 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44480 * sysdeps/unix/nice.c: Moved ...
44481 * sysdeps/posix/nice.c: ... here.
44483 * sysdeps/unix/alarm.c: Moved ...
44484 * sysdeps/posix/alarm.c: ... here.
44486 * intl/Makefile ($(codeset_mo)): Depend on the input file.
44488 2012-08-17 Jeff Law <law@redhat.com>
44490 * intl/Makefile (codeset_mo): New variable.
44491 ($(codeset_mo)): New target.
44492 (tst-codeset.out): Depend on that. Remove explicit rule.
44493 (tst-gettext3.out, tst-gettext5.out): Likewise.
44494 (LOCPATH-ENV, tst-codeset-ENV): New variables.
44495 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44496 * intl/tst-codeset.sh: Remove.
44497 * intl/tst-gettext3.sh: Likewise.
44498 * intl/tst-gettext5.sh: Likewise.
44500 2012-08-17 Roland McGrath <roland@hack.frob.com>
44502 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
44503 * sysdeps/unix/syscalls.list: ... here.
44505 * sysdeps/posix/getaddrinfo.c
44506 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44507 (gaiconf_init, gaiconf_reload): Use them.
44508 [!_STATBUF_ST_NSEC]
44509 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44510 Define using time_t rather than struct timespec.
44512 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44513 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44515 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44517 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44518 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44521 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44522 __libc_cleanup_push argument.
44524 * bits/param.h: New file.
44525 * misc/sys/param.h: New file.
44526 * include/sys/param.h: New file.
44527 * misc/Makefile (headers): Add bits/param.h.
44528 * sysdeps/generic/sys/param.h: File removed.
44529 * sysdeps/unix/sysv/linux/bits/param.h: New file.
44530 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44531 * sysdeps/mach/hurd/bits/param.h: New file.
44532 * sysdeps/mach/hurd/sys/param.h: File removed.
44534 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44537 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44539 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44540 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44543 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44544 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44545 rather than -D_IO_MTSAFE_IO conditionally.
44546 * stdio-common/Makefile (CPPFLAGS): Likewise.
44547 * wcsmbs/Makefile (CPPFLAGS): Likewise.
44548 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44549 Use $(libio-mtsafe).
44550 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44551 of -D_IO_MTSAFE_IO.
44552 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44553 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44554 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44555 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44556 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44557 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44558 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44559 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44560 (CFLAGS-fread_u_chk.c): Likewise.
44561 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44562 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44563 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44564 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44565 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44566 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44567 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44568 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44569 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44571 * libio/Makefile: Test [$(libc-reentrant) = yes]
44572 instead of [$(filter %REENTRANT, $(defines)) nonempty].
44575 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44576 * sysdeps/pthread/configure: File removed.
44577 * sysdeps/pthread/Makeconfig: New file.
44578 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44579 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44581 2012-08-16 Gary Benson <gbenson@redhat.com>
44583 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44584 unmapping the first object in a namespace.
44586 2012-08-16 Roland McGrath <roland@hack.frob.com>
44588 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44589 (__internal_setnetgrent): ... this. Add internal_function to
44590 definition. Add libc_hidden_def.
44591 (setnetgrent): Update caller.
44592 (internal_endnetgrent): Renamed to ...
44593 (__internal_endnetgrent): ... this. Add internal_function to
44594 definition. Add libc_hidden_def.
44595 (endnetgrent): Update caller.
44596 (internal_getnetgrent_r): Renamed to ...
44597 (__internal_getnetgrent_r): ... this. Add internal_function to
44598 definition. Add libc_hidden_def.
44599 (__getnetgrent_r): Update caller.
44600 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
44602 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44604 * stdlib/longlong.h: Update from GCC.
44606 2012-08-16 Roland McGrath <roland@hack.frob.com>
44608 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44609 on _QL, which is set by umul_ppmm but never used.
44610 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44611 variables, which are set by GMP macros but never used.
44612 * stdio-common/_itowa.c (_itowa): Likewise.
44613 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44614 * stdlib/mod_1.c (mpn_mod_1): Likewise.
44616 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
44618 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44619 struct La_sh_regs is not constant.
44620 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44621 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44622 and struct La_sparc64_regs are not constant.
44624 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44626 * sysdeps/unix/sysv/linux/kernel-features.h
44627 (__ASSUME_POSIX_TIMERS): Remove.
44628 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44629 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44630 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44631 Make code unconditional.
44632 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44633 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44634 Make code unconditional.
44635 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44636 * sysdeps/unix/sysv/linux/clock_nanosleep.c
44637 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44638 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44639 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44640 Make code unconditional.
44641 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44642 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44643 (__libc_missing_posix_timers): Remove.
44645 2012-08-15 Roland McGrath <roland@hack.frob.com>
44647 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44648 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44650 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44652 * elf/dl-sym.c: Include <stdlib.h>.
44654 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44655 constants, which avoids warnings in 32-bit builds.
44657 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44658 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44660 * misc/lseek.c: File moved to ...
44661 * io/lseek.c: ... here.
44663 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44665 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44666 shifting LEN more than 31 bits at once.
44668 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44671 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44672 segmentation fault for a case of two empty input strings.
44673 * string/test-strncasecmp.c (check1): Renamed to...
44674 (bz12205): ...this.
44675 (bz14195): Add new testcase for two empty input strings and N > 0.
44676 (test_main): Call new testcase, adapt for renamed function.
44678 2012-08-15 Andreas Jaeger <aj@suse.de>
44681 * crypt/md5test2.c: New test, based on test supplied by Serge
44682 Belyshev <belyshev@depni.sinp.msu.ru>.
44683 * crypt/Makefile (xtests): Add md5test-giant..
44684 * crypt/Makefile ($(objpfx)md5test-giant): Add.
44686 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
44689 * crypt/md5.c (md5_process_block): Don't assume the buffer
44690 length is less than 2**32.
44691 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44692 length is less than 2**64.
44694 2012-08-15 Roland McGrath <roland@hack.frob.com>
44696 * string/str-two-way.h: Include <sys/param.h>.
44697 (MAX): Macro removed.
44699 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44700 Move #define and #undef of memmove to just before and after
44701 including <string.h>.
44703 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44704 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44705 and after including <string.h>. Move declarations of
44706 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44707 to before #include "string/memmove.c".
44709 * include/dirent.h: Declare __getdirentries.
44711 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44712 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44714 2012-08-14 Mike Frysinger <vapier@gentoo.org>
44716 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44717 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44718 * sysdeps/i386/configure: Regenerated.
44719 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44720 STABS_CURRENT_FILE, and STABS_FUN.
44721 (END): Remove call to STABS_FUN_END.
44722 (STABS_CURRENT_FILE1): Delete.
44723 (STABS_CURRENT_FILE): Likewise.
44724 (STABS_FUN): Likewise.
44725 (STABS_FUN_END): Likewise.
44726 (STABS_FUN2): Likewise.
44727 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44728 * sysdeps/x86_64/configure: Regenerated.
44730 2012-08-14 Roland McGrath <roland@hack.frob.com>
44732 * elf/dl-open.c: Include <atomic.h>.
44733 * elf/dl-lookup.c: Likewise.
44735 2012-08-14 Joseph Myers <joseph@codesourcery.com>
44737 * sysdeps/unix/sysv/linux/kernel-features.h
44738 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44739 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44741 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44743 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44744 condition on __ASSUME_CLONE_THREAD_FLAGS.
44746 2012-08-14 Andreas Jaeger <aj@suse.de>
44748 * sysdeps/i386/fpu/libm-test-ulps: Update.
44750 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
44752 * include/atomic.h (atomic_exchange_and_add): Split into ...
44753 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44756 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
44758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44760 2012-08-13 Jeff Law <law@redhat.com>
44762 * manual/stdio.texi (snprintf): Clarify handling of the trailing
44763 null byte in the output string.
44765 2012-08-10 Joseph Myers <joseph@codesourcery.com>
44767 * sysdeps/unix/sysv/linux/kernel-features.h
44768 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44769 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44770 (__ASSUME_ARG_MAX_STACK_BASED): Define.
44771 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44772 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44773 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
44774 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44776 2012-08-09 Jeff Law <law@redhat.com>
44779 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44780 When avoid_arena is set, don't retry in the that arena. Pick the
44781 next one, whatever it might be.
44782 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44783 (arena_lock): Pass in new parameter to arena_get2.
44784 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44786 (__libc_malloc): Unify retrying after main arena failure with
44787 __libc_memalign version.
44788 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44790 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
44793 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44794 to __redirect_strstr.
44795 (__strstr_sse42): Use typeof __redirect_strstr.
44796 (__strstr_ia32): Likewise.
44797 (__libc_strstr): New prototype.
44798 (strstr): Renamed to ...
44799 (__libc_strstr): This.
44800 (strstr): New strong alias of __libc_strstr.
44801 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44802 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44805 (__libc_time): New prototype.
44806 (time_ifunc): Replace time with __libc_time.
44807 (time): New strong alias and hidden definition of __libc_time.
44808 (__GI_time): Remove strong alias.
44809 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44810 Include <stddef.h>.
44811 (memmove): Redefined to __redirect_memmove.
44812 (__memmove_sse2): Use typeof __redirect_memmove.
44813 (__memmove_ssse3): Likewise.
44814 (__memmove_ssse3_back): Likewise.
44815 (__libc_memmove): New prototype.
44816 (memmove): Renamed to ...
44817 (__libc_memmove): This.
44818 (memmove): New strong alias of __libc_memmove.
44820 2012-08-08 Mark Salter <msalter@redhat.com>
44823 (R_MN10300_TLS_GD): Define.
44824 (R_MN10300_TLS_LD): Likewise.
44825 (R_MN10300_TLS_LDO): Likewise.
44826 (R_MN10300_TLS_GOTIE): Likewise.
44827 (R_MN10300_TLS_IE): Likewise.
44828 (R_MN10300_TLS_LE): Likewise.
44829 (R_MN10300_TLS_DTPMOD): Likewise.
44830 (R_MN10300_TLS_DTPOFF): Likewise.
44831 (R_MN10300_TLS_TPOFF): Likewise.
44832 (R_MN10300_SYM_DIFF): Likewise.
44833 (R_MN10300_ALIGN): Likewise.
44834 (R_MN10300_NUM): Update.
44836 2012-08-08 Joseph Myers <joseph@codesourcery.com>
44838 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44841 2012-08-08 Roland McGrath <roland@hack.frob.com>
44843 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44845 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44846 sysdeps/unix -> sysdeps/posix move.
44847 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44849 2012-08-07 Allan McRae <allan@archlinux.org>
44852 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44853 (SUNOS_CPP): Likewise.
44854 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44856 (open_input): Call CPP using execvp.
44858 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44860 * sysdeps/unix/sysv/linux/kernel-features.h
44861 (__ASSUME_PROT_GROWSUPDOWN): Remove.
44862 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44863 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44864 (__ASSUME_WAITID_SYSCALL): Likewise.
44865 * sysdeps/unix/sysv/linux/dl-execstack.c
44866 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44867 code unconditional.
44868 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44870 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44871 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44872 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44874 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44876 [__ASSUME_WAITID_SYSCALL]: Likewise.
44877 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44879 2012-08-07 Roland McGrath <roland@hack.frob.com>
44881 * sysdeps/unix/closedir.c: Renamed to ...
44882 * sysdeps/posix/closedir.c: ... here.
44883 * sysdeps/unix/dirfd.c: Renamed to ...
44884 * sysdeps/posix/dirfd.c: ... here.
44885 * sysdeps/unix/dirstream.h: Renamed to ...
44886 * sysdeps/posix/dirstream.h: ... here.
44887 * sysdeps/unix/fdopendir.c: Renamed to ...
44888 * sysdeps/posix/fdopendir.c: ... here.
44889 * sysdeps/unix/opendir.c: Renamed to ...
44890 * sysdeps/posix/opendir.c: ... here.
44891 * sysdeps/unix/readdir.c: Renamed to ...
44892 * sysdeps/posix/readdir.c: ... here.
44893 * sysdeps/unix/readdir_r.c: Renamed to ...
44894 * sysdeps/posix/readdir_r.c: ... here.
44895 * sysdeps/unix/rewinddir.c: Renamed to ...
44896 * sysdeps/posix/rewinddir.c: ... here.
44897 * sysdeps/unix/seekdir.c: Renamed to ...
44898 * sysdeps/posix/seekdir.c: ... here.
44899 * sysdeps/unix/telldir.c: Renamed to ...
44900 * sysdeps/posix/telldir.c: ... here.
44901 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44902 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44903 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44904 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44906 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44907 * bits/fcntl.h: ... here.
44909 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44911 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44912 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44913 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44914 (struct flock): Move l_start, l_len to the beginning.
44915 Use __pid_t for l_pid.
44916 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44917 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44918 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44919 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44920 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44921 [__USE_LARGEFILE64] (struct flock64): New type.
44922 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44924 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44925 * bits/dirent.h: ... here.
44927 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44928 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44930 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44932 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44933 Change from 2.6.0 to 2.6.16.
44934 * sysdeps/unix/sysv/linux/configure: Regenerated.
44935 * sysdeps/unix/sysv/linux/kernel-features.h
44936 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44937 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44939 (__ASSUME_UTIMES): Likewise.
44940 (__ASSUME_CLONE_STOPPED): Remove.
44941 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44942 architectures, not kernel version.
44943 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44944 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44945 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44946 (__ASSUME_WAITID_SYSCALL): Likewise.
44947 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44948 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44949 * README: State 2.6.16 as minimum Linux kernel version. Do not
44950 refer to older versions.
44952 2012-08-06 Roland McGrath <roland@hack.frob.com>
44954 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44955 Define alphasort64 as an alias.
44956 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44957 Define versionsort64 as an alias.
44958 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44959 Define scandir64 as an alias.
44960 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44961 Define scandirat64 as an alias.
44962 * dirent/alphasort64.c (alphasort64):
44963 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44964 * dirent/versionsort64.c: Likewise.
44965 * dirent/scandir64.c: Likewise.
44966 * dirent/scandirat64.c: Likewise.
44967 * sysdeps/wordsize-64/alphasort.c: File removed.
44968 * sysdeps/wordsize-64/alphasort64.c: File removed.
44969 * sysdeps/wordsize-64/scandir.c: File removed.
44970 * sysdeps/wordsize-64/scandir64.c: File removed.
44971 * sysdeps/wordsize-64/scandirat.c: File removed.
44972 * sysdeps/wordsize-64/scandirat64.c: File removed.
44973 * sysdeps/wordsize-64/versionsort.c: File removed.
44974 * sysdeps/wordsize-64/versionsort64.c: File removed.
44975 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44976 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44977 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44978 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44979 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44980 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44981 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44982 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44984 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44985 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44986 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44988 [defined __arch64__ || defined __sparcv9]
44989 (__INO_T_MATCHES_INO64_T): New macro.
44990 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44991 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44992 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44993 * sysdeps/unix/sysv/linux/bits/dirent.h
44994 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44995 (_DIRENT_MATCHES_DIRENT64): New macro.
44997 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44998 Define lockf64 as an alias.
44999 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45000 Define fseeko64 as an alias.
45001 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45002 Define ftello64 as an alias.
45003 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45004 Define _IO_fgetpos64 and fgetpos64 as aliases.
45005 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45006 Define _IO_fsetpos64 and fsetpos64 as aliases.
45007 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45008 Conditionalize body on this.
45009 * libio/fseeko64.c: Likewise.
45010 * libio/ftello64.c: Likewise.
45011 * libio/iofgetpos64.c: Likewise.
45012 * libio/iofsetpos64.c: Likewise.
45013 * sysdeps/wordsize-64/lockf.c: File removed.
45014 * sysdeps/wordsize-64/lockf64.c: File removed.
45015 * sysdeps/wordsize-64/fseeko.c: File removed.
45016 * sysdeps/wordsize-64/fseeko64.c: File removed.
45017 * sysdeps/wordsize-64/ftello.c: File removed.
45018 * sysdeps/wordsize-64/ftello64.c: File removed.
45019 * sysdeps/wordsize-64/iofgetpos.c: File removed.
45020 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45021 * sysdeps/wordsize-64/iofsetpos.c: File removed.
45022 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45023 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45024 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45025 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45026 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45027 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45028 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45029 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45030 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45031 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45032 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45034 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45035 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45036 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45038 [defined __arch64__ || defined __sparcv9]
45039 (__OFF_T_MATCHES_OFF64_T): New macro.
45040 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45041 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45043 (__OFF_T_MATCHES_OFF64_T): New macro.
45045 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
45047 * stdlib/secure-getenv.c (__secure_getenv): Replace
45048 GLIBC_2_16 with GLIBC_2_17.
45050 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
45052 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45053 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45055 2012-08-03 David S. Miller <davem@davemloft.net>
45057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45059 2012-08-03 Joseph Myers <joseph@codesourcery.com>
45061 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45063 (__ASSUME_CORRECT_SI_PID): Likewise.
45064 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45065 (__ASSUME_TMPFS_NAME): Likewise.
45066 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45067 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45068 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45069 (HAVE_AUX_SECURE): Make definition unconditional.
45070 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45071 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45073 2012-08-03 Roland McGrath <roland@hack.frob.com>
45075 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45076 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45077 * sysdeps/mach/hurd/eloop-threshold.h: New file.
45078 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45079 __eloop_threshold instead of SYMLOOP_MAX.
45081 * sysdeps/generic/eloop-threshold.h: New file.
45082 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45084 * elf/chroot_canon.c (chroot_canon): Likewise.
45086 2012-08-03 Joseph Myers <joseph@codesourcery.com>
45089 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45090 Change to 2.6.0 everywhere.
45091 * sysdeps/unix/sysv/linux/configure: Regenerated.
45092 * sysdeps/unix/sysv/linux/kernel-features.h
45093 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45094 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45096 (__ASSUME_POSIX_TIMERS): Define unconditionally.
45097 (__ASSUME_FUTEX_REQUEUE): Remove.
45098 (__ASSUME_STATFS64): Define unconditionally.
45099 (__ASSUME_AT_SECURE): Likewise.
45100 (__ASSUME_CORRECT_SI_PID): Likewise.
45101 (__ASSUME_TGKILL): Define without depending on kernel version for
45103 (__ASSUME_UTIMES): Likewise.
45104 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45106 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45107 (__ASSUME_TMPFS_NAME): Likewise.
45108 * README: Update reference to Linux kernel versions.
45110 2012-08-02 Marek Polacek <polacek@redhat.com>
45113 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
45114 libc_cv_asm_type_prefix with %.
45115 * configure: Regenerated.
45116 * include/libc-symbols.h: Remove comment about
45117 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45118 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45119 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45120 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45121 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45122 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45123 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45124 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45125 * elf/tst-unique2mod1.c: Likewise.
45126 * elf/tst-unique1mod2.c: Likewise.
45127 * elf/tst-unique1mod1.c: Likewise.
45128 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45129 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45130 Replace ASM_TYPE_DIRECTIVE with .type.
45131 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45132 * sysdeps/i386/sysdep.h: Likewise.
45133 * sysdeps/x86_64/sysdep.h: Likewise.
45134 * sysdeps/sh/sysdep.h: Likewise.
45135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45136 Do not define ASM_TYPE_DIRECTIVE.
45137 * sysdeps/powerpc/sysdep.h: Likewise.
45138 * sysdeps/powerpc/powerpc32/sysdep.h:
45139 Replace ASM_TYPE_DIRECTIVE with .type.
45140 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45141 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45142 * sysdeps/i386/fpu/e_powf.S: Likewise.
45143 * sysdeps/i386/fpu/e_expl.S: Likewise.
45144 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45145 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45146 * sysdeps/i386/fpu/e_pow.S: Likewise.
45147 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45148 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45149 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45150 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45151 * sysdeps/i386/fpu/e_log2.S: Likewise.
45152 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45153 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45154 * sysdeps/i386/fpu/e_powl.S: Likewise.
45155 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45156 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45157 * sysdeps/i386/fpu/e_logl.S: Likewise.
45158 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45159 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45160 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45161 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45162 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45163 * sysdeps/i386/fpu/e_log.S: Likewise.
45164 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45165 * sysdeps/i386/fpu/e_logf.S: Likewise.
45166 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45167 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45168 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45169 * sysdeps/i386/fpu/e_log10.S: Likewise.
45170 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45171 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45172 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45173 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45174 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45175 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45176 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45177 * sysdeps/i386/i686/strtok.S: Likewise.
45178 * sysdeps/i386/i386-mcount.S: Likewise.
45179 * sysdeps/i386/strtok.S: Likewise.
45180 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45181 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45182 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45183 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45184 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45185 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45186 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45187 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45188 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45189 * sysdeps/x86_64/_mcount.S: Likewise.
45190 * sysdeps/x86_64/strtok.S: Likewise.
45191 * sysdeps/sh/_mcount.S: Likewise.
45193 2012-08-01 Roland McGrath <roland@hack.frob.com>
45195 * libio/iofopen.c: Include <fcntl.h>.
45196 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45197 (_IO_fopen64, fopen64): Define as aliases.
45198 * libio/iofopen64.c: Include <fcntl.h>.
45199 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45200 Conditionalize body on this.
45201 * sysdeps/wordsize-64/iofopen.c: File removed.
45202 * sysdeps/wordsize-64/iofopen64.c: File removed.
45204 2012-08-01 Marek Polacek <polacek@redhat.com>
45206 * libc/Makeconfig: Use elf in place of binfmt-subdir.
45207 Use dlfcn directly instead of a variable.
45208 (binfmt-subdir): Do not define.
45211 2012-08-01 Joseph Myers <joseph@codesourcery.com>
45213 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45214 Remove all definitions.
45215 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45216 <kernel-features.h>.
45217 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45218 (miss_F_GETOWN_EX): Remove all definitions.
45219 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45221 [!__ASSUME_FCNTL64]: Remove conditional code.
45222 [__ASSUME_FCNTL64]: Make code unconditional.
45223 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45224 <kernel-features.h>.
45225 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45226 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45227 (lockf64) [__NR_fcntl64]: Make code unconditional.
45228 (lockf64) [__ASSUME_FCNTL64]: Likewise.
45230 * sysdeps/unix/sysv/linux/kernel-features.h
45231 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45232 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45233 Make code unconditional.
45234 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45235 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45237 [__NR_vfork]: Make code unconditional.
45238 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45239 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45241 [__NR_vfork]: Make code unconditional.
45242 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45243 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45245 2012-08-01 Roland McGrath <roland@hack.frob.com>
45247 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45248 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45250 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45251 Define mkstemp64 as an alias.
45252 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45253 Define mkstemps64 as an alias.
45254 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45255 Define mkostemp64 as an alias.
45256 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45257 Define mkostemps64 as an alias.
45258 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45259 Conditionalize body on this.
45260 * misc/mkostemp64.c: Likewise.
45261 * misc/mkostemps64.c: Likewise.
45262 * misc/mkstemps64.c: Likewise.
45263 * sysdeps/wordsize-64/mkstemp64.c: File removed.
45264 * sysdeps/wordsize-64/mkostemp64.c: File removed.
45265 * sysdeps/wordsize-64/mkostemp.c: File removed.
45266 * sysdeps/wordsize-64/mkstemp.c: File removed.
45267 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45268 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45269 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45270 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45273 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45274 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45275 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45276 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45278 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45279 compat_symbol macros from <shlib-compat.h> rather than the underlying
45280 default_symbol_version and symbol_version macros, so that DEFAULT
45281 lines in shlib-versions are respected.
45282 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45284 2012-08-01 Florian Weimer <fweimer@redhat.com>
45286 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45287 Declare with warn_unused_result.
45288 (setgid, setregid, setegid, setresgid): Likewise.
45289 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45291 * WUR-REPORT: Remove set*id functions.
45293 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
45295 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45297 2012-07-31 Roland McGrath <roland@hack.frob.com>
45300 * include/sys/socket.h (__libc_accept, __libc_accept4):
45301 Add attribute_hidden.
45302 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45304 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45306 * inet/getnetgrent_r.c (setup): Likewise.
45308 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45310 2012-07-31 David S. Miller <davem@davemloft.net>
45312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45314 2012-07-31 Joseph Myers <joseph@codesourcery.com>
45317 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45318 value between 1.0 and 2.0 and smaller part has absolute value less
45320 * math/s_clog10.c (__clog10): Likewise.
45321 * math/s_clog10f.c (__clog10f): Likewise.
45322 * math/s_clog10l.c (__clog10l): Likewise.
45323 * math/s_clogf.c (__clogf): Likewise.
45324 * math/s_clogl.c (__clogl): Likewise.
45325 * math/libm-test.inc (clog_test): Add more tests.
45326 (clog10_test): Likewise.
45327 * sysdeps/i386/fpu/libm-test-ulps: Update.
45328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45330 2012-07-31 Florian Weimer <fweimer@redhat.com>
45332 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45333 Exit with zero in case no suitable GID is found, and write a
45334 message to standard error.
45336 2012-07-30 Roland McGrath <roland@hack.frob.com>
45338 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45340 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45341 (MAXPATHLEN): Removed.
45342 (NOGROUP, NODEV): New macros.
45343 (setbit, clrbit, isset, isclr): New macros.
45344 (howmany, roundup, powerof2): New macros.
45345 (DEV_BSIZE): New macro.
45347 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45348 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45350 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45351 definition on [!__NO_LONG_DOUBLE_MATH].
45353 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45354 PTR_MANGLE and PTR_DEMANGLE.
45356 * socket/accept4.c (accept4): Rename to __libc_accept4.
45357 Define accept4 as a weak alias.
45359 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45360 on [_DIRENT_HAVE_D_TYPE].
45361 * io/ftw.c (ftw_dir): Likewise.
45363 * io/xmknod.c (__xmknod): Don't check PATH for being null.
45365 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45367 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45368 Use the BSD numbers rather than the arbitrary ones we had.
45369 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45370 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45371 (SIGXCPU, SIGXFSZ): New macros.
45374 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45375 initializer on [_LIBC_REENTRANT].
45377 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45378 definitions inside [_POSIX_MAPPED_FILES].
45380 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45382 * dirent/opendir.c: Include <fcntl.h>.
45384 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45385 (__libc_getspecific): Likewise.
45386 (__libc_key_create): Likewise.
45388 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45389 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45390 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45391 (tmpfile64): Define as alias.
45392 * sysdeps/wordsize-64/tmpfile.c: File removed.
45393 * sysdeps/wordsize-64/tmpfile64.c: File removed.
45394 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45395 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45397 * stdio-common/vfscanf.c: Include <stdbool.h>.
45398 * nss/makedb.c: Likewise.
45399 * stdio-common/_i18n_number.h: Likewise.
45400 * argp/argp-help.c: Likewise.
45401 * posix/wordexp.c: Likewise.
45402 * sysdeps/posix/spawni.c: Likewise.
45403 * nss/nss_files/files-initgroups.c: Likewise.
45404 * stdio-common/reg-modifier.c: Include <stdlib.h>.
45405 * nss/nss_files/files-initgroups.c: Likewise.
45406 * nss/nss_db/db-netgrp.c: Likewise.
45407 * nss/nss_db/db-initgroups.c: Likewise.
45408 * io/fchmodat.c: Include <sys/stat.h>.
45410 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45411 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45413 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45416 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45417 Add multiple inclusion protection.
45419 2012-07-27 David S. Miller <davem@davemloft.net>
45421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45423 2012-07-27 Gary Benson <gbenson@redhat.com>
45426 * elf/rtld.c: Include <stap-probe.h>.
45427 (dl_main): Added static probes "init_start" and "init_complete".
45428 * elf/dl-load.c: Include <stap-probe.h>.
45429 (lose): Take new parameter "nsid".
45430 Added static probe "map_failed".
45431 (_dl_map_object_from_fd): Pass namespace id to lose.
45432 Added static probe "map_start".
45433 (open_verify): Pass namespace id to lose.
45434 * elf/dl-open.c: Include <stap-probe.h>.
45435 (dl_open_worker) Added static probes "map_complete", "reloc_start"
45436 and "reloc_complete".
45437 * elf/dl-close.c: Include <stap-probe.h>.
45438 (_dl_close_worker): Added static probes "unmap_start" and
45440 * elf/rtld-debugger-interface.txt: New file documenting the above.
45442 2012-07-26 Roland McGrath <roland@hack.frob.com>
45444 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45445 rather than a string variable.
45446 * sunrpc/rpc_main.c (h_output): Likewise.
45447 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45449 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
45451 * inet/check_native.c: New file.
45453 2012-07-26 Joseph Myers <joseph@codesourcery.com>
45456 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45457 if larger part has absolute value 1.0.
45458 * math/s_clog10.c (__clog10): Likewise.
45459 * math/s_clog10f.c (__clog10f): Likewise.
45460 * math/s_clog10l.c (__clog10l): Likewise.
45461 * math/s_clogf.c (__clogf): Likewise.
45462 * math/s_clogl.c (__clogl): Likewise.
45463 * math/libm-test.inc (clog_test): Add more tests.
45464 (clog10_test): Likewise.
45465 * sysdeps/i386/fpu/libm-test-ulps: Update.
45466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45468 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45469 (pltexit): Likewise.
45470 (La_regs): Likewise.
45471 (La_retval): Likewise.
45472 (int_retval): Likewise.
45473 Update #error for removed macros to refer only to definitions in
45475 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45477 (pltexit): Likewise.
45478 (La_regs): Likewise.
45479 (La_retval): Likewise.
45480 (int_retval): Likewise.
45481 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45483 (pltexit): Likewise.
45484 (La_regs): Likewise.
45485 (La_retval): Likewise.
45486 (int_retval): Likewise.
45487 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45489 (pltexit): Likewise.
45490 (La_regs): Likewise.
45491 (La_retval): Likewise.
45492 (int_retval): Likewise.
45493 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45495 (pltexit): Likewise.
45496 (La_regs): Likewise.
45497 (La_retval): Likewise.
45498 (int_retval): Likewise.
45499 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45501 (pltexit): Likewise.
45502 (La_regs): Likewise.
45503 (La_retval): Likewise.
45504 (int_retval): Likewise.
45505 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45507 (pltexit): Likewise.
45508 (La_regs): Likewise.
45509 (La_retval): Likewise.
45510 (int_retval): Likewise.
45511 * sysdeps/generic/tst-audit.h: Update comment to refer only to
45512 macro definitions in tst-audit.h.
45513 * sysdeps/i386/tst-audit.h: New file.
45514 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45515 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45516 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45517 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45518 * sysdeps/sh/tst-audit.h: Likewise.
45519 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45520 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45521 * sysdeps/x86_64/tst-audit.h: Likewise.
45523 2012-07-26 Andreas Jaeger <aj@suse.de>
45525 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45528 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45529 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45530 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45532 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45533 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45534 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45536 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45539 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45541 (si_call_addr, si_syscall, si_arch): Define new macro.
45542 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45544 (si_call_addr, si_syscall, si_arch): Define new marcro.
45545 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45547 (si_call_addr, si_syscall, si_arch): Define new macro.
45548 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45550 (si_call_addr, si_syscall, si_arch): Define new macro.
45552 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45555 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45556 Change to 2.4.21 where previously 2.4.1.
45557 * sysdeps/unix/sysv/linux/configure: Regenerated.
45558 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45559 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45560 Linux kernel version.
45561 (__ASSUME_STD_AUXV): Remove.
45562 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45564 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45565 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45566 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45567 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45568 (__ASSUME_NETLINK_SUPPORT): Likewise.
45569 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45570 (__no_netlink_support): Remove conditional definition.
45571 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45573 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45574 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45575 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45576 (if_nameindex_ioctl): Remove.
45577 (if_nameindex_netlink): Do not handle __no_netlink_support.
45578 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45580 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45581 Remove conditional code.
45582 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45584 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45586 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45587 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45588 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45590 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45591 [!__ASSUME_STD_AUXV]: Remove conditional code.
45592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45593 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45594 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45596 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45597 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45599 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45601 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45602 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45604 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45606 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45609 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45612 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45613 code unconditional.
45614 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45616 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45618 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45621 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45623 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45626 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45627 code unconditional.
45628 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45630 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45632 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45635 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45636 code unconditional.
45637 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45639 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45641 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45644 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
45646 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45647 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45648 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45649 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45650 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45651 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45652 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45653 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45654 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45655 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45656 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45657 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45658 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45659 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45660 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45661 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45662 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45663 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45664 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45665 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45666 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45667 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45668 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45670 2012-07-25 Florian Weimer <fweimer@redhat.com>
45672 * Versions.def: Add GLIBC_2.17.
45673 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45674 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45675 Introduce __libc_secure_getenv.
45676 * stdlib/Versions (2.17): Add secure_getenv
45677 (GLIBC_PRIVATE): Add __libc_secure_getenv.
45678 * stdlib/secure-getenv.c: Rename __secure_getenv to
45679 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
45680 symbol __secure_getenv for GLIBC_2.0.
45681 * stdlib/tst-secure-getenv.c: New.
45682 * stdlib/Makefile (tests): Add testcase.
45683 * manual/startup.texi (Environment Access): Document
45685 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45686 __libc_secure_getenv.
45687 * inet/ruserpass.c (ruserpass): Likewise.
45688 * malloc/mtrace.c (mtrace): Likewise.
45689 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45690 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45691 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45692 * sysdeps/posix/tempname.c: Likewise. Evaluate
45693 HAVE_SECURE_GETENV.
45694 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45695 __secure_getenv to __libc_secure_getenv.
45696 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45703 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45709 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45711 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45712 (struct La_i86_retval): Likewise.
45713 (struct La_x86_64_regs): Likewise.
45714 (struct La_x86_64_retval): Likewise.
45715 (struct La_x32_regs): Likewise.
45716 (struct La_x32_retval): Likewise.
45717 (struct La_ppc32_regs): Likewise.
45718 (struct La_ppc32_retval): Likewise.
45719 (struct La_ppc64_regs): Likewise.
45720 (struct La_ppc64_retval): Likewise.
45721 (struct La_sh_regs): Likewise.
45722 (struct La_sh_retval): Likewise.
45723 (struct La_s390_32_regs): Likewise.
45724 (struct La_s390_32_retval): Likewise.
45725 (struct La_s390_64_regs): Likewise.
45726 (struct La_s390_64_retval): Likewise.
45727 (struct La_sparc32_regs): Likewise.
45728 (struct La_sparc32_retval): Likewise.
45729 (struct La_sparc64_regs): Likewise.
45730 (struct La_sparc64_retval): Likewise.
45731 (struct audit_ifaces): Remove architecture-specific pltenter and
45733 * sysdeps/i386/ldsodefs.h: New file.
45734 * sysdeps/powerpc/ldsodefs.h: Likewise.
45735 * sysdeps/s390/ldsodefs.h: Likewise.
45736 * sysdeps/sh/ldsodefs.h: Likewise.
45737 * sysdeps/sparc/ldsodefs.h: Likewise.
45738 * sysdeps/x86_64/ldsodefs.h: Likewise.
45740 2012-07-25 Marek Polacek <polacek@redhat.com>
45743 * math/libm-test.inc (yn_test): Add another test.
45744 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45745 to ERANGE when the result is +-Inf.
45746 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45747 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45748 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45749 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45751 2012-07-24 Joseph Myers <joseph@codesourcery.com>
45753 * conform/data/time.h-data (NULL): Use macro-constant. Require
45755 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
45757 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
45759 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
45761 * configure.in <sysdeps resolving>: Correct printing
45763 * configure: Regenerate.
45765 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
45767 * math/w_ilogb.c: Include <limits.h>.
45768 * math/w_ilogbl.c: Likewise.
45770 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45772 * manual/lang.texi (__va_copy): Document primarily as ISO C99
45773 va_copy. Document allowing for unavailable va_copy only as
45774 pre-C99 compatibility.
45775 * manual/string.texi (Copying and Concatenation): Use va_copy
45776 instead of __va_copy in concat example.
45778 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
45780 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45781 (__sendto): Use create_address_port. Initialize APORT and deallocate
45784 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45785 with O_NOLINK passed to __file_name_lookup.
45787 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45788 with O_NOLINK passed to __file_name_lookup.
45790 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45791 negative N or less than NGIDS.
45793 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45794 type to string_t. Set ERANGE as errno and return it if NAME is not big
45795 enough. Use memcpy instead of strncpy.
45797 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45799 * elf/Makefile (check-data): Remove.
45800 (localplt.data): New vpath directive.
45801 ($(objpfx)check-localplt.out): Use localplt.data from vpath
45802 instead of $(check-data).
45803 * scripts/data/localplt-generic.data: Move to ...
45804 * sysdeps/generic/localplt.data: ... here.
45805 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45806 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45807 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45810 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45813 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45816 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45819 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45822 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45826 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45828 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45829 PPC32 and PPC64 files.
45830 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45831 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45833 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45835 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45836 __makecontext_ret to ...
45837 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45838 ... here and call exit if uc_link is NULL. New file.
45839 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45840 __makecontext_ret.S.
45841 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45842 __makecontext_ret to ...
45843 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45844 ... here and call exit if uc_link is NULL. New file.
45845 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45846 __makecontext_ret.S.
45848 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45850 * elf/elf.h (R_390_IRELATIVE): New definition.
45851 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45852 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
45853 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45854 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45855 (elf_machine_lazy_rel): Likewise.
45856 * sysdeps/s390/dl-irel.h: New file.
45857 * sysdeps/s390/s390-64/memcpy.S: New asm code.
45858 * sysdeps/s390/s390-64/memset.S: New asm code.
45859 * sysdeps/s390/s390-64/memcmp.S: New asm code.
45860 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45861 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45862 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45863 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45864 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45865 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45866 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45867 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45868 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45869 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45870 * sysdeps/s390/s390-32/memcpy.S: New asm code.
45871 * sysdeps/s390/s390-32/memset.S: New asm code.
45872 * sysdeps/s390/s390-32/memcmp.S: New asm code.
45874 2012-07-17 Marek Polacek <polacek@redhat.com>
45877 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45878 * sysdeps/s390/s390-64/configure.in: Likewise.
45879 * sysdeps/sparc/configure.in: Likewise.
45880 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45881 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45882 * sysdeps/i386/configure.in: Likewise.
45883 * sysdeps/x86_64/configure.in: Likewise.
45884 * sysdeps/sh/configure.in: Likewise.
45885 * sysdeps/s390/s390-32/configure: Regenerated.
45886 * sysdeps/s390/s390-64/configure: Likewise.
45887 * sysdeps/x86_64/configure: Likewise.
45888 * sysdeps/sh/configure: Likewise.
45889 * sysdeps/powerpc/powerpc64/configure: Likewise.
45890 * sysdeps/powerpc/powerpc32/configure: Likewise.
45891 * sysdeps/sparc/configure: Likwise.
45892 * sysdeps/i386/configure: Likewise.
45894 * elf/dl-open.c: Comment fixes.
45896 2012-07-17 Joseph Myers <joseph@codesourcery.com>
45898 * Makefile [CXX] (check-data): Remove.
45899 [CXX] (c++-types.data): New vpath directive.
45900 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45901 vpath. Do not allow for C++ type data being missing.
45902 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45903 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45904 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45905 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45906 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45907 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45908 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45911 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45914 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45917 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45920 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45923 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45926 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45929 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45932 * elf/tls-macros.h (TLS_LE): Move architecture-specific
45933 definitions to architecture-specific files.
45934 (TLS_IE): Likewise.
45935 (TLS_LD): Likewise.
45936 (TLS_GD): Likewise.
45937 * sysdeps/i386/tls-macros.h: New file.
45938 * sysdeps/powerpc/tls-macros.h: Likewise.
45939 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45940 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45941 * sysdeps/sh/tls-macros.h: Likewise.
45942 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45943 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45944 * sysdeps/x86_64/tls-macros.h: Likewise.
45946 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45948 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45949 zero value for regular exit case.
45951 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45952 (__start_context): Preserve zero value for regular exit case.
45954 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45955 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45957 * manual/setjmp.texi (setcontext): Clarify normal process
45958 termination when uc_link is the null pointer.
45959 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45962 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
45964 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45965 preprocessor. Test for each exception mask separately.
45967 2012-07-16 Andreas Jaeger <aj@suse.de>
45969 * po/ru.po: Update from translation team.
45971 2012-07-15 Joseph Myers <joseph@codesourcery.com>
45973 * conform/data/string.h-data (NULL): Use macro-constant. Require
45975 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45976 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45977 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45978 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45979 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45981 2012-07-13 Andreas Jaeger <aj@suse.de>
45983 * po/fr.po: Update from translation team.
45985 2012-07-12 Marek Polacek <polacek@redhat.com>
45988 * math/libm-test.inc (yn_test): Add test for BZ #14173.
45989 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45992 2012-07-12 Joseph Myers <joseph@codesourcery.com>
45995 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45996 Change to 2.4.1 where previously 2.4.0.
45997 * sysdeps/unix/sysv/linux/configure: Regenerated.
45998 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45999 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46001 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46002 (__ASSUME_AT_CLKTCK): Remove.
46003 (__ASSUME_AT_PAGESIZE): Likewise.
46004 (__ASSUME_AT_XID): Likewise.
46005 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46006 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46007 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46009 (HAVE_AUX_PAGESIZE): Likewise.
46010 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46011 [__ASSUME_AT_CLKTCK]: Make code unconditional.
46012 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46014 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
46017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46018 the temporary buffer used to invoke __gethostbyname2_r,
46019 __gethostbyaddr_r and gethostbyname4_r to make room for struct
46020 host_data / struct gaih_addrtuple.
46021 * resolv/nss_dns/dns-host.c (global scope): Move definition of
46022 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46023 header file nss/nsswitch.h.
46024 * nss/nsswitch.h (global scope): Add definition of implementation
46025 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46026 resolv/nss_dns/dns-host.c).
46028 2012-07-11 Andreas Jaeger <aj@suse.de>
46030 * po/fr.po: Update from translation team.
46032 * po/sv.po: Update from translation team
46033 * po/fr.po: Another update from translation team.
46035 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46037 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46038 for subnormals or multiply small sinh result by itself.
46039 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46042 2012-07-11 David S. Miller <davem@davemloft.net>
46044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46046 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
46049 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46050 (INTERNAL_MARK): Shift it here.
46052 2012-07-10 Marek Polacek <polacek@redhat.com>
46055 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
46056 libc_cv_asm_global_directive with .globl.
46057 * configure: Regenerated.
46058 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46060 * sysdeps/i386/configure: Regenerated.
46061 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46063 * sysdeps/x86_64/configure: Regenerated.
46064 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46065 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46066 * elf/tst-unique2mod2.c: Likewise.
46067 * elf/tst-unique2mod1.c: Likewise.
46068 * elf/tst-unique1mod2.c: Likewise.
46069 * elf/tst-unique1mod1.c: Likewise.
46070 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46071 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46072 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46073 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46074 * sysdeps/mach/sysdep.h: Likewise.
46075 * sysdeps/i386/sysdep.h: Likewise.
46076 * sysdeps/i386/i386-mcount.S: Likewise.
46077 * sysdeps/x86_64/_mcount.S: Likewise.
46078 * sysdeps/x86_64/sysdep.h: Likewise.
46079 * sysdeps/sh/_mcount.S: Likewise.
46080 * sysdeps/sh/sysdep.h: Likewise.
46081 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46082 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46083 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46084 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46085 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46086 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46087 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46088 * locale/localeinfo.h: Likewise.
46089 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46090 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46092 2012-07-09 Roland McGrath <roland@hack.frob.com>
46095 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46097 * manual/message.texi (The Uniforum approach): Likewise.
46098 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46099 (glibc iconv Implementation): Likewise.
46101 2012-07-09 Joseph Myers <joseph@codesourcery.com>
46104 * math/s_clog.c (__clog): Avoid scaling a value down where that
46105 could result in underflow.
46106 * math/s_clog10.c (__clog10): Likewise.
46107 * math/s_clog10f.c (__clog10f): Likewise.
46108 * math/s_clog10l.c (__clog10l): Likewise.
46109 * math/s_clogf.c (__clogf): Likewise.
46110 * math/s_clogl.c (__clogl): Likewise.
46111 * math/libm-test.inc (clog_test): Add more tests.
46112 (clog10_test): Likewise.
46113 * sysdeps/i386/fpu/libm-test-ulps: Update.
46114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46116 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
46119 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46120 by 7 not 8 to examine high bit of fractional part.
46123 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46124 for call to __mcount_internal.
46125 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46126 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46127 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46129 2012-07-06 Joseph Myers <joseph@codesourcery.com>
46132 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46133 approximation for values within 0x1p-13f of an odd multiple of
46135 * math/libm-test.inc (tan_test): Do not allow spurious underflow
46136 exception. Add more tests.
46137 * sysdeps/i386/fpu/libm-test-ulps: Update.
46140 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46141 inputs and return -1 for them. Do not check for +Inf in case not
46142 reachable for +Inf.
46143 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46144 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46145 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46146 and return -1 for them. Do not check for +Inf in case not
46147 reachable for +Inf.
46148 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46150 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46151 and return -1 for them. Do not check for +Inf in case not
46152 reachable for +Inf.
46153 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
46154 spurious underflow.
46155 * sysdeps/i386/fpu/libm-test-ulps: Update.
46156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46158 2012-07-06 Mike Frysinger <vapier@gentoo.org>
46160 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46162 2012-07-05 Joseph Myers <joseph@codesourcery.com>
46166 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46167 could result in spurious underflow. Scale down values above
46168 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46169 * math/s_csqrtf.c (__csqrtf): Likewise.
46170 * math/s_csqrtl.c (__csqrtl): Likewise.
46171 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
46172 spurious underflow.
46173 * sysdeps/i386/fpu/libm-test-ulps: Update.
46174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46176 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
46178 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46180 * catgets/xopen-msg.awk: New file.
46181 * catgets/xopen-msg.sed: Removed.
46183 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46185 * intl/po2test.awk: New file.
46186 * intl/po2test.sed: Removed.
46188 2012-07-04 Joseph Myers <joseph@codesourcery.com>
46191 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46192 or multiply small sinh result by itself.
46193 * math/s_ctanf.c (__ctanf): Likewise.
46194 * math/s_ctanh.c (__ctanh): Likewise.
46195 * math/s_ctanhf.c (__ctanhf): Likewise.
46196 * math/s_ctanhl.c (__ctanhl): Likewise.
46197 * math/s_ctanl.c (__ctanl): Likewise.
46198 * math/libm-test.inc (ctan_test_tonearest): New function.
46199 (ctan_test_towardzero): Likewise.
46200 (ctan_test_downward): Likewise.
46201 (ctan_test_upward): Likewise.
46202 (ctanh_test_tonearest): Likewise.
46203 (ctanh_test_towardzero): Likewise.
46204 (ctanh_test_downward): Likewise.
46205 (ctanh_test_upward): Likewise.
46206 (main): Call these new functions.
46207 * sysdeps/i386/fpu/libm-test-ulps: Update.
46208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46210 2012-07-03 Mike Frysinger <vapier@gentoo.org>
46212 * .gitignore: Delete /ports entry.
46214 2012-07-03 Andreas Jaeger <aj@suse.de>
46216 * po/bg.po: Update from translation team.
46217 * po/cs.po: Likewise.
46218 * po/de.po: Likewise.
46219 * po/hr.po: Likewise.
46220 * po/nl.pl: Likewise.
46221 * po/pl.po: Likewise.
46222 * po/vi.po: Likewise.
46224 2012-07-03 Joseph Myers <joseph@codesourcery.com>
46226 * Makeconfig [!+link] (+link-before-libc): New variable.
46227 [!+link] (+link-after-libc): Likewise.
46228 [!+link] (+link-tests): Likewise.
46229 [!+link] (+link): Define in terms of $(+link-before-libc) and
46230 $(+link-after-libc).
46231 [!+link-static] (+link-static-before-libc): New variable.
46232 [!+link-static] (+link-static-after-libc): Likewise.
46233 [!+link-static] (+link-static-tests): Likewise.
46234 [!+link-static] (+link-static): Define in terms of
46235 $(+link-static-before-libc) and $(+link-static-after-libc).
46236 [build-shared] (link-libc-before-gnulib): New variable.
46237 [build-shared] (link-libc-tests): Likewise.
46238 [build-shared] (link-libc): Define in terms of
46239 $(link-libc-before-gnulib).
46240 [!build-shared] (link-libc-tests): New variable.
46241 (link-libc-static-tests): New variable.
46242 [!gnulib] (gnulib-arch): New variable.
46243 [!gnulib] (gnulib-tests): Likewise.
46244 [!gnulib] (static-gnulib-arch): Likewise.
46245 [!gnulib] (static-gnulib-tests): Likewise.
46246 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
46247 Define with "=" instead of ":=".
46248 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
46249 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
46250 * Rules (binaries-all-notests): New variable.
46251 (binaries-all-tests): Likewise.
46252 (binaries-static-notests): Likewise.
46253 (binaries-static-tests): Likewise.
46254 (binaries-all): Define using $(binaries-all-notests) and
46255 $(binaries-all-tests).
46256 (binaries-static): Define using $(binaries-static-notests) and
46257 $(binaries-static-tests).
46258 (binaries-shared-tests): New variable.
46259 (binaries-shared-notests): Likewise.
46260 (binaries-shared): Remove variable.
46261 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46262 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46263 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46264 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46265 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46266 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46267 * elf/Makefile (sln-modules): New variable.
46268 (extra-objs): Add $(sln-modules:=.o).
46269 (ldconfig-modules): Add static-stubs.
46270 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46271 * elf/static-stubs.c: New file.
46274 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46275 by 7 not 8 to examine high bit of fractional part. Use volatile
46276 variables when splitting into final array of floats if
46277 __FLT_EVAL_METHOD__ != 0.
46278 * math/libm-test.inc (cos_test): Add another test.
46279 (sin_test): Likewise.
46280 * sysdeps/i386/fpu/libm-test-ulps: Update.
46283 * math/libm-test.inc (cosh_test): Add more tests.
46285 * version.h (RELEASE): Set to "development".
46286 (VERSION): Set to "2.16.90".
46288 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
46290 * NEWS: Update copyright. Remove last-updated date.
46291 Mention math library bug fixes and timezone data changes.
46292 * README: Mention GNU/Hurd, x32, and HPPA support status.
46294 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
46296 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46298 2012-06-27 Andreas Jaeger <aj@suse.de>
46300 * manual/contrib.texi (Contributors): Add Samuel Thibault.
46302 2012-06-25 Andreas Jaeger <aj@suse.de>
46304 * sysdeps/s390/fpu/libm-test-ulps: Update.
46306 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
46307 Thomas Schwinge <thomas@codesourcery.com>
46309 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46310 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46311 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46314 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
46316 * sysdeps/mach/start.c: Remove file.
46317 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46318 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46319 * sysdeps/sh/init-first.c: Likewise.
46321 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46322 registers for frame unwinding purposes, add CFI directives.
46323 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46324 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46325 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46328 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46329 __fortify_fail returning.
46330 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46332 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46333 sysdeps/sh/____longjmp_chk.S.
46334 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46335 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46336 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46337 (gen-as-const-headers): Append sigaltstack-offsets.sym.
46339 * sysdeps/sh/abort-instr.h: New file.
46340 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46341 process in case exit returns.
46343 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46344 initialize the GOT register before use.
46346 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46347 calculation of ARGC > 4.
46349 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46350 meaningful names to some local labels.
46352 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46353 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46355 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46356 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46357 (__arch_compare_and_exchange_val_16_acq): Likewise.
46358 (__arch_compare_and_exchange_val_32_acq): Likewise.
46359 (atomic_exchange_and_add): Fix gUSA sequence.
46360 (atomic_add): Likewise.
46361 (atomic_add_negative): Likewise.
46362 (atomic_add_zero): Likewise.
46363 (atomic_bit_test_set): Likewise.
46365 2012-06-22 Andreas Schwab <schwab@redhat.com>
46368 * include/link.h (struct link_map): Add l_free_initfini.
46369 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46371 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46372 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46373 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46376 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
46378 * configure.in: Use AC_LANG_SOURCE.
46379 * configure: Regenerate.
46381 2012-06-22 Roland McGrath <roland@hack.frob.com>
46383 * configure.in (libc_cv_localstatedir): New substituted variable.
46384 * configure: Regenerated.
46385 * config.make.in (localstatedir): New variable, substituted from
46386 libc_cv_localstatedir.
46387 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46388 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46389 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46390 * sysdeps/gnu/configure: Regenerated.
46392 2012-06-21 Jeff Law <law@redhat.com>
46395 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46396 free. Simplify list management for _LIBC case.
46398 2012-06-21 Joseph Myers <joseph@codesourcery.com>
46401 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46402 Clear sign bit of 64-bit integer value before comparing against
46405 * sysdeps/mach/configure: Regenerated.
46407 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
46410 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46412 2012-06-21 Jeff Law <law@redhat.com>
46415 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
46416 uint16_t for elements in the "seen" array to avoid char overflows.
46417 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46418 * elf/dl-open.c (dl_open_worker): Likewise.
46420 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
46422 * scripts/list-sources.sh: Scan PORTS for translations.
46423 * po/libc.pot: Regenerated.
46425 2012-06-21 Andreas Jaeger <aj@suse.de>
46428 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46430 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46431 * bits/byteswap-16.h (__bswap_16): Likewise.
46432 * bits/byteswap.h (__bswap_constant_16): Likewise.
46434 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
46437 * sysdeps/i386/fpu_control.h: Removed.
46438 * sysdeps/x86_64/fpu_control.h: Moved to ...
46439 * sysdeps/x86/fpu_control.h: Here.
46441 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46442 (_FPU_SETCW): Likewise.
46444 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
46447 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46448 * sysdeps/x86/fpu/bits/mathinline.h: This.
46449 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46453 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46454 functions if __x86_64__ is defined.
46456 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
46458 * string/endian.h: Add !__ASSEMBLER__ condition for including
46459 conversion interfaces.
46461 2012-06-15 Joseph Myers <joseph@codesourcery.com>
46464 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46465 of ABS(x) in calculating zero to negative powers other than odd
46467 * math/libm-test.inc (pow_test): Add more tests.
46469 2012-06-15 Andreas Jaeger <aj@suse.de>
46471 * manual/contrib.texi (Contributors): Update entry of Liubov
46472 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46475 2012-06-15 Cyril Hrubis <metan@ucw.cz>
46477 * string/string.h: Add __wur to GNU version of strerror_r.
46479 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
46482 * string/Makefile (tests): Add tst-strtok_r.
46483 * string/tst-strtok_r.c: New file.
46484 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46485 RAX_LP/RDX_LP on SAVE_PTR.
46487 2012-06-14 Roland McGrath <roland@hack.frob.com>
46489 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46491 2012-06-14 Joseph Myers <joseph@codesourcery.com>
46493 * libm_test.inc (csqrt_test): Allow more spurious underflow
46495 (j0_test): Likewise.
46496 (j1_test): Likewise.
46497 (y0_test): Likewise.
46498 (y1_test): Likewise.
46500 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
46502 * po/Makefile (libc.pot): Use UTF-8 charset.
46504 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
46507 Suppress sign-conversion warning from FD_SET.
46508 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46509 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46510 not unsigned long int.
46511 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46513 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
46517 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46518 __extern_always_inline instead of __extern_inline.
46519 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46520 (__signbit): Likewise.
46521 (__signbitl): Support C++ namespace.
46522 (lrintf): New inline function.
46524 (llrintf): Likewise.
46525 (llrint): Likewise.
46535 (floorf): Likewise.
46536 (nearbyint): Likewise.
46537 (nearbyintf): Likewise.
46539 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
46541 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46542 non-default versions.
46544 2012-06-11 Roland McGrath <roland@hack.frob.com>
46547 * manual/argp.texi (Argp): Reword argp_parse description slightly.
46549 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
46551 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46552 (FE_UPWARD, FE_DOWNWARD): Don't define.
46553 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46554 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46556 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46558 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46559 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46561 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46563 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46564 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46565 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46566 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46568 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
46571 * sysdeps/i386/fpu/bits/fenv.h: Removed.
46572 * sysdeps/i386/fpu/Implies: New file.
46573 * sysdeps/x86_64/fpu/Implies: Likewise.
46574 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46575 * sysdeps/x86/fpu/bits/fenv.h: This.
46577 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46580 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46583 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46584 character 0xffff that matches the last element of the
46587 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46589 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46592 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46594 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46595 values higher than 25.6283.
46597 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46599 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46600 subnormal exponent extraction and add some __builtin_expect.
46601 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46602 Fix for subnormal mantissa calculation.
46604 2012-06-04 Mike Frysinger <vapier@gentoo.org>
46606 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46607 cpu2 is -1 and errno is not ENOSYS.
46609 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
46612 * sysdeps/i386/i486/bits/string.h: Renamed to ...
46613 * sysdeps/x86/bits/string.h: This.
46614 * sysdeps/x86_64/bits/string.h: Removed.
46616 * sysdeps/i386/i486/bits/string.h: Define inline functions only
46617 if not compiling for x86-64, but compiling for >= i486.
46619 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46620 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46622 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46623 New macro from Linux kernel 3.4.0.
46624 (FP_XSTATE_MAGIC2): Likewise.
46625 (FP_XSTATE_MAGIC2_SIZE): Likewise.
46626 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46627 (struct _fpx_sw_bytes): New struct.
46628 (struct _xsave_hdr): Likewise.
46629 (struct _ymmh_state): Likewise.
46630 (struct _xstate): Likewise.
46632 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46633 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46634 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46635 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46636 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46637 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46639 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46640 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46641 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46642 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46643 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46644 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46646 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46649 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46650 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46651 (sysdep_headers): Include sys/platform/ppc.h.
46652 * sysdeps/powerpc/test-gettimebase.c: Test for
46653 __ppc_get_timebase() to catch future ISA opcode/insn changes.
46654 * manual/Makefile (appendices): Include platform.texi.
46655 * manual/contrib.texi (Contributors): Update @node pointers.
46656 * manual/maint.texi (Maintenance): Likewise.
46657 (Platform): New node.
46658 * manual/platform.texi: New file. Document the new features.
46660 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46661 Jakub Jelinek <jakub@redhat.com>
46664 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46665 where __builtin_expect is unavailable.
46667 2012-06-03 David S. Miller <davem@davemloft.net>
46669 * stdlib/longlong.h: Updated from GCC.
46671 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
46674 * sysdeps/powerpc/powerpc32/mcount.c: New file.
46675 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46678 (GLIBC_2.16): Likewise.
46680 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46682 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46684 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46687 (default-abi): New variable.
46688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46689 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46691 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46693 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46695 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46698 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46699 definition. Document in comment.
46701 2012-06-01 David S. Miller <davem@davemloft.net>
46703 * stdlib/longlong.h: Updated from GCC.
46705 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46708 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46709 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46710 sys/debugreg.h sys/io.h here.
46711 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46712 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46714 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46715 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46716 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46717 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46718 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46719 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46721 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46722 Define only if __x86_64__ is defined.
46724 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46727 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46728 Use int64_t for variable i.
46729 * math/libm-test.inc (fmod_test): Add more tests.
46731 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46732 z computation is not scheduled after fetestexcept.
46733 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46734 Use math_force_eval instead of asm to ensure calculation scheduled
46735 before exception test.
46736 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46737 Ensure a1 + u.d computation is not scheduled after fetestexcept.
46739 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
46741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46742 computation is not scheduled after fetestexcept.
46744 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46747 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46748 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46750 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46752 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46753 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46755 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46758 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46760 (__WCHAR_MIN): Support __WORDSIZE == 64.
46761 (__WCHAR_MAX): Likewise.
46763 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46764 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46767 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46768 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46771 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46772 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46774 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46775 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46777 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46778 Defined to 1 if __x86_64__ isn't defined.
46779 (_STAT_VER_LINUX_OLD): New.
46780 (st_atime): Remove duplicate.
46781 (st_mtime): Likewise.
46782 (st_ctime): Likewise.
46784 2012-05-31 David S. Miller <davem@davemloft.net>
46786 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46789 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
46791 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46795 * elf/dl-reloc.c: Include <_itoa.h>.
46796 (_dl_reloc_bad_type): Remove use of INTUSE.
46797 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46798 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46799 * stdio-common/psiginfo.c (psiginfo): Likewise.
46800 * stdio-common/psignal.c (psignal): Likewise.
46801 * string/strsignal.c (strsignal): Likewise.
46802 * include/signal.h (_sys_siglist): Declare hidden proto.
46803 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
46804 INTVARDEF with libc_hidden_data_def.
46805 * stdio-common/itoa-udigits.c: Likewise.
46806 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46807 (_itoa_lower_digits_internal): Remove declaration.
46808 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46809 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46810 (_sys_sigabbrev_internal): Remove aliases.
46811 (_sys_siglist): Define hidden alias.
46813 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
46815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46818 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46821 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46822 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46824 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46825 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46826 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46827 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46828 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46829 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46831 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46832 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46833 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46835 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46843 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46844 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46845 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46847 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46848 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46849 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46850 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46851 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46852 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46854 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46855 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46857 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46858 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46860 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46861 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46862 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46864 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46865 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46867 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46869 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46870 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46871 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46873 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46875 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46877 2012-05-31 Joseph Myers <joseph@codesourcery.com>
46879 * math/math.h (M_El): Use two more decimal places.
46880 (M_LOG2El): Likewise.
46881 (M_LOG10El): Likewise.
46882 (M_LN2l): Likewise.
46883 (M_LN10l): Likewise.
46885 (M_PI_2l): Likewise.
46886 (M_PI_4l): Likewise.
46887 (M_1_PIl): Likewise.
46888 (M_2_PIl): Likewise.
46889 (M_2_SQRTPIl): Likewise.
46890 (M_SQRT2l): Likewise.
46891 (M_SQRT1_2l): Likewise.
46893 2012-05-31 David S. Miller <davem@davemloft.net>
46895 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46896 values between float registers.
46897 * sysdeps/sparc/sparc64/memset.S: Likewise.
46898 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46900 2012-05-31 Mike Frysinger <vapier@gentoo.org>
46902 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46903 -D_FORTIFY_SOURCE=1.
46904 (CPPFLAGS-tst-longjmp_chk.c): Define.
46905 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46906 (CPPFLAGS-tst-longjmp_chk2.c): Define.
46907 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46908 CFLAGS-tst-wchar-h.c.
46910 2012-05-31 Marek Polacek <polacek@redhat.com>
46913 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46914 __endmntent_internal): Remove declaration.
46915 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46916 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46917 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46919 2012-05-30 David S. Miller <davem@davemloft.net>
46921 * sysdeps/sparc/sparc32/soft-fp/q_util.c
46922 (___Q_simulate_exceptions): Use real FP ops rather than writing
46924 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46927 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46930 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46931 * sysdeps/x86/bits/xtitypes.h: This.
46933 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46934 * sysdeps/x86/bits/wordsize.h: This.
46936 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46937 * sysdeps/x86/bits/huge_vall.h: This.
46939 * sysdeps/i386/bits/select.h: Removed.
46940 * sysdeps/x86_64/bits/select.h: Renamed to ...
46941 * sysdeps/x86/bits/select.h: This.
46943 * sysdeps/i386/bits/setjmp.h: Removed.
46944 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46945 * sysdeps/x86/bits/setjmp.h: This.
46947 * sysdeps/i386/bits/mathdef.h: Removed.
46948 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46949 * sysdeps/x86/bits/mathdef.h: This.
46951 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
46954 * include/sys/socket.h (__connect_internal)
46955 (__libc_sa_len_internal): Remove declaration.
46956 (__connect, __libc_sa_len): Declare hidden_proto.
46957 (SA_LEN): Remove use of INTUSE.
46958 * socket/connect.c: Add libc_hidden_def.
46959 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46960 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46961 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46963 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46964 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46965 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46966 of adding _internal alias.
46968 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46971 * sysdeps/i386/bits/link.h: Removed.
46972 * sysdeps/i386/bits/linkmap.h: Likewise.
46973 * sysdeps/x86_64/bits/link.h: Renamed to ...
46974 * sysdeps/x86/bits/link.h: This.
46975 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46976 * sysdeps/x86/bits/linkmap.h: This.
46978 * sysdeps/i386/bits/endian.h: Removed.
46979 * sysdeps/x86_64/bits/endian.h: Renamed to ...
46980 * sysdeps/x86/bits/endian.h: This.
46982 * sysdeps/i386/bits/byteswap.h: Removed.
46983 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46984 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46985 * sysdeps/x86/bits/byteswap.h: This.
46986 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46987 * sysdeps/x86/bits/byteswap-16.h: This.
46988 * sysdeps/i386/Implies: Add x86.
46989 * sysdeps/x86_64/Implies: Likewise.
46991 2012-05-30 David S. Miller <davem@davemloft.net>
46993 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46994 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46995 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46996 (FP_TRAPPING_EXCEPTIONS): Define.
46997 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46998 (FP_TRAPPING_EXCEPTIONS): Define.
46999 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47000 subnormals only when inexact has been signalled or underflow
47001 exceptions are enabled.
47002 (_FP_PACK_CANONICAL): Likewise.
47004 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47007 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47008 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47010 2012-05-30 Richard Henderson <rth@twiddle.net>
47012 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47013 with #ifndef NOT_IN_libc.
47015 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
47016 marked to avoid plt entry.
47018 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47021 * Makeconfig (default-abi): New macro.
47022 (abi-includes): Likewise.
47023 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
47024 $(abi-$(default-abi)-lib-soname) for soname if defined.
47025 ($(common-objpfx)gnu/lib-names.stmp): Generate from
47027 * Makefile (installed-stubs): Likewise.
47028 * include/stubs-biarch.h: Removed.
47029 * scripts/lib-names.awk: Only handle one library at a time.
47030 * scripts/soversions.awk: Remove WORDSIZE support.
47031 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47033 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47035 (syscall-list-default-condition): Likewise.
47036 (syscall-list-default-condition): Likewise.
47037 (syscall-list-includes): Likewise.
47038 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47039 syscall-list-* with abi-*. Handle undefined abi-variants.
47040 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47041 * sysdeps/unix/sysv/linux/i386/Implies: New file.
47042 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47043 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47044 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47045 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47047 (syscall-list-32-options): Likewise.
47048 (syscall-list-32-condition): Likewise.
47049 (syscall-list-64-options): Likewise.
47050 (syscall-list-64-condition): Likewise.
47051 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47053 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47056 (abi-64-ld-soname): New macro.
47057 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47058 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47061 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47062 * sysdeps/x86_64/x32/shlib-versions: Likewise.
47064 2012-05-30 Joseph Myers <joseph@codesourcery.com>
47066 * sysdeps/unix/sysv/linux/kernel-features.h
47067 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47068 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47069 include <kernel-features.h>.
47070 [!__NR_ftruncate64]: Remove conditional code.
47071 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47072 [__NR_ftruncate64]: Make code unconditional.
47073 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47074 * sysdeps/unix/sysv/linux/truncate64.c: Do not
47075 include <kernel-features.h>.
47076 [!__NR_ftruncate64]: Remove conditional code.
47077 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47078 [__NR_ftruncate64]: Make code unconditional.
47079 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47081 include <kernel-features.h>.
47082 [!__NR_ftruncate64]: Remove conditional code.
47083 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47084 [__NR_ftruncate64]: Make code unconditional.
47085 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47087 include <kernel-features.h>.
47088 [!__NR_ftruncate64]: Remove conditional code.
47089 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47090 [__NR_ftruncate64]: Make code unconditional.
47091 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47093 * configure.in (libc_cv_fpie): Weaken to a compile test using
47094 LIBC_TRY_CC_OPTION.
47095 * configure: Regenerated.
47097 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47112 2012-05-27 David S. Miller <davem@davemloft.net>
47114 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47116 (__Q_simulate_exceptions): Return void. Change to simulate
47117 exceptions by writing into the %fsr.
47118 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47119 (__Qp_handle_exceptions): Likewise.
47121 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47122 __Qp_handle_exceptions.
47123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47124 __Qp_handle_exceptions.
47125 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47126 as unused and give dummy FP_RND_NEAREST initializer.
47127 (FP_INHIBIT_RESULTS): Define.
47128 (___Q_simulate_exceptions): Update declaration.
47129 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47131 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47132 as unused and give dummy FP_RND_NEAREST initializer.
47133 (__Qp_handle_exceptions): Update declaration.
47134 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47137 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
47139 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47140 the temporary FPU control word.
47141 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47142 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47143 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47144 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47145 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47146 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47147 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47148 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47149 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47150 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47151 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47153 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47155 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47158 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
47160 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47161 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47162 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47163 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47165 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47166 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47169 2012-05-27 Ulrich Drepper <drepper@gmail.com>
47171 * po/h.po: Update from translation team.
47173 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
47175 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47177 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47178 handling of denormals.
47179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47180 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47181 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47182 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47183 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47184 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47185 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47188 2012-05-26 Marek Polacek <polacek@redhat.com>
47191 * math/libm-test.inc (fma_test): Don't always expect underflow
47194 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47197 * elf/tst-execstack.c: Include stackinfo.h.
47198 (do_test): Adjust test case to ensure that pthread_getattr_np
47199 behaviour remains the same after marking stack executable.
47201 2012-05-25 Joseph Myers <joseph@codesourcery.com>
47203 * sysdeps/unix/sysv/linux/kernel-features.h
47204 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47205 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47207 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47208 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47209 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47211 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47212 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47214 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
47216 * configure.in: Define the default includes to being none.
47217 * configure: Regenerated.
47219 2012-05-25 Roland McGrath <roland@hack.frob.com>
47221 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47222 * sysdeps/x86_64/setjmp.S: Likewise.
47223 * sysdeps/i386/bsd-setjmp.S: Likewise.
47224 * sysdeps/i386/bsd-_setjmp.S: Likewise.
47225 * sysdeps/i386/setjmp.S: Likewise.
47226 * sysdeps/i386/__longjmp.S: Likewise.
47227 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47228 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47230 * include/stap-probe.h: New file.
47231 * configure.in: Handle --enable-systemtap.
47232 * configure: Regenerated.
47233 * config.h.in (USE_STAP_PROBE): New #undef.
47234 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47235 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47236 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47238 2012-05-25 Joseph Myers <joseph@codesourcery.com>
47241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47242 to 2.4.0 where earlier.
47243 * sysdeps/unix/sysv/linux/configure: Regenerated.
47244 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47245 <kernel-features.h>.
47246 [__ASSUME_32BITUIDS]: Make code unconditional.
47247 [!__ASSUME_32BITUIDS]: Remove conditional code.
47248 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47249 <kernel-features.h>.
47250 [__ASSUME_32BITUIDS]: Make code unconditional.
47251 [!__ASSUME_32BITUIDS]: Remove conditional code.
47252 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47253 [__ASSUME_32BITUIDS]: Make code unconditional.
47254 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47255 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47256 <kernel-features.h>.
47257 [__ASSUME_32BITUIDS]: Make code unconditional.
47258 [!__ASSUME_32BITUIDS]: Remove conditional code.
47259 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47260 <kernel-features.h>.
47261 [__ASSUME_32BITUIDS]: Make code unconditional.
47262 [!__ASSUME_32BITUIDS]: Remove conditional code.
47263 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47264 <kernel-features.h>.
47265 [__ASSUME_32BITUIDS]: Make code unconditional.
47266 [!__ASSUME_32BITUIDS]: Remove conditional code.
47267 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47268 <kernel-features.h>.
47269 [__ASSUME_32BITUIDS]: Make code unconditional.
47270 [!__ASSUME_32BITUIDS]: Remove conditional code.
47271 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47272 <kernel-features.h>.
47273 [__ASSUME_32BITUIDS]: Make code unconditional.
47274 [!__ASSUME_32BITUIDS]: Remove conditional code.
47275 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47276 <kernel-features.h>.
47277 [__ASSUME_32BITUIDS]: Make code unconditional.
47278 [!__ASSUME_32BITUIDS]: Remove conditional code.
47279 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47280 <kernel-features.h>.
47281 [__ASSUME_32BITUIDS]: Make code unconditional.
47282 [!__ASSUME_32BITUIDS]: Remove conditional code.
47283 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47284 <kernel-features.h>.
47285 [__ASSUME_32BITUIDS]: Make code unconditional.
47286 [!__ASSUME_32BITUIDS]: Remove conditional code.
47287 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47288 <kernel-features.h>.
47289 [__ASSUME_32BITUIDS]: Make code unconditional.
47290 [!__ASSUME_32BITUIDS]: Remove conditional code.
47291 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47292 <kernel-features.h>.
47293 [__ASSUME_32BITUIDS]: Make code unconditional.
47294 [!__ASSUME_32BITUIDS]: Remove conditional code.
47295 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47296 <kernel-features.h>.
47297 [__NR_setresgid] (__setresgid): Do not declare.
47298 [__ASSUME_32BITUIDS]: Make code unconditional.
47299 [!__ASSUME_32BITUIDS]: Remove conditional code.
47300 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47301 <kernel-features.h>.
47302 [__NR_setresuid] (__setresuid): Do not declare.
47303 [__ASSUME_32BITUIDS]: Make code unconditional.
47304 [!__ASSUME_32BITUIDS]: Remove conditional code.
47305 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47306 <kernel-features.h>.
47307 [__ASSUME_32BITUIDS]: Make code unconditional.
47308 [!__ASSUME_32BITUIDS]: Remove conditional code.
47309 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47310 <kernel-features.h>.
47311 [__ASSUME_32BITUIDS]: Make code unconditional.
47312 [!__ASSUME_32BITUIDS]: Remove conditional code.
47313 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47314 <kernel-features.h>.
47315 [__ASSUME_32BITUIDS]: Make code unconditional.
47316 [!__ASSUME_32BITUIDS]: Remove conditional code.
47317 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47318 <kernel-features.h>.
47319 [__ASSUME_32BITUIDS]: Make code unconditional.
47320 [!__ASSUME_32BITUIDS]: Remove conditional code.
47321 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47322 <kernel-features.h>.
47323 [__ASSUME_32BITUIDS]: Make code unconditional.
47324 [!__ASSUME_32BITUIDS]: Remove conditional code.
47325 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47326 <kernel-features.h>.
47327 [__ASSUME_32BITUIDS]: Make code unconditional.
47328 [!__ASSUME_32BITUIDS]: Remove conditional code.
47329 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47330 <kernel-features.h>.
47331 [__ASSUME_32BITUIDS]: Make code unconditional.
47332 [!__ASSUME_32BITUIDS]: Remove conditional code.
47333 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47334 <kernel-features.h>.
47335 [__ASSUME_32BITUIDS]: Make code unconditional.
47336 [!__ASSUME_32BITUIDS]: Remove conditional code.
47337 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47338 <kernel-features.h>.
47339 [__ASSUME_32BITUIDS]: Make code unconditional.
47340 [!__ASSUME_32BITUIDS]: Remove conditional code.
47341 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47342 <kernel-features.h>.
47343 [__ASSUME_32BITUIDS]: Make code unconditional.
47344 [!__ASSUME_32BITUIDS]: Remove conditional code.
47345 * sysdeps/unix/sysv/linux/kernel-features.h
47346 (__ASSUME_SETRESUID_SYSCALL): Remove.
47347 (__ASSUME_SETRESGID_SYSCALL): Likewise.
47348 (__ASSUME_32BITUIDS): Likewise.
47349 (__ASSUME_LDT_WORKS): Likewise.
47350 (__ASSUME_O_DIRECTORY): Likewise.
47351 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47352 architecture but not kernel version.
47353 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47354 (__ASSUME_MMAP2_SYSCALL): Likewise.
47355 (__ASSUME_STAT64_SYSCALL): Likewise.
47356 (__ASSUME_IPC64): Likewise.
47357 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47358 <kernel-features.h>.
47359 [__ASSUME_32BITUIDS]: Make code unconditional.
47360 [!__ASSUME_32BITUIDS]: Remove conditional code.
47361 * sysdeps/unix/sysv/linux/opendir.c: Do not include
47362 <kernel-features.h>.
47363 [__ASSUME_O_DIRECTORY]: Make code unconditional.
47364 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47365 132096]: Remove conditional code.
47366 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47367 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47368 <kernel-features.h>.
47369 [__ASSUME_32BITUIDS]: Make code unconditional.
47370 [!__ASSUME_32BITUIDS]: Remove conditional code.
47371 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47372 <kernel-features.h>.
47373 [__ASSUME_32BITUIDS]: Make code unconditional.
47374 [!__ASSUME_32BITUIDS]: Remove conditional code.
47375 * sysdeps/unix/sysv/linux/setegid.c: Do not include
47376 <kernel-features.h>.
47377 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47379 (__setresgid): Do not declare.
47380 [__ASSUME_32BITUIDS]: Make code unconditional.
47381 [!__ASSUME_32BITUIDS]: Remove conditional code.
47382 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47383 <kernel-features.h>.
47384 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47386 (__setresuid): Do not declare.
47387 [__ASSUME_32BITUIDS]: Make code unconditional.
47388 [!__ASSUME_32BITUIDS]: Remove conditional code.
47389 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47390 <kernel-features.h>.
47391 [__ASSUME_32BITUIDS]: Make code unconditional.
47392 [!__ASSUME_32BITUIDS]: Remove conditional code.
47393 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47394 <kernel-features.h>.
47395 [__ASSUME_32BITUIDS]: Make code unconditional.
47396 [!__ASSUME_32BITUIDS]: Remove conditional code.
47398 2012-05-25 Richard Henderson <rth@twiddle.net>
47400 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47401 dl_hwcap to ifunc resolver.
47402 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47404 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47405 dl_hwcap to ifunc resolver.
47406 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47408 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47411 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47412 for |x| <= 2**-26, not 2**-57.
47413 * math/libm-test.inc (acos_test): Do not allow spurious underflow
47416 2012-05-24 Jeff Law <law@redhat.com>
47418 * stdio-common/Makefile (tests): Add bug25.
47419 * stdio-common/bug25.c: New test.
47421 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47424 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47425 multiple of MALLOC_ALIGNMENT in size.
47426 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47428 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47430 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47432 (FILENAME_MAX): Use macro-int-constant.
47433 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
47434 (_IOFBF): Use macro-int-constant.
47435 (_IOLBF): Likewise.
47436 (_IONBF): Likewise.
47437 (SEEK_CUR): Likewise.
47438 (SEEK_END): Likewise.
47439 (SEEK_SET): Likewise.
47440 (TMP_MAX): Likewise.
47441 (EOF): Use macro-int-constant. Require < 0.
47442 (NULL): Use macro-constant. Require == 0.
47443 (stdin): Require type to be FILE *.
47444 (stdout): Likewise.
47445 (stderr): Likewise.
47446 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47447 macro-int-constant.
47448 (EXIT_SUCCESS): Likewise.
47449 (NULL): Use macro-constant. Require == 0.
47450 (RAND_MAX): Use macro-int-constant.
47451 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47452 [C99-based standards] (strtof): Require function.
47453 [C99-based standards] (strtold): Likewise.
47454 [C99-based standards] (strtoll): Likewise.
47455 [C99-based standards] (strtoull): Likewise.
47456 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47457 [ISO || ISO99 || ISO11] (limits.h): Likewise.
47458 [ISO || ISO99 || ISO11] (math.h): Likewise.
47459 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47460 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47461 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47463 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
47466 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47467 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47468 * intl/dgettext.c (DCGETTEXT): Likewise.
47469 * intl/gettext.c (DCGETTEXT): Likewise.
47470 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47471 * posix/regex_internal.h (gettext): Likewise.
47472 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47473 Remove declaration.
47474 * include/argz.h (__argz_count_internal)
47475 (__argz_stringify_internal): Remove declaration.
47476 (__argz_count, __argz_stringify): Declare hidden proto.
47477 * intl/dcgettext.c: Remove use of INTDEF.
47478 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47479 * string/argz-stringify.c: Likewise.
47480 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47481 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47482 Declare hidden proto.
47483 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47484 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47485 Declare hidden proto.
47486 * include/stdio.h (__asprintf_internal): Don't declare.
47487 (__asprintf): Don't define as macro. Declare hidden proto.
47488 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47489 (__fsetlocking): Declare hidden proto.
47490 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47491 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47493 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47494 (_IO_setlinebuf): Remove use of INTUSE.
47495 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47496 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47497 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47498 Remove declaration.
47499 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47500 (_IO_do_flush): Remove use of INTUSE.
47501 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47502 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47503 (_IO_adjust_column, _IO_least_wmarker)
47504 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47505 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47506 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47507 (_IO_default_doallocate, _IO_wdefault_doallocate)
47508 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47509 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47510 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47511 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47512 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47513 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47514 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47515 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47516 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47517 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47518 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47519 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47520 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47522 (_IO_flush_all_internal, _IO_adjust_column_internal)
47523 (_IO_default_uflow_internal, _IO_default_finish_internal)
47524 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47525 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47526 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47527 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47528 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47529 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47530 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47531 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47532 (_IO_file_close_internal, _IO_file_close_it_internal)
47533 (_IO_file_underflow_internal, _IO_file_overflow_internal)
47534 (_IO_file_init_internal, _IO_file_attach_internal)
47535 (_IO_file_fopen_internal, _IO_file_read_internal)
47536 (_IO_file_sync_internal, _IO_file_seek_internal)
47537 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47538 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47539 (_IO_str_underflow_internal, _IO_str_overflow_internal)
47540 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47541 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47542 (_IO_list_all_internal, _IO_link_in_internal)
47543 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47544 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47545 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47546 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47547 (_IO_do_write_internal, _IO_padn_internal)
47548 (_IO_getline_info_internal, _IO_getline_internal)
47549 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47550 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47551 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47552 (_IO_vfscanf_internal, _IO_vfprintf_internal)
47553 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47554 (_IO_init_internal, _IO_un_link_internal): Don't declare.
47555 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47556 with libc_hidden_ver, remove use of INTUSE.
47557 * libio/genops.c: Likewise.
47558 * libio/freopen.c: Likewise.
47559 * libio/freopen64.c: Likewise.
47560 * libio/iofclose.c: Likewise.
47561 * libio/iofdopen.c: Likewise.
47562 * libio/iofflush.c: Likewise.
47563 * libio/iofflush_u.c: Likewise.
47564 * libio/iofgets.c: Likewise.
47565 * libio/iofgets_u.c: Likewise.
47566 * libio/iofopen.c: Likewise.
47567 * libio/iofopncook.c: Likewise.
47568 * libio/iofread.c: Likewise.
47569 * libio/iofread_u.c: Likewise.
47570 * libio/ioftell.c: Likewise.
47571 * libio/iofwrite.c: Likewise.
47572 * libio/iogetline.c: Likewise.
47573 * libio/iogets.c: Likewise.
47574 * libio/iogetwline.c: Likewise.
47575 * libio/iopadn.c: Likewise.
47576 * libio/iopopen.c: Likewise.
47577 * libio/ioseekoff.c: Likewise.
47578 * libio/ioseekpos.c: Likewise.
47579 * libio/iosetbuffer.c: Likewise.
47580 * libio/iosetvbuf.c: Likewise.
47581 * libio/ioungetc.c: Likewise.
47582 * libio/ioungetwc.c: Likewise.
47583 * libio/iovdprintf.c: Likewise.
47584 * libio/iovsprintf.c: Likewise.
47585 * libio/iovsscanf.c: Likewise.
47586 * libio/memstream.c: Likewise.
47587 * libio/obprintf.c: Likewise.
47588 * libio/oldfileops.c: Likewise.
47589 * libio/oldiofclose.c: Likewise.
47590 * libio/oldiofdopen.c: Likewise.
47591 * libio/oldiofopen.c: Likewise.
47592 * libio/oldiopopen.c: Likewise.
47593 * libio/oldstdfiles.c: Likewise.
47594 * libio/putc.c: Likewise.
47595 * libio/setbuf.c: Likewise.
47596 * libio/setlinebuf.c: Likewise.
47597 * libio/stdfiles.c: Likewise.
47598 * libio/strops.c: Likewise.
47599 * libio/vasprintf.c: Likewise.
47600 * libio/vscanf.c: Likewise.
47601 * libio/vsnprintf.c: Likewise.
47602 * libio/vswprintf.c: Likewise.
47603 * libio/wfiledoalloc.c: Likewise.
47604 * libio/wfileops.c: Likewise.
47605 * libio/wgenops.c: Likewise.
47606 * libio/wmemstream.c: Likewise.
47607 * libio/wstrops.c: Likewise.
47608 * libio/__fpurge.c: Likewise.
47609 * libio/__fsetlocking.c: Likewise.
47610 * assert/assert.c: Likewise.
47611 * debug/fgets_chk.c: Likewise.
47612 * debug/fgets_u_chk.c: Likewise.
47613 * debug/fread_chk.c: Likewise.
47614 * debug/fread_u_chk.c: Likewise.
47615 * debug/gets_chk.c: Likewise.
47616 * debug/obprintf_chk.c: Likewise.
47617 * debug/vasprintf_chk.c: Likewise.
47618 * debug/vdprintf_chk.c: Likewise.
47619 * debug/vsnprintf_chk.c: Likewise.
47620 * debug/vsprintf_chk.c: Likewise.
47621 * malloc/mtrace.c: Likewise.
47622 * misc/error.c: Likewise.
47623 * misc/syslog.c: Likewise.
47624 * stdio-common/asprintf.c: Likewise.
47625 * stdio-common/fxprintf.c: Likewise.
47626 * stdio-common/getw.c: Likewise.
47627 * stdio-common/isoc99_fscanf.c: Likewise.
47628 * stdio-common/isoc99_scanf.c: Likewise.
47629 * stdio-common/isoc99_vfscanf.c: Likewise.
47630 * stdio-common/isoc99_vscanf.c: Likewise.
47631 * stdio-common/isoc99_vsscanf.c: Likewise.
47632 * stdio-common/printf-prs.c: Likewise.
47633 * stdio-common/printf_fp.c: Likewise.
47634 * stdio-common/printf_fphex.c: Likewise.
47635 * stdio-common/printf_size.c: Likewise.
47636 * stdio-common/putw.c: Likewise.
47637 * stdio-common/scanf.c: Likewise.
47638 * stdio-common/sprintf.c: Likewise.
47639 * stdio-common/tmpfile.c: Likewise.
47640 * stdio-common/vfprintf.c: Likewise.
47641 * stdio-common/vfscanf.c: Likewise.
47642 * stdlib/strfmon_l.c: Likewise.
47643 * sunrpc/openchild.c: Likewise.
47644 * sunrpc/xdr_stdio.c: Likewise.
47645 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47646 * sysdeps/mach/hurd/tmpfile.c: Likewise.
47648 2012-05-24 Roland McGrath <roland@hack.frob.com>
47650 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47652 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47653 in the third column, to generate for the shared library an IFUNC
47654 that uses _dl_vdso_vsym.
47655 * Makerules (COMPILE.c, compile-stdin.c): New variables.
47656 * Makeconfig (object-suffixes-noshared): New variable.
47658 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47659 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47660 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47661 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47664 * include/sys/time.h (__gettimeofday): Remove macro.
47665 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47666 * time/gettimeofday.c (__gettimeofday): Remove #undef.
47668 (__gettimeofday): Add libc_hidden_def.
47669 (gettimeofday): Add libc_hidden_weak.
47670 * sysdeps/mach/gettimeofday.c: Likewise.
47671 * sysdeps/posix/gettimeofday.c: Likewise.
47672 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47673 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47674 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47675 (__gettimeofday_internal): Remove strong_alias.
47676 (__gettimeofday): Add libc_hidden_def.
47677 (gettimeofday): Add libc_hidden_weak.
47678 * sysdeps/unix/syscalls.list (gettimeofday):
47679 Remove __gettimeofday_internal alias.
47681 2012-05-24 Daniel Jacobowitz <drow@false.org>
47682 H.J. Lu <hongjiu.lu@intel.com>
47685 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47686 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47687 (largebin_index_32_big): New.
47688 (largebin_index): Use it for 16-byte alignment.
47689 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
47690 correction with front_misalign.
47692 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47720 * scripts/data/c++-types-x32-linux-gnu.data: New file.
47721 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47723 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47727 * math/libm-test.inc (exp_test): Add test from bug 14036.
47728 (pow_test): Add test from bug 10846.
47730 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47732 (special_function): Do not include flags in test name.
47733 (parse_args): Likewise.
47734 * sysdeps/i386/fpu/libm-test-ulps: Update.
47735 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47736 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47737 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47740 * math/gen-libm-test.pl (%beautify): Add entries for underflow
47742 * math/libm-test.inc ("Philosophy"): Update comment about
47744 (UNDERFLOW_EXCEPTION): New macro.
47745 (UNDERFLOW_EXCEPTION_OK): Likewise.
47746 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47747 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47748 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47749 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47750 (INVALID_EXCEPTION_OK): Update value.
47751 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47752 (OVERFLOW_EXCEPTION_OK): Likewise.
47753 (IGNORE_ZERO_INF_SIGN): Likewise.
47754 (test_exceptions): Handle underflow exceptions.
47755 (acos_test): Update for underflow exception expectations.
47756 (cexp_test): Likewise.
47757 (clog_test): Likewise.
47758 (clog10_test): Likewise.
47759 (csqrt_test): Likewise.
47760 (ctan_test): Likewise.
47761 (ctanh_test): Likewise.
47762 (exp_test): Likewise.
47763 (exp10_test): Likewise.
47764 (exp2_test): Likewise.
47765 (expm1_test): Likewise.
47766 (fma_test): Likewise.
47767 (j0_test): Likewise.
47768 (jn_test): Likewise.
47769 (nexttoward_test): Likewise.
47770 (pow_test): Likewise.
47771 (scalbn_test): Likewise.
47772 (scalbln_test): Likewise.
47773 (tan_test): Likewise.
47774 (y1_test): Likewise.
47775 * sysdeps/i386/fpu/libm-test-ulps: Update.
47776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47778 2012-05-23 David S. Miller <davem@davemloft.net>
47780 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47781 (__libc_sigaction): Remove unused local variables.
47783 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47785 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47787 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
47789 mktime: avoid signed integer overflow
47790 * time/mktime.c (__mktime_internal): Do not mishandle the case
47791 where diff == INT_MIN.
47793 mktime: simplify computation of average
47794 * time/mktime.c (ranged_convert): Use new time_t_avg function
47795 instead of rolling our own (probably-slower) code.
47797 mktime: do not assume signed right shift propagates sign bit
47798 * time/mktime.c (isdst_differ): New static function.
47799 (__mktime_internal): No need to normalize tm_isdst now.
47800 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47803 mktime: merge another wrapv change from gnulib
47804 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47805 from some compilers.
47807 mktime: remove incorrect attempt at unusual arithmetics
47808 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47809 The code didn't really work on such machines anyway.
47810 (TYPE_MINIMUM): Assume two's complement.
47811 (twos_complement_arithmetic): Verify that long_int and time_t
47812 are two's complement (or unsigned, in the latter case).
47814 mktime: check signed shifts on long_int and time_t, too
47815 * time/mktime.c (SHR): Check that shifts work as desired
47816 on the types long_int and time_t too, as SHR is used on
47819 mktime: do not assume 'long' is wide enough
47820 * time/mktime.c (verify): Move decl up.
47821 (long_int): New type.
47822 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47823 to remove assumption in the code that 'long' is wide enough to
47824 store year values. This assumption is not true on x32 and on
47825 some non-glibc platforms.
47827 mktime: merge wrapv change from gnulib
47828 * time/mktime.c (WRAPV): New macro.
47829 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47830 (guess_time_tm, __mktime_internal): Do not assume that signed
47831 integer overflow wraps around; modern compilers generate code
47832 where this assumption is no longer valid.
47834 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47836 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47837 Replace "jmp L(pseudo_end)" with "ret".
47838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47841 2012-05-23 Andreas Jaeger <aj@suse.de>
47843 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47844 * sysdeps/unix/sysv/linux/poll.c: Remove file.
47846 2012-05-23 Andreas Jaeger <aj@suse.de>
47847 Maximilian Attems <max@stro.at>
47849 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47852 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47854 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47855 code so that pseudo_end is just ret and the stack pointer is
47856 correct also for static library in error case.
47858 2012-05-23 Joseph Myers <joseph@codesourcery.com>
47860 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47861 move to syscalls.list.
47862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47867 * manual/install.texi (Running make install): Do not mention Linux
47868 kernel version for which pt_chown is not needed.
47869 (Linux): Do not mention problems with nscd with 2.0 kernels.
47870 * INSTALL: Regenerated.
47872 2012-05-23 Andreas Jaeger <aj@suse.de>
47874 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47875 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47877 * sysdeps/unix/sysv/linux/s390/bits/mman.h
47878 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47879 * sysdeps/unix/sysv/linux/sh/bits/mman.h
47880 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47881 * sysdeps/unix/sysv/linux/i386/bits/mman.h
47882 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47883 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47884 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47885 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47886 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47887 * sysdeps/unix/sysv/linux/bits/in.h
47888 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47890 2012-05-22 Roland McGrath <roland@hack.frob.com>
47892 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47893 (PREPARE_VERSION): Just use assert instead, it will be elided
47894 under [NDEBUG] anyway.
47896 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47898 * sysdeps/unix/sysv/linux/Makefile: Include
47899 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47900 (sysdep_routines): Remove sysctl.
47901 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47902 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47903 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47904 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47905 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47907 2012-05-22 Andreas Jaeger <aj@suse.de>
47909 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47910 that pseudo_end is just ret and the stack pointer is correct also
47911 for static library in error case.
47913 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
47916 * nss/nsswitch.c (defconfig_entries): New variable.
47917 (__nss_database_lookup): Don't leak defconfig entries.
47918 (nss_parse_service_list): Don't leak on error paths.
47919 (free_database_entries): New function.
47920 (free_defconfig): New function.
47921 (free_mem): Move common code to free_database_entries.
47923 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47925 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47927 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47929 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47930 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47933 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47934 (INTERNAL_SYSCALL_TYPES): Likewise.
47935 (LOAD_ARGS_TYPES_[1-6]): Likewise.
47936 (LOAD_REGS_TYPES_[1-6]): Likewise.
47937 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47938 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47940 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47942 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47943 copysignl for GLIBC_2_0.
47944 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47945 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47947 logbl for GLIBC_2_0.
47948 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47949 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47951 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47953 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47954 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47956 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47959 * time/mktime.c: Update copyright years.
47961 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
47963 mktime: merge comment-quoting-style change from gnulib
47964 * time/mktime.c: Quote 'like this' in comments.
47965 The GNU coding standards suggest that we no longer quote `like this',
47966 as "`" and "'" are typically rendered asymmetrically nowadays.
47967 The typical gnulib style is to quote 'like this' when quoting
47968 code, and "like this" when quoting English.
47970 * time/mktime.c (compile-command): Add "-I.".
47972 mktime: merge mktime-internal.h change from gnulib
47973 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47975 mktime: merge time_r change from gnulib
47976 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47978 mktime: merge DEBUG change from gnulib
47979 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47980 case system <time.h> has a #define.
47982 mktime: merge <sys/types.h> change from gnulib
47983 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47984 since <time.t> is now guaranteed to define time_t.
47986 mktime: merge HAVE_CONFIG_H change from gnulib
47987 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47989 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47991 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47994 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47996 (struct rusage): Use anonymous union to pad each field to
47999 2012-05-21 David S. Miller <davem@davemloft.net>
48001 * Makefules (o-iterator): Remove .s cases.
48002 (compile-command.s): Delete.
48003 (COMPILE.s): Delete.
48004 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48006 2012-05-21 Joseph Myers <joseph@codesourcery.com>
48008 * configure.in (libc_cv_predef_stack_protector): Only consider
48009 "foobar" and "__stack_chk_fail" lines in libc_undefs.
48010 * configure: Regenerated.
48012 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48015 New macro. Use R*LP on int and pointer.
48016 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48017 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48018 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48019 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48021 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48022 [__WORDSIZE_TIME64_COMPAT32] instead of
48023 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48024 (struct utmp): Likewise.
48025 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48026 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48028 (__WORDSIZE_TIME64_COMPAT32): This.
48029 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48030 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48031 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48032 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48033 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48034 (__WORDSIZE_TIME64_COMPAT32): New macro.
48036 2012-05-21 Andreas Jaeger <aj@suse.de>
48038 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48039 only if [SHARED]. Add prototype for __wcschr_ia32.
48041 2012-05-21 Roland McGrath <roland@hack.frob.com>
48043 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48044 of %rbp unmolested in the jmp_buf while mangling the low bits.
48045 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48046 unmolested high bits of %rbp while demangling the low bits.
48047 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48049 2012-05-21 Andreas Jaeger <aj@suse.de>
48051 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48052 * sunrpc/svc_simple.c: Use it for registerrpc.
48053 * sunrpc/xcrypt.c: Use it for passwd2des.
48055 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48057 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48059 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48060 Don't define if [__SYSCALL_WORDSIZE != 32].
48061 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48064 2012-05-21 Bruno Haible <bruno@clisp.org>
48065 Andreas Jaeger <aj@suse.de>
48067 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48068 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48069 inptr and inend for must_buffer_ch.
48070 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48071 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48072 * stdio-common/Makefile (tests): Remove bug15.
48073 (bug15-ENV): Remove macro.
48074 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48077 2012-05-19 Andreas Jaeger <aj@suse.de>
48078 Roland McGrath <roland@hack.frob.com>
48080 * manual/contrib.texi: Completely rewritten. It contains now an
48081 alphabetical list of contributors and their contributions.
48083 2012-05-21 Richard Henderson <rth@twiddle.net>
48085 * misc/getauxval.c (__getauxval): Use unsigned long int.
48086 * misc/sys/auxv.h: Include <sys/cdefs.h>.
48087 (getauxval): Use unsigned long int.
48089 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48091 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48093 2012-05-21 Roland McGrath <roland@hack.frob.com>
48095 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48096 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48097 __alignof__ (long double).
48099 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48103 2012-05-20 Richard Henderson <rth@twiddle.net>
48105 * misc/getauxval.c: New file.
48106 * misc/sys/auxv.h: New file.
48107 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48108 (routines): Add getauxval.
48109 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48110 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48111 * elf/dl-sysdep.c (_dl_auxv): Remove.
48112 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48113 * elf/dl-support.c (_dl_auxv): New variable.
48114 (_dl_aux_init): Initialize it.
48115 * manual/startup.texi (Auxiliary Vector): New node.
48116 * sysdeps/generic/bits/hwcap.h: New file.
48117 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48118 * sysdeps/powerpc/sysdep.h: ... here. Include it.
48119 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48120 * sysdeps/sparc/sysdep.h: ... here. Include it.
48121 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48122 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48128 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48134 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48138 2012-05-19 David S. Miller <davem@davemloft.net>
48140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48142 2012-05-19 Joseph Myers <joseph@codesourcery.com>
48145 * math/s_ccosh.c: Include <float.h>
48146 (__ccosh): Avoid internal overflow calculating sinh and cosh
48147 values before multiplying by sin and cos values.
48148 * math/s_ccoshf.c: Likewise.
48149 * math/s_ccoshl.c: Likewise.
48150 * math/s_csin.c: Likewise.
48151 * math/s_csinf.c: Likewise.
48152 * math/s_csinl.c: Likewise.
48153 * math/s_csinh.c: Likewise.
48154 * math/s_csinhf.c: Likewise.
48155 * math/s_csinhl.c: Likewise.
48156 * math/libm-test.inc (ccos_test): Add more tests.
48157 (ccosh_test): Likewise.
48158 (csin_test): Likewise.
48159 (csinh_test): Likewise.
48160 * sysdeps/i386/fpu/libm-test-ulps: Update.
48161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48163 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
48165 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48166 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48168 * sysdeps/x86_64/x32/_itoa.h: Add comment.
48170 2012-05-19 Joseph Myers <joseph@codesourcery.com>
48172 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48173 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48174 * sysdeps/powerpc/soft-fp/Versions: Likewise.
48175 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48176 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48177 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48178 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48179 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48180 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48181 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48182 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48183 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48184 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48185 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48186 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48187 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48188 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48189 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48190 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48191 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48192 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48193 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48194 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48195 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48196 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48197 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48198 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48199 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48200 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48201 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48202 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48204 2012-05-18 Andreas Jaeger <aj@suse.de>
48206 * csu/.gitignore: Delete.
48208 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48210 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48211 (timex): Use __syscall_slong_t.
48213 2012-05-18 Andreas Jaeger <aj@suse.de>
48214 Carlos O'Donell <carlos_odonell@mentor.com>
48216 * manual/install.texi (Configuring and compiling): Update
48217 description about files modified in the source directory.
48218 * INSTALL: Regenerated.
48220 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48222 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48223 value. Use "or" to set return value to -1.
48224 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48225 negate return value.
48227 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48229 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48230 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48231 failure if the compiler has Graphite support disabled.
48232 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48234 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48235 (CFLAGS-memmove.c): Likewise.
48236 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48239 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48241 * sysdeps/x86_64/x32/_itoa.h: New file.
48243 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48244 getdents system call only if kernel and user dirents have the
48245 same d_ino and d_off.
48247 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48248 LLONG_MAX != LONG_MAX.
48249 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48250 (_fitoa_word): Likewise.
48252 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48254 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48255 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48256 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48258 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48259 include <bits/wordsize.h>. Check __x86_64__ instead of
48261 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48262 if __x86_64__ is defined. Use anonymous union on fpstate.
48264 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48267 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
48269 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48270 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48271 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48272 Refer to _rtld_local_ro instead of _rtld_global_ro.
48273 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48275 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48277 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48279 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48280 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48281 of _rtld_global, and rtld_progname instead of _dl_argv[0].
48283 * sysdeps/powerpc/powerpc32/dl-machine.c
48284 (__elf_machine_runtime_setup) [PROF]: Don't reference
48287 2012-05-18 Andreas Jaeger <aj@suse.de>
48289 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48290 function only available for GCCs before 3.4 since GCC 3.4
48291 introduced a builtin.
48293 (llrintf): Likewise.
48294 (llrint): Likewise.
48301 (nearbyint): Likewise.
48302 (nearbyintf): Likewise.
48306 (floorf): Likewise.
48308 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48310 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48311 on both fields and cast pointer to __syscall_ulong_t.
48313 * bits/types.h (__fsword_t): New type.
48314 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48315 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48316 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48317 (__FSWORD_T_TYPE): Likewise.
48318 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48319 (__FSWORD_T_TYPE): Likewise.
48320 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48321 (__FSWORD_T_TYPE): Likewise.
48322 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48323 (__FSWORD_T_TYPE): Likewise.
48324 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48325 __SWORD_TYPE with __fsword_t.
48326 (statfs64): Likewise.
48328 2012-05-17 David S. Miller <davem@davemloft.net>
48330 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48332 2012-05-17 Andreas Jaeger <aj@suse.de>
48334 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48337 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48339 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48341 2012-05-17 Andreas Jaeger <aj@suse.de>
48343 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48346 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
48348 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48350 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48352 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48353 * sysdeps/x86_64/tst-mallocalign1.c: New file.
48355 2012-05-17 Andreas Jaeger <aj@suse.de>
48356 Carlos O'Donell <carlos_odonell@mentor.com>
48359 * sysdeps/x86_64/multiarch/init-arch.h
48360 (bit_YMM_Usable): Rename to...
48361 (bit_AVX_Usable): ... this.
48362 (bit_FMA4_Usable): New macro.
48363 (bit_XMM_state): New macro.
48364 (bit_YMM_state): New macro.
48365 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48366 [__ASSEMBLER__] (index_AVX_Usable): ... this.
48367 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48368 (CPUID_OSXSAVE): New macro.
48369 (CPUID_AVX): New macro.
48370 (CPUID_FMA4): New macro.
48371 (index_YMM_Usable): Rename to...
48372 (index_AVX_Usable): ... this.
48373 (HAS_AVX): Use HAS_ARCH_FEATURE.
48374 (HAS_FMA4): Likewise.
48375 (HAS_YMM_USABLE): Remove.
48376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48377 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48379 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48380 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48381 * sysdeps/x86_64/multiarch/Makefile: Likewise.
48382 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48383 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48385 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
48387 * math/libm-test.c: Support platforms without multiple rounding modes.
48388 * math/bug-nextafter.c: Support platforms without FP exceptions.
48389 * math/bug-nexttoward.c: Likewise.
48390 * math/test-fenv.c: Likewise.
48391 * math/test-misc.c: Likewise.
48392 * stdlib/bug-getcontext.c: Likewise.
48394 2012-05-17 Andreas Jaeger <aj@suse.de>
48396 * manual/examples/search.c (critter_cmp): Change signature to
48398 * manual/string.texi (Collation Functions): Likewise.
48400 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48402 * bits/types.h: Fold copyright years.
48403 * bits/typesizes.h: Likewise.
48404 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48405 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48406 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48407 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48408 * time/time.h: Likewise.
48410 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
48413 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48414 in instead of returning them. Return void.
48415 (__libc_mallinfo): Accumulate over all arenas.
48416 (__malloc_stats): Adjust for change in int_mallinfo interface.
48418 2012-05-16 Roland McGrath <roland@hack.frob.com>
48421 * configure.in (NM): Add AC_CHECK_TOOL for it.
48422 (libc_extra_cflags): New substituted variable.
48423 Check for -fstack-protector being used implicitly.
48424 * configure: Regenerated.
48425 * config.make.in (config-extra-cflags): New variable,
48426 gets @libc_extra_cflags@.
48427 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48430 * configure.in: Check for _FORTIFY_SOURCE being predefined.
48431 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48432 * configure: Regenerated.
48433 * config.make.in (CPPUNDEFS): New substituted variable.
48434 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48435 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48436 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48438 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48440 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48441 (mq_attr): Use __syscall_slong_t.
48443 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48445 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48446 Check __x86_64__ instead of __WORDSIZE.
48447 (_STAT_VER_LINUX): Likewise.
48448 (stat): Check __x86_64__ instead of __WORDSIZE. Use
48449 __syscall_ulong_t and __syscall_slong_t.
48450 (stat64): Likewise.
48452 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48454 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48456 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48458 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48460 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48462 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48465 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48466 include <bits/wordsize.h>. Check __x86_64__ instead of
48468 (greg_t): Use "__extension__ long long int" if __x86_64__ is
48470 (mcontext_t): Replace "unsigned long" with "unsigned long long".
48472 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48473 include <bits/wordsize.h>. Check __x86_64__ instead of
48475 (user_regs_struct): Use "__extension__ unsigned long long"
48476 instead of "unsigned long" if __x86_64__ is defined.
48477 (user): Likewise. Pad after pointer field if __ILP32__ is
48480 2012-05-16 Joseph Myers <joseph@codesourcery.com>
48482 * configure.in (makeinfo): Require version 4.5 or later. Allow
48484 * configure: Regenerated.
48485 * manual/install.texi (texinfo): Increase version requirement to
48487 * INSTALL: Regenerated.
48489 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48491 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48493 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48495 * sysdeps/x86_64/x32/ffs.c: New file.
48497 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48499 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48500 defined. Use __syscall_ulong_t.
48501 (shminfo): Use __syscall_ulong_t.
48502 (shm_info): Likewise.
48504 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48507 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48509 (msgqnum_t): Use __syscall_ulong_t.
48510 (msglen_t): Likewise.
48511 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
48514 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48515 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48517 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48519 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48520 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48522 * sysvipc/sys/msg.h (msgbuf): Replace long int with
48525 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48526 include <bits/wordsize.h>. Check __x86_64__ instead of
48529 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48530 "unsigned long long int" if __x86_64__ is defined.
48531 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48533 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48534 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48535 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48537 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48539 (GET_PC): Cast to uintptr_t first.
48540 (GET_FRAME): Likewise.
48541 (GET_STACK): Likewise.
48543 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48544 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48545 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48546 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48547 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48548 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48549 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48550 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48551 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48552 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48553 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48554 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48555 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48556 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48557 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48558 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48559 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48560 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48561 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48562 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48563 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48564 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48565 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48566 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48567 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48568 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48569 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48570 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48571 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48573 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
48575 * Makerules (+depfiles): Also collect depfiles from .oS in
48577 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48578 .oS, $(libnldbl-routines)).
48580 * Makerules (native-compile-mkdep-flags): Define.
48581 * sunrpc/Makefile (extra-objs): Add $(addprefix
48582 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48583 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48584 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
48585 calling $(make-target-directory).
48587 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48589 * bits/types.h (__snseconds_t): Removed.
48590 * time/time.h (struct timespec): Replace __snseconds_t with
48592 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48593 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48595 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48596 (__SNSECONDS_T_TYPE): Likewise.
48597 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48598 (__SNSECONDS_T_TYPE): Likewise.
48599 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48600 (__SNSECONDS_T_TYPE): Likewise.
48602 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48604 * sysdeps/mach/hurd/bits/typesizes.h
48605 (__SYSCALL_SLONG_TYPE): New macro.
48606 (__SYSCALL_ULONG_TYPE): Likewise.
48608 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48610 * bits/types.h (__syscall_slong_t): New type.
48611 (__syscall_ulong_t): Likewise.
48613 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48614 (__SYSCALL_ULONG_TYPE): Likewise.
48615 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48616 (__SYSCALL_SLONG_TYPE): Likewise.
48617 (__SYSCALL_ULONG_TYPE): Likewise.
48618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48619 (__SYSCALL_SLONG_TYPE): Likewise.
48620 (__SYSCALL_ULONG_TYPE): Likewise.
48621 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48622 (__SYSCALL_SLONG_TYPE): Likewise.
48623 (__SYSCALL_ULONG_TYPE): Likewise.
48625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48627 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48628 Add sigaltstack-offsets.sym.
48629 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48630 <sigaltstack-offsets.h>.
48631 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
48632 longjmp_msg pointer.
48633 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
48634 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48636 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48638 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48640 * elf/stackguard-macros.h: Remove file.
48641 * sysdeps/generic/stackguard-macros.h: New file.
48642 * sysdeps/i386/stackguard-macros.h: Likewise.
48643 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48644 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48645 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48646 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48647 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48648 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48649 * sysdeps/x86_64/stackguard-macros.h: Likewise.
48650 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48651 <elf/stackguard-macros.h>.
48654 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48655 __aligned__ in attribute.
48656 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48657 (gregset_t): Likewise.
48659 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48661 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48662 * sysdeps/x86_64/64/Implies-after: Here. New file.
48663 * sysdeps/x86_64/x32/Implies-after: New file.
48665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48667 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48668 and access return value for _dl_profile_fixup. Use R10_LP to
48671 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48673 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48677 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48678 * sysdeps/x86_64/x32/sysdep.h: New file.
48680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48682 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48683 * sysdeps/x86_64/setjmp.S: Likewise.
48685 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48687 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48688 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48689 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48690 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48691 remove unused global constant.
48693 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
48695 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48696 include of <not-cancel.h>.
48698 2012-05-15 Roland McGrath <roland@hack.frob.com>
48700 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48702 2012-05-15 Jeff Law <law@redhat.com>
48703 Andreas Jaeger <aj@suse.de>
48706 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48708 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48709 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48710 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48711 code changing __hst_map_handle.map.
48713 2012-05-15 Roland McGrath <roland@hack.frob.com>
48715 * configure.in (sysnames): Look for Implies-before and Implies-after
48717 * configure: Regenerated.
48719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48721 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48722 8-byte data alignment with LP_SIZE alignment.
48724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48726 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48729 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48731 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48733 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48735 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48736 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48737 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48739 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48741 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48743 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48744 (stackinfo_sub_sp): Likewise.
48746 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48748 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48753 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48756 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48758 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48761 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48763 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48765 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48767 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48768 into R11_LP and load __x86_64_shared_cache_size_half into
48771 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48773 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48776 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48778 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48780 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48782 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48784 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48785 powerpc32/power7/fpu/s_logb.c via #include.
48786 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48787 powerpc32/power7/fpu/s_logbf.c via #include.
48788 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48789 powerpc32/power7/fpu/s_logbl.c via #include.
48791 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48793 * README.libm: Remove file.
48795 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48797 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48798 count for x32. Use R*_LP and omit operand-size suffix.
48800 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48802 * shlib-versions: Move x86_64-.*-linux.* entries to ...
48803 * sysdeps/x86_64/64/shlib-versions: Here. New file.
48804 * sysdeps/x86_64/x32/shlib-versions: New file.
48806 2012-05-14 Roland McGrath <roland@hack.frob.com>
48808 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48809 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48810 Use _dl_fatal_printf instead.
48812 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48814 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48815 set if not set by the user. Do not allow for being unset.
48816 * sysdeps/unix/sysv/linux/configure: Regenerated.
48818 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48820 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48821 the `q' suffix from lea and replace .quad with ASM_ADDR.
48823 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48825 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48826 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
48828 (PTR_DEMANGLE): Likewise.
48830 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48832 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48834 (ASM_ADDR): Likewise.
48835 (RAX_LP): Likewise.
48836 (RBP_LP): Likewise.
48837 (RBX_LP): Likewise.
48838 (RCX_LP): Likewise.
48839 (RDI_LP): Likewise.
48840 (RSI_LP): Likewise.
48841 (RSP_LP): Likewise.
48844 (R10_LP): Likewise.
48845 (R10_LP): Likewise.
48846 (R11_LP): Likewise.
48847 (R12_LP): Likewise.
48848 (R13_LP): Likewise.
48849 (R14_LP): Likewise.
48850 (R15_LP): Likewise.
48852 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48854 * sysdeps/x86_64/x32/dl-machine.h: New file.
48856 2012-05-14 Andreas Jaeger <aj@suse.de>
48858 * manual/Makefile (subdir): Remove export of subdir.
48859 (all): Remove target.
48860 (.PHONY): Remove all from list.
48861 (mkinstalldirs): Remove.
48862 (.PHONY): Remove installdirs from list.
48863 ($(inst_infodir)/libc.info): Use make-target-directory.
48864 (installdirs): Remove.
48865 (subdir_%): Remove.
48866 (glibc-targets): Remove.
48869 ($(objpfx)stubs ../po/manual.pot): Remove.
48870 ($(objpfx)stamp%): Remove.
48871 (make-target-directory): Remove.
48872 (subdir_install): Remove.
48873 (routines): Remove.
48880 * manual/.gitignore: Remove, it's not needed anymore.
48881 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48883 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48885 (texis): Renamed to $(objpfx)texis.
48886 (texis-path): New, contains path to generated files.
48887 (chapters.%): Use texis-path for complete path, add extra argument
48889 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48890 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48891 (summary,texi, stamp-summary): Use complete path of
48892 files. Generate files in build dir.
48893 (dir-add.texi): Build in build dir.
48894 (libm-err.texi,stamp-libm-err): Likewise.
48895 (version.texi, stamp-version): Likewise.
48896 (.%c.texi): Likewise.
48897 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48898 (mostlyclean): Remove target.
48899 (realclean): Remove target.
48900 (generated): Add new variable with contents from mostlyclean and
48901 realclean, remove entries duplicated in common-mostlyclean, add
48902 stamp-libm-err and stamp-version.
48903 (generated-dirs): Add libc directory.
48904 ($(inst_infodir)/libc.info): Install files from build dir.
48906 * manual/install.texi (Configuring and compiling): Adjust since
48907 the info files are not part of the tar ball anymore.
48909 2012-05-14 Andreas Jaeger <aj@suse.de>
48911 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48914 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48917 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48918 to 2.2.0 where earlier.
48919 * sysdeps/unix/sysv/linux/configure: Regenerated.
48920 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48921 Remove conditional code.
48922 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48923 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48924 Remove conditional code.
48925 [!__NR_lchown]: Likewise.
48926 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48927 [__NR_lchown]: Likewise.
48928 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48929 comment referencing __ASSUME_LCHOWN_SYSCALL.
48930 * sysdeps/unix/sysv/linux/i386/sigaction.c
48931 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48932 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48933 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48934 Remove conditional code.
48935 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48936 (__protocol_available): Remove #if 0 code.
48937 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48939 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48940 * sysdeps/unix/sysv/linux/kernel-features.h
48941 (__ASSUME_GETCWD_SYSCALL): Don't define.
48942 (__ASSUME_REALTIME_SIGNALS): Likewise.
48943 (__ASSUME_PREAD_SYSCALL): Likewise.
48944 (__ASSUME_PWRITE_SYSCALL): Likewise.
48945 (__ASSUME_POLL_SYSCALL): Likewise.
48946 (__ASSUME_LCHOWN_SYSCALL): Likewise.
48947 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48949 (__ASSUME_SIOCGIFNAME): Don't define.
48950 (__ASSUME_MSG_NOSIGNAL): Likewise.
48951 (__ASSUME_SENDFILE): Define unconditionally.
48952 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48953 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48955 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48956 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48957 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48958 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48959 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48960 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48961 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48963 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48964 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48966 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48967 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48969 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48970 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48972 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48975 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48976 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48978 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48981 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48982 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48984 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48985 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48986 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48987 Remove conditional code.
48988 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48989 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48990 Remove conditional code.
48991 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48992 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48993 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48994 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48995 Remove conditional code.
48996 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48997 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48998 Remove conditional code.
48999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49000 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49001 Remove conditional code.
49002 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49003 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49004 Remove conditional code.
49005 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49006 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49007 Remove conditional code.
49008 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49009 * sysdeps/unix/sysv/linux/sh/pwrite64.c
49010 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49012 * sysdeps/unix/sysv/linux/sigaction.c
49013 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49014 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49015 * sysdeps/unix/sysv/linux/sigpending.c
49016 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49017 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49018 * sysdeps/unix/sysv/linux/sigprocmask.c
49019 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49020 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49021 * sysdeps/unix/sysv/linux/sigsuspend.c
49022 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49023 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49024 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49025 (__libc_missing_rt_sigs): Remove.
49026 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49027 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49028 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49029 Remove conditional code.
49030 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49031 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49033 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49034 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49035 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49036 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49038 2012-05-14 Andreas Jaeger <aj@suse.de>
49040 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49041 it's not used in glibc.
49042 (__coshm1): Likewise.
49043 (__acosh1p): Likewise.
49046 * manual/string.texi (Copying and Concatenation): Add missing
49047 variable in concat example.
49048 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49050 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49053 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49054 __builtin_clzl with __builtin_clzll.
49056 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49059 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49062 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49064 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49065 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49066 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49067 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49069 2012-05-14 Mike Frysinger <vapier@gentoo.org>
49071 * NEWS: Update ia64 info.
49073 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
49075 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49078 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
49080 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49081 * sysdeps/unix/syscalls.list (dup3): Likewise.
49082 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49083 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49085 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
49087 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49088 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49090 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
49092 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49094 (TLS_IE): Use mov/add instead of movq/addq to load thread
49096 (TLS_GD_PREFIX): New.
49099 2012-05-11 David S. Miller <davem@davemloft.net>
49101 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49102 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49103 (_FPU_SETCW): Likewise.
49105 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49107 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49108 is 32-byte aligned.
49110 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
49113 * iconvdata/gb18030.c: Update tables.
49114 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
49115 characters specially.
49116 (BODY for TO_LOOP): Add encoding of missing ranges.
49118 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
49121 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49122 * sysdeps/mach/hurd/dup3.c: Likewise.
49123 * sysdeps/mach/hurd/readlinkat.c: Likewise.
49124 * sysdeps/powerpc/memmove.c:: Likewise.
49126 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49128 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49129 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49131 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49133 * elf/elf.h (R_X86_64_RELATIVE64): New.
49134 (R_X86_64_NUM): Updated.
49135 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49136 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
49137 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49138 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49139 tst-quad1pie tst-quad2pie
49140 (modules-names): Add tst-quadmod1 tst-quadmod2.
49141 ($(objpfx)tst-quad1): New dependency.
49142 ($(objpfx)tst-quad2): Likewise.
49143 ($(objpfx)tst-quad1pie): Likewise.
49144 ($(objpfx)tst-quad2pie): Likewise.
49145 * sysdeps/x86_64/tst-quad1.c: New file.
49146 * sysdeps/x86_64/tst-quad1pie.c: New file.
49147 * sysdeps/x86_64/tst-quad2.c: Likewise.
49148 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49149 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49150 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49151 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49152 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49154 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49156 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49157 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49158 * streams/stropts.h (t_scalar_t): Define type.
49160 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49161 (_PATH_PRESERVE): Set to "/var/lib".
49162 (_PATH_RWHODIR): Set to "/var/spool/rwho".
49164 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49167 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49168 if __dir_mkfile succeeded.
49170 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49171 checking for _hurd_dtablesize. Unlock it right after having
49172 finished _hurd_dtable allocation.
49174 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49176 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49177 * sysdeps/mach/hurd/configure: Regenerated.
49178 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49179 special-casing to...
49180 * sysdeps/gnu/configure.in: ... this new file.
49181 * sysdeps/unix/sysv/linux/configure: Regenerated.
49182 * sysdeps/gnu/configure: New generated file.
49184 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49185 for Linux: use nsec instead of usec, as well as:
49186 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49187 members of type struct timespec.
49188 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49190 (struct stat64): Likewise.
49191 (_STATBUF_ST_NSEC): New macro.
49192 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49194 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49195 __strtoul_internal rather than strtoul.
49197 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49199 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49202 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49204 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49205 which preserves existing values.
49206 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49208 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49210 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49211 TIMEOUT values. Return EINVAL for NFDS values either negative or
49212 greater than FD_SETSIZE.
49214 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49216 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49217 allocated, call __vm_protect to finish enabling the existing space, and
49218 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49219 allocate the remainder.
49221 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49223 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49224 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
49226 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49228 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49229 sysdeps/mach/hurd/readlink.c.
49231 * posix/tst-sysconf.c (posix_options): Only use
49232 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49233 _POSIX_SYNCHRONIZED_IO when they are defined
49234 * sysdeps/mach/hurd/bits/posix_opt.h:
49235 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49236 (_XOPEN_REALTIME): Undefine macro.
49237 (_XOPEN_REALTIME_THREADS): Undefine macro.
49238 (_XOPEN_SHM): Undefine macro.
49239 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49241 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49243 (_POSIX_ASYNC_IO): Undefine macro.
49244 (_POSIX_PRIORITIZED_IO): Undefine macro.
49245 (_POSIX_SPIN_LOCKS): Define macro to -1.
49247 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49248 SA_NODEFER, SA_RESETHAND.
49249 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49250 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49253 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49255 * elf/Makefile (pldd-modules): Define unconditionally.
49257 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49259 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49261 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49263 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49264 Return ENOENT when name is empty.
49265 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49267 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49269 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49271 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49273 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49275 Fix mlock in all cases except non-readable pages.
49276 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49277 instead of VM_PROT_ALL as parameter to __vm_wire function.
49279 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49280 (__mkdir): When path is `/', just fail with EEXIST.
49281 * sysdeps/mach/hurd/mkdirat.c: Likewise.
49283 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49285 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49286 <sys/uio.h> (for writev).
49287 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49288 and <sys/param.h> (for MIN).
49290 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49292 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49293 REQUESTED_TIME. Properly set the remaining time and return EINTR
49296 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49298 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49299 Depend on against $(link-rpcuserlibs).
49301 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49303 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49304 (__libc_stack_end): Do not use attribute_relro.
49305 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49306 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49307 to libthread-provided value.
49308 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49311 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49314 * bits/libc-lock.h (__libc_once_get): New macro.
49315 * sysdeps/mach/bits/libc-lock.h: Likewise.
49316 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49317 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49318 instead of using implementation details.
49320 * libio/fileops.c: Unconditionally include <kernel-features.h>.
49321 * libio/freopen.c: Likewise.
49322 * libio/freopen64.c: Likewise.
49323 * misc/syslog.c: Likewise.
49324 * nscd/connections.c: Likewise.
49325 * nscd/netgroupcache.c: Likewise.
49326 * sysdeps/posix/getcwd.c: Likewise.
49328 2012-05-10 Roland McGrath <roland@hack.frob.com>
49330 * math/w_ilogbf.c: Add #include <limits.h>.
49332 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49334 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49335 path instead of returning without unlocking.
49337 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49338 immediate-write ioctls.
49339 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49341 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49343 * sysdeps/mach/hurd/i386/init-first.c (init): Use
49344 __builtin_frame_address instead of making assumptions about the
49345 location of the return address relative to DATA. Force early load of
49346 the return address.
49347 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49348 __builtin_frame_address.
49351 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49352 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
49353 implement dup3 and do some further code clean-ups.
49354 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49355 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49357 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49359 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49361 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49362 HURD_CRITICAL_END around holding _hurd_dtable_lock.
49363 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49364 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49365 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49368 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49369 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
49370 when handler == SIG_ERR, not when handler != SIG_ERR.
49372 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49374 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49375 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49378 accept4 for GNU Hurd.
49379 * include/sys/socket.h (__libc_accept4): New prototype.
49380 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
49381 to implement __libc_accept4.
49382 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49384 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49386 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49387 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49388 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49389 signal-defines.sym.
49391 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49393 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49395 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49397 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49398 assertion on O_CLOEXEC flag.
49399 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49400 * hurd/intern-fd.c: Likewise.
49401 * hurd/port2fd.c: Likewise.
49403 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49406 * bits/in.h (IPV6_PKTINFO): Define new macro.
49407 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49409 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49414 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49415 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49416 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49417 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49418 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49419 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49420 * math/libm-test.inc (logb_test) : Additional logb tests.
49422 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
49423 Andreas Jaeger <aj@suse.de>
49425 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49426 * configure: Regenerated.
49427 * config.h.in (LINK_OBSOLETE_RPC): New macro.
49428 * config.make.in (link-obsolete-rpc): New substituted variable.
49429 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49430 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49431 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49432 (shared-only-routines): Don't set it under [link-obsolete-rpc],
49433 so that libc.a contains the symbols.
49434 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49435 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49436 * sunrpc/auth_none.c: Likewise.
49437 * sunrpc/auth_unix.c: Likewise.
49438 * sunrpc/authdes_prot.c: Likewise.
49439 * sunrpc/authuxprot.c: Likewise.
49440 * sunrpc/clnt_gen.c: Likewise.
49441 * sunrpc/clnt_perr.c: Likewise.
49442 * sunrpc/clnt_raw.c: Likewise.
49443 * sunrpc/clnt_simp.c: Likewise.
49444 * sunrpc/clnt_tcp.c: Likewise.
49445 * sunrpc/clnt_udp.c: Likewise.
49446 * sunrpc/clnt_unix.c: Likewise.
49447 * sunrpc/des_crypt.c: Likewise.
49448 * sunrpc/des_soft.c: Likewise.
49449 * sunrpc/get_myaddr.c: Likewise.
49450 * sunrpc/key_call.c: Likewise.
49451 * sunrpc/key_prot.c: Likewise.
49452 * sunrpc/netname.c: Likewise.
49453 * sunrpc/pm_getmaps.c: Likewise.
49454 * sunrpc/pm_getport.c: Likewise.
49455 * sunrpc/pmap_clnt.c: Likewise.
49456 * sunrpc/pmap_prot.c: Likewise.
49457 * sunrpc/pmap_prot2.c: Likewise.
49458 * sunrpc/pmap_rmt.c: Likewise.
49459 * sunrpc/publickey.c: Likewise.
49460 * sunrpc/rpc_cmsg.c: Likewise.
49461 * sunrpc/rpc_common.c: Likewise.
49462 * sunrpc/rpc_dtable.c: Likewise.
49463 * sunrpc/rpc_prot.c: Likewise.
49464 * sunrpc/rpc_thread.c: Likewise.
49465 * sunrpc/rtime.c: Likewise.
49466 * sunrpc/svc.c: Likewise.
49467 * sunrpc/svc_auth.c: Likewise.
49468 * sunrpc/svc_raw.c: Likewise.
49469 * sunrpc/svc_run.c: Likewise.
49470 * sunrpc/svc_tcp.c: Likewise.
49471 * sunrpc/svc_udp.c: Likewise.
49472 * sunrpc/svc_unix.c: Likewise.
49473 * sunrpc/svcauth_des.c: Likewise.
49474 * sunrpc/xcrypt.c: Likewise.
49475 * sunrpc/xdr.c: Likewise.
49476 * sunrpc/xdr_array.c: Likewise.
49477 * sunrpc/xdr_float.c: Likewise.
49478 * sunrpc/xdr_intXX_t.c: Likewise.
49479 * sunrpc/xdr_mem.c: Likewise.
49480 * sunrpc/xdr_rec.c: Likewise.
49481 * sunrpc/xdr_ref.c: Likewise.
49482 * sunrpc/xdr_sizeof.c: Likewise.
49483 * sunrpc/xdr_stdio.c: Likewise.
49485 2012-05-10 Roland McGrath <roland@hack.frob.com>
49487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49488 change. Update copyright years.
49490 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49492 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49494 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
49495 Joseph Myers <joseph@codesourcery.com>
49496 Paul Pluzhnikov <ppluzhnikov@google.com>
49499 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49501 [cross-compiling] (extra-libs): Likewise.
49502 [cross-compiling] (extra-libs-others): Likewise.
49503 [cross-compiling] (librpcsvc-routines): Likewise.
49504 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49505 [cross-compiling] (omit-deps): Likewise.
49506 (sunrpc-CPPFLAGS): New variable.
49507 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49508 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49509 (cross-rpcgen-objs): New variable.
49510 (extra-objs): Append $(cross-rpcgen-objs).
49511 ($(cross-rpcgen-objs)): New rule.
49512 ($(objpfx)cross-rpcgen): Likewise.
49513 (rpcgen-cmd): Define to use $(built-program-file). Expand
49515 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49516 ($(objpfx)x%.stmp): Likewise.
49517 * sunrpc/proto.h [IS_IN_build] (_): Define.
49518 [IS_IN_build] (_libc_intl_domainname): Likewise.
49520 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49522 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49523 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49524 and R_X86_64_TPOFF64.
49526 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49528 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49529 sysdeps/unix/sysv/syscalls.list.
49532 * sysdeps/unix/sysv/syscalls.list: Remove file.
49534 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
49537 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49538 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49539 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49540 (__LC_IDENTIFICATION): Make these macros useful in #if
49541 expressions, as required by C99.
49543 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
49545 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49546 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
49549 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
49551 * stdlib/longlong.h: Updated from GCC.
49553 2012-05-09 Andreas Jaeger <aj@suse.de>
49555 * nscd/nscd.c (run_modes): Make named enum, reorder so that
49556 default is first entry.
49557 (run_mode): Set type.
49558 (main): Remove informal message about syslog.
49559 (options): Fix typo.
49562 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49565 (llrintf): Likewise.
49566 (llrint): Likewise.
49569 (nearbyint): Likewise.
49570 (nearbyintf): Likewise.
49572 2012-05-09 Andreas Jaeger <aj@suse.de>
49573 Pedro Alves <palves@redhat.com>
49575 * nscd/nscd.c (run_mode): Use enum.
49576 (main): Cleanup coding style issue.
49578 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
49579 Andreas Jaeger <aj@suse.de>
49581 * nscd/nscd.c (go_background): Replaced with...
49582 (run_mode): ... this.
49583 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49584 (options): Add -F --foreground.
49585 (main): Implement it.
49586 (parse_opt): Parse it.
49588 2012-05-09 Andreas Jaeger <aj@suse.de>
49591 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49592 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49593 -Wconversion warning.
49594 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49597 2012-05-09 Joseph Myers <joseph@codesourcery.com>
49599 * conform/data/locale.h-data (NULL): Use macro-constant. Require
49601 (LC_ALL): Use macro-int-constant.
49602 (LC_COLLATE): Likewise.
49603 (LC_CTYPE): Likewise.
49604 (LC_MESSAGES): Likewise.
49605 (LC_MONETARY): Likewise.
49606 (LC_NUMERIC): Likewise.
49607 (LC_TIME): Likewise.
49608 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49609 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49610 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49611 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49613 [C99-based standards] (float_t): Expect type.
49614 [C99-based standards] (double_t): Expect type.
49615 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
49617 [C99-based standards] (HUGE_VALL): Likewise.
49618 [C99-based standards] (INFINITY): Likewise.
49619 [C99-based standards] (NAN): Likewise.
49620 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49621 [C99-based standards] (FP_NAN): Likewise.
49622 [C99-based standards] (FP_NORMAL): Likewise.
49623 [C99-based standards] (FP_SUBNORMAL): Likewise.
49624 [C99-based standards] (FP_ZERO): Likewise.
49625 [C99-based standards] (FP_FAST_FMA): Use
49626 optional-macro-int-constant. Specify type. Require == 1.
49627 [C99-based standards] (FP_FAST_FMAF): Likewise.
49628 [C99-based standards] (FP_FAST_FMAL): Likewise.
49629 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49630 [C99-based standards] (FP_ILOGBNAN): Likewise.
49631 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49633 [C99-based standards] (MATH_ERREXCEPT): Likewise.
49634 [C99-based standards] (math_errhandling): Specify type.
49635 [ISO99 || ISO11] (signgam): Do not allow.
49636 [non-C99-based standards] (copysignf): Do not allow.
49637 [non-C99-based standards] (exp2f): Likewise.
49638 [non-C99-based standards] (log2f): Likewise.
49639 [non-C99-based standards] (modff): Allow.
49640 [non-C99-based standards] (erff): Do not allow.
49641 [non-C99-based standards] (erfcf): Likewise.
49642 [non-C99-based standards] (gammaf): Likewise.
49643 [non-C99-based standards] (hypotf): Likewise.
49644 [non-C99-based standards] (j0f): Likewise.
49645 [non-C99-based standards] (j1f): Likewise.
49646 [non-C99-based standards] (jnf): Likewise.
49647 [non-C99-based standards] (lgammaf): Likewise.
49648 [non-C99-based standards] (tgammaf): Likewise.
49649 [non-C99-based standards] (y0f): Likewise.
49650 [non-C99-based standards] (y1f): Likewise.
49651 [non-C99-based standards] (ynf): Likewise.
49652 [non-C99-based standards] (isnanf): Likewise.
49653 [non-C99-based standards] (acoshf): Likewise.
49654 [non-C99-based standards] (asinhf): Likewise.
49655 [non-C99-based standards] (atanhf): Likewise.
49656 [non-C99-based standards] (cbrtf): Likewise.
49657 [non-C99-based standards] (expm1f): Likewise.
49658 [non-C99-based standards] (ilogbf): Likewise.
49659 [non-C99-based standards] (log1pf): Likewise.
49660 [non-C99-based standards] (logbf): Likewise.
49661 [non-C99-based standards] (nextafterf): Likewise.
49662 [non-C99-based standards] (remainderf): Likewise.
49663 [non-C99-based standards] (rintf): Likewise.
49664 [non-C99-based standards] (scalbf): Likewise.
49665 [non-C99-based standards] (copysignl): Likewise.
49666 [non-C99-based standards] (exp2l): Likewise.
49667 [non-C99-based standards] (log2l): Likewise.
49668 [non-C99-based standards] (modfl): Allow.
49669 [non-C99-based standards] (erfl): Do not allow.
49670 [non-C99-based standards] (erfcl): Likewise.
49671 [non-C99-based standards] (gammal): Likewise.
49672 [non-C99-based standards] (hypotl): Likewise.
49673 [non-C99-based standards] (j0l): Likewise.
49674 [non-C99-based standards] (j1l): Likewise.
49675 [non-C99-based standards] (jnl): Likewise.
49676 [non-C99-based standards] (lgammal): Likewise.
49677 [non-C99-based standards] (tgammal): Likewise.
49678 [non-C99-based standards] (y0l): Likewise.
49679 [non-C99-based standards] (y1l): Likewise.
49680 [non-C99-based standards] (ynl): Likewise.
49681 [non-C99-based standards] (isnanl): Likewise.
49682 [non-C99-based standards] (acoshl): Likewise.
49683 [non-C99-based standards] (asinhl): Likewise.
49684 [non-C99-based standards] (atanhl): Likewise.
49685 [non-C99-based standards] (cbrtl): Likewise.
49686 [non-C99-based standards] (expm1l): Likewise.
49687 [non-C99-based standards] (ilogbl): Likewise.
49688 [non-C99-based standards] (log1pl): Likewise.
49689 [non-C99-based standards] (logbl): Likewise.
49690 [non-C99-based standards] (nextafterl): Likewise.
49691 [non-C99-based standards] (remainderl): Likewise.
49692 [non-C99-based standards] (rintl): Likewise.
49693 [non-C99-based standards] (scalbl): Likewise.
49694 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49695 [non-C99-based standards] (FP_*): Do not allow.
49696 [C99-based standards] (FP_*): Change to
49697 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49698 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49700 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49701 (SIG_ERR): Likewise.
49702 [X/Open-based standards] (SIG_HOLD): Likewise.
49703 (SIG_IGN): Likewise.
49704 (SIGABRT): Use macro-int-constant. Specify type. Require
49706 (SIGFPE): Likewise.
49707 (SIGILL): Likewise.
49708 (SIGINT): Likewise.
49709 (SIGSEGV): Likewise.
49710 (SIGTER): Likewise.
49711 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49712 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49713 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49714 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49715 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49716 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49717 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49718 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49719 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49720 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49721 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49722 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49723 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49724 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49725 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49726 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49727 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49728 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49729 [X/Open-based standards] (SIGTRAP): Likewise.
49730 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49731 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49732 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49733 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49734 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49737 2012-05-08 Ian Wienand <ianw@vmware.com>
49740 * time/tzset.c (__tzset_parse_tz): Update default rules for
49741 daylight time changes in the Energy Policy Act of 2005.
49743 2012-05-09 Andreas Jaeger <aj@suse.de>
49746 * elf/ldconfig.c (parse_conf): Change string to make clear that
49747 ldconfig only issued a warning if ld.so.conf does not exist.
49749 2012-05-08 David S. Miller <davem@davemloft.net>
49751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49752 movxtod instead of popping the value on the stack.
49754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49756 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
49758 * config.h.in: Add HAVE_ARM_PCS_VFP.
49760 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
49763 * include/features.h: Warn if user requests __FORTIFY_SOURCE
49764 checking but the checks are disabled for any reason.
49766 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
49768 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49769 and ELF64_R_TYPE with ELFW(R_TYPE).
49771 2012-05-08 Joseph Myers <joseph@codesourcery.com>
49773 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49774 (ulimit): Likewise.
49776 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49777 (settimeofday): Likewise.
49779 2012-05-08 Mike Frysinger <vapier@gentoo.org>
49781 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
49782 a struct th_u2 inside the union, and move tu_block/tu_code into
49783 a new th_u3 union of tu_block/tu_code inside of that. Move
49784 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
49785 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
49786 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49787 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49788 (th_stuff): Change to th_u1.tu_stuff.
49790 (th_msg): Change to th_u1.th_u2.tu_data.
49792 2012-05-07 David S. Miller <davem@davemloft.net>
49794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49797 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49798 (SETUP_PIC_REG): Use it.
49799 (SETUP_PIC_REG_LEAF): Use it.
49801 2012-05-07 Joseph Myers <joseph@codesourcery.com>
49805 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49807 (EXPL_FINITE): Likewise.
49808 (FLDLOG): Likewise.
49809 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49810 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49812 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49814 (EXPL_FINITE): Likewise.
49815 (FLDLOG): Likewise.
49816 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49817 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49819 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
49820 test of -max_value argument for long double.
49821 * sysdeps/i386/fpu/libm-test-ulps: Update.
49822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49824 2012-05-06 David S. Miller <davem@davemloft.net>
49826 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49827 quad soft-float symbols whose references which are compiler
49829 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49831 2012-05-06 Joseph Myers <joseph@codesourcery.com>
49835 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49837 (EXPL_FINITE): Likewise.
49838 (FLDLOG): Likewise.
49841 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49842 Adjust comments for base varying.
49843 (__expl_finite): Change alias to EXPL_FINITE.
49844 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49846 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49847 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49848 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49849 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49850 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49852 (EXPL_FINITE): Likewise.
49853 (FLDLOG): Likewise.
49856 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49857 Adjust comments for base varying.
49858 (__expl_finite): Change alias to EXPL_FINITE.
49859 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
49861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49864 * math/libm-test.inc (check_float_internal): Correct ulp
49865 calculation for subnormal expected results.
49867 2012-05-06 Andreas Jaeger <aj@suse.de>
49869 * Makeconfig (+math-flags): New, set to -frounding-math.
49870 (+cflags): Add +math-flags so that all of glibc gets compiled with
49873 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49875 2012-05-05 Joseph Myers <joseph@codesourcery.com>
49877 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49883 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49884 (__ieee754_expl): Allow for and saturate large arguments.
49885 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49886 (u_threshold): Likewise.
49887 (__exp): Call __ieee754_exp before checking for overflow and
49889 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49890 (u_threshold): Likewise.
49891 (__expf): Call __ieee754_expf before checking for overflow and
49893 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49894 (u_threshold): Likewise.
49895 (__expl): Call __ieee754_expl before checking for overflow and
49897 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49898 (__ieee754_expl): Allow for and saturate large arguments.
49899 * math/libm-test.inc (exp_test): Add another test. Do not allow
49900 missing overflow exception on overflow.
49901 (expm1_test): Do not allow missing overflow exception on overflow.
49903 * sysdeps/i386/fpu/e_expl.c: Move to ...
49904 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
49905 rather than using inline asm.
49906 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49907 * sysdeps/x86_64/fpu/e_expl.S: Copy from
49908 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49910 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49913 (signal): Likewise.
49917 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49919 * sysdeps/unix/syscalls.list (adjtime): Add entry from
49920 sysdeps/unix/common/syscalls.list.
49921 (fchmod): Likewise.
49922 (fchown): Likewise.
49923 (ftruncate): Likewise.
49924 (getrusage): Likewise.
49925 (gettimeofday): Likewise.
49926 (setpgid): Likewise.
49927 (setregid): Likewise.
49928 (setreuid): Likewise.
49929 (sigaction): Likewise.
49930 (truncate): Likewise.
49931 (vhangup): Likewise.
49932 * sysdeps/unix/common/syscalls.list: Remove file.
49933 * sysdeps/unix/bsd/Implies: Don't include unix/common.
49934 * sysdeps/unix/sysv/linux/Implies: Likewise.
49936 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
49938 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49940 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49944 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49947 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49950 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49953 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49956 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49959 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49962 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49966 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49970 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49973 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49977 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49981 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49983 * sysdeps/unix/common/bits/dirent.h: Remove file.
49984 * sysdeps/unix/common/bits/fcntl.h: Likewise.
49986 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49987 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49988 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49989 * sysdeps/unix/bsd/isatty.c: Likewise.
49990 * sysdeps/unix/bsd/tcdrain.c: Likewise.
49991 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49992 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49994 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49997 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49998 long double comparison inaccuracies.
49999 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50002 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
50004 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50005 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50007 2012-05-04 Joseph Myers <joseph@codesourcery.com>
50010 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50011 nonzero digits before rounding a hex value.
50012 * stdlib/tst-strtod.c (tests): Add another test.
50014 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50016 * sysdeps/s390/fpu/libm-test-ulps: Update.
50018 2012-05-03 Andreas Jaeger <aj@suse.de>
50020 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50021 does not get optimized out.
50022 (malloc_opt_barrier): New.
50024 2012-05-03 Andreas Jaeger <aj@suse.de>
50025 Roland McGrath <roland@hack.frob.com>
50027 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50028 intermediate file deletion.
50029 (generated): Add .symlist files.
50031 2012-05-03 Joseph Myers <joseph@codesourcery.com>
50034 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50035 Redirect under this condition.
50036 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50037 [__USE_GNU] (__dprintf_chk): Not under this condition.
50038 [__USE_GNU] (__vdprintf_chk): Likewise.
50039 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50040 under this condition.
50041 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50042 [__USE_XOPEN2K8] (dprintf): Define under this condition.
50043 [__USE_XOPEN2K8] (vdprintf): Likewise.
50044 [__USE_GNU] (__dprintf_chk): Not under this condition.
50045 [__USE_GNU] (__vdprintf_chk): Likewise.
50046 [__USE_GNU] (dprintf): Likewise.
50047 [__USE_GNU] (vdprintf): Likewise.
50049 2012-05-03 Roland McGrath <roland@hack.frob.com>
50051 * elf/Makefile (common-generated): Set this instead of generated for
50052 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
50053 $(all-built-dso)-derived lists.
50055 2012-05-03 Andreas Jaeger <aj@suse.de>
50057 * sysdeps/i386/fpu/libm-test-ulps: Update.
50060 * FAQ.in: Likewise.
50061 * scripts/gen-FAQ.pl: Likewise.
50062 * manual/install.texi (Installation): Point to online location of
50064 * Makefile (files-for-dist): Remove FAQ.
50067 2012-05-02 Allan McRae <allan@archlinux.org>
50069 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50070 (LDFLAGS-reldepmod5.so): Likewise.
50071 (LDFLAGS-reldep6mod1.so): Likewise.
50072 (LDFLAGS-reldep6mod4.so): Likewise.
50073 (LDFLAGS-reldep8mod3.so): Likewise.
50074 (LDFLAGS-unload4mod1.so): Likewise.
50075 (LDFLAGS-unload4mod2.so): Likewise.
50076 (LDFLAGS-tst-initorder): Likewise.
50077 (LDFLAGS-tst-initordera2.so): Likewise.
50078 (LDFLAGS-tst-initordera3.so): Likewise.
50079 (LDFLAGS-tst-initordera4.so): Likewise.
50080 (LDFLAGS-tst-initorderb2.so): Likewise.
50081 (LDFLAGS-noload): Likewise.
50082 (LDFLAGS-next): Likewise.
50083 (LDFLAGS-order2mod1.so): Likewise.
50084 (LDFLAGS-order2mod2.so): Likewise.
50085 (LDFLAGS-tst-initorder2): Likewise.
50086 (LDFLAGS-tst-initorder2a.so): Likewise.
50087 (LDFLAGS-tst-initorder2b.so): Likewise.
50088 (LDFLAGS-tst-initorder2c.so): Likewise.
50089 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50091 2012-05-02 David S. Miller <davem@davemloft.net>
50093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50095 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
50098 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50100 2012-05-02 Andreas Jaeger <aj@suse.de>
50102 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50103 since we manipulate rounding mode.
50104 (CPPFLAGS-test-idouble.c): Likewise.
50105 (CPPFLAGS-test-ifloat.c): Likewise.
50106 (CFLAGS-test-ldouble.c): Likewise.
50107 (CFLAGS-test-double.c): Likewise.
50108 (CFLAGS-test-float.c): Likewise.
50109 (CFLAGS-test-misc.c): Likewise.
50110 (CFLAGS-test-test-fenv.c): Likewise.
50112 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50116 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50117 comparisons to determine direction to adjust input.
50119 2012-05-01 Roland McGrath <roland@hack.frob.com>
50121 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50122 output to the target.
50124 * scripts/localplt.awk: New file.
50125 * elf/Makefile ($(objpfx)check-localplt): Target removed.
50126 (check-localplt-CFLAGS): Variable removed.
50127 ($(all-built-dso:=.jmprel)): New static pattern rule.
50128 (generated): Add those targets.
50129 (localplt-built-dso): New variable.
50130 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50132 * elf/check-localplt.c: File removed.
50134 * scripts/check-execstack.awk: New file.
50135 * elf/Makefile ($(objpfx)check-execstack): Target removed.
50136 (check-execstack-CFLAGS): Variable removed.
50137 ($(objpfx)check-execstack.h): Target removed.
50138 ($(objpfx)execstack-default): New target.
50139 (generated): Add that instead of check-execstack.h.
50140 ($(all-built-dso:=.phdr)): New static pattern rule.
50141 (generated): Add those targets.
50142 * elf/check-execstack.c: File removed.
50144 * scripts/check-textrel.awk: New file.
50145 * elf/Makefile ($(objpfx)check-textrel): Target removed.
50146 (check-textrel-CFLAGS): Variable removed.
50147 (all-built-dso): Use := to define.o
50148 ($(all-built-dso:=.dyn)): New static pattern rule.
50149 (generated): Add those targets.
50150 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50151 * config.make.in (READELF): New substituted variable.
50152 * elf/check-textrel.c: File removed.
50154 2012-05-01 Joseph Myers <joseph@codesourcery.com>
50156 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50158 * conform/data/ctype.h-data [C99-based standards] (isblank):
50160 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50161 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50162 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50163 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50164 Specify type. Require positive value.
50165 (EILSEQ): Likewise.
50166 (ERANGE): Likewise.
50167 [ISO || POSIX] (EILSEQ): Do not expect.
50168 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50169 Specify type. Require positive value.
50170 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50171 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50172 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50173 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50174 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50175 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50176 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50177 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50178 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50179 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50180 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50181 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50182 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50183 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50184 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50185 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50186 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50187 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50188 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50189 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50190 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50191 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50192 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50193 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50194 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50195 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50196 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50197 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50198 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50199 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50200 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50201 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50202 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50203 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50204 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50205 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50206 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50207 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50208 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50209 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50210 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50211 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50212 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50213 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50214 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50215 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50216 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50217 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50218 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50219 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50220 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50221 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50222 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50223 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50224 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50225 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50226 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50227 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50228 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50229 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50230 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50231 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50232 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50233 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50234 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50235 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50236 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50237 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50238 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50239 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50240 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50241 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50242 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50243 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50244 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50245 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50246 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50248 (FLT_ROUNDS): Expect as macro, not constant.
50249 (FLT_MANT_DIG): Use macro-int-constant.
50250 (DBL_MANT_DIG): Likewise.
50251 (LDBL_MANT_DIG): Likewise.
50252 (FLT_DIG): Likewise.
50253 (DBL_DIG): Likewise.
50254 (LDBL_DIG): Likewise.
50255 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
50256 (DBL_MIN_EXP): Likewise.
50257 (LDBL_MIN_EXP): Likewise.
50258 (FLT_MAX_EXP): Use macro-int-constant.
50259 (DBL_MAX_EXP): Likewise.
50260 (LDBL_MAX_EXP): Likewise.
50261 (FLT_MAX_10_EXP): Likewise.
50262 (DBL_MAX_10_EXP): Likewise.
50263 (LDBL_MAX_10_EXP): Likewise.
50264 (FLT_MAX): Use macro-constant.
50265 (DBL_MAX): Likewise.
50266 (LDBL_MAX): Likewise.
50267 (FLT_EPSILON): Use macro-constant. Give upper bound.
50268 (DBL_EPSILON): Likewise.
50269 (LDBL_EPSILON): Likewise.
50270 (FLT_MIN): Likewise.
50271 (DBL_MIN): Likewise.
50272 (LDBL_MIN): Likewise.
50273 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50274 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50275 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50276 [ISO11] (FLT_HAS_SUBNORM): Likewise.
50277 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50278 [ISO11] (DBL_DECIMAL_DIG): Likewise.
50279 [ISO11] (FLT_DECIMAL_DIG): Likewise.
50280 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50281 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50282 [ISO11] (FLT_TRUE_MIN): Likewise.
50283 [ISO11] (LDBL_TRUE_MIN): Likewise.
50284 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50285 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50286 (SCHAR_MIN): Use macro-int-constant. Specify type.
50287 (SCHAR_MAX): Likewise.
50288 (UCHAR_MAX): Likewise.
50289 (CHAR_MIN): Likewise.
50290 (CHAR_MAX): Likewise.
50291 (MB_LEN_MAX): Use macro-int-constant.
50292 (SHRT_MIN): Use macro-int-constant. Specify type.
50293 (SHRT_MAX): Likewise.
50294 (USHRT_MAX): Likewise.
50295 (INT_MAX): Likewise.
50296 (INT_MIN): Use macro-int-constant. Specify type. Make upper
50298 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
50300 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
50302 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
50303 bound negative. Suffix upper bound with "L".
50304 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
50306 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50308 [C99-based standards] (LLONG_MAX): Likewise.
50309 [C99-based standards] (ULLONG_MAX): Likewise.
50310 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
50312 [ISO11] (max_align_t): Require type.
50313 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50315 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50316 from $CFLAGS, without defining away __attribute__ calls.
50317 (checknamespace): Use $CFLAGS_namespace.
50319 * conform/conformtest.pl (@keywords): Only include C99 keywords
50320 for standards based on C99 or C11.
50322 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50324 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50327 * conform/conformtest.pl: Handle "macro-int-constant" and test for
50328 usability of symbols in #if.
50330 * conform/conformtest.pl: If macro or constant types start
50331 "promoted:", expect the symbol to be of the following type
50332 promoted by the integer promotions.
50334 * conform/conformtest.pl: Parse all "constant" and "macro" lines
50335 in one place. Also handle "macro-constant".
50337 * conform/conformtest.pl: Only accept expected macro values with
50338 "==". Parse all "macro" lines in one place.
50339 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50341 * conform/conformtest.pl: Handle braced types on "constant" lines
50342 instead of handling "typed-constant".
50343 * conform/data/signal.h-data: Use "constant" instead of
50346 * conform/conformtest.pl: Handle "optional-" at start of lines in
50347 one place rather than duplicating several cases. Handle each
50348 format of "macro" line with initial "optional-".
50350 * conform/conformtest.pl: Only accept expected constant or
50351 optional-constant values with "==". Parse all "constant" lines in
50352 one place. Parse all "optional-constant" lines in one place.
50353 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50354 * conform/data/fmtmsg.h-data: Likewise.
50355 * conform/data/netinet/in.h-data: Likewise.
50356 * conform/data/tar.h-data: Likewise.
50357 * conform/data/limits.h-data: Use "==" form on "constant" and
50358 "optional-constant" lines.
50360 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50361 Use -std=c99 for XOPEN2K.
50362 (@knownproblems): Remove.
50363 (newtoken): Don't check %isknown.
50365 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50366 Do not expect macro.
50367 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50368 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50369 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50370 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50371 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50372 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50373 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50374 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50375 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50376 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50377 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50378 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50379 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50380 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50381 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50382 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50383 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50384 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50385 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50386 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50387 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50388 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50389 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50390 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50391 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50392 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50393 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50394 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50395 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50396 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50397 [XPG3] (acosh): Likewise.
50398 [XPG3] (asinh): Likewise.
50399 [XPG3] (atanh): Likewise.
50400 [XPG3] (cbrt): Likewise.
50401 [XPG3] (expm1): Likewise.
50402 [XPG3] (ilogb): Likewise.
50403 [XPG3] (log1p): Likewise.
50404 [XPG3] (logb): Likewise.
50405 [XPG3] (nextafter): Likewise.
50406 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50407 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50408 [XPG3] (remainder): Likewise.
50409 [XPG3] (rint): Likewise.
50410 [XPG3 || XPG4 || UNIX98] (round): Likewise.
50411 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50412 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50413 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50414 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50415 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50416 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50417 [UNIX98 || XOPEN2K] (scalb): Expect.
50418 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50419 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50420 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50421 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50422 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50423 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50424 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50425 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50426 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50427 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50428 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50429 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50430 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50431 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50432 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50433 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50434 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50435 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50436 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50437 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50438 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50439 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50440 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50441 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50442 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50443 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50444 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50445 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50446 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50447 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50448 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50449 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50450 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50451 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50452 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50453 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50454 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50455 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50456 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50457 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50458 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50459 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50460 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50461 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50462 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50463 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50464 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50465 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50466 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50467 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50468 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50469 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50470 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50471 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50472 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50473 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50474 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50475 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50476 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50477 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50478 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50479 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50480 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50481 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50482 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50483 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50484 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50485 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50486 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50487 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50488 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50489 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50490 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50491 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50492 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50493 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50494 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50495 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50496 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50497 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50498 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50499 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50500 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50501 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50502 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50503 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50504 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50505 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50506 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50507 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50508 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50509 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50510 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50511 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50512 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50513 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50514 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50515 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50516 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50517 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50518 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50519 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50520 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50521 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50522 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50523 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50524 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50525 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50526 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50527 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50528 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50529 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50530 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50531 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50532 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50533 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50534 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50535 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50536 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50537 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50538 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50539 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50540 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50541 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50542 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50543 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50544 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50545 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50546 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50547 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50548 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50549 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50550 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50551 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50552 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50553 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50554 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50556 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50557 _XOPEN_SOURCE_EXTENDED for XPG4.
50559 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50561 * Makeconfig (localtime): Remove variable.
50562 (inst_localtime-file): Likewise.
50564 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50585 2012-05-01 Joseph Myers <joseph@codesourcery.com>
50589 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50590 comparisons to determine direction to adjust input.
50591 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50592 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50593 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50595 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50597 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50599 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50600 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50602 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50604 * math/libm-test.inc (nexttoward_test): Add more tests.
50606 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50609 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50610 in version GLIBC_2.1, not GLIBC_2.0.
50611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50614 2012-04-30 Joseph Myers <joseph@codesourcery.com>
50617 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50619 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50620 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50621 * math/libm-test.inc (acos_test): Add more tests.
50622 (asin_test): Likewise.
50623 * sysdeps/i386/fpu/libm-test-ulps: Update.
50624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50627 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50629 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50630 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50631 * math/libm-test.inc (acos_test_tonearest): New function.
50632 (acos_test_towardzero): Likewise.
50633 (acos_test_downward): Likewise.
50634 (acos_test_upward): Likewise.
50635 (asin_test_tonearest): Likewise.
50636 (asin_test_towardzero): Likewise.
50637 (asin_test_downward): Likewise.
50638 (asin_test_upward): Likewise.
50639 (main): Call the new functions.
50640 * sysdeps/i386/fpu/libm-test-ulps: Update.
50641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50645 * math/e_exp10.c: Include <float.h>.
50646 (__ieee754_exp10): Handle underflow here rather than multiplying
50647 large negative argument by M_LN10.
50648 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50650 * math/e_exp10l.c: Include <float.h>.
50651 (__ieee754_exp10l): Handle underflow here rather than multiplying
50652 large negative argument by M_LN10l.
50653 * math/libm-test.inc (exp10_test): Add another test. Do not allow
50654 spurious overflow exception on underflow.
50656 2012-04-29 Marek Polacek <polacek@redhat.com>
50658 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50659 (__fortify_function): New macro.
50660 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50661 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50662 __extern_always_inline.
50663 * libio/bits/stdio2.h: Likewise.
50664 * libio/bits/stdio.h: Likewise.
50665 * string/string.h: Likewise.
50666 * string/bits/string3.h: Likewise.
50667 * include/stdio.h: Likewise.
50668 * stdlib/bits/stdlib.h: Likewise.
50669 * stdlib/stdlib.h: Likewise.
50670 * rt/bits/mqueue2.h: Likewise.
50671 * rt/mqueue.h: Likewise.
50672 * posix/bits/unistd.h: Likewise.
50673 * posix/unistd.h: Likewise.
50674 * io/bits/poll2.h: Likewise.
50675 * io/bits/fcntl2.h: Likewise.
50676 * io/fcntl.h: Likewise.
50677 * io/sys/poll.h: Likewise.
50678 * misc/bits/syslog.h: Likewise.
50679 * misc/bits/syslog-ldbl.h: Likewise.
50680 * misc/sys/syslog.h: Likewise.
50681 * socket/bits/socket2.h: Likewise.
50682 * socket/sys/socket.h: Likewise.
50683 * debug/tst-chk1.c: Likewise.
50684 * wcsmbs/bits/wchar2.h: Likewise.
50685 * wcsmbs/bits/wchar-ldbl.h: Likewise.
50686 * wcsmbs/wchar.h: Likewise.
50688 2012-04-29 Andreas Jaeger <aj@suse.de>
50690 * Makerules (tests): Remove enable-check-abi protection.
50691 (check-abi-warn): Remove.
50692 (check-abi-%): Remove check-abi-warn usage.
50694 * configure.in: Remove check-abi configure option.
50695 * configure: Regenerated.
50696 * config.make.in (enable-check-abi): Remove.
50698 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
50701 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50702 double functions to double *_finite functions.
50705 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50706 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50708 * stdio-common/Makefile (tests): Add tst-sprintf3.
50709 * stdio-common/tst-sprintf3.c: New file.
50711 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50712 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50714 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50716 * conform/conformtest.pl: Remove duplicate typed-constant
50719 2012-04-28 David S. Miller <davem@davemloft.net>
50721 * Makerules (%.abilist): Add vpath on sysdep_dirs.
50722 (check-abi-%): Remove AWK script prerequisite and explicit
50724 (check-abi): Rewrite to just diff the symlist with the abilist.
50725 (config-tls, config-abi-config): Delete, no longer used.
50726 (update-abi-%): Remove AWK script and explicit abilist directory.
50727 (update-abi): Rewrite to simply compare and conditionally copy the
50728 symlist and the sysdep abilist file. Remove update-abi-config
50730 * abilist/ld.abilist: Remove.
50731 * abilist/libBrokenLocale.abilist: Remove.
50732 * abilist/libanl.abilist: Remove.
50733 * abilist/libcrypt.abilist: Remove.
50734 * abilist/libdl.abilist: Remove.
50735 * abilist/librt.abilist: Remove.
50736 * abilist/libthread_db.abilist: Remove.
50737 * abilist/libutil.abilist: Remove.
50738 * scripts/extract-abilist.awk: Remove.
50739 * scripts/merge-abilist.awk: Remove.
50740 * sysdeps/generic/libcidn.abilist: New file.
50741 * sysdeps/generic/libnss_compat.abilist: New file.
50742 * sysdeps/generic/libnss_db.abilist: New file.
50743 * sysdeps/generic/libnss_dns.abilist: New file.
50744 * sysdeps/generic/libnss_files.abilist: New file.
50745 * sysdeps/generic/libnss_hesiod.abilist: New file.
50746 * sysdeps/generic/libnss_nis.abilist: New file.
50747 * sysdeps/generic/libnss_nisplus.abilist: New file.
50748 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50749 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50750 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50752 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50753 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50754 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50755 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50756 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50757 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50758 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50759 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50760 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50762 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50763 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50764 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50765 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50767 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50768 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50769 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50770 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50771 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50772 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50774 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50775 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50776 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50778 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50779 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50781 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50783 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50785 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50787 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50789 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50791 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50793 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50795 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50797 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50799 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50801 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50881 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50882 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50883 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50885 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50886 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50887 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50888 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50889 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50890 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50891 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50892 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50893 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50894 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50946 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50948 * conform/conformtest.pl: Fix typo in handling typed-constant from
50951 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50953 * README: Cut down references to pre-2.6 Linux kernels and
50954 Linuxthreads. Update lists of configurations in libc and ports
50955 and sort alphabetically. Say "or newer" with Linux kernel version
50958 * config.h.in [IS_IN_build]: Allow compiling without optimization.
50960 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50963 * math/libm-test.inc (logb_test_downward): New test to expose
50964 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50967 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50970 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50972 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50973 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50975 2012-04-26 Joseph Myers <joseph@codesourcery.com>
50977 * sysdeps/unix/i386/brk.S: Remove file.
50978 * sysdeps/unix/i386/dl-brk.S: Likewise.
50979 * sysdeps/unix/i386/pipe.S: Likewise.
50980 * sysdeps/unix/i386/sigreturn.S: Likewise.
50981 * sysdeps/unix/i386/syscall.S: Likewise.
50982 * sysdeps/unix/i386/vfork.S: Likewise.
50983 * sysdeps/unix/i386/wait.S: Likewise.
50985 * sysdeps/unix/common/tcsendbrk.c: Move to ...
50986 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50988 * configure.in (arm*-none*): Do not allow without
50989 --enable-hacker-mode.
50990 (netbsd*): Remove case setting base_os.
50991 (386bsd*): Likewise.
50992 (freebsd*): Likewise.
50995 (sunos*): Likewise.
50996 (ultrix*): Likewise.
50997 (newsos*): Likewise.
50998 (dynix*): Likewise.
51004 (minix*): Likewise.
51005 (irix4*): Likewise.
51006 (irix6*): Likewise.
51007 (solaris[2-9]*): Likewise.
51009 * configure: Regenerated.
51011 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51014 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51015 overflow or cancellation in calculating denominator.
51016 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51017 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51018 down expression to avoid unexpected rounding in newer GCCs.
51019 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51021 2012-04-26 David S. Miller <davem@davemloft.net>
51023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51024 long-double compat symbols.
51025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51039 2012-04-25 David S. Miller <davem@davemloft.net>
51041 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51042 HWCAP_* values only after the memory barriers have been defined.
51043 (atomic_full_barrier): Define.
51044 (atomic_read_barrier): Define.
51045 (atomic_write_barrier): Define.
51047 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51049 * shlib-versions: Add libgcc_s version information.
51050 * sysdeps/generic/libgcc_s.h: Remove.
51051 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51053 * sysdeps/gnu/unwind-resume.c: Likewise.
51054 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51056 2012-04-25 David S. Miller <davem@davemloft.net>
51058 * sysdeps/unix/sparc/brk.S: Delete.
51059 * sysdeps/unix/sparc/dl-brk.S: Delete.
51060 * sysdeps/unix/sparc/pipe.S: Delete.
51061 * sysdeps/unix/sparc/sysdep.S: Delete.
51062 * sysdeps/unix/sparc/sysdep.h: Delete.
51063 * sysdeps/unix/sparc/vfork.S: Delete.
51064 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51065 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51066 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51067 (ret_ERRVAL, r0, r1, MOVE): Define.
51068 (JUMPTARGET): Remove.
51069 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51070 sysdeps/unix/sparc/sysdep.h
51071 (ENTRY, END): Remove.
51072 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51074 2012-04-25 Joseph Myers <joseph@codesourcery.com>
51076 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51077 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51080 * timezone/README: Update upstream location and email address for
51082 * timezone/zdump.c: Update from tzcode 2012b.
51083 * timezone/zic.c: Likewise.
51085 * configure.in (libc_cv_as_needed): Remove test.
51086 * configure: Regenerated.
51087 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51088 conditional definition.
51089 [$(have-as-needed) != yes] (no-as-needed): Likewise.
51090 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51091 * config.make.in (have-as-needed): Remove variable.
51093 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51094 Paul Pluzhnikov <ppluzhnikov@google.com>
51096 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51099 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
51101 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51102 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51103 * sysdeps/sh/strlen.S: Likewise.
51105 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51107 * sysdeps/unix/fork.S: Remove file.
51108 * sysdeps/unix/i386/fork.S: Likewise.
51109 * sysdeps/unix/sparc/fork.S: Likewise.
51111 * sysdeps/unix/system.c: Remove file.
51112 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51114 * sysdeps/unix/getegid.S: Remove file.
51115 * sysdeps/unix/geteuid.S: Likewise.
51117 2012-04-24 Roland McGrath <roland@hack.frob.com>
51119 * scripts/check-localplt.awk: New file.
51120 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51122 * scripts/data/localplt-generic.data: Add a comment.
51124 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51125 NODE when __dir_mkfile failed.
51126 * sysdeps/mach/hurd/symlinkat.c: Likewise.
51127 Reported by Ludovic Courtès <ludo@gnu.org>.
51129 2012-04-24 Andreas Jaeger <aj@suse.de>
51131 * Makerules (common-clean): Also remove gen-as-const-headers
51134 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51136 * Makerules (native-compile): Do not change working directory for
51137 build. Use $(OUTPUT_OPTION) in command.
51138 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51140 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51143 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51144 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51145 * math/libm-test.inc (floor_test): Add more tests.
51146 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51148 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51150 * sysdeps/unix/getdents.c: Remove file.
51151 * sysdeps/unix/sysv/getdents.c: Likewise.
51152 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51154 * sysdeps/unix/syscalls.list (madvise): Add syscall from
51155 sysdeps/unix/mman/syscalls.list.
51157 (mprotect): Likewise.
51159 (munmap): Likewise.
51160 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51161 * sysdeps/unix/mman/syscalls.list: Remove.
51162 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51164 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51165 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51166 * configure: Regenerated.
51167 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51168 $(libgcc_s_suffix).
51169 * config.make.in (libgcc_s_suffix): Remove variable.
51171 2012-04-23 Joseph Myers <joseph@codesourcery.com>
51173 * sysdeps/unix/sysv/gethostname.c: Move to ...
51174 * sysdeps/posix/gethostname.c: ... here.
51176 * sysdeps/unix/execve.S: Remove file.
51178 * sysdeps/unix/_exit.S: Remove file.
51180 2012-04-23 Andreas Jaeger <aj@suse.de>
51183 * manual/Makefile: Remove make dist support, there's no
51184 need for a stand-alone documentation tar ball.
51185 (TEXI2DVI): Define always, it's not in Makeconfig.
51188 (edition): Removed.
51189 (glibc-doc-$(edition).tar): Removed
51193 (ETAGS): Remove, it's in Makeconfig.
51194 (move-if-change): Remove, it's in Makeconfig.
51196 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
51199 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51200 (strtod, strtof, strtold, strtol, strtoul, strtoq)
51201 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51202 (strtod_l, strtof_l, strtold_l): Remove __wur.
51203 It is not necessarily an error to ignore strtol's return value.
51204 One can reliably look at the stored endptr to decide whether
51205 the number had valid syntax.
51207 2012-04-21 Andreas Jaeger <aj@suse.de>
51210 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51212 2012-04-21 Joseph Myers <joseph@codesourcery.com>
51214 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51215 * sysdeps/unix/sysv/Versions: Remove file.
51217 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
51220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51222 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
51225 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51226 version from __vm86.
51228 2012-04-20 Joseph Myers <joseph@codesourcery.com>
51230 * sysdeps/unix/common/lxstat.c: Remove file.
51231 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51233 * sysdeps/unix/sysv/Makefile: Remove file.
51235 * sysdeps/unix/sysv/direct.h: Remove file.
51237 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51238 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51239 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51240 * sysdeps/unix/sysv/bits/signum.h: Likewise.
51241 * sysdeps/unix/sysv/bits/stat.h: Likewise.
51242 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51243 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51245 * sysdeps/unix/sysv/setrlimit.c: Remove file.
51247 * sysdeps/unix/xmknod.c: Remove file.
51248 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51250 * sysdeps/unix/sysv/settimeofday.c: Remove file.
51252 * sysdeps/unix/sysv/i386/time.S: Remove file.
51254 * sysdeps/unix/fxstat.c: Remove file.
51255 * sysdeps/unix/xstat.c: Likewise.
51256 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51258 * sysdeps/unix/sysv/sigaction.c: Remove file.
51260 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51261 (sysdep_headers): Remove variable.
51262 [termio.h not in sysdep_headers] (generated): Likewise.
51263 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51264 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51265 * sysdeps/unix/sysv/tcdrain.c: Likewise.
51266 * sysdeps/unix/sysv/tcflow.c: Likewise.
51267 * sysdeps/unix/sysv/tcflush.c: Likewise.
51268 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51269 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51270 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51271 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51272 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51274 * sysdeps/unix/siglist.c: Remove file.
51276 * sysdeps/unix/getppid.S: Remove file.
51278 * sysdeps/unix/mkdir.c: Remove file.
51279 * sysdeps/unix/rmdir.c: Likewise.
51281 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
51283 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51285 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51286 errlist-compat value.
51288 2012-04-18 David S. Miller <davem@davemloft.net>
51290 * sysdeps/generic/memcopy.h (reg_char): Delete.
51291 * debug/strcat_chk.c: Use char, not reg_char.
51292 * debug/strcpy_chk.c: Likewise.
51293 * debug/strncat_chk.c: Likewise.
51294 * debug/strncpy_chk.c: Likewise.
51295 * string/memchr.c: Likewise.
51296 * string/memrchr.c: Likewise.
51297 * string/rawmemchr.c: Likewise.
51298 * string/strcat.c: Likewise.
51299 * string/strchr.c: Likewise.
51300 * string/strchrnul.c: Likewise.
51301 * string/strcmp.c: Likewise.
51302 * string/strcpy.c: Likewise.
51303 * string/strncat.c: Likewise.
51304 * string/strncmp.c: Likewise.
51305 * string/strncpy.c: Likewise.
51307 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51309 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51310 __builtin_memcopy is called when src and dest ranges are known to not
51313 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51315 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51316 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51317 fwd_align_merge macro call.
51318 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51319 bwd_align_merge macro call.
51320 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51322 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51324 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51325 bwd_align_merge macros.
51326 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51327 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51328 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51330 2012-04-18 David S. Miller <davem@davemloft.net>
51332 * sysdeps/sparc/sparc64/memcopy.h: Delete.
51334 2012-04-18 Andreas Jaeger <aj@suse.de>
51337 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51338 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51339 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51341 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51342 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51343 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51345 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51346 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51347 Adjust for changed ldbl-128 files.
51349 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51350 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51351 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51353 2012-04-17 David S. Miller <davem@davemloft.net>
51355 * sysdeps/sparc/sparc32/memcopy.h: Delete.
51357 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
51359 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51360 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51361 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51362 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51363 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51364 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51366 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51369 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51370 * math/libm-test.inc: Add ilogb errno and exception tests.
51371 * math/w_ilogb.c: New file: ilogb wrapper.
51372 * math/w_ilogbf.c: New file: ilogbf wrapper.
51373 * math/w_ilogbl.c: New file: ilogbl wrapper.
51374 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51375 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51376 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51377 exception being thrown with 0.0 as argument.
51378 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51379 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51380 exception being thrown with 0.0 as argument.
51381 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51382 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51383 exception being thrown with 0.0 as argument.
51384 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51385 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51386 exception being thrown with 0.0 as argument.
51387 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51388 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51389 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51390 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51391 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51392 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51393 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51394 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51395 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51397 2012-04-17 Petr Baudis <pasky@ucw.cz>
51399 * include/sys/uio.h: Change __vector to __iovec to avoid clash
51402 2012-04-16 Marek Polacek <polacek@redhat.com>
51404 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51406 2012-04-16 Marek Polacek <polacek@redhat.com>
51408 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51409 operands of fdivp instruction.
51411 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
51413 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51414 * elf/tst-auditmod3b.c: Likewise.
51415 * elf/tst-auditmod4b.c: Likewise.
51416 * elf/tst-auditmod5b.c: Likewise.
51417 * elf/tst-auditmod6b.c: Likewise.
51418 * elf/tst-auditmod6c.c: Likewise.
51419 * elf/tst-auditmod7b.c: Likewise.
51420 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51421 * sysdeps/x86_64/preconfigure.in: Likewise.
51422 * sysdeps/x86_64/preconfigure: Regenerated.
51424 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
51426 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51429 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
51431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51432 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51434 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
51437 * locale/iso-639.def: Fix gl language name. Spotted by
51440 2012-04-12 Roland McGrath <roland@hack.frob.com>
51443 * libio/libio.h (__io_write_fn): Update comment.
51445 2012-04-12 Petr Baudis <pasky@ucw.cz>
51448 * stdio.texi (Hook Functions): The user provided writer function
51449 is not allowed to return -1.
51451 2012-04-11 David S. Miller <davem@davemloft.net>
51453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51455 2012-04-11 Mike Frysinger <vapier@gentoo.org>
51457 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51458 Add a leading slash to rtkaio.
51460 2012-04-11 Jim Meyering <meyering@redhat.com>
51463 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51464 It is not necessarily an error to ignore fwrite's return
51465 value. One can reliably use ferror to test for errors after
51468 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51470 * bits/types.h (__snseconds_t): New type.
51471 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51473 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51474 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51475 (__SNSECONDS_T_TYPE): Likewise.
51476 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51477 (__SNSECONDS_T_TYPE): Likewise.
51478 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51479 (__SNSECONDS_T_TYPE): Likewise.
51481 2012-04-10 Andreas Jaeger <aj@suse.de>
51484 * manual/time.texi (Processor Time): Return type of times is
51485 elapsed real time since an arbitrary point in the past.
51486 (CPU Time): Move CLK_TCK from here...
51487 (Processor Time): ...to here. Correct description.
51488 * manual/conf.texi (Constants for Sysconf): Correct description of
51491 2012-04-10 David S. Miller <davem@davemloft.net>
51494 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51495 where the is a gap between DT_REL(A) and DT_JMPREL.
51497 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51499 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51500 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51501 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51503 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
51505 * elf/dl-support.c (_dl_inhibit_cache): New variable.
51506 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51507 (dl_main): Handle --inhibit-cache.
51508 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51510 * elf/dl-load.c (_dl_map_object): Use it.
51511 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51513 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51516 * sysdeps/i386/fpu/e_powl.S (p78): New object.
51517 (__ieee754_powl): Saturate large exponents rather than testing for
51518 overflow of y*log2(x).
51519 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51520 * math/libm-test.inc (pow_test): Do not permit spurious overflow
51524 * math/s_ctan.c: Include <float.h>.
51525 (__ctan): Avoid internal overflow or cancellation in calculating
51527 * math/s_ctanf.c: Likewise.
51528 * math/s_ctanl.c: Likewise.
51529 * math/s_ctanh.c: Likewise.
51530 * math/s_ctanhf.c: Likewise.
51531 * math/s_ctanhl.c: Likewise.
51532 * math/libm-test.inc (ctan_test): Add more tests.
51533 (ctanh_test): Likewise.
51534 * sysdeps/i386/fpu/libm-test-ulps: Update.
51535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51537 2012-04-09 Andreas Jaeger <aj@suse.de>
51540 * manual/filesys.texi (Directory Entries): Mention that d_namlen
51541 is an optional BSD extension.
51544 * manual/stdio.texi (Opening Streams): Document additional fopen
51547 2012-04-09 Roland McGrath <roland@hack.frob.com>
51549 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51550 %eax without telling the compiler.
51552 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
51555 * manual/install.texi: Use sourceware.org.
51557 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51560 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51561 (__ieee754_pow): Generate overflow and underflow using huge*huge
51562 and tiny*tiny rather than just returning constant infinity or zero
51563 for large exponents.
51564 * math/libm-test.inc (pow_test): Require overflow exceptions for
51565 applicable cases of large exponents.
51568 * sysdeps/i386/fpu/e_pow.S (p10): New object.
51569 (__ieee754_pow): Use iterative multiplication algorithm only for
51570 integer exponents with absolute value below 1024. Check for odd
51571 integer exponents when using algorithm for real exponents.
51572 * math/libm-test.inc (pow_test): Add more tests.
51573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51575 2012-04-08 Joseph Myers <joseph@codesourcery.com>
51578 * math/libm-test.inc (exp_test): Do not allow overflow exception
51581 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
51584 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51585 instead of __kernel_standard_f.
51587 2012-04-08 Mike Frysinger <vapier@gentoo.org>
51589 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51590 * sysdeps/x86_64/memset_chk.S: Likewise.
51592 2012-04-08 Andreas Jaeger <aj@suse.de>
51595 * manual/startup.texi (Environment Access): Describe return value
51596 for putenv and setenv.
51599 * manual/filesys.texi (Directory Entries): Add description for
51603 * manual/filesys.texi (Directory Entries): Clarify that it's file
51604 system not operating system in the description of DT_UNKNOWN.
51607 * manual/syslog.texi (closelog): Fix reference, it's openlog.
51609 2012-04-08 Stephen Compall <s11@member.fsf.org>
51612 * manual/llio.texi (Opening and Closing Files): Add cross
51613 reference to explain mode argument.
51615 2012-04-07 Mike Frysinger <vapier@gentoo.org>
51617 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51618 * sysdeps/x86_64/memset_chk.S: Likewise.
51620 2012-04-07 David S. Miller <davem@davemloft.net>
51622 * elf/elf.h (R_SPARC_WDISP10): Define.
51623 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51625 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51626 R_SPARC_SIZE64 and R_SPARC_H34.
51628 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
51630 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51631 conditions and remove no longer applicable assertion.
51633 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51635 * bits/byteswap.h: Include <features.h>.
51636 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51637 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51639 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51641 * bits/byteswap.h (__bswap_16): Removed.
51642 Include <bits/byteswap-16.h> to get __bswap_16.
51643 * sysdeps/i386/bits/byteswap.h: Likewise.
51644 * sysdeps/s390/bits/byteswap.h: Likewise.
51645 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51646 * bits/byteswap-16.h: New file.
51647 * sysdeps/i386/bits/byteswap-16.h: Likewise.
51648 * sysdeps/s390/bits/byteswap-16.h: Likewise.
51649 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51650 * string/Makefile (headers): Add bits/byteswap-16.h.
51652 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51655 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51657 * nss/Makefile (tests-static, tests): Add tst-nss-static.
51658 * nss/tst-nss-static.c: New.
51660 2012-04-06 Robert Millan <rmh@gnu.org>
51663 * manual/llio.texi (File Position Primitive): lseek
51664 refers to WHENCE when it really means OFFSET.
51666 2012-04-06 Andreas Jaeger <aj@suse.de>
51668 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51669 strncmp declarations.
51671 * abilist/libc.abilist: Add __poll and __ppoll.
51673 2012-04-05 David S. Miller <davem@davemloft.net>
51675 * scripts/check-local-headers.sh: Accept a host triplet in the
51676 path matched by the exclude regexp.
51678 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51680 * sysdeps/powerpc/powerpc32/dl-machine.h
51681 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51682 * sysdeps/s390/s390-32/dl-machine.h
51683 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51684 * sysdeps/sparc/sparc32/dl-machine.h
51685 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51686 * sysdeps/sparc/sparc64/dl-machine.h
51687 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51689 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51691 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51692 undefined symbol errors.
51694 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51697 2012-04-05 Michael Matz <matz@suse.de>
51700 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51702 2012-04-05 Andreas Jaeger <aj@suse.de>
51705 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51708 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51710 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51711 which ROUND is no valid rounding mode.
51713 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51715 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51717 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51719 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51721 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51722 an exception using FPU order intentionally.
51724 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51726 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51727 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51728 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51729 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51731 2012-04-05 Simon Josefsson <simon@josefsson.org>
51734 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51735 EINVAL when BUFLEN is too smal.
51737 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
51740 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51741 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51743 2012-04-03 Andreas Jaeger <aj@suse.de>
51746 * manual/setjmp.texi (System V contexts): Fix sentence.
51749 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51750 New macro for this case.
51751 [!__GNUC__] (__bswap_64): New inline function for this case.
51752 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51753 * bits/byteswap.h: Likewise.
51754 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51755 ull, guard with __GLIBC_HAVE_LONG_LONG.
51757 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51758 __GLIBC_HAVE_LONG_LONG.
51760 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51761 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51763 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51766 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51767 inptr and inend, rather than using last_ch.
51769 2012-04-02 David S. Miller <davem@davemloft.net>
51771 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51772 * stdio-common/printf-parse.h (read_int): Change return type to
51773 'int', return -1 on INT_MAX overflow.
51774 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51775 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
51776 overflows INT_MAX. Check for overflow of in-format-string precision
51777 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
51778 SIZE_MAX not INT_MAX for integer overflow test.
51779 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51780 skip the construct in the format string but do not record anything.
51781 * stdio-common/bug22.c: Adjust to test both width/prevision
51782 INT_MAX overflow as well as total length INT_MAX overflow. Check
51783 explicitly for proper errno values.
51785 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
51787 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51789 * string/test-strcmp.c [! WIDE]: Likewise.
51790 * time/tst-mktime2.c: Likewise for INT_MAX.
51791 * string/test-string.h: #include <sys/param.h> for MIN.
51793 * csu/init-first.c (__libc_init_first): Call __ctype_init.
51794 * sysdeps/i386/init-first.c (init): Likewise.
51795 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51796 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51797 * sysdeps/sh/init-first.c (init): Likewise.
51799 2012-04-01 Ulrich Drepper <drepper@gmail.com>
51801 * po/ru.po: Update from translation team.
51802 * po/vi.po: Likewise.
51804 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
51806 * resolv/nss_dns/dns-host.c: Merge copyright years.
51808 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51810 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51811 Optimize memcpy with prefetch if
51812 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
51813 src, dst pointers have unequal 16 byte alignments.
51815 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51818 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51819 from a CNAME entry and return the minimum ttl for the query.
51820 (gaih_getanswer_slice): Likewise.
51822 2012-03-30 Jeff Law <law@redhat.com>
51824 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51826 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51827 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51829 * resolv/nss_dns/dns-host.c: Update copyright year.
51831 2012-03-30 Ulrich Drepper <drepper@gmail.com>
51833 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51834 requests to save a system call. Fix check that all bytes are sent.
51836 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51837 comments for sendmmsg.
51839 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51842 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51843 with only 1 character between 0x0041 and 0x01b0.
51844 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51845 * wcsmbs/tst-mbsnrtowcs.c: New file.
51847 2012-03-29 David S. Miller <davem@davemloft.net>
51849 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51850 small copies by hand.
51852 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51855 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51856 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51859 2012-03-28 David S. Miller <davem@davemloft.net>
51861 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51862 that branches into memcpy.
51863 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51864 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51865 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51866 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51867 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51869 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51870 implementation too.
51871 * sysdeps/sparc/mempcpy.S: New file.
51873 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51874 the IFUNC routine in the libc case.
51875 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51877 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51878 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51879 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51880 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51881 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51882 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51883 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51884 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51886 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51887 loop to 256 bytes instead of 64 bytes and fix test signedness.
51889 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51890 * sysdeps/sparc/sparc32/Makefile: rather than here...
51891 * sysdeps/sparc/sparc64/Makefile: and here.
51893 2012-03-28 Ulrich Drepper <drepper@gmail.com>
51895 * malloc/mallocbug.c: Avoid warnings about unused variables.
51897 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51900 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51901 in the right place. Discard and retry query if response is
51902 larger than input buffer size.
51904 2012-03-28 Joseph Myers <joseph@codesourcery.com>
51909 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51910 x for large integer exponent.
51911 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51912 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
51913 sign of result as needed afterwards.
51914 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51915 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51916 result for underflowing pow the same as for overflow.
51917 (__kernel_standard_l): Handle powl overflow and underflow here
51918 rather than calling __kernel_standard.
51919 * math/libm-test.inc (pow_test): Add more tests.
51934 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51935 * sysdeps/ieee754/k_standard.c: Include <float.h>.
51936 (__kernel_standard_l): New function.
51937 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51939 * math/w_acosl.c (__acosl): Likewise.
51940 * math/w_asinl.c (__asinl): Likewise.
51941 * math/w_atan2l.c (__atan2l): Likewise.
51942 * math/w_atanhl.c (__atanhl): Likewise.
51943 * math/w_coshl.c (__coshl): Likewise.
51944 * math/w_exp10l.c (__exp10l): Likewise.
51945 * math/w_exp2l.c (__exp2l): Likewise.
51946 * math/w_fmodl.c (__fmodl): Likewise.
51947 * math/w_hypotl.c (__hypotl): Likewise.
51948 * math/w_j0l.c (__j0l, __y0l): Likewise.
51949 * math/w_j1l.c (__j1l, __y1l): Likewise.
51950 * math/w_jnl.c (__jnl, __ynl): Likewise.
51951 * math/w_lgammal.c (__lgammal): Likewise.
51952 * math/w_log10l.c (__log10l): Likewise.
51953 * math/w_log2l.c (__log2l): Likewise.
51954 * math/w_logl.c (__logl): Likewise.
51955 * math/w_powl.c (__powl): Likewise.
51956 * math/w_remainderl.c (__remainderl): Likewise.
51957 * math/w_scalbl.c (sysv_scalbl): Likewise.
51958 * math/w_sinhl.c (__sinhl): Likewise.
51959 * math/w_sqrtl.c (__sqrtl): Likewise.
51960 * math/w_tgammal.c (__tgammal): Likewise.
51961 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51962 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51963 * math/libm-test.inc (acos_test): Add more tests.
51964 (acosh_test): Likewise.
51965 (asin_test): Likewise.
51966 (atanh_test): Likewise.
51967 (exp_test): Likewise.
51968 (exp10_test): Likewise.
51969 (exp2_test): Likewise.
51970 (expm1_test): Likewise.
51971 (lgamma_test): Likewise.
51972 (log_test): Likewise.
51973 (log10_test): Likewise.
51974 (log1p_test): Likewise.
51975 (log2_test): Likewise.
51976 (pow_test): Do not allow some spurious overflow exceptions.
51977 (sqrt_test): Add more tests.
51978 (tgamma_test): Likewise.
51979 (y0_test): Likewise.
51980 (y1_test): Likewise.
51981 (yn_test): Likewise.
51983 2012-03-27 Anton Blanchard <anton@samba.org>
51985 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51987 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51988 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51989 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51991 2012-03-27 David S. Miller <davem@davemloft.net>
51993 * conform/Makefile: Run run-conformtest.sh using $(BASH).
51995 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51996 have-as-vis3 check.
51998 2012-03-27 Andreas Jaeger <aj@suse.de>
52000 * sysdeps/x86_64/elf/configure.in: Moved to ...
52001 * sysdeps/x86_64/configure.in: ... here.
52002 * sysdeps/x86_64/elf/start.S: Moved to ...
52003 * sysdeps/x86_64/start.S: ... here.
52004 * sysdeps/x86_64/elf/configure: Delete.
52006 * sysdeps/x86_64/configure.in: Merge contents from
52007 sysdeps/i386/configure.in (without i686 check).
52009 * sysdeps/i386/elf/Versions: Merge into ...
52010 * sysdeps/i386/Versions: ... this.
52011 * sysdeps/i386/elf/Versions: Delete file.
52012 * sysdeps/i386/elf/start.S: Moved to ...
52013 * sysdeps/i386/start.S: ...here.
52014 * sysdeps/i386/elf/configure.in: Merge into...
52015 * sysdeps/i386/configure.in: ...here.
52016 * sysdeps/i386/elf/configure.in: Delete file.
52017 * sysdeps/i386/elf/configure: Delete file.
52019 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52020 * debug/backtracesyms.c: ... here.
52021 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52022 * debug/backtracesymsfd.c: ... here.
52023 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52024 * sysdeps/generic/ifunc-sel.h: ... here.
52026 * sysdeps/unix/i386/start.c: Delete file.
52027 * sysdeps/unix/sparc/start.c: Delete file.
52028 * sysdeps/unix/start.c: Delete file.
52030 * sysdeps/sh/elf/configure.in: Moved to ...
52031 * sysdeps/sh/configure.in: ... here.
52032 * sysdeps/sh/elf/start.S: Moved to ...
52033 * sysdeps/sh/start.S: ... here.
52034 * sysdeps/sh/elf/configure: Delete file.
52036 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52037 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52038 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52039 * sysdeps/powerpc/powerpc64/entry.h: ... here.
52040 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52041 * sysdeps/powerpc/powerpc64/start.S: here.
52042 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52043 * sysdeps/powerpc/powerpc64/Makefile: ... this.
52044 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52045 * sysdeps/powerpc/powerpc64/configure.in: ... this.
52046 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52048 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52049 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52050 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52051 * sysdeps/powerpc/powerpc32/start.S: ... here.
52052 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52053 * sysdeps/powerpc/powerpc32/configure.in: ... this.
52054 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52056 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52057 * sysdeps/powerpc/ifunc-sel.h: ... here.
52058 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52059 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52061 * sysdeps/sparc/elf/configure.in: Moved to ...
52062 * sysdeps/sparc/configure.in: ... here.
52063 * sysdeps/sparc/elf/configure: Delete file.
52064 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52065 * sysdeps/sparc/sparc32/start.S: ... here.
52066 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52067 * sysdeps/sparc/sparc64/start.S: ... here.
52068 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52069 * sysdeps/sparc/sparc32/Makefile: ... this.
52070 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52071 * sysdeps/sparc/sparc64/Makefile: ... this.
52073 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52074 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52075 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52076 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52077 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52078 * sysdeps/s390/s390-32/setjmp.S: ... here.
52079 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52080 * sysdeps/s390/s390-32/configure.in: ... here.
52081 * sysdeps/s390/s390-32/elf/configure: Delete file.
52082 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52083 * sysdeps/s390/s390-32/start.S: ... here.
52085 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52086 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52087 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52088 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52089 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52090 * sysdeps/s390/s390-64/setjmp.S: ... here.
52091 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52092 * sysdeps/s390/s390-64/configure.in: ... here
52093 * sysdeps/s390/s390-64/elf/configure: Delete file.
52094 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52095 * sysdeps/s390/s390-64/start.S: ... here.
52096 * sysdeps/s390/s390-64/elf/configure: Delete.
52098 * configure.in: Remove support for elf directories in sysdeps.
52100 * configure: Regenerated.
52101 * sysdeps/i386/configure: Regenerated.
52102 * sysdeps/powerpc/powerpc32/configure: Regenerated.
52103 * sysdeps/powerpc/powerpc64/configure: Regenerated.
52104 * sysdeps/s390/s390-32/configure: Regenerated.
52105 * sysdeps/s390/s390-64/configure: Regenerated.
52106 * sysdeps/sh/configure: Regenerated.
52107 * sysdeps/sparc/configure: Regenerated.
52108 * sysdeps/x86_64/configure: Regenerated.
52110 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
52112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52114 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52115 denormal result into account.
52117 2012-03-25 Roland McGrath <roland@hack.frob.com>
52119 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52120 Reported by Allan McRae <allan@archlinux.org>.
52122 2012-03-23 Jeff Law <law@redhat.com>
52124 * nss/getnssent.c (__nss_getent): Fix typo.
52126 2012-03-23 David S. Miller <davem@davemloft.net>
52128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52130 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
52132 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52133 to pad to uint64_t for each field.
52134 (dl_tls_index): Replace unsigned long with uint64_t.
52136 2012-03-23 Daniel Jacobowitz <dmj@google.com>
52137 Paul Pluzhnikov <ppluzhnikov@google.com>
52140 * grp/Makefile (otherlibs): Don't set it.
52141 * inet/Makefile (otherlibs): Likewise.
52142 * login/Makefile (otherlibs): Likewise.
52143 * nscd/Makefile (otherlibs): Likewise.
52144 * posix/Makefile (otherlibs): Likewise.
52145 * pwd/Makefile (otherlibs): Likewise.
52146 * rt/Makefile (otherlibs): Likewise.
52147 * sunrpc/Makefile (otherlibs): Likewise.
52148 * nss/Makefile (otherlibs): Likewise.
52149 Add libnss_files to routines and static-only-routines.
52150 ($(objpfx)getent): Remove rule.
52151 * resolv/Makefile: Add libnss_dns and libresolv to routines and
52152 static-only-routines.
52154 2012-03-22 Joseph Myers <joseph@codesourcery.com>
52157 * math/s_cexp.c: Include <float.h>.
52158 (__cexp): Handle exp result overflowing not necessarily
52159 overflowing both real and imaginary parts of result.
52160 * math/s_cexpf.c: Likewise.
52161 * math/s_cexpl.c: Likewise.
52162 * math/libm-test.inc (cexp_test): Add more tests.
52163 * sysdeps/i386/fpu/libm-test-ulps: Update.
52164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52166 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52168 * include/link.h (ELFW): New macro.
52169 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52170 Replace ELF64_R_TYPE with ELFW(R_TYPE).
52172 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52174 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52177 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52179 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52181 (struct La_x32_retval): Likewise.
52183 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52185 * sysdeps/x86_64/preconfigure.in: New file.
52186 * sysdeps/x86_64/preconfigure: New generated file.
52188 2012-03-22 Joseph Myers <joseph@codesourcery.com>
52191 * math/e_exp2l.c: Include <float.h>.
52192 (__ieee754_exp2l): Handle overflow and underflow cases
52193 separately. Only pass fractional part of argument to
52195 * math/libm-test.inc (exp2_test): Add more tests.
52197 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52198 negating x to take absolute value.
52199 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52201 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52202 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52204 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52205 computing low part if x was negated.
52206 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52208 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52210 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52211 la_x32_gnu_pltexit.
52212 (pltexit): Cast int_retval to ptrdiff_t.
52213 * elf/tst-auditmod3b.c: Likewise.
52214 * elf/tst-auditmod4b.c: Likewise.
52215 * elf/tst-auditmod5b.c: Likewise.
52216 * elf/tst-auditmod6b.c: Likewise.
52217 * elf/tst-auditmod6c.c: Likewise.
52218 * elf/tst-auditmod7b.c: Likewise.
52220 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52221 and x32_gnu_pltexit.
52223 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52224 __ELF_NATIVE_CLASS.
52225 (La_x32_regs): New macro.
52226 (La_x32_retval): Likewise.
52227 (la_x32_gnu_pltenter): New function prototype.
52228 (la_x32_gnu_pltexit): Likewise.
52230 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
52232 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52237 * configure.in (libc_cv_cc_nofma): Check for option to disable
52238 generation of FMA instructions.
52239 * configure: Regenerate.
52240 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52241 * sysdeps/ieee754/dbl-64/Makefile: New file.
52242 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52243 Remove brandred-fma4.
52244 (CFLAGS-brandred-fma4.c): Remove.
52245 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52246 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52248 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52251 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52253 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52254 LLONG_MAX != LONG_MAX.
52255 (_itoa_word): Use _ITOA_WORD_TYPE on value.
52256 (_fitoa_word): Likewise.
52257 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52258 LLONG_MAX != LONG_MAX.
52259 * stdio-common/_itowa.h: Include <_itoa.h>.
52260 (_itowa_word): Use _ITOA_WORD_TYPE on value.
52261 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
52262 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
52263 only if not defined.
52264 (_ITOA_WORD_TYPE): Likewise.
52265 (_itoa_word): Use _ITOA_WORD_TYPE on value.
52266 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52268 2012-03-21 David S. Miller <davem@davemloft.net>
52270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52272 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52274 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52275 of x86_64 when setting libc_cv_slibdir, libdir and
52277 * sysdeps/unix/sysv/linux/configure: Regenerated.
52279 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52281 * manual/lang.texi (Old Varargs): Remove section.
52282 (How Variadic): Update menu.
52283 (va_start): Do not mention varargs.h.
52285 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
52286 Joseph Myers <joseph@codesourcery.com>
52288 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52290 * configure: Regenerated.
52292 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
52294 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52295 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52298 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52301 * Makefile (files-for-dist): Remove NOTES.
52302 (NOTES): Remove rule.
52303 * README: Don't refer to NOTES.
52304 * manual/creature.texi: Don't include macros.texi.
52305 * manual/intro.texi (creature.texi): Remove comment referring to
52308 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52309 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52310 * configure: Regenerated.
52311 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52312 LIBC_TRY_CC_OPTION.
52313 (libc_cv_as_i686): Likewise.
52314 (libc_cv_cc_avx): Likewise.
52315 (libc_cv_cc_sse2avx): Likewise.
52316 (libc_cv_cc_fma4): Likewise.
52317 (libc_cv_cc_novzeroupper): Likewise.
52318 * sysdeps/i386/configure: Regenerated.
52321 * sysdeps/i386/fpu/s_cexp.S: Remove.
52322 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52323 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52324 * math/libm-test.inc (cexp_test): Add more tests.
52325 * sysdeps/i386/fpu/libm-test-ulps: Update.
52326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52328 2012-03-21 Allan McRae <allan@archlinux.org>
52330 * timezone/Makefile: Do not install iso3166.tab and zone.tab
52332 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52335 * math/w_exp2.c: Do not include <float.h>.
52336 (o_threshold, u_threshold): Remove.
52337 (__exp2): Calculate result before checking finiteness and calling
52339 * math/w_exp2f.c: Likewise.
52340 * math/w_exp2l.c: Likewise.
52341 * math/libm-test.inc (exp2_test): Require overflow exception for
52345 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52346 range of signed 64-bit integers before using fistpll. Remove
52347 checks for whether integers fit in mantissa bits.
52348 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52349 the range of signed 32-bit integers before using fistpl. Remove
52350 checks for whether integers fit in mantissa bits.
52351 * sysdeps/i386/fpu/e_powl.S (p64): New object.
52352 (__ieee754_powl): Test for y outside the range of signed 64-bit
52353 integers before using fistpll. Reduce 64-bit values to 63-bit
52355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52356 divide-by-zero is raised for zero to large negative powers.
52357 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52358 (__ieee754_powl): Test for y outside the range of signed 64-bit
52359 integers before using fistpll. Reduce 64-bit values to 63-bit
52361 * math/libm-test.inc (pow_test): Add more tests.
52363 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52365 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52366 <stdio-common/_itoa.h>.
52367 * debug/segfault.c: Likewise.
52368 * elf/dl-cache.c: Likewise.
52369 * elf/dl-minimal.c: Likewise.
52370 * elf/dl-misc.c: Likewise.
52371 * elf/dl-sysdep.c: Likewise.
52372 * elf/dl-version.c: Likewise.
52373 * elf/rtld.c: Likewise.
52374 * hurd/hurdsock.c: Likewise.
52375 * hurd/lookup-retry.c: Likewise.
52376 * malloc/malloc.c: Likewise.
52377 * malloc/mtrace.c: Likewise.
52378 * nscd/nscd_getgr_r.c: Likewise.
52379 * nscd/nscd_getpw_r.c: Likewise.
52380 * nscd/nscd_getserv_r.c: Likewise.
52381 * posix/getopt_init.c: Likewise.
52382 * posix/wordexp.c: Likewise.
52383 * stdio-common/_itoa.c: Likewise.
52384 * stdio-common/printf_fphex.c: Likewise.
52385 * stdio-common/vfprintf.c: Likewise.
52386 * string/_strerror.c: Likewise.
52387 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52388 * sysdeps/i386/i686/hp-timing.h: Likewise.
52389 * sysdeps/mach/_strerror.c: Likewise.
52390 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52391 * sysdeps/mach/hurd/sethostid.c: Likewise.
52392 * sysdeps/mach/hurd/xmknodat.c: Likewise.
52393 * sysdeps/mach/xpg-strerror.c: Likewise.
52394 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52395 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52396 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52397 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52398 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52399 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52400 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52401 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52402 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52403 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52404 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52405 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52406 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52407 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52408 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52409 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52410 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52411 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52412 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52413 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52414 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52416 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52418 * stdio-common/_itoa.h: Moved to ...
52419 * sysdeps/generic/_itoa.h: Here.
52421 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52423 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52424 instead of "_itoa.h" and "_itowa.h".
52425 * stdio-common/vfprintf.: Likewise.
52427 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52429 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52431 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52432 (__signbit): Likwise.
52433 (llrintf): Likwise.
52436 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52438 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52441 2012-03-20 Joseph Myers <joseph@codesourcery.com>
52443 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52444 OVERFLOW_EXCEPTION_OK.
52445 * math/libm-test.inc ("Philosophy"): Update comment about
52447 (OVERFLOW_EXCEPTION): Define.
52448 (OVERFLOW_EXCEPTION_OK): Likewise.
52449 (INVALID_EXCEPTION_OK): Renumber.
52450 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52451 (IGNORE_ZERO_INF_SIGN): Likewise.
52452 (test_exceptions): Handle FE_OVERFLOW.
52453 (exp10_test): Expect overflow exceptions.
52454 (exp2_test): Likewise.
52455 (expm1_test): Likewise.
52456 (nextafter_test): Likewise.
52457 (pow_test): Likewise.
52458 (scalbn_test): Likewise.
52459 (scalbln_test): Likewise.
52461 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52463 * sysdeps/x86_64/bits/atomic.h
52464 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52466 (atomic_exchange_acq): Likewise.
52467 (__arch_exchange_and_add_body): Likewise.
52468 (__arch_add_body): Likewise.
52469 (atomic_add_negative): Likewise.
52470 (atomic_add_zero): Likewise.
52472 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52474 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52475 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52477 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52479 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52480 Check __x86_64__ instead of __WORDSIZE.
52482 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52484 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52486 2012-03-19 David S. Miller <davem@davemloft.net>
52488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52490 * sysdeps/sparc/fpu/fenv_private.h: New file.
52491 * sysdeps/sparc/fpu/math_private.h: Use it.
52492 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52494 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52495 (libc_feholdexcept_setroundl): Remove.
52496 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52498 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52499 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52501 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52503 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52504 int64_t instead of long int.
52505 (INSERT_WORDS64): Likwise.
52507 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52509 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52510 _Unwind_GetCFA return to _Unwind_Ptr first.
52512 2012-03-19 Joseph Myers <joseph@codesourcery.com>
52515 * math/s_clog.c: Include <float.h>.
52516 (__clog): Scale large or subnormal inputs.
52517 * math/s_clogf.c: Likewise.
52518 * math/s_clogl.c: Likewise.
52519 * math/s_clog10.c: Include <float.h>.
52520 (M_LOG10_2): Define.
52521 (__clog10): Scale large or subnormal inputs.
52522 * math/s_clog10f.c: Likewise.
52523 * math/s_clog10l.c: Likewise.
52524 * math/libm-test.inc (clog_test): Add more tests.
52525 (clog10_test): Likewise.
52526 * sysdeps/i386/fpu/libm-test-ulps: Update.
52527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52530 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52532 * math/libm-test.inc (atan2_test): Add another test.
52534 * Makerules (common-objdir-compile): Remove.
52535 * sysdeps/unix/Makefile (config-generated): Do not add
52536 $(unix-generated) to variable.
52537 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52538 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52540 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52542 [generic bits/local_lim.h] (before-compile): Do not append to
52544 [generic bits/local_lim.h] (common-generated): Likewise.
52545 [generic sys/param.h] (before-compile): Do not append to variable.
52546 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52547 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52548 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52549 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52551 [generic sys/param.h] (sys/param.h-includes): Remove variable.
52552 [generic sys/param.h] (sys/param.h-includes): Remove rule.
52553 [generic sys/param.h] ($(addprefix
52554 $(common-objpfx),$(sys/param.h-includes))): Likewise.
52555 [generic sys/param.h] (common-generated): Do not append to
52557 [generic sys/param.h] (sysdep_headers): Likewise.
52558 [generic bits/errno.h] (before-compile): Do not append to
52560 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52562 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52563 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52564 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52565 [generic bits/errno.h] (common-generated): Do not append to
52567 [generic bits/ioctls.h] (before-compile): Do not append to
52569 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52571 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52572 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52573 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52575 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52576 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52577 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52578 [generic bits/ioctls.h] (common-generated): Do not append to
52580 [generic sys/syscall.h] (syscall.h): Remove variable.
52581 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52583 [generic sys/syscall.h] (before-compile): Do not append to
52585 [generic sys/syscall.h] (common-generated): Likewise.
52586 * sysdeps/unix/errnos-tmpl.c: Remove file.
52587 * sysdeps/unix/errnos.awk: Likewise.
52588 * sysdeps/unix/ioctls-tmpl.c: Likewise.
52589 * sysdeps/unix/ioctls.awk: Likewise.
52590 * sysdeps/unix/mk-local_lim.c: Likewise.
52591 * sysdeps/unix/snarf-ioctls: Likewise.
52593 2012-03-19 Richard Henderson <rth@twiddle.net>
52595 * sysdeps/i386/fpu/fenv_private.h: New file.
52596 * sysdeps/i386/fpu/math_private.h: Use it.
52597 (math_opt_barrier, math_force_eval): Remove.
52598 (libc_feholdexcept_setround_53bit): Remove.
52599 (libc_feupdateenv_53bit): Remove.
52600 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52601 (math_opt_barrier, math_force_eval): Remove.
52602 (libc_feholdexcept): Remove.
52603 (libc_feholdexcept_setround): Remove.
52604 (libc_fetestexcept, libc_fesetenv): Remove.
52605 (libc_feupdateenv_test): Remove.
52606 (libc_feupdateenv, libc_feholdsetround): Remove.
52607 (libc_feresetround): Remove.
52609 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52610 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52612 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52613 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52614 (libc_feupdateenv_testl): New.
52615 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52616 (libc_feupdateenv_testf): New.
52617 (libc_feupdateenv): Use libc_feupdateenv_test.
52618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52619 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52621 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52622 (libc_feholdsetroundf, libc_feholdsetroundl): New.
52623 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52624 (libc_feresetround_noex): New.
52625 (libc_feresetround_noexf): New.
52626 (libc_feresetround_noexl): New.
52627 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52628 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52629 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52630 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52632 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52635 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52636 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52637 SET_RESTORE_ROUND_NOEX.
52638 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52639 SET_RESTORE_ROUND_NOEXF.
52640 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52641 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52642 (libc_feholdsetroundf): New.
52643 (libc_feresetround, libc_feresetroundf): New.
52645 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52646 (libc_feholdexcept_setround_53bit): Convert from macro to function.
52647 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
52649 * sysdeps/generic/math_private.h: Include <fenv.h>.
52650 (default_libc_feholdexcept): New.
52651 (default_libc_feholdexcept_setround): New.
52652 (default_libc_fesetenv, default_libc_feupdateenv): New.
52653 (libc_feholdexcept): Only define if undefined.
52654 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52655 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52656 (libc_feholdexcept_setroundl): Likewise.
52657 (libc_feholdexcept_setround_53bit): Likewise.
52658 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52659 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52660 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52661 (libc_feupdateenv_53bit): Likewise.
52662 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52663 (libc_feholdexcept): Convert from macro to inline function.
52664 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52665 (libc_fesetenv, libc_feupdateenv): Likewise.
52667 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52668 not previously defined.
52669 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52670 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52671 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52672 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52673 * sysdeps/ieee754/flt-32/math_private.h: New file.
52674 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52675 math_private.h below SET_FLOAT_WORD.
52676 (__isnan, __isinf_ns, __finite): Remove.
52677 (__isnanf, __isinf_nsf, __finitef): Remove.
52679 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
52681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52683 2012-03-17 David S. Miller <davem@davemloft.net>
52686 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52689 2012-03-16 David S. Miller <davem@davemloft.net>
52691 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52695 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52697 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52698 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52699 sysdep_routines when subdir is sysvipc.
52700 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52701 __getshmlba helper.
52703 * sysdeps/sparc/fpu/libm-test/ulps: Update.
52705 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52707 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52710 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52712 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52713 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52714 (__lround): Renamed to ...
52715 (__llround): This. Replace long int with long long int.
52716 Define lround functions as aliases of llround functions.
52717 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52719 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52721 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52722 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
52723 adresses to uintptr_t. Replace "long int" and "unsigned long
52724 int" with "greg_t" on va_arg.
52726 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52728 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52729 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52731 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52732 Move e_machine check before EI_CLASS check. Handle x32
52733 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52734 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52735 SKIP_EM_IA_64 and include
52736 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52738 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52739 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52740 (add_system_dir): New macro.
52742 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52743 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52745 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52756 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52758 * math/w_j0f.c (j0f): Likewise.
52760 * math/w_j0l.c (__j0l): Likewise.
52762 * math/w_j1.c (j1): Likewise.
52764 * math/w_j1f.c (j1f): Likewise.
52766 * math/w_j1l.c (__j1l): Likewise.
52768 * math/w_jn.c (jn): Likewise.
52770 * math/w_jnf.c (jnf): Likewise.
52772 * math/w_jnl.c (__jnl): Likewise.
52774 * math/libm-test.inc (j0_test): Add more tests.
52775 (j1_test): Likewise.
52776 (jn_test): Likewise. Add trailing semicolon to existing test.
52777 (y0_test): Likewise.
52778 (y1_test): Likewise.
52779 * sysdeps/i386/fpu/libm-test-ulps: Update.
52780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52784 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52785 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52786 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52787 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52788 (__tanl): Set errno for infinite argument.
52789 * sysdeps/i386/fpu/mptan.c: Remove.
52790 * sysdeps/i386/fpu/s_tan.S: Likewise.
52791 * sysdeps/i386/fpu/s_tanl.S: Likewise.
52792 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52793 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52794 * math/libm-test.inc (tan_test): Add more tests and enable more
52795 tests for double and long double.
52796 * sysdeps/i386/fpu/libm-test-ulps: Update.
52797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52799 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
52801 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52802 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52804 2012-03-16 Roland McGrath <roland@hack.frob.com>
52806 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52807 * configure.in: Use it for both main tree and add-ons.
52808 * configure: Regenerated.
52810 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52812 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52814 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52816 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52820 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52821 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52822 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52823 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52824 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52826 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52827 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52828 != 0 for prec == 2.
52829 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52830 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52831 * sysdeps/i386/fpu/s_cosl.S: Likewise.
52832 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52833 * sysdeps/i386/fpu/s_sinl.S: Likewise.
52834 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52835 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52836 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52837 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52838 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52839 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52840 * math/libm-test.inc (cos_test): Add more tests and enable more
52841 tests for long double.
52842 (sin_test): Likewise.
52843 (sincos_test): Likewise.
52844 * sysdeps/i386/fpu/libm-test-ulps: Update.
52845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52847 2012-03-16 David S. Miller <davem@davemloft.net>
52849 * sysdeps/sparc/fpu/math_private.h: New file.
52851 2012-03-15 David S. Miller <davem@davemloft.net>
52853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52862 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52867 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52868 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52870 * sysdeps/sparc/sparc-ifunc.h: New file.
52871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52897 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52898 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52909 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52910 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52911 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52912 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52913 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52914 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52916 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52918 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52922 2012-03-15 Andreas Jaeger <aj@suse.de>
52925 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52926 ieee754/flt-32 implementation for sin, cos and sincos.
52927 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52928 * sysdeps/i386/fpu/s_cosf.S: Likewise.
52929 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52930 * sysdeps/i386/fpu/s_sinf.S: Likewise.
52931 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52932 ieee754/flt-32 implementation for tan.
52934 * math/libm-test.inc (cos_test): Enable some large input tests for
52936 (sin_test): Likewise.
52937 (sincos_test): Likewise.
52938 (tan_test): Add tests for large input.
52940 * sysdeps/i386/fpu/libm-test-ulps: Update.
52942 2012-03-15 Andreas Jaeger <aj@suse.de>
52945 * math/libm-test.inc (cos_test): Add more test cases.
52946 (sin_test): Likewise.
52947 (sincos_test): Likewise.
52949 2012-03-15 Andreas Jaeger <aj@suse.de>
52952 * math/libm-test.inc (cos_test): Add a test case for large input
52954 (sin_test): Likewise.
52955 (sincos_test): Likewise.
52957 2012-03-15 Andreas Jaeger <aj@suse.de>
52958 Joseph Myers <joseph@codesourcery.com>
52961 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52962 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52963 * sysdeps/i386/fpu/branred.c: Likewise.
52964 * sysdeps/i386/fpu/dosincos.c: Likewise.
52965 * sysdeps/i386/fpu/mpa.c: Likewise.
52966 * sysdeps/i386/fpu/s_cos.S: Likewise.
52967 * sysdeps/i386/fpu/s_sin.S: Likewise.
52968 * sysdeps/i386/fpu/s_sincos.S: Likewise.
52969 * sysdeps/i386/fpu/sincos32.c: Likewise.
52971 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52973 (libc_feupdateenv_53bit): Define.
52974 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52976 (libc_feupdateenv_53bit): Define.
52978 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52979 53 bit (without extend i386 double precision).
52981 * math/libm-test.inc (sincos_test): Add tests for large input.
52985 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52987 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52991 2012-03-15 David S. Miller <davem@davemloft.net>
52993 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52994 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52995 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52996 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53002 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53020 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53021 fmin/fmax sysdep routines.
53022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53024 2012-03-14 David S. Miller <davem@davemloft.net>
53026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53030 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53031 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53032 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53033 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53041 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53046 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53047 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53048 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53049 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53050 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53051 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53052 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53053 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53054 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53098 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53103 * sysdeps/sparc/configure.in: New file.
53104 * sysdeps/sparc/configure: Generate.
53105 * configure.in (libc_cv_sparc_as_vis3): Substitute.
53106 * configure: Regenerate.
53107 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53108 * config.make.in (have-as-vis3): New.
53109 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53110 available use -Av9d instead of -Av9a.
53111 * sysdeps/sparc/sparc64/Makefile: Likewise.
53112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53121 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53122 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53123 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53124 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53125 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53127 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53128 fzeros/fnegs to load 0x80000000 into a float register instead of
53130 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53132 2012-03-14 Joseph Myers <joseph@codesourcery.com>
53134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53136 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53137 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53138 ($(inst_includedir)/bits/syscall.h): Remove rule.
53139 ($(objpfx)bits/syscall.d): Include instead of
53140 $(objpfx)syscall-list.d.
53141 (generated): Change syscall-list.h and syscall-list.d to
53142 bits/syscall.h and bits/syscall.d.
53144 2012-03-14 Roland McGrath <roland@hack.frob.com>
53147 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53149 2012-03-14 Joseph Myers <joseph@codesourcery.com>
53152 * math/s_csqrt.c: Include <float.h>.
53153 (__csqrt): Scale large or subnormal inputs.
53154 * math/s_csqrtf.c: Likewise.
53155 * math/s_csqrtl.c: Likewise.
53156 * math/libm-test.inc (csqrt_test): Add more tests.
53157 * sysdeps/i386/fpu/libm-test-ulps: Update.
53158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53161 * math/libm-test.inc (hypot_test): Add more tests.
53163 2012-03-13 David S. Miller <davem@davemloft.net>
53166 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53167 double-precision for the calculation instead of scaling.
53169 2012-03-13 Joseph Myers <joseph@codesourcery.com>
53171 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53172 manipulate bits before adding and subtracting TWO52[sx].
53173 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53174 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53176 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53178 2012-03-13 David S. Miller <davem@davemloft.net>
53180 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53181 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53182 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53183 rtld-global-offsets.h
53184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53186 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53189 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53191 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53192 'err' in the ifdef scope in which it is actually used.
53194 * nss/nss_db/db-init.c: Include string.h
53196 2012-03-12 David S. Miller <davem@davemloft.net>
53198 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53199 masking out of the most significant byte of random value used.
53200 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53201 Fix coding style in previous change.
53203 * sysdeps/unix/sysv/linux/kernel-features.h
53204 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53205 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53207 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53210 2012-03-11 David S. Miller <davem@davemloft.net>
53212 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53213 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53214 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53215 for 'resultvar' otherwise things get truncated on 64-bit.
53217 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53218 Fix masking out of the most significant byte of random value used.
53220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53222 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
53224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53226 2012-03-09 David S. Miller <davem@davemloft.net>
53228 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53229 variables with appropriate CPP guards.
53230 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53231 from the frame pointer, not the stack pointer. Correct layout
53232 comments. Fix test on resulting framesize and the management of
53233 the outregs buffer for pltexit. Preserve floating point return
53234 values across _dl_call_pltexit call.
53235 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53236 framesize and the management of the outregs buffer for pltexit.
53237 Preserve floating point return values across _dl_call_pltexit
53239 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53240 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53241 (la_sparc64_gnu_pltexit): New functions.
53242 (print_exit): Fix format string for return register value.
53244 2012-03-10 Joseph Myers <joseph@codesourcery.com>
53246 * sunrpc/Makefile (others): Add rpcgen.
53247 ($(objpfx)rpcgen): Remove special build rule and dependency on
53249 * sunrpc/rpcgen.c: New file.
53251 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
53254 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53255 * stdio-common/bug-vfprintf-nargs.c: Likewise.
53256 * sysdeps/i386/crti.S: Likewise.
53257 * sysdeps/i386/crtn.S: Likewise.
53258 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53259 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53260 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53261 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53262 * sysdeps/sh/crti.S: Likewise.
53263 * sysdeps/sh/crtn.S: Likewise.
53264 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53267 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53269 * locale/programs/locfile-kw.gperf: Likewise.
53270 * locale/programs/charmap-kw.h: Regenerated.
53271 * locale/programs/locfile-kw.h: Likewise.
53274 * intl/plural.y: Replace FSF snail mail address with URL.
53275 * intl/plural.c: Regenerated.
53277 2012-03-09 Richard Henderson <rth@twiddle.net>
53279 * include/math_private.h: Remove file.
53280 * math/math_private.h: Move file ...
53281 * sysdeps/generic/math_private.h: ... here.
53283 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53284 * sysdeps/powerpc/fpu/math_private.h: Likewise.
53285 * sysdeps/x86_64/fpu/math_private.h: Likewise.
53287 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53288 and <math_private.h>.
53289 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53290 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53291 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53292 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53293 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53294 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53295 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53296 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53297 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53298 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53300 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53301 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53302 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53303 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53304 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53305 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53306 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53307 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53308 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53309 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53310 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53311 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53313 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53314 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53315 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53316 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53317 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53318 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53319 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53320 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53321 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53322 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53323 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53324 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53325 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53326 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53327 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53328 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53329 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53330 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53331 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53332 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53333 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53334 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53335 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53336 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53337 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53338 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53339 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53340 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53341 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53342 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53343 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53344 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53345 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53346 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53347 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53348 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53349 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53350 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53351 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53352 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53353 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53354 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53355 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53356 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53357 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53358 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53359 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53360 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53361 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53363 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53364 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53365 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53366 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53367 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53368 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53369 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53370 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53371 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53372 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53373 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53374 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53375 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53376 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53377 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53378 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53379 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53380 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53381 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53382 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53383 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53384 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53385 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53386 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53387 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53388 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53389 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53390 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53391 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53392 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53393 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53394 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53395 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53396 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53397 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53398 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53399 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53400 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53401 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53402 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53403 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53404 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53405 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53406 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53407 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53408 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53409 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53410 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53411 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53412 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53413 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53414 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53415 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53416 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53417 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53418 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53419 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53420 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53421 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53422 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53423 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53424 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53425 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53426 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53427 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53428 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53429 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53430 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53431 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53432 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53433 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53434 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53435 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53436 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53437 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53438 * sysdeps/ieee754/k_standard.c: Likewise.
53439 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53440 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53441 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53442 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53443 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53444 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53445 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53446 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53447 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53448 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53449 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53450 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53451 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53452 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53453 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53454 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53455 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53456 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53457 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53458 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53459 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53460 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53461 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53462 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53463 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53464 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53465 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53466 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53467 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53468 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53469 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53470 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53471 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53472 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53473 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53474 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53475 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53476 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53477 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53478 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53479 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53480 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53481 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53482 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53483 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53484 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53485 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53486 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53487 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53488 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53489 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53490 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53491 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53492 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53493 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53494 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53495 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53496 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53497 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53498 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53499 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53500 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53501 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53502 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53503 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53504 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53505 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53506 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53507 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53508 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53509 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53510 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53511 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53512 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53513 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53514 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53515 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53516 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53517 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53518 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53519 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53520 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53521 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53522 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53523 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53524 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53525 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53526 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53527 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53528 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53529 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53530 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53531 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53532 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53533 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53534 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53535 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53536 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53537 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53538 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53539 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53540 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53541 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53542 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53543 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53544 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53545 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53546 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53547 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53548 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53549 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53550 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53551 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53552 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53553 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53554 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53555 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53556 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53557 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53558 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53559 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53560 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53561 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53562 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53563 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53564 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53565 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53566 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53567 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53568 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53569 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53570 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53571 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53572 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53573 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53574 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53575 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53576 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53577 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53578 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53579 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53580 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53581 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53582 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53583 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53584 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53585 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53586 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53587 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53588 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53589 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53590 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53591 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53592 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53593 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53594 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53595 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53596 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53597 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53598 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53599 * sysdeps/ieee754/s_lib_version.c: Likewise.
53600 * sysdeps/ieee754/s_matherr.c: Likewise.
53601 * sysdeps/ieee754/s_signgam.c: Likewise.
53602 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53603 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53604 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53605 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53606 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53607 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53608 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53609 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53610 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53611 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53612 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53613 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53614 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53615 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53616 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53617 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53618 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53619 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53620 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53621 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53622 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53624 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53626 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53627 * sunrpc/rpc_main.c: Likewise.
53628 * sunrpc/rpc_svcout.c: Likewise.
53630 2012-03-09 David S. Miller <davem@davemloft.net>
53632 * include/math_private.h: New file.
53634 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53636 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53637 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53638 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53639 from <bits/socket_type.h>.
53640 (enum __socket_type): Don't define here.
53641 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53643 bits/socket_type.h.
53646 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53647 checking __USE_GNU.
53649 * Makerules ($(inst_includedir)/%.h): New rule.
53650 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53651 (install-others): Remove variable setting.
53652 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53654 2012-03-08 Richard Henderson <rth@twiddle.net>
53656 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53657 from macro to inline function; merge with the
53658 !__LIBC_INTERNAL_MATH_INLINES version.
53659 (__ieee754_sqrtf): Likewise.
53661 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53662 to inline function.
53663 (__rintf, __floor, __floorf): Likewise.
53665 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53666 macro to inline function.
53667 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53669 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53670 not <math/math_private.h>.
53672 2012-03-08 David S. Miller <davem@davemloft.net>
53674 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53676 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53678 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
53680 * resolv/gai_misc.c (handle_requests): Fix struct timespec
53682 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53683 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53685 2012-03-08 Ulrich Drepper <drepper@gmail.com>
53687 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
53688 be defined individually, they must be defined as a block. Define
53689 S for printing a string instead of hidint the different by using a
53690 macro for adding the 'l'.
53691 * stdio-common/tst-fphex-wide.c: Adjust.
53693 2012-03-07 Marek Polacek <polacek@redhat.com>
53695 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53697 2012-03-08 Marek Polacek <polacek@redhat.com>
53700 * stdio-common/Makefile (tests): Add tst-fphex-wide.
53701 * stdio-common/tst-fphex.c: Define a few macros to make the
53702 test reusable. Use them.
53703 * stdio-common/tst-fphex-wide.c: New file.
53705 2012-03-08 Joseph Myers <joseph@codesourcery.com>
53708 * manual/macros.texi (gnusystems): New macro.
53709 (nongnusystems): Likewise.
53710 (gnulinuxhurdsystems): Likewise.
53711 (gnuhurdsystems): Likewise..
53712 (gnulinuxsystems): Likewise.
53713 * manual/charset.texi: Use new macros or @theglibc{} to refer to
53714 variants of the GNU system, not "GNU system".
53715 * manual/conf.texi: Likewise.
53716 * manual/errno.texi: Likewise. Update example of errno macro
53718 * manual/filesys.texi: Likewise.
53719 (getumask): Document as specific to GNU/Hurd.
53720 * manual/install.texi: Likewise. Reword some references to
53722 * manual/intro.texi: Likewise.
53723 * manual/io.texi: Likewise.
53724 (File Name Portability): Detail which constraints are inapplicable
53725 to all GNU systems and which are only inapplicable to GNU/Hurd.
53726 * manual/job.texi: Likewise.
53727 * manual/llio.texi: Likewise.
53728 (O_NOCTTY): Document as present on GNU/Linux.
53729 * manual/maint.texi: Likewise.
53730 * manual/memory.texi: Likewise.
53731 * manual/pattern.texi: Likewise.
53732 * manual/pipe.texi: Likewise.
53733 * manual/process.texi: Likewise.
53734 * manual/resource.texi: Likewise.
53735 (RUSAGE_CHILDREN): Remove statement about specifying a particular
53737 * manual/setjmp.texi: Likewise.
53738 * manual/signal.texi: Likewise.
53739 * manual/startup.texi: Likewise.
53740 * manual/stdio.texi: Likewise.
53741 * manual/terminal.texi: Likewise.
53742 (ONLCR): Document as POSIX.
53743 (OXTABS): Document availability on GNU/Linux as XTABS.
53744 (ONOEOT): Document availability separately from other bits.
53745 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53746 * manual/time.texi: Likewise.
53747 * manual/users.texi: Likewise.
53748 * INSTALL: Regenerated.
53749 * sysdeps/gnu/errlist.c: Regenerated.
53751 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53752 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53753 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
53755 * configure: Regenerated.
53757 2012-03-07 Joseph Myers <joseph@codesourcery.com>
53759 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53760 default includes instead of AC_HEADER_CHECK.
53761 * sysdeps/i386/configure: Regenerated.
53764 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53765 * math/s_cacoshf.c (__cacoshf): Likewise.
53766 * math/s_cacoshl.c (__cacoshl): Likewise.
53767 * math/s_casinh.c (__casinh): Set signs of result from argument.
53768 * math/s_casinhf.c (__casinhf): Likewise.
53769 * math/s_casinhl.c (__casinhl): Likewise.
53770 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53771 (casinh_test): Add more tests.
53772 * sysdeps/i386/fpu/libm-test-ulps: Update.
53773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53775 2012-03-07 Ulrich Drepper <drepper@gmail.com>
53777 * po/zh_TW.po: Update from translation team.
53779 * login/Makefile (distribute): Remove variable.
53780 * catgets/Makefile: Likewise.
53781 * mach/Makefile: Likewise.
53782 * malloc/Makefile: Likewise.
53783 * misc/Makefile: Likewise.
53784 * iconv/Makefile: Likewise.
53785 * nscd/Makefile: Likewise.
53786 * hurd/Makefile: Likewise.
53787 * manual/Makefile: Likewise.
53788 * locale/Makefile: Likewise.
53789 * intl/Makefile: Likewise.
53790 * conform/Makefile: Likewise.
53791 * nss/Makefile: Likewise.
53792 * time/Makefile: Likewise.
53793 * soft-fp/Makefile: Likewise.
53794 * dirent/Makefile: Likewise.
53795 * gmon/Makefile: Likewise.
53796 * po/Makefile: Likewise.
53797 * rt/Makefile: Likewise.
53798 * socket/Makefile: Likewise.
53799 * math/Makefile: Likewise.
53800 * signal/Makefile: Likewise.
53801 * debug/Makefile: Likewise.
53802 * elf/Makefile: Likewise.
53803 * timezone/Makefile: Likewise.
53804 * stdlib/Makefile: Likewise.
53805 * iconvdata/Makefile: Likewise.
53806 * sunrpc/Makefile: Likewise.
53807 * io/Makefile: Likewise.
53808 * argp/Makefile: Likewise.
53809 * inet/Makefile: Likewise.
53810 * hesiod/Makefile: Likewise.
53811 * grp/Makefile: Likewise.
53812 * csu/Makefile: Likewise.
53813 * wctype/Makefile: Likewise.
53814 * crypt/Makefile: Likewise.
53815 * libio/Makefile: Likewise.
53816 * string/Makefile: Likewise.
53817 * nis/Makefile: Likewise.
53818 * resolv/Makefile: Likewise.
53819 * stdio-common/Makefile: Likewise.
53820 * wcsmbs/Makefile: Likewise.
53821 * dlfcn/Makefile: Likewise.
53822 * posix/Makefile: Likewise.
53825 * timezone/Makefile: Don't install timezone files, just the programs
53828 2012-03-06 Ulrich Drepper <drepper@gmail.com>
53830 * nss/databases.def: Add missing gshadow entry.
53832 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
53834 2012-03-06 Marek Polacek <polacek@redhat.com>
53837 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53838 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53839 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53840 * stdio-common/tst-long-dbl-fphex.c: New file.
53842 2012-03-06 David S. Miller <davem@davemloft.net>
53844 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53845 (set_obp_int): New function.
53846 (get_obp_int): New function.
53847 (__get_clockfreq_via_dev_openprom): Likewise.
53848 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53849 Avoid unused variable warnings on 'val' and use builtin_expect.
53850 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53852 (INLINE_CLONE_SYSCALL): Likewise.
53854 2012-03-05 David S. Miller <davem@davemloft.net>
53856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53858 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
53860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53862 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53863 only for |x| >= 40.
53864 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53866 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
53868 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53869 Replace gettimeofday with __vdso_gettimeofday.
53871 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53872 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53873 __vdso_clock_gettime and __vdso_getcpu.
53875 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53876 time with __vdso_time.
53878 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53880 * manual/lang.texi (size_t): Note types to which size_t may be
53881 equivalent with the GNU C Library, but do not describe when
53882 differences between them are significant.
53884 2012-03-05 Andreas Jaeger <aj@suse.de>
53886 * sysdeps/i386/fpu/libm-test-ulps: Update.
53888 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53891 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53892 (__ieee754_pow): Save and restore rounding mode and use
53893 round-to-nearest for main computations.
53894 * math/libm-test.inc (pow_test_tonearest): New function.
53895 (pow_test_towardzero): Likewise.
53896 (pow_test_downward): Likewise.
53897 (pow_test_upward): Likewise.
53898 (main): Call the new functions.
53899 * sysdeps/i386/fpu/libm-test-ulps: Update.
53900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53903 * math/libm-test.inc (cosh_test_tonearest): New function.
53904 (cosh_test_towardzero): Likewise.
53905 (cosh_test_downward): Likewise.
53906 (cosh_test_upward): Likewise.
53907 (sinh_test_tonearest): Likewise.
53908 (sinh_test_towardzero): Likewise.
53909 (sinh_test_downward): Likewise.
53910 (sinh_test_upward): Likewise.
53911 (main): Call the new functions.
53912 * sysdeps/i386/fpu/libm-test-ulps: Update.
53913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53915 2012-03-05 Tom de Vries <tom@codesourcery.com>
53917 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53918 default stack guard is set in last bytes.
53919 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53921 2012-03-05 Kees Cook <keescook@chromium.org>
53923 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53926 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53927 possibly allocate from heap instead of stack.
53928 * stdio-common/bug-vfprintf-nargs.c: New file.
53929 * stdio-common/Makefile (tests): Add nargs overflow test.
53931 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
53933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53935 2012-03-03 Marek Polacek <polacek@redhat.com>
53937 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53938 * math/math_private.h: Likewise.
53939 * stdlib/tst-strtod.c: Likewise.
53940 * sysdeps/i386/i486/bits/atomic.h: Likewise.
53941 * sysdeps/x86_64/bits/atomic.h: Likewise.
53943 2012-03-02 David S. Miller <davem@davemloft.net>
53945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53949 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53950 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53951 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53952 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53954 2012-03-02 Roland McGrath <roland@hack.frob.com>
53957 * manual/examples/README: New file, says the example source files
53958 can be used under GPL>=2.
53959 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53960 line containing just "*/".
53961 * manual/examples/add.c: Add copyright header (GPL>=2).
53962 * manual/examples/argp-ex1.c: Likewise.
53963 * manual/examples/argp-ex2.c: Likewise.
53964 * manual/examples/argp-ex3.c: Likewise.
53965 * manual/examples/argp-ex4.c: Likewise.
53966 * manual/examples/atexit.c: Likewise.
53967 * manual/examples/db.c: Likewise.
53968 * manual/examples/dir.c: Likewise.
53969 * manual/examples/dir2.c: Likewise.
53970 * manual/examples/execinfo.c: Likewise.
53971 * manual/examples/filecli.c: Likewise.
53972 * manual/examples/filesrv.c: Likewise.
53973 * manual/examples/fmtmsgexpl.c: Likewise.
53974 * manual/examples/genpass.c: Likewise.
53975 * manual/examples/inetcli.c: Likewise.
53976 * manual/examples/inetsrv.c: Likewise.
53977 * manual/examples/isockad.c: Likewise.
53978 * manual/examples/longopt.c: Likewise.
53979 * manual/examples/memopen.c: Likewise.
53980 * manual/examples/memstrm.c: Likewise.
53981 * manual/examples/mkfsock.c: Likewise.
53982 * manual/examples/mkisock.c: Likewise.
53983 * manual/examples/mygetpass.c: Likewise.
53984 * manual/examples/pipe.c: Likewise.
53985 * manual/examples/popen.c: Likewise.
53986 * manual/examples/rprintf.c: Likewise.
53987 * manual/examples/search.c: Likewise.
53988 * manual/examples/select.c: Likewise.
53989 * manual/examples/setjmp.c: Likewise.
53990 * manual/examples/sigh1.c: Likewise.
53991 * manual/examples/sigusr.c: Likewise.
53992 * manual/examples/stpcpy.c: Likewise.
53993 * manual/examples/strdupa.c: Likewise.
53994 * manual/examples/strftim.c: Likewise.
53995 * manual/examples/strncat.c: Likewise.
53996 * manual/examples/subopt.c: Likewise.
53997 * manual/examples/swapcontext.c: Likewise.
53998 * manual/examples/termios.c: Likewise.
53999 * manual/examples/testopt.c: Likewise.
54000 * manual/examples/testpass.c: Likewise.
54001 * manual/examples/timeval_subtract.c: Likewise.
54004 * manual/time.texi (Elapsed Time): Move timeval_subtract example
54006 * manual/timeval_subtract.c.texi: ... here, new file.
54008 2012-03-02 David S. Miller <davem@davemloft.net>
54010 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54012 2012-03-02 Joseph Myers <joseph@codesourcery.com>
54015 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54016 (__sin): Save and restore rounding mode and use round-to-nearest
54017 for all computations.
54018 (__cos): Save and restore rounding mode and use round-to-nearest
54019 for all computations.
54020 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54022 (tan): Save and restore rounding mode and use round-to-nearest for
54024 * math/libm-test.inc (cos_test_tonearest): New function.
54025 (cos_test_towardzero): Likewise.
54026 (cos_test_downward): Likewise.
54027 (cos_test_upward): Likewise.
54028 (sin_test_tonearest): Likewise.
54029 (sin_test_towardzero): Likewise.
54030 (sin_test_downward): Likewise.
54031 (sin_test_upward): Likewise.
54032 (tan_test_tonearest): Likewise.
54033 (tan_test_towardzero): Likewise.
54034 (tan_test_downward): Likewise.
54035 (tan_test_upward): Likewise.
54036 (main): Call the new functions.
54037 * sysdeps/i386/fpu/libm-test-ulps: Update.
54038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54041 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54042 small n, then large n, before computing and testing k+n.
54043 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54044 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54046 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54048 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54049 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54050 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54051 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54052 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54053 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54054 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54055 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54056 * math/libm-test.inc (scalbn_test): Add more tests.
54057 (scalbln_test): Likewise.
54059 * manual/filesys.texi (mode_t): Describe constraints on size and
54060 signedness, not exact equivalence to a particular type.
54062 (ino64_t): Likewise.
54064 (nlink_t): Likewise.
54065 (blkcnt_t): Likewise.
54066 (blkcnt64_t): Likewise.
54067 * manual/llio.texi (off_t): Likewise.
54070 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54071 (__ieee754_exp): Save and restore rounding mode and use
54072 round-to-nearest for all computations.
54073 * math/libm-test.inc (exp_test_tonearest): New function.
54074 (exp_test_towardzero): Likewise.
54075 (exp_test_downward): Likewise.
54076 (exp_test_upward): Likewise.
54077 (main): Call the new functions.
54078 * sysdeps/i386/fpu/libm-test-ulps: Update.
54079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54081 2012-03-01 Chris Demetriou <cgd@google.com>
54083 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54084 have predictable order.
54086 2012-03-01 David S. Miller <davem@davemloft.net>
54088 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54090 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54091 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54092 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54093 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54095 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54096 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54097 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54099 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54100 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54101 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54102 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54103 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54107 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54108 * sysdeps/sparc/fpu/libm-test-ulps: to here.
54109 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54111 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54112 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54113 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54114 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54115 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54116 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54117 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54118 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54119 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54120 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54121 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54122 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54123 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54124 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54125 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54127 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54128 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54129 * sysdeps/sparc/elf/configure: Regenerated.
54131 2012-03-01 Joseph Myers <joseph@codesourcery.com>
54133 * configure.in (AS, LD): Require binutils 2.20 or later.
54134 * configure: Regenerated.
54135 * manual/install.texi (Tools for Compilation): Give binutils 2.20
54136 as required minimum version.
54137 * INSTALL: Regenerated.
54141 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54142 before squaring exponent.
54143 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54144 bottom long double and 27 bits of top long double before squaring
54146 * math/libm-test.inc (erfc_test): Add more tests.
54147 * sysdeps/i386/fpu/libm-test-ulps: Update.
54148 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54151 2012-03-01 Kai Tietz <ktietz@redhat.com>
54153 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54154 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54155 containing bit-fields.
54156 * soft-fp/extended.h (_FP_UNION_E): Likewise.
54157 * soft-fp/single.h (_FP_UNION_S): Likewise.
54158 * soft-fp/double.h (_FP_UNION_D): Likewise.
54160 2012-02-29 Joseph Myers <joseph@codesourcery.com>
54163 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54164 not include ../strcmp.S.
54165 [USE_AS_STRNCASECMP_L]: Likewise.
54166 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54167 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54168 * sysdeps/i386/i686/multiarch/strncase_l-c.c
54169 (__strncasecmp_l_ia32): Define as alias to
54170 __strncasecmp_l_nonascii.
54173 * math/libm-test.inc (expm1_test): Add test for bug 5794.
54174 * sysdeps/i386/fpu/libm-test-ulps: Update.
54175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54177 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54180 2012-02-29 Jeff Law <law@redhat.com>
54182 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54183 out of bounds read.
54185 2012-02-29 Marek Polacek <polacek@redhat.com>
54188 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54189 * elf/Makefile: Add rules to run tst-unused-dep.out.
54191 2012-02-28 David S. Miller <davem@davemloft.net>
54193 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54194 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54195 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54196 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54197 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54198 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54200 2012-02-29 Joseph Myers <joseph@codesourcery.com>
54202 * math/libm-test.inc (llround_test): Move one test from
54203 lround_test. Use TEST_f_L in moved test.
54204 (lround_test): Move misplaced test to llround_test. Add testcase
54207 2012-02-28 Ulrich Drepper <drepper@gmail.com>
54209 * sysdeps/x86_64/fpu/e_expf.S: New file.
54210 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54212 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
54215 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54216 of remain_len that may cause incomplete multi-byte character and
54218 * posix/bug-regex33.c: New file.
54219 * posix/Makefile (tests): Add bug-regex33.
54221 2012-02-28 Joseph Myers <joseph@codesourcery.com>
54223 * manual/macros.texi: New file.
54224 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54225 * manual/libc.texinfo: Include macros.texi.
54226 * manual/creatute.texi: Likewise.
54227 * manual/install.texi: Likewise.
54228 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54229 @glibcadj{} in references to the GNU C Library.
54230 * manual/charset.texi: Likewise.
54231 * manual/conf.texi: Likewise.
54232 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
54233 when not using those macros.
54234 * manual/creature.texi: Likewise.
54235 * manual/crypt.texi: Likewise.
54236 * manual/errno.texi: Likewise.
54237 * manual/filesys.texi: Likewise.
54238 * manual/header.texi: Likewise.
54239 * manual/install.texi: Likewise.
54240 * manual/intro.texi: Likewise.
54241 * manual/io.texi: Likewise.
54242 * manual/job.texi: Likewise.
54243 * manual/lang.texi: Likewise.
54244 * manual/libc.texiinfo: Likewise.
54245 * manual/llio.texi: Likewise.
54246 * manual/locale.texi: Likewise.
54247 * manual/maint.texi: Likewise.
54248 * manual/math.texi: Likewise.
54249 * manual/memory.texi: Likewise.
54250 * manual/message.texi: Likewise.
54251 * manual/nss.texi: Likewise.
54252 * manual/pattern.texi: Likewise.
54253 * manual/process.texi: Likewise.
54254 * manual/resource.texi: Likewise.
54255 * manual/search.texi: Likewise.
54256 * manual/setjmp.texi: Likewise.
54257 * manual/signal.texi: Likewise.
54258 * manual/socket.texi: Likewise.
54259 * manual/startup.texi: Likewise.
54260 * manual/stdio.texi: Likewise.
54261 * manual/string.texi: Likewise.
54262 * manual/sysinfo.texi: Likewise.
54263 * manual/syslog.texi: Likewise.
54264 * manual/terminal.texi: Likewise.
54265 * manual/time.texi: Likewise.
54266 * manual/users.texi: Likewise.
54267 * INSTALL: Regenerated.
54268 * NOTES: Regenerated.
54269 * sysdeps/gnu/errlist.c: Regenerated.
54271 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
54273 * include/dirent.h: Include <dirstream.h> before
54276 2012-02-28 David S. Miller <davem@davemloft.net>
54278 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54279 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54280 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54281 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54283 2012-02-27 David S. Miller <davem@davemloft.net>
54285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54287 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54288 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54291 frame pointer instead of stack pointer relative arg slot.
54292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54293 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54294 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54296 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
54299 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54301 2012-02-27 David S. Miller <davem@davemloft.net>
54303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54307 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54308 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54309 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54310 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54312 2012-02-27 Joseph Myers <joseph@codesourcery.com>
54314 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54315 later. Allow versions 5-9.
54316 * configure: Regenerated.
54317 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54318 required minimum version and 4.6 as recommended version. Do not
54319 mention bugs in GCC 2.7 and 2.8.
54320 * INSTALL: Regenerated.
54322 2012-02-27 David S. Miller <davem@davemloft.net>
54324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54328 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54329 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54330 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54331 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54333 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54334 manipulate bits before adding and subtracting TWO112[sx].
54335 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54337 2012-02-27 Roland McGrath <roland@hack.frob.com>
54340 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54341 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54342 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54343 being in POSIX, because they are in 1003.1-2008.
54345 * rt/tst-aio.c: Include <fcntl.h>.
54346 * rt/tst-aio7.c: Likewise.
54347 * rt/tst-aio64.c: Likewise.
54349 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54351 2012-02-27 Joseph Myers <joseph@codesourcery.com>
54353 * manual/install.texi (--with-headers): Describe headers as
54354 interface headers, not private headers.
54355 (Specific advice for GNU/Linux systems): Describe use of headers
54356 from "make headers_install", not private headers from older
54358 * INSTALL: Regenerated.
54359 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54361 * sysdeps/unix/sysv/linux/configure: Regenerated.
54363 * manual/llio.texi (fclean): Remove documentation.
54365 * manual/Makefile (libc-texi-generated): New variable. Include
54367 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54368 $(libc-texi-generated), not duplicated list of files.
54369 (version.texi, stamp-version): New rules.
54370 (realclean): Remove $(libc-texi-generated), not individual files
54371 from that list. Do not remove dir-add.texinfo.
54372 * manual/libc.texinfo: Comment out uses of edition numbers and
54373 references to printed manual. Remove last-updated dates.
54374 (EDITION): Comment out.
54376 (VERSION, UPDATED): Remove.
54377 (version.texi): Include.
54379 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
54381 * sysdeps/posix/spawni.c: Include <signal.h>.
54382 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54383 * sysdeps/pthread/aio_fsync.c: Likewise.
54385 2012-02-26 Ulrich Drepper <drepper@gmail.com>
54387 * conform/Makefile (tests): Run only when not cross-compiling and
54388 when fast-check is not defined.
54390 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54391 * conform/data/limits.h-data: Fixes for POSIX2008.
54392 * conform/run-conformtest.sh: Run all tests.
54393 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54395 * include/bits/dlfcn.h: Likewise.
54396 * include/langinfo.h: Likewise.
54397 * include/monetary.h: Likewise.
54398 * include/sys/poll.h: Likewise.
54400 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54402 * posix/spawn.h: Define __need_sigset_t.
54403 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54404 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54405 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
54406 to get sigevent_t only.
54407 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54408 only for __USE_GNU.
54409 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54410 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54411 process_vm_writev only for __USE_GNU.
54412 * termios/termios.h: Declare tcgetsid also for POSIX2008.
54414 * conform/Makefile: For now ignore errors from run-conformtest.
54415 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
54416 POSIX to avoid namespace pollution. Don't prepend headers.
54417 * conform/data/aio.h-data: Fixes for POSIX testing.
54418 * conform/data/fcntl.h-data: Likewise.
54419 * conform/data/glob.h-data: Likewise.
54420 * conform/data/grp.h-data: Likewise.
54421 * conform/data/pthread.h-data: Likewise.
54422 * conform/data/pwd.h-data: Likewise.
54423 * conform/data/signal.h-data: Likewise.
54424 * conform/data/spawn.h-data: Likewise.
54425 * conform/data/stdio.h-data: Likewise.
54426 * conform/data/stdlib.h-data: Likewise.
54427 * conform/data/stropts.h-data: Likewise.
54428 * conform/data/sys/mman.h-data: Likewise.
54429 * conform/data/sys/stat.h-data: Likewise.
54430 * conform/data/sys/types.h-data: Likewise.
54431 * conform/data/sys/wait.h-data: Likewise.
54432 * conform/data/time.h-data: Likewise.
54433 * conform/data/unistd.h-data: Likewise.
54434 * conform/data/utime.h-data: Likewise.
54436 * io/sys/stat.h: fchmod was always in POSIX.
54437 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54438 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54439 * rt/aio.h: Define __need_timespec before including <time.h>.
54440 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54441 struct. Add forward declaration of pthread_attr_t and use it in
54443 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54444 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54445 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54446 always remove CLK_TCK definition.
54448 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
54450 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54452 2012-02-25 Ulrich Drepper <drepper@gmail.com>
54454 * conform/run-conformtest.sh: New file.
54455 * conform/Makefile: Run run-conformtest for tests.
54456 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
54459 * conform/data/uchar.h-data: New file.
54460 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54461 * conform/data/arpa/inet.h-data: Likewise.
54462 * conform/data/assert.h-data: Likewise.
54463 * conform/data/complex.h-data: Likewise.
54464 * conform/data/cpio.h-data: Likewise.
54465 * conform/data/ctype.h-data: Likewise.
54466 * conform/data/dirent.h-data: Likewise.
54467 * conform/data/dlfcn.h-data: Likewise.
54468 * conform/data/errno.h-data: Likewise.
54469 * conform/data/fcntl.h-data: Likewise.
54470 * conform/data/float.h-data: Likewise.
54471 * conform/data/fmtmsg.h-data: Likewise.
54472 * conform/data/fnmatch.h-data: Likewise.
54473 * conform/data/ftw.h-data: Likewise.
54474 * conform/data/glob.h-data: Likewise.
54475 * conform/data/grp.h-data: Likewise.
54476 * conform/data/iconv.h-data: Likewise.
54477 * conform/data/inttypes.h-data: Likewise.
54478 * conform/data/langinfo.h-data: Likewise.
54479 * conform/data/libgen.h-data: Likewise.
54480 * conform/data/limits.h-data: Likewise.
54481 * conform/data/locale.h-data: Likewise.
54482 * conform/data/math.h-data: Likewise.
54483 * conform/data/monetary.h-data: Likewise.
54484 * conform/data/mqueue.h-data: Likewise.
54485 * conform/data/ndbm.h-data: Likewise.
54486 * conform/data/net/if.h-data: Likewise.
54487 * conform/data/netdb.h-data: Likewise.
54488 * conform/data/netinet/in.h-data: Likewise.
54489 * conform/data/nl_types.h-data: Likewise.
54490 * conform/data/poll.h-data: Likewise.
54491 * conform/data/pthread.h-data: Likewise.
54492 * conform/data/pwd.h-data: Likewise.
54493 * conform/data/regex.h-data: Likewise.
54494 * conform/data/sched.h-data: Likewise.
54495 * conform/data/search.h-data: Likewise.
54496 * conform/data/semaphore.h-data: Likewise.
54497 * conform/data/setjmp.h-data: Likewise.
54498 * conform/data/signal.h-data: Likewise.
54499 * conform/data/spawn.h-data: Likewise.
54500 * conform/data/stdarg.h-data: Likewise.
54501 * conform/data/stdio.h-data: Likewise.
54502 * conform/data/stdlib.h-data: Likewise.
54503 * conform/data/string.h-data: Likewise.
54504 * conform/data/strings.h-data: Likewise.
54505 * conform/data/stropts.h-data: Likewise.
54506 * conform/data/sys/ipc.h-data: Likewise.
54507 * conform/data/sys/mman.h-data: Likewise.
54508 * conform/data/sys/msg.h-data: Likewise.
54509 * conform/data/sys/resource.h-data: Likewise.
54510 * conform/data/sys/select.h-data: Likewise.
54511 * conform/data/sys/sem.h-data: Likewise.
54512 * conform/data/sys/shm.h-data: Likewise.
54513 * conform/data/sys/socket.h-data: Likewise.
54514 * conform/data/sys/stat.h-data: Likewise.
54515 * conform/data/sys/statvfs.h-data: Likewise.
54516 * conform/data/sys/time.h-data: Likewise.
54517 * conform/data/sys/timeb.h-data: Likewise.
54518 * conform/data/sys/times.h-data: Likewise.
54519 * conform/data/sys/types.h-data: Likewise.
54520 * conform/data/sys/uio.h-data: Likewise.
54521 * conform/data/sys/un.h-data: Likewise.
54522 * conform/data/sys/utsname.h-data: Likewise.
54523 * conform/data/sys/wait.h-data: Likewise.
54524 * conform/data/syslog.h-data: Likewise.
54525 * conform/data/tar.h-data: Likewise.
54526 * conform/data/termios.h-data: Likewise.
54527 * conform/data/utime.h-data: Likewise.
54528 * conform/data/utmpx.h-data: Likewise.
54529 * conform/data/varargs.h-data: Likewise.
54530 * conform/data/wchar.h-data: Likewise.
54531 * conform/data/wctype.h-data: Likewise.
54532 * conform/data/wordexp.h-data: Likewise.
54534 * include/stropts.h: New file.
54535 * include/uchar.h: New file.
54536 * include/aio.h: Changes to allow conformtest.pl to use the headers.
54537 * include/assert.h: Likewise.
54538 * include/ctype.h: Likewise.
54539 * include/dirent.h: Likewise.
54540 * include/dlfcn.h: Likewise.
54541 * include/fcntl.h: Likewise.
54542 * include/fnmatch.h: Likewise.
54543 * include/glob.h: Likewise.
54544 * include/grp.h: Likewise.
54545 * include/libio.h: Likewise.
54546 * include/locale.h: Likewise.
54547 * include/math.h: Likewise.
54548 * include/net/if.h: Likewise.
54549 * include/netdb.h: Likewise.
54550 * include/netinet/in.h: Likewise.
54551 * include/pthread.h: Likewise.
54552 * include/pwd.h: Likewise.
54553 * include/regex.h: Likewise.
54554 * include/sched.h: Likewise.
54555 * include/search.h: Likewise.
54556 * include/setjmp.h: Likewise.
54557 * include/signal.h: Likewise.
54558 * include/stdio.h: Likewise.
54559 * include/stdlib.h: Likewise.
54560 * include/string.h: Likewise.
54561 * include/sys/cdefs.h: Likewise.
54562 * include/sys/mman.h: Likewise.
54563 * include/sys/msg.h: Likewise.
54564 * include/sys/resource.h: Likewise.
54565 * include/sys/select.h: Likewise.
54566 * include/sys/socket.h: Likewise.
54567 * include/sys/stat.h: Likewise.
54568 * include/sys/statvfs.h: Likewise.
54569 * include/sys/time.h: Likewise.
54570 * include/sys/times.h: Likewise.
54571 * include/sys/uio.h: Likewise.
54572 * include/sys/utsname.h: Likewise.
54573 * include/sys/wait.h: Likewise.
54574 * include/termios.h: Likewise.
54575 * include/time.h: Likewise.
54576 * include/ulimit.h: Likewise.
54577 * include/unistd.h: Likewise.
54578 * include/utime.h: Likewise.
54579 * include/wchar.h: Likewise.
54580 * include/wctype.h: Likewise.
54581 * include/wordexp.h: Likewise.
54583 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54585 * time/time.h: TIME_UTC must be a macro.
54586 Make timespec_get available for ISO C11 only as well.
54588 2012-02-24 Ulrich Drepper <drepper@gmail.com>
54590 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54591 Reported by Peng Haitao <penght@cn.fujitsu.com>.
54593 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54595 * configure.in: Use -o not -a in test for unsupported multi-arch.
54597 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54599 * manual/texinfo.tex: Update to version 2012-01-19.16.
54601 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54603 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54605 2012-02-24 Roland McGrath <roland@hack.frob.com>
54608 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54609 * manual/fdl-1.3.texi: New file.
54610 * manual/fdl-1.1.texi: File removed.
54613 * manual/libc.texinfo (FDL_VERSION): New @set.
54614 Use it for mention of FDL in cover text.
54615 (Documentation License): Use it in @include file name.
54617 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54618 Roland McGrath <roland@hack.frob.com>
54621 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54622 (not LONG_LONG_MAX and LONG_LONG_MIN.
54623 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54624 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
54626 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54628 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54632 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54633 manipulate bits before adding and subtracting TWO23[sx].
54634 * math/libm-test.inc (nearbyint_test): Add more tests.
54636 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54639 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54640 bits before adding and subtracting TWO23[sx].
54641 * math/libm-test.inc (rint_test): Add more tests.
54642 (rint_test_tonearest): Likewise.
54643 (rint_test_towardzero): Likewise.
54644 (rint_test_downward): Likewise.
54645 (rint_test_upward: Likewise.
54647 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54650 * include/stdc-predef.h: New file. Extracted from features.h.
54651 * include/features.h: Include stdc-predef.h.
54652 * Makefile (headers): Add stdc-predef.h.
54653 * CONFORMANCE (Compiler limitations): Update.
54655 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54657 * manual/libc.texinfo (VERSION, UPDATED): Revert.
54659 2012-02-21 David S. Miller <davem@davemloft.net>
54661 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54662 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54664 2012-02-20 David S. Miller <davem@davemloft.net>
54666 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54667 using a normal save/restore sequence, rather than allocating a
54668 dummy stack frame just to store a frame pointer and restore.
54669 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54671 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54673 * manual/install.texi: Fix stray word in line-wrapped comment.
54675 2012-02-20 David S. Miller <davem@davemloft.net>
54677 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54678 both binutils and gcc support GOTDATA.
54680 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54681 "rd %pc" in the PIC register setup sequences.
54683 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54684 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54685 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54686 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54687 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54688 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54689 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54690 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54692 (SYSCALL_ERROR_HANDLER): Likewise.
54693 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54694 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54695 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54696 (SYSCALL_ERROR_HANDLER): Likewise.
54698 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54699 (HAVE_GCC_GOTDATA): New.
54700 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54701 relocation support in both binutils and gcc.
54702 * sysdeps/sparc/elf/configure: Regenerate.
54704 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54705 * sysdeps/sparc/sparc32/elf/configure: Delete.
54706 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54707 * sysdeps/sparc/sparc64/elf/configure: Delete.
54708 * sysdeps/sparc/elf/configure.in: New file.
54709 * sysdeps/sparc/elf/configure: Generate.
54711 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54712 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54713 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54714 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54715 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54717 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54719 * manual/install.texi: Do not mention specific glibc version
54721 * manual/libc.texinfo (VERSION, UPDATED): Update.
54722 (@copying): Use @copyright{} and range of years.
54724 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54727 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54728 [crti.S not in sysdirs] (generated): Do not append.
54729 [crti.S not in sysdirs] (omit-deps): Likewise.
54730 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54731 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54732 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54733 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54734 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54736 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54737 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54738 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54739 * csu/defs.awk: Remove file.
54740 * sysdeps/generic/initfini.c: Likewise.
54741 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54743 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54746 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54748 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54749 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54750 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54751 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54752 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54753 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54755 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54756 (__EPOLL_PACKED): Define to empty if not defined by
54758 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54762 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54764 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54765 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54766 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54767 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54769 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54773 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54775 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54777 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54778 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54779 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54782 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
54784 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54785 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54787 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
54789 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54790 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54792 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54794 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54797 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
54799 * math/w_acos.c: Use non-signaling floating-point comparisons.
54800 * math/w_acosf.c: Likewise.
54801 * math/w_acosh.c: Likewise.
54802 * math/w_acoshf.c: Likewise.
54803 * math/w_acoshl.c: Likewise.
54804 * math/w_acosl.c: Likewise.
54805 * math/w_asin.c: Likewise.
54806 * math/w_asinf.c: Likewise.
54807 * math/w_asinl.c: Likewise.
54808 * math/w_atanh.c: Likewise.
54809 * math/w_atanhf.c: Likewise.
54810 * math/w_atanhl.c: Likewise.
54811 * math/w_exp2.c: Likewise.
54812 * math/w_exp2f.c: Likewise.
54813 * math/w_exp2l.c: Likewise.
54814 * math/w_j0.c: Likewise.
54815 * math/w_j0f.c: Likewise.
54816 * math/w_j0l.c: Likewise.
54817 * math/w_j1.c: Likewise.
54818 * math/w_j1f.c: Likewise.
54819 * math/w_j1l.c: Likewise.
54820 * math/w_jn.c: Likewise.
54821 * math/w_jnf.c: Likewise.
54822 * math/w_log.c: Likewise.
54823 * math/w_log10.c: Likewise.
54824 * math/w_log10f.c: Likewise.
54825 * math/w_log10l.c: Likewise.
54826 * math/w_log2.c: Likewise.
54827 * math/w_log2f.c: Likewise.
54828 * math/w_log2l.c: Likewise.
54829 * math/w_logf.c: Likewise.
54830 * math/w_logl.c: Likewise.
54831 * math/w_sqrt.c: Likewise.
54832 * math/w_sqrtf.c: Likewise.
54833 * math/w_sqrtl.c: Likewise.
54834 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54835 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54836 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54837 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54838 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54840 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54843 * manual/string.texi (strnlen): Use correct parameter name in
54844 equivalent expression.
54846 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54849 * manual/users.texi (seteuid): Consistently use neweuid for
54852 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54855 * manual/nss.texi (Services in the NSS configuration): Correct
54856 list of services in example configuration file.
54858 2012-02-19 Nick Bowler <nbowler@draconx.ca>
54861 * manual/arith.texi: Remove statements about negative zero
54862 behaving identically to zero.
54864 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54867 * manual/install.texi: Do not document upgrading from libc5.
54869 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54872 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54874 2012-02-18 David S. Miller <davem@davemloft.net>
54876 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54877 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54878 %o7 across the call.
54879 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54881 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54882 SETUP_PIC_REG_LEAF.
54883 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54884 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54885 * sysdeps/sparc/crtn.S: Likewise.
54887 2012-02-17 Ulrich Drepper <drepper@gmail.com>
54889 * aout/Makefile: Remove.
54891 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
54894 * manual/examples/argp-ex1.c (main): Format definition in GNU
54896 * manual/examples/argp-ex2.c (main): Likewise.
54897 * manual/examples/argp-ex3.c (main): Likewise.
54898 * manual/examples/argp-ex4.c (main): Likewise.
54899 * manual/examples/longopt.c (main): Use new-style prototype
54901 * manual/examples/strncat.c (main): Specify return type and use
54902 (void) for arguments.
54903 * manual/examples/subopt.c (main): Use char **argv argument.
54905 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54908 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54911 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
54914 * manual/string.texi (strchr): Change when strchrnul is
54917 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
54920 * manual/locale.texi (setlocale): Document LOCPATH.
54922 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54925 * manual/process.texi (execle): Move @dots{} before last argument.
54927 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
54930 * manual/charset.texi (Generic Charset Conversion): Fix typo
54931 (LC_TYPE -> LC_CTYPE).
54933 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
54936 * manual/arith.texi (scalbn): Use @var{} on parameter names.
54937 (scalbnf): Likewise.
54938 (scalbnl): Likewise.
54939 (scalbln): Likewise.
54940 (scalblnf): Likewise.
54941 (scalblnl): Likewise.
54942 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54943 (vwarnx): Likewise.
54946 * manual/filesys.texi (telldir): Use braces around return type.
54947 * manual/llio.texi (mmap): Add space after comma.
54948 (mmap64): Likewise.
54949 * manual/math.texi (jn): Use @var{} on parameter names.
54955 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54957 * manual/resource.texi (ulimit): Use @dots{} instead of literal
54959 (sched_get_priority_min): Remove semicolon on @deftypefun line.
54960 (sched_get_priority_max): Likewise.
54961 * manual/signal.texi (sigvec): Add space after comma.
54962 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54964 (if_indextoname): Likewise.
54965 (if_freenameindex): Likewise.
54966 (sendto): Use ',' instead of '.' in prototype.
54967 * manual/startup.texi (syscall): Use @dots{} instead of literal
54969 * manual/stdio.texi (__fpending): Separate initial words of
54970 paragraph from @deftypefun line.
54971 * manual/syslog.texi (syslog): Use @dots{} instead of literal
54973 (vsyslog): Use @var{} on parameter names.
54974 * manual/terminal.texi (stty): Use @var{} on parameter names.
54975 * manual/users.texi (getutmp): Use @var{} on parameter names.
54976 (getutmpx): Likewise.
54978 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54981 * manual/stdio.texi (fopen): Fix typos in description of
54984 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
54987 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54988 get clock_id definition.
54990 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
54993 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54994 (madvise): Cast every argument to void on its own.
54996 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54999 * manual/startup.texi (Exit Status): Fix typo.
55001 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55004 * manual/examples/argp-ex1.c: Include <stdlib.h>.
55005 * manual/examples/argp-ex2.c: Likewise.
55006 * manual/examples/argp-ex3.c: Likewise.
55008 2012-02-16 Richard Henderson <rth@redhat.com>
55010 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55011 * sysdeps/s390/s390-32/initfini.c: Remove.
55012 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55013 * sysdeps/s390/s390-64/initfini.c: Remove.
55015 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55017 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55018 compiler output for sysdeps/generic/initfini.c.
55019 * sysdeps/sh/elf/initfini.c: Remove file.
55021 2012-02-16 David S. Miller <davem@davemloft.net>
55024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55026 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55027 * sysdeps/sparc/crti.S: New file.
55028 * sysdeps/sparc/crtn.S: New file.
55029 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55030 * sysdeps/sparc/sparc64/Makefile: Likewise.
55032 2012-02-15 Mike Frysinger <vapier@gentoo.org>
55035 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55037 2012-02-15 Roland McGrath <roland@hack.frob.com>
55040 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55042 * mach/devstream.c (cookie_io_functions_t): Macro removed.
55043 (write, read, close): Likewise.
55044 Patch by Aurelien Jarno <aurelien@aurel32.net>.
55046 2012-02-15 Joseph Myers <joseph@codesourcery.com>
55048 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55049 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55050 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55051 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55053 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55057 2012-02-14 Marek Polacek <polacek@redhat.com>
55059 * sysdeps/x86_64/crti.S: New file.
55060 * sysdeps/x86_64/crtn.S: New file.
55061 * sysdeps/x86_64/elf/initfini.c: Remove file.
55063 2012-02-13 Joseph Myers <joseph@codesourcery.com>
55065 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55066 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55067 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55068 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55070 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55074 2012-02-13 Joseph Myers <joseph@codesourcery.com>
55076 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55077 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55078 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55079 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55081 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55085 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
55087 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55088 __feraiseexcept instead of feraiseexcept.
55090 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55091 nanosleep invocations.
55092 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55093 strings, and add error checking for a nanosleep invocations.
55095 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
55097 Replace FSF snail mail address with URLs, as per GNU coding standards.
55098 Most of the snail mail addresses were wrong anyway, and omitting
55099 them makes the source code easier to maintain. Almost all of the
55100 changes are to license notices and to locale LC_IDENTIFICATION
55101 addresses, except for this one:
55102 * manual/libc.texinfo: In "Published by", give the FSF's URL,
55103 not its snail mail address.
55105 2012-02-09 Richard Henderson <rth@twiddle.net>
55107 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55108 of kernel-features.h.
55110 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55112 2012-02-08 Marek Polacek <polacek@redhat.com>
55114 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55115 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55116 * sysdeps/gnu/_G_config.h: Likewise.
55117 * sysdeps/generic/_G_config.h: Likewise.
55119 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
55121 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55125 * sysdeps/powerpc/powerpc32/crti.S: New file.
55126 * sysdeps/powerpc/powerpc32/crtn.S: New file.
55127 * sysdeps/powerpc/powerpc64/crti.S: New file.
55128 * sysdeps/powerpc/powerpc64/crtn.S: New file.
55130 * Makeconfig (have-initfini): Don't set.
55131 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55132 * configure.in (nopic_initfini): Don't substitute.
55133 * config.h.in (HAVE_INITFINI): Don't #undef.
55134 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55135 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55137 2012-02-08 Joseph Myers <joseph@codesourcery.com>
55139 Support crti.S and crtn.S provided directly by architectures.
55140 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55141 [crti.S in sysdirs] (omit-deps): Likewise.
55142 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55143 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55144 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55145 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55146 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55147 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55148 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55149 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55150 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55151 compiler output for sysdeps/generic/initfini.c.
55152 * sysdeps/i386/elf/Makefile: Remove file.
55153 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55155 2012-02-07 Marek Polacek <polacek@redhat.com>
55157 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55158 * sysdeps/gnu/_G_config.h: Likewise.
55159 * sysdeps/mach/hurd/_G_config.h: Likewise.
55161 2012-02-07 Marek Polacek <polacek@redhat.com>
55163 * math/Makefile (tests): Add tst-CMPLX2.
55164 * math/tst-CMPLX2.c: New file.
55166 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
55168 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55170 * math/libm-test.inc (jn_test): Add missing L suffix.
55172 2012-02-06 Marek Polacek <polacek@redhat.com>
55174 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55175 * sysdeps/i386/fpu/e_powf.S: Likewise.
55176 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55177 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55178 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55179 * sysdeps/i386/fpu/e_pow.S: Likewise.
55180 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55181 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55182 * sysdeps/i386/fpu/s_expm1.S: Likewise.
55183 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55184 * sysdeps/i386/fpu/e_log2.S: Likewise.
55185 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55186 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55187 * sysdeps/i386/fpu/e_powl.S: Likewise.
55188 * sysdeps/i386/fpu/s_log1p.S: Likewise.
55189 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55190 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55191 * sysdeps/i386/fpu/e_logl.S: Likewise.
55192 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55193 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55194 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55195 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55196 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55197 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55198 * sysdeps/i386/fpu/e_log.S: Likewise.
55199 * sysdeps/i386/fpu/s_cexp.S: Likewise.
55200 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55201 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55202 * sysdeps/i386/fpu/e_logf.S: Likewise.
55203 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55204 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55205 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55206 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55207 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55208 * sysdeps/i386/fpu/e_log10.S: Likewise.
55209 * sysdeps/i386/fpu/s_frexp.S: Likewise.
55210 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55211 * sysdeps/i386/fpu/s_asinh.S: Likewise.
55212 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55213 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55214 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55215 * sysdeps/i386/asm-syntax.h: Likewise.
55216 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55217 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55218 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55219 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55220 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55221 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55222 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55223 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55224 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55225 * sysdeps/powerpc/sysdep.h: Likewise.
55226 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55227 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55229 2012-02-06 Joseph Myers <joseph@codesourcery.com>
55232 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55234 2012-02-06 Joseph Myers <joseph@codesourcery.com>
55236 * sysdeps/i386/sysdep.h: Include <features.h>.
55237 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55240 2012-02-05 Joseph Myers <joseph@codesourcery.com>
55242 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55244 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55247 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55249 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55250 (SETUP_PIC_REG): Use GET_PC_THUNK.
55251 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55254 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55256 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55257 for non-PIC compilation.
55258 (SETUP_PIC_REG): Add .p2align directive.
55259 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55260 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55261 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55262 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55263 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55264 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55265 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55266 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55267 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55268 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55269 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55270 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55271 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55272 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55273 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55274 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55275 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55276 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55277 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55278 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55279 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55280 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55281 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55282 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55283 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55284 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55285 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55286 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55287 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55288 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55289 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55290 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55291 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55292 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55293 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55294 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55295 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55296 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55297 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55298 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55299 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55301 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55303 * math/tst-CMPLX.c: Include <stdio.h>.
55305 2012-01-31 Joseph Myers <joseph@codesourcery.com>
55307 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55309 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55310 * sysdeps/sparc/bits/mathdef.h: Likewise.
55312 2012-01-31 Marek Polacek <polacek@redhat.com>
55314 * libio/libio.h: Don't define _PARAMS.
55315 * locale/programs/config.h: Don't define PARAMS.
55316 * stdlib/strtol_l.c: Likewise.
55317 (__strtol_l): Remove PARAMS from the prototype.
55319 2012-01-31 Ulrich Drepper <drepper@gmail.com>
55321 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
55322 names. Just use the correct names. Remove unnecessary wrapper
55324 * malloc/arena.c: Likewise.
55325 * malloc/hooks.c: Likewise.
55327 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55328 ARENA_TEST says not to. Simplify test for creation of a new arena.
55329 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55331 2012-01-30 Ulrich Drepper <drepper@gmail.com>
55333 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55335 (update_get_addr): New function.
55336 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55337 GET_ADDR_MODULE parameter.
55339 2012-01-30 Joseph Myers <joseph@codesourcery.com>
55341 * crypt/cert.c: Remove __STDC__ conditionals.
55342 * crypt/crypt-entry.c: Likewise.
55343 * crypt/crypt_util.c: Likewise.
55344 * libio/filedoalloc.c: Likewise.
55345 * libio/fileops.c: Likewise.
55346 * libio/genops.c: Likewise.
55347 * libio/iofclose.c: Likewise.
55348 * libio/iofdopen.c: Likewise.
55349 * libio/iofopen.c: Likewise.
55350 * libio/iofopen64.c: Likewise.
55351 * libio/iogetdelim.c: Likewise.
55352 * libio/iopopen.c: Likewise.
55353 * libio/obprintf.c: Likewise.
55354 * libio/oldfileops.c: Likewise.
55355 * libio/oldiofclose.c: Likewise.
55356 * libio/oldiofdopen.c: Likewise.
55357 * libio/oldiofopen.c: Likewise.
55358 * libio/oldiopopen.c: Likewise.
55359 * libio/wfiledoalloc.c: Likewise.
55360 * libio/wgenops.c: Likewise.
55361 * locale/programs/xmalloc.c: Likewise.
55362 * misc/syslog.c: Likewise.
55363 * stdio-common/xbug.c: Likewise.
55364 * string/memchr.c: Likewise.
55365 * string/memcmp.c: Likewise.
55366 * string/memrchr.c: Likewise.
55367 * string/rawmemchr.c: Likewise.
55368 * sysdeps/posix/getcwd.c: Likewise.
55369 * time/strftime_l.c: Likewise.
55371 2012-01-30 Joseph Myers <joseph@codesourcery.com>
55373 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55374 * config.make.in (config-cflags-sse2avx): Define.
55375 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55378 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
55380 * scripts/config.guess: Update from upstream config git repository.
55381 * scripts/config.sub: Likewise.
55383 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
55385 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55387 (R_TILEPRO_*, R_TILEGX_*): New macros.
55389 * scripts/firstversions.awk: Fix bug in version range handling.
55391 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55393 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55395 * include/sys/epoll.h: New file.
55396 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55399 2012-01-28 Ulrich Drepper <drepper@gmail.com>
55401 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55402 Avoid unnecessary __WORDSIZE == 64 test.
55403 (fmaxf): Use VEX format if possible.
55408 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55409 * math/math_private.h: Remove libc_fegetround* and
55411 * sysdeps/i386/configure.in: Check for -msse2avx.
55412 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55413 also if SSE2AVX is defined.
55414 Remove libc_fegetround* and libc_fesetround*.
55415 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55416 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
55417 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55419 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55420 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55421 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55422 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55423 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55425 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55427 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55429 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55431 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55433 2012-01-27 Ulrich Drepper <drepper@gmail.com>
55436 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55438 * Makeconfig (libm): Define.
55439 * elf/Makefile: Add rules to build and run tst-relsort1.
55440 * elf/tst-relsort1.c: New file.
55441 * elf/tst-relsort1mod1.c: New file.
55442 * elf/tst-relsort1mod2.c: New file.
55444 2012-01-27 Joseph Myers <joseph@codesourcery.com>
55446 * math/s_ldexp.c: Remove __STDC__ conditionals.
55447 * math/s_ldexpf.c: Likewise.
55448 * math/s_ldexpl.c: Likewise.
55449 * math/s_nextafter.c: Likewise.
55450 * math/s_nexttowardf.c: Likewise.
55451 * math/s_significand.c: Likewise.
55452 * math/s_significandf.c: Likewise.
55453 * math/s_significandl.c: Likewise.
55454 * math/w_jnl.c: Likewise.
55455 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55456 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55457 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55458 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55459 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55460 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55461 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55462 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55463 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55464 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55465 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55466 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55467 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55468 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55469 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55470 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55471 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55472 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55473 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55474 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55475 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55476 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55477 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55478 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55479 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55480 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55481 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55482 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55483 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55484 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55485 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55486 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55487 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55488 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55489 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55490 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55491 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55492 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55493 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55494 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55495 * sysdeps/ieee754/k_standard.c: Likewise.
55496 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55497 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55498 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55499 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55500 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55501 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55502 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55503 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55504 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55505 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55506 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55507 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55508 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55509 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55510 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55511 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55512 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55513 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55514 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55515 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55516 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55517 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55518 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55519 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55520 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55521 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55522 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55523 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55524 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55525 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55526 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55527 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55528 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55529 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55530 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55531 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55532 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55533 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55534 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55535 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55536 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55537 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55538 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55539 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55540 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55541 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55542 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55543 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55544 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55545 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55546 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55548 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55549 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55550 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55551 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55552 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55553 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55554 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55555 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55556 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55557 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55558 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55559 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55560 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55561 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55562 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55563 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55564 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55565 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55566 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55567 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55568 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55569 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55570 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55571 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55572 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55573 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55574 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55575 * sysdeps/ieee754/s_matherr.c: Likewise.
55576 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55577 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55578 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55581 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55583 * crypt/md5.h: Remove __STDC__ conditionals.
55584 * libio/libioP.h: Likewise.
55585 * locale/programs/config.h: Likewise.
55586 * sysdeps/generic/sysdep.h: Likewise.
55587 * sysdeps/i386/asm-syntax.h: Likewise.
55588 * sysdeps/s390/asm-syntax.h: Likewise.
55589 * sysdeps/unix/sysdep.h: Likewise.
55590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55593 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55595 * libio/libio.h: Remove __STDC__ conditionals.
55596 * malloc/obstack.h: Likewise.
55597 * math/complex.h: Likewise.
55598 * math/math.h: Likewise.
55599 * sysdeps/generic/_G_config.h: Likewise.
55600 * sysdeps/gnu/_G_config.h: Likewise.
55601 * sysdeps/mach/hurd/_G_config.h: Likewise.
55602 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55603 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55604 * sysdeps/sparc/bits/mathdef.h: Likewise.
55606 2012-01-26 Ulrich Drepper <drepper@gmail.com>
55609 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55610 Clean up HAS_* macros.
55611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55612 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55614 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55616 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55617 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55618 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55619 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55620 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55622 2012-01-25 Joseph Myers <joseph@codesourcery.com>
55624 * elf/tst-unique3.cc (gets): Remove declaration.
55625 * elf/tst-unique3lib.cc (gets): Likewise.
55626 * elf/tst-unique3lib2.cc (gets): Likewise.
55627 * elf/tst-unique4.cc (gets): Likewise.
55629 2012-01-24 Ulrich Drepper <drepper@gmail.com>
55631 * include/stdio.h: Add C++ protection. Add gets declarations and
55633 * debug/tst-chk1.c: Don't declare gets here.
55634 * stdio-common/tst-gets.c: Likewise.
55636 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55638 * posix/glob: Remove directory.
55640 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55642 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55644 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
55646 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55647 of the non-standard EPFNOSUPPORT.
55649 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
55651 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55652 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55653 ANYWHERE set to 1 only on KERN_NO_SPACE error.
55655 2012-01-21 Ulrich Drepper <drepper@gmail.com>
55657 * wcsmbs/uchar.h: Test __STDC_VERSION__.
55659 2012-01-20 Ulrich Drepper <drepper@gmail.com>
55661 * nscd/aicache.c (addhstaiX): Do not cache negative results of
55663 * nscd/grpcache.c (cache_addgr): Likewise.
55664 * nscd/hstcache.c (cache_addhst): Likewise.
55665 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55666 * nscd/pwdcache.c (cache_addpw): Likewise.
55667 * nscd/servicescache.c (cache_addserv): Likewise.
55669 2012-01-16 Ulrich Drepper <drepper@gmail.com>
55671 * malloc/malloc.c: Various cleanups.
55672 * malloc/hooks.c: Likewise.
55674 * stdlib/Makefile (tests): Add bug-fmtmsg1.
55675 * stdlib/bug-fmtmsg1.c: New file.
55677 * stdlib/fmtmsg.c (init): Add missing unlock.
55678 Patch by Peng Haitao <penght@cn.fujitsu.com>.
55680 2012-01-12 Marek Polacek <polacek@redhat.com>
55682 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55685 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55687 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55688 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55689 macro to ensure uniqueness of label name.
55690 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55691 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55693 2012-01-11 Ulrich Drepper <drepper@gmail.com>
55695 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55697 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55698 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55699 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55700 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55702 2012-01-10 Ulrich Drepper <drepper@gmail.com>
55704 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55706 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55707 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55708 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55710 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55712 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55713 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55714 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55717 * math/bits/math-finite.h: Add ldexp support.
55719 2012-01-10 Marek Polacek <polacek@redhat.com>
55721 * locale/programs/localedef.h (show_archive_content): Add noreturn
55724 2012-01-09 Ulrich Drepper <drepper@gmail.com>
55726 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55728 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55730 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55732 * io/Makefile (headers): Add bits/poll2.h.
55734 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
55736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55737 typo #include statement.
55739 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55741 * include/sys/cdefs.h: Define __attribute_alloc_size.
55742 * catgets/gencat.c: Add alloc_size attribute and apply consistently
55743 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55744 * elf/pldd.c: Likewise.
55745 * iconv/iconv_charmap.c: Likewise.
55746 * iconv/iconvconfig.c: Likewise.
55747 * iconv/strtab.c: Likewise.
55748 * locale/programs/locale.c: Likewise.
55749 * locale/programs/localedef.h: Likewise.
55750 * locale/programs/simple-hash.c: Likewise.
55751 * nscd/nscd.h: Likewise.
55752 * nss/makedb.c: Likewise.
55753 * sysdeps/generic/ldconfig.h: Likewise.
55754 * locale/programs/localedef.c: Remove xmalloc prototype.
55755 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55757 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55759 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55762 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55764 * math/Makefile (tests): Add tst-CMPLX.
55765 * math/tst-CMPLX.c: New file.
55767 * math/complex.h (CMPLXL): Fix typo.
55769 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55770 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55772 * debug/tst-chk1.c: Add poll and ppoll tests.
55773 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55774 * include/sys/poll.h: Add hidden proto for ppoll.
55775 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55776 * sysdeps/mach/hurd/ppoll.c: Likewise.
55777 * io/ppoll.c: Likewise.
55778 * debug/poll_chk.c: New file.
55779 * debug/ppoll_chk.c: New file.
55780 * include/bits/poll2.h: New file.
55781 * io/bits/poll2.h: New file.
55784 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55786 * configure.in: static is always set to yes. Remove.
55787 * config.make.in: Don't set build-static.
55788 * Makeconfig: Remove use of build-static.
55789 * dlfcn/Makefile: Likewise.
55790 * elf/Makefile: Likewise.
55791 * math/Makefile: Likewise.
55792 * misc/Makefile: Likewise.
55793 * nptl/Makefile: Likewise.
55794 * sysdeps/mach/hurd/Makefile: Likewise.
55796 * configure.in: PWD_P is not used anymore.
55797 * config.make.in: Remove PWD_P entry.
55799 * configure.in: Remove last remnants of RANLIB.
55800 No need to check for signed size_t anymore.
55801 Don't set libc_commonpagesize and libc_relro_required here for Alpha
55803 Remove __builtin_expect test because we require at least gcc 3.4.
55804 * aclocal.m4: Likewise.
55806 * wcsmbs/mbrtoc16.c: Implement using towc function.
55807 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55808 * wcsmbs/wcsmbsload.c: Likewise.
55809 * iconv/gconv_simple.c: Likewise.
55810 * iconv/gconv_int.h: Likewise.
55811 * iconv/gconv_builtin.h: Likewise.
55812 * iconv/iconv_prog.c: Remove CHAR16 handling.
55814 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55816 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55818 * configure.in: Remove --with-elf and --enable-bounded options.
55819 Dont set base_machine for ia64. More non-ELF conditions removed.
55820 Remove testing and setting of leading underscore information.
55821 * config.make.in (build-bounded): Set to no.
55822 * config.h.in: Remove NO_UNDERSCORES entry.
55823 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
55825 * csu/start.c: Remove !NO_UNDERSCORE code.
55826 * locale/localeinfo.h: Likewise.
55827 * sysdeps/generic/machine-gmon.h: Likewise.
55828 * sysdeps/generic/sysdep.h: Likewise.
55829 * sysdeps/i386/sysdep.h: Likewise.
55830 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55831 * sysdeps/mach/sysdep.h: Likewise.
55832 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55833 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55834 * sysdeps/sh/sysdep.h: Likewise.
55835 * sysdeps/sparc/sparc32/alloca.S: Likewise.
55836 * sysdeps/unix/i386/sysdep.S: Likewise.
55837 * sysdeps/unix/sparc/start.c: Likewise.
55838 * sysdeps/unix/sparc/sysdep.S: Likewise.
55839 * sysdeps/unix/sparc/sysdep.h: Likewise.
55840 * sysdeps/unix/start.c: Likewise.
55841 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55842 * sysdeps/x86_64/sysdep.h: Likewise.
55844 2012-01-07 Ulrich Drepper <drepper@gmail.com>
55847 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55849 * argp/argp-fmtstream.h: Use const instead __const.
55850 * argp/argp.h: Likewise.
55851 * assert/assert.h: Likewise.
55852 * bits/fenv.h: Likewise.
55853 * bits/sched.h: Likewise.
55854 * bits/sigset.h: Likewise.
55855 * bits/sigthread.h: Likewise.
55856 * catgets/nl_types.h: Likewise.
55857 * conform/data/pthread.h-data: Likewise.
55858 * crypt/crypt-private.h: Likewise.
55859 * crypt/crypt.h: Likewise.
55860 * crypt/crypt_util.c: Likewise.
55861 * ctype/ctype.h: Likewise.
55862 * debug/execinfo.h: Likewise.
55863 * debug/mbsnrtowcs_chk.c: Likewise.
55864 * debug/mbsrtowcs_chk.c: Likewise.
55865 * debug/wcsnrtombs_chk.c: Likewise.
55866 * debug/wcsrtombs_chk.c: Likewise.
55867 * debug/wcstombs_chk.c: Likewise.
55868 * dirent/dirent.h: Likewise.
55869 * dlfcn/dlfcn.h: Likewise.
55870 * elf/neededtest4.c: Likewise.
55871 * grp/grp.h: Likewise.
55872 * gshadow/gshadow.h: Likewise.
55873 * iconv/gconv.h: Likewise.
55874 * iconv/gconv_int.h: Likewise.
55875 * iconv/gconv_simple.c: Likewise.
55876 * iconv/iconv.h: Likewise.
55877 * iconv/loop.c: Likewise.
55878 * iconv/skeleton.c: Likewise.
55879 * include/aio.h: Likewise.
55880 * include/aliases.h: Likewise.
55881 * include/argz.h: Likewise.
55882 * include/arpa/inet.h: Likewise.
55883 * include/assert.h: Likewise.
55884 * include/dirent.h: Likewise.
55885 * include/dlfcn.h: Likewise.
55886 * include/execinfo.h: Likewise.
55887 * include/fcntl.h: Likewise.
55888 * include/fenv.h: Likewise.
55889 * include/glob.h: Likewise.
55890 * include/grp.h: Likewise.
55891 * include/libintl.h: Likewise.
55892 * include/mntent.h: Likewise.
55893 * include/netdb.h: Likewise.
55894 * include/pwd.h: Likewise.
55895 * include/rpc/netdb.h: Likewise.
55896 * include/sched.h: Likewise.
55897 * include/search.h: Likewise.
55898 * include/shadow.h: Likewise.
55899 * include/signal.h: Likewise.
55900 * include/stdio.h: Likewise.
55901 * include/stdlib.h: Likewise.
55902 * include/string.h: Likewise.
55903 * include/sys/socket.h: Likewise.
55904 * include/sys/stat.h: Likewise.
55905 * include/sys/statfs.h: Likewise.
55906 * include/sys/statvfs.h: Likewise.
55907 * include/sys/syslog.h: Likewise.
55908 * include/sys/time.h: Likewise.
55909 * include/sys/uio.h: Likewise.
55910 * include/time.h: Likewise.
55911 * include/unistd.h: Likewise.
55912 * include/utmp.h: Likewise.
55913 * include/wchar.h: Likewise.
55914 * include/wctype.h: Likewise.
55915 * inet/aliases.h: Likewise.
55916 * inet/arpa/inet.h: Likewise.
55917 * inet/netinet/ether.h: Likewise.
55918 * inet/netinet/in.h: Likewise.
55919 * intl/libintl.h: Likewise.
55920 * io/bits/fcntl2.h: Likewise.
55921 * io/fcntl.h: Likewise.
55922 * io/ftw.h: Likewise.
55923 * io/sys/poll.h: Likewise.
55924 * io/sys/stat.h: Likewise.
55925 * io/sys/statfs.h: Likewise.
55926 * io/sys/statvfs.h: Likewise.
55927 * io/utime.h: Likewise.
55928 * libio/bits/stdio.h: Likewise.
55929 * libio/bits/stdio2.h: Likewise.
55930 * libio/libio.h: Likewise.
55931 * libio/libioP.h: Likewise.
55932 * libio/stdio.h: Likewise.
55933 * locale/lc-ctype.c: Likewise.
55934 * locale/locale.h: Likewise.
55935 * login/utmp.h: Likewise.
55936 * malloc/arena.c: Likewise.
55937 * malloc/malloc.c: Likewise.
55938 * malloc/malloc.h: Likewise.
55939 * malloc/mcheck.c: Likewise.
55940 * malloc/mtrace.c: Likewise.
55941 * math/bits/mathcalls.h: Likewise.
55942 * math/fenv.h: Likewise.
55943 * math/math_private.h: Likewise.
55944 * misc/bits/error.h: Likewise.
55945 * misc/bits/syslog.h: Likewise.
55946 * misc/err.h: Likewise.
55947 * misc/error.h: Likewise.
55948 * misc/fstab.h: Likewise.
55949 * misc/mntent.h: Likewise.
55950 * misc/regexp.h: Likewise.
55951 * misc/search.h: Likewise.
55952 * misc/sgtty.h: Likewise.
55953 * misc/sys/mman.h: Likewise.
55954 * misc/sys/syslog.h: Likewise.
55955 * misc/sys/uio.h: Likewise.
55956 * misc/sys/xattr.h: Likewise.
55957 * misc/ttyent.h: Likewise.
55958 * nis/rpcsvc/ypclnt.h: Likewise.
55959 * nss/nss.h: Likewise.
55960 * posix/bits/unistd.h: Likewise.
55961 * posix/fnmatch.h: Likewise.
55962 * posix/glob.h: Likewise.
55963 * posix/sched.h: Likewise.
55964 * posix/spawn.h: Likewise.
55965 * posix/sys/wait.h: Likewise.
55966 * posix/unistd.h: Likewise.
55967 * posix/wordexp.h: Likewise.
55968 * pwd/pwd.h: Likewise.
55969 * resolv/netdb.h: Likewise.
55970 * resource/sys/resource.h: Likewise.
55971 * rt/aio.h: Likewise.
55972 * rt/bits/mqueue2.h: Likewise.
55973 * rt/mqueue.h: Likewise.
55974 * shadow/shadow.h: Likewise.
55975 * signal/signal.h: Likewise.
55976 * socket/send.c: Likewise.
55977 * socket/sendto.c: Likewise.
55978 * socket/sys/socket.h: Likewise.
55979 * stdio-common/printf.h: Likewise.
55980 * stdlib/bits/stdlib.h: Likewise.
55981 * stdlib/fmtmsg.h: Likewise.
55982 * stdlib/monetary.h: Likewise.
55983 * stdlib/stdlib.h: Likewise.
55984 * stdlib/ucontext.h: Likewise.
55985 * streams/stropts.h: Likewise.
55986 * string/argz.h: Likewise.
55987 * string/bits/string2.h: Likewise.
55988 * string/string.h: Likewise.
55989 * string/strings.h: Likewise.
55990 * sunrpc/rpc/auth.h: Likewise.
55991 * sunrpc/rpc/auth_des.h: Likewise.
55992 * sunrpc/rpc/clnt.h: Likewise.
55993 * sunrpc/rpc/netdb.h: Likewise.
55994 * sunrpc/rpc/pmap_clnt.h: Likewise.
55995 * sunrpc/rpc/xdr.h: Likewise.
55996 * sysdeps/generic/inttypes.h: Likewise.
55997 * sysdeps/generic/net/if.h: Likewise.
55998 * sysdeps/generic/sys/swap.h: Likewise.
55999 * sysdeps/gnu/net/if.h: Likewise.
56000 * sysdeps/gnu/utmpx.h: Likewise.
56001 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56002 * sysdeps/i386/i486/bits/string.h: Likewise.
56003 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56004 * sysdeps/s390/bits/string.h: Likewise.
56005 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56006 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56007 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56008 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56009 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56010 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56011 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56012 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56013 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56014 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56015 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56016 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56017 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56018 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56019 * sysdeps/unix/sysv/linux/readv.c: Likewise.
56020 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56021 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56023 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56024 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56025 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56026 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56027 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56028 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56029 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56030 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56031 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56032 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56033 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56034 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56035 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56036 * sysvipc/sys/ipc.h: Likewise.
56037 * sysvipc/sys/msg.h: Likewise.
56038 * sysvipc/sys/sem.h: Likewise.
56039 * sysvipc/sys/shm.h: Likewise.
56040 * termios/termios.h: Likewise.
56041 * time/sys/time.h: Likewise.
56042 * time/time.h: Likewise.
56043 * wcsmbs/bits/wchar2.h: Likewise.
56044 * wcsmbs/uchar.h: Likewise.
56045 * wcsmbs/wchar.h: Likewise.
56046 * wctype/wctype.h: Likewise.
56049 * Makeconfig: Remove all but ELF support including AIX support.
56050 * Makerules: Likewise.
56051 * config.h.in: Likewise.
56052 * config.make.in: Likewise.
56053 * configure: Likewise.
56054 * configure.in: Likewise.
56055 * csu/Makefile: Likewise.
56056 * csu/version.c: Likewise.
56057 * debug/Makefile: Likewise.
56058 * dlfcn/Makefile: Likewise.
56059 * elf/Makefile: Likewise.
56060 * extra-lib.mk: Likewise.
56061 * iconv/Makefile: Likewise.
56062 * include/libc-symbols.h: Likewise.
56063 * include/shlib-compat.h: Likewise.
56064 * resolv/Makefile: Likewise.
56065 * resolv/res_libc.c: Likewise.
56066 * rt/Makefile: Likewise.
56067 * sysdeps/i386/asm-syntax.h: Likewise.
56068 * sysdeps/i386/sysdep.h: Likewise.
56069 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56070 * sysdeps/mach/sysdep.h: Likewise.
56071 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56072 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56073 * sysdeps/s390/asm-syntax.h: Likewise.
56074 * sysdeps/s390/s390-32/sysdep.h: Likewise.
56075 * sysdeps/s390/s390-64/sysdep.h: Likewise.
56076 * sysdeps/sh/sysdep.h: Likewise.
56077 * sysdeps/unix/sparc/sysdep.h: Likewise.
56078 * sysdeps/wordsize-32/divdi3.c: Likewise.
56079 * sysdeps/x86_64/sysdep.h: Likewise.
56081 * argp/Versions: Remove _argp_unlock_xxx.
56084 * abilist/ld.abilist: Update. Adjust for removal of tls option.
56085 * abilist/libBrokenLocale.abilist: Likewise.
56086 * abilist/libanl.abilist: Likewise.
56087 * abilist/libc.abilist: Likewise.
56088 * abilist/libcrypt.abilist: Likewise.
56089 * abilist/libdl.abilist: Likewise.
56090 * abilist/libm.abilist: Likewise.
56091 * abilist/libnsl.abilist: Likewise.
56092 * abilist/libpthread.abilist: Likewise.
56093 * abilist/libresolv.abilist: Likewise.
56094 * abilist/librt.abilist: Likewise.
56095 * abilist/libthread_db.abilist: Likewise.
56096 * abilist/libutil.abilist: Likewise.
56097 * abilist/libnss_db.abilist: New file.
56099 * scripts/abilist.awk: Add support for indirect functions.
56101 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56103 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56105 * shlib-versions: Remove entries for ports architectures.
56107 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
56109 * elf/stackguard-macros.h: Remove support for IA-64.
56110 * elf/tst-auditmod1.c: Likewise.
56111 * sysdeps/generic/ldsodefs.h: Likewise.
56113 * sysdeps/unix/sysv/linux/configure.in: Ports should define
56114 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56118 * configure.in: Remove --enable-omitfp support.
56120 * config.make.in: Likewise.
56121 * Makeconfig: Likewise.
56122 * manual/install.texi: Likewise.
56124 In case anyone cares, the IA-64 architecture could move to ports.
56125 * sysdeps/ia64/*: Removed.
56126 * sysdeps/unix/sysv/linux/ia64/*: Removed.
56127 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56130 * configure.in: Remove entries for unsupported architectures.
56133 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56134 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
56136 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56137 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56138 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
56139 fall back to using wcrtomb.
56140 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56141 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
56143 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56144 * wcsmbs/tst-c16c32-1.c: New file.
56146 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56149 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56151 * elf/tst-unique3.cc: Add explicit declaration of gets.
56152 * elf/tst-unique3lib.cc: Likewise.
56153 * elf/tst-unique3lib2.cc: Likewise.
56154 * elf/tst-unique4.cc: Likewise.
56156 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56158 2012-01-06 Joseph Myers <joseph@codesourcery.com>
56161 * assert/assert.h (static_assert): Don't define for C++.
56162 * libio/stdio.h (gets): Do declare for C++ <= C++11.
56163 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56165 2012-01-03 Ulrich Drepper <drepper@gmail.com>
56167 * iconv/loop.c (single loop): Fix assertion in storing of
56170 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56172 2012-01-01 Ulrich Drepper <drepper@gmail.com>
56174 * posix/getconf.c: Update copyright year.
56175 * nss/getent.c: Likewise.
56176 * nss/makedb.c: Likewise.
56177 * iconv/iconvconfig.c: Likewise.
56178 * iconv/iconv_prog.c: Likewise.
56179 * elf/ldconfig.c: Likewise.
56180 * elf/pldd.c: Likewise.
56181 * elf/sotruss.ksh: Likewise.
56182 * catgets/gencat.c: Likewise.
56183 * csu/version.c: Likewise.
56184 * elf/ldd.bash.in: Likewise.
56185 * elf/sprof.c (print_version): Likewise.
56186 * locale/programs/locale.c: Likewise.
56187 * locale/programs/localedef.c: Likewise.
56188 * login/programs/pt_chown.c: Likewise.
56189 * nscd/nscd.c (print_version): Likewise.
56190 * debug/xtrace.sh: Likewise.
56191 * malloc/memusage.sh: Likewise.
56192 * malloc/mtrace.pl: Likewise.
56193 * debug/catchsegv.sh: Likewise.
56195 2011-12-30 Jakub Jelinek <jakub@redhat.com>
56197 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56200 2011-12-24 Ulrich Drepper <drepper@gmail.com>
56203 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56204 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56206 * iconv/gconv_int.h: Likewise.
56207 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56208 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56209 from libc for GLIBC_2.16.
56210 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56211 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56212 * wcsmbs/uchar.h: Really define mbstate_t.
56213 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56214 * wcsmbs/c16rtomb.c: New file.
56215 * wcsmbs/mbrtoc16.c: New file.
56216 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56217 for C/POSIX locale.
56218 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56219 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56221 * wcsmbs/wchar.h: Add missing __restrict.
56223 2011-12-23 Ulrich Drepper <drepper@gmail.com>
56226 * time/Makefile (routines): Add timespec_get.
56227 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56228 * time/time.h: Define TIME_UTC and declare timespec_get. Define
56229 timespec for ISO C11.
56230 * time/timespec_get.c: New file.
56231 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56232 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56235 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56236 * stdlib/stdlib.h: Declare aligned_alloc.
56237 * Versions.def: Add GLIBC_2.16 for libc.
56238 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56241 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56244 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56248 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56251 * assert/assert.h (static_assert): Define.
56253 * version.h: Update for 2.16 development version.
56256 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56259 * version.h (RELEASE): Bump for 2.15 release.
56260 * include/features.h (__GLIBC_MINOR__): Bump to 15.
56262 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56263 Patch by Marek Polacek <mpolacek@redhat.com>.
56265 * bits/byteswap.h: Protect long long constants with __extension__.
56266 * sysdeps/i386/bits/byteswap.h: Likewise.
56267 * sysdeps/ia64/bits/byteswap.h: Likewise.
56268 * sysdeps/s390/bits/byteswap.h: Likewise.
56269 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56271 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56274 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56275 destination buffer.
56276 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56278 2011-12-23 Marek Polacek <polacek@redhat.com>
56280 * elf/dl-addr.c (determine_info): Add inline keyword.
56281 * elf/tst-auditmod4b.c (check_avx): Likewise.
56282 * elf/tst-auditmod6b.c (check_avx): Likewise.
56283 * elf/tst-auditmod6c.c (check_avx): Likewise.
56284 * elf/tst-auditmod7b.c (check_avx): Likewise.
56286 2011-12-23 Ulrich Drepper <drepper@gmail.com>
56288 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56291 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56294 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56295 processing for last bytes.
56297 2011-08-06 Bruno Haible <bruno@clisp.org>
56300 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56301 U+0385, not to U+1FEE.
56304 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56305 entry for U+00A5 U+0301.
56307 2011-12-22 Ulrich Drepper <drepper@gmail.com>
56310 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56311 buffer for the output is too small.
56313 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56317 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56318 SSE flags if possible.
56320 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56323 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56324 processing for last bytes.
56326 2011-12-22 Joseph Myers <joseph@codesourcery.com>
56328 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56329 (syscall-list-default-options, syscall-list-default-condition)
56330 (syscall-list-includes): Define.
56331 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56332 list of ABIs and options and #if conditions for each ABI. Do not
56333 handle common syscalls between ABIs specially.
56334 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56336 (syscall-list-variants, syscall-list-32bit-options)
56337 (syscall-list-32bit-condition, syscall-list-64bit-options)
56338 (syscall-list-64bit-condition): Define.
56339 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56340 (syscall-list-variants, syscall-list-32bit-options)
56341 (syscall-list-32bit-condition, syscall-list-64bit-options)
56342 (syscall-list-64bit-condition): Define.
56343 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56345 (syscall-list-variants, syscall-list-32bit-options)
56346 (syscall-list-32bit-condition, syscall-list-64bit-options)
56347 (syscall-list-64bit-condition): Define.
56348 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56350 (syscall-list-variants, syscall-list-32bit-options)
56351 (syscall-list-32bit-condition, syscall-list-64bit-options)
56352 (syscall-list-64bit-condition): Define.
56354 2011-12-22 Ulrich Drepper <drepper@gmail.com>
56356 * locale/iso-639.def: Add brx entry.
56359 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56360 Proposed by Mariusz_Cukr <marcukr@op.pl>.
56362 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56363 __feraiseexcept_renamed.
56365 2011-12-21 Ulrich Drepper <drepper@gmail.com>
56368 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56369 EPOLLET with unsigned values.
56370 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56371 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56373 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56374 to large cancellation.
56375 * math/s_cacoshf.c: Likewise.
56376 * math/s_cacoshl.c: Likewise.
56378 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
56382 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56383 * math/s_cacoshf.c: Likewise.
56384 * math/s_cacoshl.c: Likewise.
56386 2011-12-21 Ulrich Drepper <drepper@gmail.com>
56389 * iconv/gconv.h: Define __GCONV_SWAP.
56390 * iconvdata/unicode.c: The swap bit must be stored in __flags.
56391 * iconvdata/utf-16.c: Likewise.
56392 * iconvdata/utf-32.c: Likewise.
56394 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
56397 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56398 numerator after shifting it by one limb.
56400 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
56402 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56403 under [__USE_EXTERN_INLINES].
56405 2011-12-17 Ulrich Drepper <drepper@gmail.com>
56408 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56410 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56412 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56413 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56415 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56416 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56417 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56418 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56419 for strncasecmp/strncasecmp_l compilation.
56420 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56421 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56423 2011-12-08 Marek Polacek <mpolacek@redhat.com>
56426 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56429 2011-12-17 Ulrich Drepper <drepper@gmail.com>
56432 * time/tzfile.c (__tzfile_read): Check values from file header.
56434 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
56436 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56437 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56438 * powerpc/powerpc32/dl-start.S: Likewise.
56439 * powerpc/powerpc32/elf/start.S: Likewise.
56440 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56441 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56442 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56443 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56444 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56445 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56446 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56447 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56448 * powerpc/powerpc32/fpu/s_round.S: Likewise.
56449 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56450 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56451 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56452 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56453 * powerpc/powerpc32/memset.S: Likewise.
56454 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56455 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56456 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56457 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56458 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56459 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56460 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56461 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56462 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56463 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56464 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56465 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56466 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56468 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56470 * math/libm-test.inc: Added more nearbyint tests.
56471 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56472 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56473 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56474 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56476 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
56478 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56481 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56483 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56484 Add wcscpy-ssse3 wcscpy-c.
56485 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56486 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56487 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56488 * sysdeps/x86_64/wcschr.S: New file.
56489 * sysdeps/x86_64/wcsrchr.S: New file.
56490 * string/test-strcmp.c: Remove checking of wcscmp function for
56492 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56493 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56494 wcsrchr-sse2 wcsrchr-c.
56495 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56496 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56497 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56498 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56499 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56500 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56501 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56502 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56503 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56504 * wcsmbc/wcschr.c (WCSCHR): New macro.
56506 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56508 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56509 * wcsmbs/test-wcsrchr.c: New file.
56510 * string/test-strrchr.c: Add wcsrchr support.
56512 * wcsmbs/test-wcscpy.c: New file.
56513 * string/test-strcpy.c: Add wcscpy support.
56516 2011-12-10 Ulrich Drepper <drepper@gmail.com>
56518 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56521 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
56524 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56526 2011-12-04 Ulrich Drepper <drepper@gmail.com>
56528 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56529 Minor optimizations.
56531 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56532 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56533 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56535 2011-12-03 Ulrich Drepper <drepper@gmail.com>
56537 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56538 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56539 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56540 for gcc to avoid warnings.
56541 * inet/Makefile (tests): Add tst-checks.
56542 * inet/tst-checks.c: New file.
56544 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56547 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56550 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56551 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56553 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56555 2011-12-02 Ulrich Drepper <drepper@gmail.com>
56557 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56560 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56562 2011-11-29 Joseph Myers <joseph@codesourcery.com>
56564 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56565 conditional on GCC version.
56566 (__arch_compare_and_exchange_val_8_acq)
56567 (__arch_compare_and_exchange_val_16_acq)
56568 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56569 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56570 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56572 2011-12-02 Joseph Myers <joseph@codesourcery.com>
56574 * sysdeps/sh/backtrace.c: New file.
56576 2011-12-02 Andreas Schwab <schwab@redhat.com>
56578 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
56581 2011-12-01 Andreas Schwab <schwab@redhat.com>
56583 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56584 falling back to utime.
56586 2011-11-30 Andreas Schwab <schwab@redhat.com>
56588 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56589 expectations for float.
56591 2011-11-29 Andreas Schwab <schwab@redhat.com>
56593 * locale/weight.h (findidx): Add parameter len.
56594 * locale/weightwc.h (findidx): Likewise.
56595 * posix/fnmatch_loop.c (FCT): Adjust caller.
56596 * posix/regcomp.c (build_equiv_class): Likewise.
56597 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56598 * posix/regexec.c (check_node_accept_bytes): Likewise.
56599 * string/strcoll_l.c (STRCOLL): Likewise.
56600 * string/strxfrm_l.c (STRXFRM): Likewise.
56602 2011-11-17 Ulrich Drepper <drepper@gmail.com>
56604 * Makefile.in: Remove CVSOPT handling.
56605 * configure.in: Remove use of AC_REVISION.
56606 * iconvdata/Makefile (distribute): No need to filter out CVS.
56607 * scripts/list-sources.sh: Remove CVS, subversion and monotone
56610 2011-11-16 Andreas Schwab <schwab@redhat.com>
56612 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56613 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56614 [USE_AS_STRNCASECMP_L]: Likewise.
56615 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56616 NO_TLS_DIRECT_SEG_REFS.
56617 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56618 Fix argument offsets for non-PIC.
56619 [USE_AS_STRNCASECMP_L]: Likewise.
56620 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56621 NO_TLS_DIRECT_SEG_REFS.
56623 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56625 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56627 * locale/loadlocale.c (_nl_load_locale): Likewise.
56629 2011-11-15 Andreas Schwab <schwab@redhat.com>
56631 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56632 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56633 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56634 (SYSCALL_GETTIME): Set errno on error.
56636 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56637 count references to noai6ai_cached.
56639 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56641 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56643 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56644 FD_CLOEXEC for /proc/self/maps.
56646 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56647 FD_CLOEXEC for /proc/meminfo.
56649 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56652 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
56653 FD_CLOEXEC for given file.
56655 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56657 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56658 FD_CLOEXEC for /etc/hosts.
56659 (_gethtent): Likewise.
56661 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56663 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56664 cancellation and set FD_CLOEXEC for /etc/netgroup.
56666 * nss/nss_files/files-key.c (search): Don't allow cancellation when
56667 reading /etc/publickey.
56669 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56670 allow cancellation when reading /etc/group.
56672 * nss/nss_files/files-alias.c (internal_setent): Don't allow
56674 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
56676 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56677 when using data file.
56679 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56681 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56682 (write_nis_obj): Use "c" and "e" in fopen.
56684 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56686 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56688 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56690 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56692 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56695 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56697 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56699 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56701 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56702 file parsing and set FD_CLOEXEC.
56704 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56706 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56708 2011-11-14 Andreas Schwab <schwab@redhat.com>
56710 * malloc/arena.c (arena_get2): Don't call reused_arena when
56711 _int_new_arena failed.
56713 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56715 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56716 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56717 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56718 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56719 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56720 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56721 to compile strcasecmp and strncasecmp.
56722 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56723 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56725 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56727 2011-11-13 Ulrich Drepper <drepper@gmail.com>
56729 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56730 locale-defines.sym to gen-as-const-headers.
56731 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56732 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56733 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56734 to compile strcasecmp and strncasecmp.
56735 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56736 strcasecmp_l and strncasecmp_l.
56737 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56738 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56739 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56740 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56741 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56742 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56743 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56744 * sysdeps/i386/i686/multiarch/strncase.S: New file.
56745 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56746 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56747 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56749 2011-11-12 Ulrich Drepper <drepper@gmail.com>
56751 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56752 result of SYSDEP_GETTIME_CPU to retval.
56753 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56754 parameter list to macro. Remove trailing semicolon. Adjust users.
56756 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56759 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56761 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56763 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56764 from unused variable.
56766 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56768 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56771 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56774 * sunrpc/rpc_prot.c (rejected): Fix case value.
56776 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56777 unsigned long long int to avoid warnings in shift.
56779 * posix/regex_internal.c (re_string_reconstruct): Actually use result
56781 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56784 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56785 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56786 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56788 * nis/nis_table.c (nis_list): Use variable of correct type for
56789 result of __follow_path call.
56791 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56793 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56794 of math functions ceil, trunc, floor, round, and sqrt, when
56795 avaliable on the platform.
56796 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56798 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56799 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56800 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56802 2011-10-30 Marek Polacek <mpolacek@redhat.com>
56804 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56805 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56807 2011-11-11 Roland McGrath <roland@hack.frob.com>
56809 * include/unistd.h: Fix __readlink return type.
56810 Reported by Chris Metcalf <cmetcalf@tilera.com>.
56812 2011-11-11 Ulrich Drepper <drepper@gmail.com>
56814 * stdlib/ucontext.h: Undo last change for makecontext.
56816 2011-11-11 Andreas Schwab <schwab@redhat.com>
56818 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56820 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56821 * setjmp/setjmp.h: Mark functions as non-leaf.
56822 * setjmp/bits/setjmp2.h: Likewise.
56823 * stdlib/ucontext.h: Likewise.
56825 2011-11-10 Andreas Schwab <schwab@redhat.com>
56827 * malloc/arena.c (_int_new_arena): Don't increment narenas.
56828 (reused_arena): Don't check arena limit.
56829 (arena_get2): Atomically check arena limit.
56831 2011-11-08 Ulrich Drepper <drepper@gmail.com>
56833 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56834 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56839 2011-11-07 Andreas Schwab <schwab@redhat.com>
56841 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56842 handler when locking.
56844 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56845 Fix size of allocated buffer.
56847 2011-11-04 Andreas Schwab <schwab@redhat.com>
56850 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56851 declarations for long double functions.
56852 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56854 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56856 2011-11-03 Andreas Schwab <schwab@redhat.com>
56858 * nscd/nscd.c (main): Don't start AVC thread until credentials are
56861 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56864 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
56866 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56868 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
56870 * include/alloca.h (stackinfo_alloca_round): Define.
56871 (extend_alloca): Use it.
56872 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56873 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56876 * scripts/check-local-headers.sh: Ignore libaudit.h.
56878 * nscd/Makefile (extra-objs): Make recursively expanded.
56880 2011-11-01 Ulrich Drepper <drepper@gmail.com>
56882 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56883 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56885 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56886 * posix/tst-rfc3484-2.c: Likewise.
56887 * posix/tst-rfc3484-3.c: Likewise.
56889 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56891 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56893 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56894 process_vm_writev from libc using GLIBC_2.15 version.
56896 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56898 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
56900 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56903 2011-10-31 Ulrich Drepper <drepper@gmail.com>
56906 * nss/getent.c (initgroups_keys): Show error message in case no group
56909 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56910 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56911 __bump_nl_timestamp.
56912 * nscd/connections (nscd_init): When host database is served open
56913 netlink socket and request notification about configuration changes.
56914 (main_loop_poll): Track netlink file descriptor and bump timestamp
56915 in case data becomes available.
56916 (main_loop_epoll): Likewise.
56917 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56918 (database_pers_head): Add extra_data fileds.
56919 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56920 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56921 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56923 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56924 in6ai data, call __free_in6ai.
56925 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56926 Add -DHAVE_NETLINK.
56927 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
56928 interface information. Reuse previous data if netlink timestamp
56930 (__bump_nl_timestamp): New function.
56931 (__free_in6ai): New function.
56933 2011-10-30 Ulrich Drepper <drepper@gmail.com>
56935 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56936 close_not_cancel_no_status here.
56937 (__check_pf): Reorganize code a bit to not call close twice if OOM.
56939 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56942 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56945 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56946 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56947 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56949 2011-07-03 Andreas Jaeger <aj@suse.de>
56952 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56953 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56954 * math/libm-test.inc (sin_test): Add test case.
56956 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56959 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56960 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56962 * elf/chroot_canon.c (chroot_canon): Cleanups.
56964 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56967 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56968 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56970 * string/test-strchr.c: Make usable for strchrnul testing.
56971 * string/test-strchrnul.c: New file.
56972 * string/Makefile (strop-tests): Add strchrnul.
56974 * po/it.po: Update from translation team.
56975 * po/es.po: Likewise.
56977 2011-10-28 Ulrich Drepper <drepper@gmail.com>
56979 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56980 the three constants needed as parameters. Drop the others.
56981 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56982 __m128i_strloadu_tolower.
56983 Create and initialize variable zero and use it in all the places
56984 where _mm_setzero_si128 was used.
56986 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56987 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56988 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56989 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56991 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56992 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56993 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56994 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56995 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56996 __mpranred, __mptan.
56997 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56998 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56999 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57000 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57001 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57002 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57003 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57004 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57005 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57007 2011-10-28 Andreas Schwab <schwab@redhat.com>
57009 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57010 redefine if SHARED.
57011 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57014 wide char related routines to wcsmbs subdir.
57016 2011-10-27 Andreas Schwab <schwab@redhat.com>
57019 * misc/sys/cdefs.h (__THROWNL): Define.
57020 * posix/unistd.h: Use __THREADNL instead of __THREAD
57021 for memory synchronization functions.
57023 2011-10-26 Roland McGrath <roland@hack.frob.com>
57026 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57028 * manual/stdio.texi (Obstack Streams): Node removed.
57030 2011-10-26 Andreas Schwab <schwab@redhat.com>
57032 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57033 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57034 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57036 * math/math_private.h (math_force_eval): Allow non-addressable
57038 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57040 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57042 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57043 file is not needed.
57045 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57046 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57047 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57048 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57049 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57050 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57051 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57052 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57054 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57055 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57056 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57057 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57058 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57059 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57060 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57061 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57062 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57063 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57064 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57065 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57066 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57067 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57068 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57069 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57070 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57071 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57072 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57074 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57075 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
57077 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57078 place. Use VEX encoding when compiling for AVX.
57080 2011-10-25 Andreas Schwab <schwab@redhat.com>
57082 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57083 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57085 * string/test-strchr.c (do_test): Don't generate NUL bytes.
57087 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57089 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57090 useless if() expression.
57091 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57092 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57093 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57094 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57095 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57096 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57097 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57098 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57099 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57100 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57101 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57102 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57103 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57104 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57105 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57106 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57107 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57108 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57109 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57111 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57113 2011-10-25 Andreas Schwab <schwab@redhat.com>
57115 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57117 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57119 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57121 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57122 .text section. Avoid duplicate constants.
57123 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57124 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57125 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57127 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57128 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57130 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57131 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57132 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57133 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57134 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57135 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57136 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57137 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57138 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57139 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57140 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57141 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57143 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57144 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57145 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57146 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57147 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57148 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57149 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57150 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57151 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57152 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57153 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57154 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57155 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57156 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57157 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57158 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57159 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57160 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57161 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57162 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57163 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57164 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57165 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57166 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57167 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57169 2011-10-24 Ulrich Drepper <drepper@gmail.com>
57171 * sysdeps/x86_64/dla.h: Move to ...
57172 * sysdeps/x86_64/fpu/dla.h: ...here.
57173 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57174 situations. Use __builtin_fma only for gcc 4.6 and up.
57176 * config.make.in: Add have-mfma4 entry.
57177 * configure.in: Substitute libc_cv_cc_fma4.
57178 * math/Makefile (dbl-only-routines): Add sincostab.
57179 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57180 Use __sincostab not sincos.
57181 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57183 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57184 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57185 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57186 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
57188 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
57189 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
57190 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57191 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57193 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57194 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57196 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
57197 define aliases when function name is a macro.
57198 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57199 sysdeps/ieee754/dbl-64/sincos.tbl.
57200 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57201 fma4-enabled routines.
57202 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57203 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57204 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57205 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57206 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57207 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57208 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57209 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57210 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57211 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57212 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57213 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57214 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57215 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57216 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57217 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57218 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57219 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57220 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57221 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57222 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57223 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57224 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57225 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57226 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57227 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57228 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57229 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57230 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57231 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57233 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57235 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57237 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57238 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57240 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57241 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57244 2011-10-24 Andreas Schwab <schwab@redhat.com>
57246 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57248 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57250 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57252 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57254 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57256 * string/strnlen.c: Don't define STRNLEN, reverse logic.
57257 Remove unused variable magic_bits.
57258 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57260 * string/strnlen.c: Define and use STRNLEN macro.
57261 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57262 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57263 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57264 * wcsmbs/wcslen.c: Define and use WCSLEN.
57265 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57266 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57267 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57268 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57269 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57270 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57271 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57273 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57276 strnlen-sse2-no-bsf.
57277 Rename strlen-no-bsf to strlen-sse2-no-bsf.
57278 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57279 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57280 Add strnlen support.
57281 (USE_AS_STRNLEN): New macro.
57282 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57283 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57284 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57285 * sysdeps/x86_64/wcslen.S: New file.
57287 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
57289 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57290 XMM-moves are used for copying on small sizes.
57292 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57294 * wcsmbs/Makefile (strop-tests): Add wcschr.
57295 * wcsmbs/test-wcschr.c: New file.
57296 * string/test-strchr.c: Update.
57297 Add wcschr support.
57300 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57302 * wcsmbs/Makefile (strop-tests): Add wcslen.
57303 * wcsmbs/test-wcslen.c: New file.
57304 * string/test-strlen.c: Update.
57305 Add wcslen support.
57308 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57310 * po/it.po: Update from translation team.
57312 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57314 * sysdeps/x86_64/wcscmp.S: Update.
57315 Fix wrong comparison semantics.
57316 wcscmp shall use signed comparison not unsigned.
57317 Don't use substraction to avoid overflow bug.
57318 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57319 * wcsmbc/wcscmp.c: Likewise.
57320 * string/test-strcmp.c: Likewise.
57321 Add new tests to check cases with negative values.
57323 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57325 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57326 * sysdeps/x86_64/dla.h: ...here. New file.
57327 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57328 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57330 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57331 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57332 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57333 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57334 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57335 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57337 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
57339 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57340 __ynl_finite aliases.
57342 2011-10-22 Ulrich Drepper <drepper@gmail.com>
57344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57346 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57348 [DLA_FMA] (EMULV): Use DLA_FMA.
57349 [DLA_FMA] (MUL12): Use EMULV.
57350 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57351 that are not needed.
57352 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57354 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57355 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57356 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57357 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57358 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57360 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
57362 * math/s_nan.c: Undef __nan.
57363 * math/s_nanf.c: Undef __nanf.
57364 * math/s_nanl.c: Undef __nanl.
57365 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57368 2011-10-22 Ulrich Drepper <drepper@gmail.com>
57370 * math/s_catan.c: Add branch predictions.
57371 * math/s_catanf.c: Likewise.
57372 * math/s_catanh.c: Likewise.
57373 * math/s_catanhf.c: Likewise.
57374 * math/s_catanhl.c: Likewise.
57375 * math/s_catanl.c: Likewise.
57376 * math/s_cexp.c: Likewise.
57377 * math/s_cexpf.c: Likewise.
57378 * math/s_cexpl.c: Likewise.
57379 * math/s_clog.c: Likewise.
57380 * math/s_clog10.c: Likewise.
57381 * math/s_clog10f.c: Likewise.
57382 * math/s_clog10l.c: Likewise.
57383 * math/s_clogf.c: Likewise.
57384 * math/s_clogl.c: Likewise.
57385 * math/s_csqrt.c: Likewise.
57386 * math/s_csqrtf.c: Likewise.
57387 * math/s_csqrtl.c: Likewise.
57388 * math/s_ctanf.c: Likewise.
57389 * math/s_ctanh.c: Likewise.
57390 * math/s_ctanhf.c: Likewise.
57391 * math/s_ctanhl.c: Likewise.
57392 * math/s_ctanl.c: Likewise.
57394 * math/math_private.h: Define __nan, __nanf, __nanl.
57395 * math/s_cacosh.c: Include <math_private.h>.
57396 * math/s_cacoshl.c: Likewise.
57397 * math/s_casinh.c: Likewise.
57398 * math/s_casinhf.c: Likewise.
57399 * math/s_casinhl.c: Likewise.
57400 * math/s_ccos.c: Rely entire on ccosh.
57401 * math/s_ccosf.c: Rely entire on ccoshf.
57402 * math/s_ccosl.c: Rely entirely on ccoshl.
57403 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
57404 Remove tests for FE_INVALID.
57405 * math/s_ccoshf.c: Likewise.
57406 * math/s_ccoshl.c: Likewise.
57407 * math/s_csin.c: Likewise.
57408 * math/s_csinf.c: Likewise.
57409 * math/s_csinh.c Likewise.
57410 * math/s_csinhf.c: Likewise.
57411 * math/s_csinhl.c: Likewise.
57412 * math/s_csinl.c: Likewise.
57413 * math/s_ctan.c: Likewise.
57414 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57415 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57416 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57418 2011-10-21 Ulrich Drepper <drepper@gmail.com>
57420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57421 compilation problems.
57423 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57426 2011-10-20 Ulrich Drepper <drepper@gmail.com>
57428 * sysdeps/i386/configure.in: Test for -mfma4 option.
57429 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57430 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57431 COMMON_CPUID_INDEX_80000001.
57432 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57433 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57434 use it if FMA3 is not supported.
57435 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57437 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57438 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57440 2011-10-20 Andreas Schwab <schwab@redhat.com>
57443 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57444 it would create a cycle with a link time dependency.
57446 2011-10-19 Ulrich Drepper <drepper@gmail.com>
57448 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57450 * string/Makefile (strop-tests): Add rawmemchr.
57451 * string/test-rawmemchr.c: New file.
57453 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57454 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
57455 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
57456 when compiling str{,n}casecmp and when AVX is available. Hook up
57457 new optimized code in initializers.
57459 2011-10-19 Andreas Schwab <schwab@redhat.com>
57461 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57462 __feraiseexcept instead of feraiseexcept.
57464 2011-10-18 Ulrich Drepper <drepper@gmail.com>
57466 * math/math_private.h: Define defaults for libc_fetestexcept and
57468 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57469 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57470 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57471 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57472 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57473 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57474 libc_fetestexcept and libc_feupdateenv.
57476 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57477 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57478 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57479 * sysdeps/x86_64/fpu/math_private.h: Define special version of
57480 libc_feholdexcept_setround.
57482 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57483 Add s_nearbyint-c and s_nearbyintf-c.
57484 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57485 nearbyintf inlines.
57486 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57487 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57488 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57489 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57491 * math/math_private.h: Define defaults for libc_fegetround,
57492 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57493 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57494 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57495 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57496 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57497 standard functions.
57498 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57499 Remove comments and hacks for old compiler versions.
57500 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57501 libc_fegetround, libc_fesetround, libc_feholdexcept, and
57502 libc_feholdexceptl.
57504 2011-10-18 Andreas Schwab <schwab@redhat.com>
57506 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57507 (__feraiseexcept_renamed): Add __NTH.
57508 (feraiseexcept): Add __NTH. Rename local variables to fix
57509 namespace violations.
57511 2011-10-17 Ulrich Drepper <drepper@gmail.com>
57513 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57515 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57517 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57518 recently added interfaces.
57519 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57521 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57522 about macro parameter expansion.
57524 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57525 __NO_MATH_INLINES is defined. Cleanups.
57527 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57528 and __floorf is target has SSE4.1.
57529 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57530 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57531 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57532 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57534 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57536 (floorf): Likewise.
57538 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57540 2011-10-17 Andreas Schwab <schwab@redhat.com>
57542 * misc/sys/cdefs.h: Fix last change.
57544 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57547 2011-10-16 Ulrich Drepper <drepper@gmail.com>
57549 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57551 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57552 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57553 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57554 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57555 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57556 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57557 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57558 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57559 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57560 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57561 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57562 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57563 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57564 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57565 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57566 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57567 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57568 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57569 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57570 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57571 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57572 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57574 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57575 ceil, ceilf, floor, floorf.
57577 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57578 Perform IRELATIVE relocations last.
57580 * elf/do-rel.h: Add another parameter nrelative, replacing the
57581 local variable with the same name. Change name of the function
57582 to end in Rel or Rela (uppercase).
57583 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57584 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
57585 elf_dynamic_do_##reloc function.
57587 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57589 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57590 is sufficient, at least on modern CPUs.
57592 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57594 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57595 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57597 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57599 * math/bits/math-finite.h: Add entries for exp.
57600 * math/e_expl.c: Add __*_finite alias.
57601 * sysdeps/i386/fpu/e_exp.S: Likewise.
57602 * sysdeps/i386/fpu/e_expf.S: Likewise.
57603 * sysdeps/i386/fpu/e_expl.c: Likewise.
57604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57605 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57606 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57607 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57608 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57609 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57610 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57612 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57613 is sufficient, at least on modern CPUs.
57615 * ctype/ctype-info.c (__ctype_init): Define.
57616 * include/ctype.h (__ctype_init): Declare.
57617 (__ctype_b_loc): The variable is always initialized.
57618 (__ctype_toupper_loc): Likewise.
57619 (__ctype_tolower_loc): Likewise.
57620 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57621 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57623 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
57625 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57627 * configure.in: Also look in $cxxmachine/include for C++ system
57630 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57632 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57633 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57634 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57635 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
57636 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57637 (USE_AS_WMEMCMP): New macro.
57639 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57640 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57641 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57642 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57643 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57644 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57645 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57646 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57647 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57648 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57649 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57650 (USE_AS_WMEMCMP): New macro.
57651 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57652 * sysdeps/string/test-memcmp.c: Update.
57653 Fix simple_wmemcmp.
57655 * wcsmbs/wmemcmp.c: Update.
57656 (WMEMCMP): New macro.
57659 2011-10-12 Andreas Jaeger <aj@suse.de>
57662 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57664 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57666 * libio/iofwide.c (do_length): Avoid warning.
57668 * ctype/ctype.h (__isctype_f): Add missing __THROW.
57670 2011-10-14 Ulrich Drepper <drepper@gmail.com>
57672 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57674 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57675 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57676 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57677 * sysdeps/i386/i686/fpu/e_log.S: New file.
57678 * sysdeps/i386/i686/fpu/e_logf.S: New file.
57679 * sysdeps/i386/i686/fpu/e_logl.S: New file.
57681 * ctype/ctype.h: Add support for inlined isXXX functions when
57682 compiling C++ code.
57684 2011-10-14 Andreas Schwab <schwab@redhat.com>
57686 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57688 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57690 2011-10-13 Roland McGrath <roland@hack.frob.com>
57693 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57695 2011-10-13 Andreas Schwab <schwab@redhat.com>
57697 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57698 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57701 * sysdeps/x86_64/memrchr.S: Check for zero size.
57703 * string/stratcliff.c: Add memrchr tests.
57705 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57708 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57709 rawmemchr-sse2 rawmemchr-sse2-bsf.
57710 * sysdeps/i386/i686/multiarch/memchr.S: New file.
57711 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57712 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57713 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57714 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57715 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57716 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57717 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57718 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57719 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57720 * string/memrchr.c (MEMRCHR): New macro.
57722 2011-10-12 Ulrich Drepper <drepper@gmail.com>
57724 Add integration with gcc's -ffinite-math-only and optimize wrapper
57726 * Versions.def: Define GLIBC_2.15 version for libm.
57727 * math/Makefile (headers): Add bits/math-finite.h.
57728 * math/bits/math-finite.h: New file.
57729 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57730 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57731 * math/e_acoshl.c: Add __*_finite alias.
57732 * math/e_acosl.c: Likewise.
57733 * math/e_asinl.c: Likewise.
57734 * math/e_atan2l.c: Likewise.
57735 * math/e_atanhl.c: Likewise.
57736 * math/e_coshl.c: Likewise.
57737 * math/e_exp10.c: Likewise.
57738 * math/e_exp10f.c: Likewise.
57739 * math/e_exp10l.c: Likewise.
57740 * math/e_exp2l.c: Likewise.
57741 * math/e_fmodl.c: Likewise.
57742 * math/e_gammal_r.c: Likewise.
57743 * math/e_hypotl.c: Likewise.
57744 * math/e_j0l.c: Likewise.
57745 * math/e_j1l.c: Likewise.
57746 * math/e_jnl.c: Likewise.
57747 * math/e_lgammal_r.c: Likewise.
57748 * math/e_log10l.c: Likewise.
57749 * math/e_log2l.c: Likewise.
57750 * math/e_logl.c: Likewise.
57751 * math/e_powl.c: Likewise.
57752 * math/e_sinhl.c: Likewise.
57753 * math/e_sqrtl.c: Likewise.
57754 * math/e_scalb.c: Completely rewritten and optimized.
57755 * math/e_scalbf.c: Likewise.
57756 * math/e_scalbl.c: Likewise.
57757 * math/w_acos.c: Likewise.
57758 * math/w_acosf.c: Likewise.
57759 * math/w_acosl.c: Likewise.
57760 * math/w_acosh.c: Likewise.
57761 * math/w_acoshf.c: Likewise.
57762 * math/w_acoshl.c: Likewise.
57763 * math/w_asin.c: Likewise.
57764 * math/w_asinf.c: Likewise.
57765 * math/w_asinl.c: Likewise.
57766 * math/w_atan2.c: Likewise.
57767 * math/w_atan2f.c: Likewise.
57768 * math/w_atan2l.c: Likewise.
57769 * math/w_atanh.c: Likewise.
57770 * math/w_atanhf.c: Likewise.
57771 * math/w_atanhl.c: Likewise.
57772 * math/w_exp10.c: Likewise.
57773 * math/w_exp10f.c: Likewise.
57774 * math/w_exp10l.c: Likewise.
57775 * math/w_fmod.c: Likewise.
57776 * math/w_fmodf.c: Likewise.
57777 * math/w_fmodl.c: Likewise.
57778 * math/w_j0.c: Likewise.
57779 * math/w_j0f.c: Likewise.
57780 * math/w_j0l.c: Likewise.
57781 * math/w_j1.c: Likewise.
57782 * math/w_j1f.c: Likewise.
57783 * math/w_j1l.c: Likewise.
57784 * math/w_jn.c: Likewise.
57785 * math/w_jnf.c: Likewise.
57786 * math/w_log.c: Likewise.
57787 * math/w_logf.c: Likewise.
57788 * math/w_logl.c: Likewise.
57789 * math/w_log10.c: Likewise.
57790 * math/w_log10f.c: Likewise.
57791 * math/w_log10l.c: Likewise.
57792 * math/w_log2.c: Likewise.
57793 * math/w_log2f.c: Likewise.
57794 * math/w_log2l.c: Likewise.
57795 * math/w_pow.c: Likewise.
57796 * math/w_powf.c: Likewise.
57797 * math/w_powl.c: Likewise.
57798 * math/w_remainder.c: Likewise.
57799 * math/w_remainderf.c: Likewise.
57800 * math/w_remainderl.c: Likewise.
57801 * math/w_scalb.c: Likewise.
57802 * math/w_scalbf.c: Likewise.
57803 * math/w_scalbl.c: Likewise.
57804 * math/w_sqrt.c: Likewise.
57805 * math/w_sqrtf.c: Likewise.
57806 * math/w_sqrtl.c: Likewise.
57807 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57808 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
57810 * math/math_private.h: Declare __kernel_standard_f.
57811 * math/w_cosh.c: Remove cruft and optimize a bit.
57812 * math/w_coshf.c: Likewise.
57813 * math/w_coshl.c: Likewise.
57814 * math/w_exp2.c: Likewise.
57815 * math/w_exp2f.c: Likewise.
57816 * math/w_exp2l.c: Likewise.
57817 * math/w_hypot.c: Likewise.
57818 * math/w_hypotf.c: Likewise.
57819 * math/w_hypotl.c: Likewise.
57820 * math/w_lgamma.c: Likewise.
57821 * math/w_lgamma_r.c: Likewise.
57822 * math/w_lgammaf.c: Likewise.
57823 * math/w_lgammaf_r.c: Likewise.
57824 * math/w_lgammal.c: Likewise.
57825 * math/w_lgammal_r.c: Likewise.
57826 * math/w_sinh.c: Likewise.
57827 * math/w_sinhf.c: Likewise.
57828 * math/w_sinhl.c: Likewise.
57829 * math/w_tgamma.c: Likewise.
57830 * math/w_tgammaf.c: Likewise.
57831 * math/w_tgammal.c: Likewise.
57832 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57833 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57834 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57835 Minor optimizations. Pretty printing. Remove cruft.
57836 * sysdeps/i386/fpu/e_acosf.S: Likewise.
57837 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57838 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57839 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57840 * sysdeps/i386/fpu/e_acosl.c: Likewise.
57841 * sysdeps/i386/fpu/e_asin.S: Likewise.
57842 * sysdeps/i386/fpu/e_asinf.S: Likewise.
57843 * sysdeps/i386/fpu/e_atan2.S: Likewise.
57844 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57845 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57846 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57847 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57848 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57849 * sysdeps/i386/fpu/e_exp10.S: Likewise.
57850 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57851 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57852 * sysdeps/i386/fpu/e_exp2.S: Likewise.
57853 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57854 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57855 * sysdeps/i386/fpu/e_fmod.S: Likewise.
57856 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57857 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57858 * sysdeps/i386/fpu/e_hypot.S: Likewise.
57859 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57860 * sysdeps/i386/fpu/e_log.S: Likewise.
57861 * sysdeps/i386/fpu/e_log10.S: Likewise.
57862 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57863 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57864 * sysdeps/i386/fpu/e_log2.S: Likewise.
57865 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57866 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57867 * sysdeps/i386/fpu/e_logf.S: Likewise.
57868 * sysdeps/i386/fpu/e_logl.S: Likewise.
57869 * sysdeps/i386/fpu/e_pow.S: Likewise.
57870 * sysdeps/i386/fpu/e_powf.S: Likewise.
57871 * sysdeps/i386/fpu/e_powl.S: Likewise.
57872 * sysdeps/i386/fpu/e_remainder.S: Likewise.
57873 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57874 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57875 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57876 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57877 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57878 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57879 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57880 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57881 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57882 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57884 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57885 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57886 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57887 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57888 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57889 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57890 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57891 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57892 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57894 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57895 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57896 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57897 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57898 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57899 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57901 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57902 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57903 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57904 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57905 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57906 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57907 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57908 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57909 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57910 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57911 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57912 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57913 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57914 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57915 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57916 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57917 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57918 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57919 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57920 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57921 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57922 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57923 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57924 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57925 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57926 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57927 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57928 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57929 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57930 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57931 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57932 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57933 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57934 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57935 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57936 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57937 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57938 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57939 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57940 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57941 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57942 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57943 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57944 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57945 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57946 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57947 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57948 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57949 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57950 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57951 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57952 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57953 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57954 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57955 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57956 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57957 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57958 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57959 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57960 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57961 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57962 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57963 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57964 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57965 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57966 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57967 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57968 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57969 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57970 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57971 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57972 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57973 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57974 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57975 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57976 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57977 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57978 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57979 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57980 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57981 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57982 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57983 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57984 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57985 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57986 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57987 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57988 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57989 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57990 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57991 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
57992 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57993 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57994 (__isnanf): Likewise.
57995 (__isinf_ns): Likewise.
57996 (__isinf_nsf): Likewise.
57997 (__finite): Likewise.
57998 (__finitef): Likewise.
57999 (__ieee754_sqrt): Define as macro.
58000 (__ieee754_sqrtf): Define as macro.
58001 (__ieee754_sqrtl): Define as macro.
58002 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58004 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58005 __FINITE_MATH_ONLY__ consistent.
58006 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58008 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
58010 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58013 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58015 2011-10-09 Ulrich Drepper <drepper@gmail.com>
58017 * po/ja.po: Update from translation team.
58019 2011-10-08 Roland McGrath <roland@hack.frob.com>
58021 * locale/programs/locarchive.c (prepare_address_space): New function.
58022 (create_archive, enlarge_archive, open_archive): Use it.
58024 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58025 inside [SHARED], where it is used.
58027 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58029 * nss/getent.c (netgroup_keys): Remove unused variable.
58030 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58032 2011-10-08 Ulrich Drepper <drepper@gmail.com>
58034 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58035 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58037 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58038 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58039 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58040 * math/Makefile (libm-calls): Add s_isinf_ns.
58041 * math/divtc3.c: Use __isinf_nsl instead of isinf.
58042 * math/multc3.c: Likewise.
58043 * math/s_casin.c: Likewise.
58044 * math/s_casinf.c: Likewise.
58045 * math/s_casinl.c: Likewise.
58046 * math/s_ccos.c: Likewise.
58047 * math/s_ccosf.c: Likewise.
58048 * math/s_ccosl.c: Likewise.
58049 * math/s_ctan.c: Likewise.
58050 * math/s_ctanf.c: Likewise.
58051 * math/s_ctanh.c: Likewise.
58052 * math/s_ctanhf.c: Likewise.
58053 * math/s_ctanhl.c: Likewise.
58054 * math/s_ctanl.c: Likewise.
58055 * math/w_fmod.c: Likewise.
58056 * math/w_fmodf.c: Likewise.
58057 * math/w_fmodl.c: Likewise.
58058 * math/w_remainder.c: Likewise.
58059 * math/w_remainderf.c: Likewise.
58060 * math/w_remainderl.c: Likewise.
58061 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58062 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58063 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58064 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58065 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58066 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58067 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58068 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58070 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58072 * stdio-common/printf_fphex.c: Likewise.
58073 * stdio-common/printf_size.c: Likewise.
58075 * math/e_exp10.c: Include math_private.h using <...> not "...".
58076 * math/e_exp10f.c: Likewise.
58077 * math/e_exp10l.c: Likewise.
58078 * math/e_exp2l.c: Likewise.
58079 * math/e_j0l.c: Likewise.
58080 * math/e_j1l.c: Likewise.
58081 * math/e_jnl.c: Likewise.
58082 * math/e_lgammal_r.c: Likewise.
58083 * math/e_rem_pio2l.c: Likewise.
58084 * math/e_scalb.c: Likewise.
58085 * math/e_scalbf.c: Likewise.
58086 * math/e_scalbl.c: Likewise.
58087 * math/k_cosl.c: Likewise.
58088 * math/k_sinl.c: Likewise.
58089 * math/k_tanl.c: Likewise.
58090 * math/s_cacoshf.c: Likewise.
58091 * math/s_catan.c: Likewise.
58092 * math/s_catanf.c: Likewise.
58093 * math/s_catanh.c: Likewise.
58094 * math/s_catanhf.c: Likewise.
58095 * math/s_catanhl.c: Likewise.
58096 * math/s_catanl.c: Likewise.
58097 * math/s_ccosh.c: Likewise.
58098 * math/s_ccoshf.c: Likewise.
58099 * math/s_ccoshl.c: Likewise.
58100 * math/s_cexp.c: Likewise.
58101 * math/s_cexpf.c: Likewise.
58102 * math/s_cexpl.c: Likewise.
58103 * math/s_clog.c: Likewise.
58104 * math/s_clog10.c: Likewise.
58105 * math/s_clog10f.c: Likewise.
58106 * math/s_clog10l.c: Likewise.
58107 * math/s_clogf.c: Likewise.
58108 * math/s_clogl.c: Likewise.
58109 * math/s_csin.c: Likewise.
58110 * math/s_csinf.c: Likewise.
58111 * math/s_csinh.c: Likewise.
58112 * math/s_csinhf.c: Likewise.
58113 * math/s_csinhl.c: Likewise.
58114 * math/s_csinl.c: Likewise.
58115 * math/s_csqrt.c: Likewise.
58116 * math/s_csqrtf.c: Likewise.
58117 * math/s_csqrtl.c: Likewise.
58118 * math/s_ctan.c: Likewise.
58119 * math/s_ctanf.c: Likewise.
58120 * math/s_ctanh.c: Likewise.
58121 * math/s_ctanhf.c: Likewise.
58122 * math/s_ctanhl.c: Likewise.
58123 * math/s_ctanl.c: Likewise.
58124 * math/s_ldexp.c: Likewise.
58125 * math/s_ldexpf.c: Likewise.
58126 * math/s_ldexpl.c: Likewise.
58127 * math/s_significand.c: Likewise.
58128 * math/s_significandf.c: Likewise.
58129 * math/s_significandl.c: Likewise.
58130 * math/w_acos.c: Likewise.
58131 * math/w_acosf.c: Likewise.
58132 * math/w_acosh.c: Likewise.
58133 * math/w_acoshf.c: Likewise.
58134 * math/w_acoshl.c: Likewise.
58135 * math/w_acosl.c: Likewise.
58136 * math/w_asin.c: Likewise.
58137 * math/w_asinf.c: Likewise.
58138 * math/w_asinl.c: Likewise.
58139 * math/w_atan2.c: Likewise.
58140 * math/w_atan2f.c: Likewise.
58141 * math/w_atan2l.c: Likewise.
58142 * math/w_atanh.c: Likewise.
58143 * math/w_atanhf.c: Likewise.
58144 * math/w_atanhl.c: Likewise.
58145 * math/w_cosh.c: Likewise.
58146 * math/w_coshf.c: Likewise.
58147 * math/w_coshl.c: Likewise.
58148 * math/w_dremf.c: Likewise.
58149 * math/w_exp10.c: Likewise.
58150 * math/w_exp10f.c: Likewise.
58151 * math/w_exp10l.c: Likewise.
58152 * math/w_exp2.c: Likewise.
58153 * math/w_exp2f.c: Likewise.
58154 * math/w_fmod.c: Likewise.
58155 * math/w_fmodf.c: Likewise.
58156 * math/w_fmodl.c: Likewise.
58157 * math/w_hypot.c: Likewise.
58158 * math/w_hypotf.c: Likewise.
58159 * math/w_hypotl.c: Likewise.
58160 * math/w_j0.c: Likewise.
58161 * math/w_j0f.c: Likewise.
58162 * math/w_j0l.c: Likewise.
58163 * math/w_j1.c: Likewise.
58164 * math/w_j1f.c: Likewise.
58165 * math/w_j1l.c: Likewise.
58166 * math/w_jn.c: Likewise.
58167 * math/w_jnf.c: Likewise.
58168 * math/w_jnl.c: Likewise.
58169 * math/w_lgamma.c: Likewise.
58170 * math/w_lgamma_r.c: Likewise.
58171 * math/w_lgammaf.c: Likewise.
58172 * math/w_lgammaf_r.c: Likewise.
58173 * math/w_lgammal.c: Likewise.
58174 * math/w_lgammal_r.c: Likewise.
58175 * math/w_log.c: Likewise.
58176 * math/w_log10.c: Likewise.
58177 * math/w_log10f.c: Likewise.
58178 * math/w_log10l.c: Likewise.
58179 * math/w_log2.c: Likewise.
58180 * math/w_log2f.c: Likewise.
58181 * math/w_log2l.c: Likewise.
58182 * math/w_logf.c: Likewise.
58183 * math/w_logl.c: Likewise.
58184 * math/w_pow.c: Likewise.
58185 * math/w_powf.c: Likewise.
58186 * math/w_powl.c: Likewise.
58187 * math/w_remainder.c: Likewise.
58188 * math/w_remainderf.c: Likewise.
58189 * math/w_remainderl.c: Likewise.
58190 * math/w_scalb.c: Likewise.
58191 * math/w_scalbf.c: Likewise.
58192 * math/w_scalbl.c: Likewise.
58193 * math/w_sinh.c: Likewise.
58194 * math/w_sinhf.c: Likewise.
58195 * math/w_sinhl.c: Likewise.
58196 * math/w_sqrt.c: Likewise.
58197 * math/w_sqrtf.c: Likewise.
58198 * math/w_sqrtl.c: Likewise.
58199 * math/w_tgamma.c: Likewise.
58200 * math/w_tgammaf.c: Likewise.
58201 * math/w_tgammal.c: Likewise.
58203 * po/ja.po: Update from translation team.
58205 2011-09-29 Andreas Jaeger <aj@suse.de>
58208 * sunrpc/netname.c (netname2host): Fix logic.
58212 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58214 * math/w_remainder.c (__remainder): Likewise.
58215 * math/w_remainderf.c (__remainderf): Likewise.
58216 * math/libm-test.inc (remainder_test): Add test cases.
58218 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58220 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
58223 2011-10-07 Ulrich Drepper <drepper@gmail.com>
58225 * string/test-memcmp.c: Avoid unncessary #defines.
58226 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58228 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58230 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58231 Use new sse2 version for core i3 - i7 as it's faster
58232 than sse42 version.
58233 (bit_Prefer_PMINUB_for_stringop): New.
58234 * sysdeps/x86_64/rawmemchr.S: Update.
58235 Replace with faster SSE2 version.
58236 * sysdeps/x86_64/memrchr.S: New file.
58237 * sysdeps/x86_64/memchr.S: Update.
58238 Replace with faster SSE2 version.
58240 2011-09-12 Marek Polacek <mpolacek@redhat.com>
58242 * elf/dl-load.c (lose): Add cast to avoid warning.
58244 2011-10-07 Ulrich Drepper <drepper@gmail.com>
58246 * po/ca.po: Update from translation team.
58248 * inet/getnetgrent_r.c: Hook up nscd.
58249 * nscd/Makefile (routines): Add nscd_netgroup.
58250 (nscd-modules): Add netgroupcache.
58251 (CFLAGS-netgroupcache.c): Define.
58252 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58253 (cache_search): Add const to second parameter.
58254 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58256 (dbs): Add netgrdb entry.
58257 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58258 (verify_persistent_db): Handle netgrdb.
58259 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58260 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58262 (netgroup_response_header): Define.
58263 (innetgroup_response_header): Define.
58264 (datahead): Add netgroup_response_header and innetgroup_response_header
58266 * nscd/nscd.conf: Add entries for netgroup cache.
58267 * nscd/nscd.h (dbtype): Add netgrdb.
58268 (_PATH_NSCD_NETGROUP_DB): Define.
58269 (netgroup_iov_disabled): Declare.
58270 (xmalloc, xcalloc, xrealloc): Move declarations here.
58271 (cache_search): Adjust prototype.
58272 Add netgroup-related prototypes.
58273 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58274 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58275 (__nscd_innetgr): Declare.
58276 * nscd/selinux.c (perms): Use access_vector_t as element type and
58277 add netgroup-related initializers.
58278 * nscd/netgroupcache.c: New file.
58279 * nscd/nscd_netgroup.c: New file.
58280 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58281 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58282 For four parameters use innetgr.
58283 * nss/nss_files/files-init.c: Add definition and callback for netgr.
58284 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58285 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58286 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58288 * nscd/connections.c (register_traced_file): Don't register file
58289 for disabled databases.
58291 2011-10-06 Ulrich Drepper <drepper@gmail.com>
58293 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58295 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58296 from tree and freeing node.
58298 2011-09-25 Jiri Olsa <jolsa@redhat.com>
58300 * nss/nsswitch.c (__nss_database_lookup): Handle
58301 nss_parse_service_list out of memory case.
58303 2011-09-15 Jiri Olsa <jolsa@redhat.com>
58305 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58306 out of memory case.
58308 2011-10-04 Andreas Schwab <schwab@redhat.com>
58310 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58311 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58313 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58314 elf_machine_rela, elf_machine_lazy_rel.
58315 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58316 (ELF_DYNAMIC_DO_REL): Likewise.
58317 (ELF_DYNAMIC_DO_RELA): Likewise.
58318 (ELF_DYNAMIC_RELOCATE): Likewise.
58319 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58320 to ELF_DYNAMIC_DO_REL.
58321 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58322 (dl_main): In trace mode always set __RTLD_NOIFUNC.
58323 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58325 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58326 skip_ifunc, don't call ifunc function if non-zero.
58327 (elf_machine_rela): Likewise.
58328 (elf_machine_lazy_rel): Likewise.
58329 (elf_machine_lazy_rela): Likewise.
58330 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58331 (elf_machine_lazy_rel): Likewise.
58332 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58334 (elf_machine_lazy_rel): Likewise.
58335 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58337 (elf_machine_lazy_rel): Likewise.
58338 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58339 (elf_machine_lazy_rel): Likewise.
58340 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58341 (elf_machine_lazy_rel): Likewise.
58342 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58343 (elf_machine_lazy_rel): Likewise.
58344 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58345 (elf_machine_lazy_rel): Likewise.
58346 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58347 (elf_machine_lazy_rel): Likewise.
58348 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58349 (elf_machine_lazy_rel): Likewise.
58351 2011-09-28 Ulrich Drepper <drepper@gmail.com>
58353 * nss/nss_files/files-init.c (_nss_files_init): Use static
58354 initialization for all the *_traced_file variables.
58356 2011-09-28 Andreas Schwab <schwab@redhat.com>
58358 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58360 2011-09-27 Roland McGrath <roland@hack.frob.com>
58363 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58365 2011-09-27 Andreas Schwab <schwab@redhat.com>
58367 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58368 Reread the line before reparsing it.
58370 2011-09-26 Andreas Schwab <schwab@redhat.com>
58372 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58374 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
58375 Maxim Kuvyrkov <maxim@codesourcery.com>
58376 Joseph Myers <joseph@codesourcery.com>
58378 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58379 if needed for __stack_chk_guard.
58381 2011-09-19 Roland McGrath <roland@hack.frob.com>
58383 * sysdeps/posix/spawni.c (script_execute): Always define it.
58384 It will be optimized away if unused.
58385 (maybe_script_execute): New function.
58386 (__spawni): Call it.
58388 * Makerules: Don't include tls.make.
58389 (config-tls): Always set to thread.
58390 * tls.make.c: File removed.
58392 2011-09-19 Mike Frysinger <vapier@gentoo.org>
58394 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58395 * config.make.in (CPPFLAGS-config): New substituted variable.
58397 2011-09-15 Ulrich Drepper <drepper@gmail.com>
58399 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58402 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58403 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58405 2011-09-15 Roland McGrath <roland@hack.frob.com>
58407 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58408 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58409 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58410 (CALL_FAIL): Likewise.
58411 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58412 (CALL_FAIL): Macro removed.
58413 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58415 2011-09-15 Ulrich Drepper <drepper@gmail.com>
58417 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58418 for __FINITE_MATH_ONLY__ == 1.
58420 2011-09-15 Andreas Schwab <schwab@redhat.com>
58422 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58423 __ieee754_sqrt instead of sqrt.
58424 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58425 __ieee754_sqrtf instead of sqrtf.
58426 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58427 __floorf instead of floorf.
58428 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58429 __floorf, __truncf instead of floorf, truncf.
58431 2011-09-14 Ulrich Drepper <drepper@gmail.com>
58433 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58435 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58436 __extern_always_inline.
58437 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58440 2011-09-14 Andreas Schwab <schwab@redhat.com>
58442 * elf/rtld.c (dl_main): Also relocate in dependency order when
58443 doing symbol dependency testing.
58445 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
58447 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58448 Always define `refsym'.
58450 2011-09-13 Andreas Schwab <schwab@redhat.com>
58452 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58453 (__FD_ELT): Renamed from __FDELT.
58454 * misc/bits/select2.h (__FD_ELT): Likewise.
58455 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58456 __FD_MASK instead of __FDELT, __FDMASK.
58457 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58459 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58462 * elf/Makefile (gen-ldd): Fix pattern.
58464 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58465 (init_tls): Likewise.
58467 2011-09-12 Ulrich Drepper <drepper@gmail.com>
58469 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58471 2011-09-12 Andreas Schwab <schwab@redhat.com>
58473 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58474 `struct cmsghdr *' instead of `void *'.
58475 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58478 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
58480 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58482 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58483 ldd_rewrite_script.
58485 2011-09-11 Ulrich Drepper <drepper@gmail.com>
58487 * configure.in: Remove --with-tls option.
58488 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58489 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58490 out in case it is missing.
58491 * sysdeps/ia64/elf/configure.in: Likewise.
58492 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58493 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58494 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58495 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58496 * sysdeps/sh/elf/configure.in: Likewise.
58497 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58498 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58499 * sysdeps/x86_64/elf/configure.in: Likewise.
58500 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58501 * sysdeps/mach/hurd/tls.h: Likewise.
58504 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58507 * configure.in: Fix use of AC_INIT.
58509 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58511 2011-09-10 Ulrich Drepper <drepper@gmail.com>
58513 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58515 * malloc/hooks.c: Likewise.
58518 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
58519 variables statically.
58520 (narenas): Initialize.
58521 (list_lock): Initialize.
58522 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
58523 initializtion of main_arena and list_lock. Small cleanups.
58524 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58525 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
58526 Add initializers to main_arena and mp_.
58527 (malloc_state): Remove pagesize member. Change all users to use
58530 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58531 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
58532 is always initialized.
58534 * malloc/malloc.c: Removed unused configurations and dead code.
58535 * malloc/arena.c: Likewise.
58536 * malloc/hooks.c: Likewise.
58537 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58539 * include/tls.h: Removed. USE___THREAD must always be defined.
58540 * bits/libc-tsd.h: Don't handle !USE___THREAD.
58541 * elf/dl-libc.c: Likewise.
58542 * elf/dl-tsd.c: Likewise.
58543 * include/errno.h: Likewise.
58544 * include/netdb.h: Likewise.
58545 * include/resolv.h: Likewise.
58546 * inet/herrno-loc.c: Likewise.
58547 * inet/herrno.c: Likewise.
58548 * malloc/arena.c: Likewise.
58549 * malloc/hooks.c: Likewise.
58550 * malloc/malloc.c: Likewise.
58551 * resolv/res-state.c: Likewise.
58552 * resolv/res_libc.c: Likewise.
58553 * sysdeps/i386/dl-machine.h: Likewise.
58554 * sysdeps/ia64/dl-machine.h: Likewise.
58555 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58556 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58557 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58558 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58559 * sysdeps/sh/dl-machine.h: Likewise.
58560 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58561 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58562 * sysdeps/unix/i386/sysdep.S: Likewise.
58563 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58564 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58565 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58566 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58567 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58568 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58569 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58572 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58573 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58574 * sysdeps/x86_64/dl-machine.h: Likewise.
58575 * tls.make.c: Likewise.
58577 * configure.in: Remove --with-__thread option. Make tests for
58578 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58579 tls_model attribute fail if no support is available. Remove
58581 * Makeconfig: Adjust for dropped configure option. All features are
58583 * Makerules: Likewise.
58584 * Versions.def: Likewise.
58585 * argp/argp-fmtstream.c: Likewise.
58586 * argp/argp-fmtstream.h: Likewise.
58587 * argp/argp-help.c: Likewise.
58588 * assert/assert.c: Likewise.
58589 * config.h.in: Likewise.
58590 * config.make.in: Likewise.
58591 * configure: Likewise.
58592 * configure.in: Likewise.
58593 * csu/Versions: Likewise.
58594 * csu/init.c: Likewise.
58595 * elf/tst-audit2.c: Likewise.
58596 * elf/tst-tls10.c: Likewise.
58597 * elf/tst-tls10.h: Likewise.
58598 * elf/tst-tls11.c: Likewise.
58599 * elf/tst-tls12.c: Likewise.
58600 * elf/tst-tls14.c: Likewise.
58601 * elf/tst-tlsmod11.c: Likewise.
58602 * elf/tst-tlsmod12.c: Likewise.
58603 * elf/tst-tlsmod13.c: Likewise.
58604 * elf/tst-tlsmod13a.c: Likewise.
58605 * elf/tst-tlsmod14a.c: Likewise.
58606 * elf/tst-tlsmod15b.c: Likewise.
58607 * elf/tst-tlsmod16a.c: Likewise.
58608 * elf/tst-tlsmod16b.c: Likewise.
58609 * elf/tst-tlsmod7.c: Likewise.
58610 * elf/tst-tlsmod8.c: Likewise.
58611 * elf/tst-tlsmod9.c: Likewise.
58612 * gmon/gmon.c: Likewise.
58613 * grp/fgetgrent_r.c: Likewise.
58614 * grp/putgrent.c: Likewise.
58615 * hurd/fopenport.c: Likewise.
58616 * include/libc-symbols.h: Likewise.
58617 * include/tls.h: Likewise.
58618 * intl/gettextP.h: Likewise.
58619 * intl/loadinfo.h: Likewise.
58620 * locale/global-locale.c: Likewise.
58621 * locale/localeinfo.h: Likewise.
58622 * mach/devstream.c: Likewise.
58623 * malloc/arena.c: Likewise.
58624 * malloc/set-freeres.c: Likewise.
58625 * misc/err.c: Likewise.
58626 * misc/getttyent.c: Likewise.
58627 * misc/mntent_r.c: Likewise.
58628 * posix/getopt.c: Likewise.
58629 * posix/wordexp.c: Likewise.
58630 * pwd/fgetpwent_r.c: Likewise.
58631 * resolv/Versions: Likewise.
58632 * resolv/res_hconf.c: Likewise.
58633 * shadow/fgetspent_r.c: Likewise.
58634 * shadow/putspent.c: Likewise.
58635 * stdio-common/printf_fphex.c: Likewise.
58636 * stdio-common/tmpfile.c: Likewise.
58637 * stdlib/abort.c: Likewise.
58638 * stdlib/fmtmsg.c: Likewise.
58639 * sunrpc/auth_unix.c: Likewise.
58640 * sunrpc/clnt_perr.c: Likewise.
58641 * sunrpc/clnt_tcp.c: Likewise.
58642 * sunrpc/clnt_udp.c: Likewise.
58643 * sunrpc/clnt_unix.c: Likewise.
58644 * sunrpc/openchild.c: Likewise.
58645 * sunrpc/svc_simple.c: Likewise.
58646 * sunrpc/svc_tcp.c: Likewise.
58647 * sunrpc/svc_udp.c: Likewise.
58648 * sunrpc/svc_unix.c: Likewise.
58649 * sunrpc/xdr.c: Likewise.
58650 * sunrpc/xdr_array.c: Likewise.
58651 * sunrpc/xdr_rec.c: Likewise.
58652 * sunrpc/xdr_ref.c: Likewise.
58653 * sunrpc/xdr_stdio.c: Likewise.
58655 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58657 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58659 2011-07-03 Andreas Jaeger <aj@suse.de>
58661 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58662 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58663 regenerate with gen-libm-tests.pl.
58665 2010-05-12 Petr Baudis <pasky@suse.cz>
58668 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58669 around j0() zero points by switching to j1().
58670 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58671 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58672 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58673 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58675 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58677 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58679 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58681 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58682 Patch in part by Pavel Roskin <proski@gnu.org>.
58685 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58687 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
58688 Free memory block if necessary.
58691 * libio/genops.c (INTDEF): For string streams the _lock pointer can
58692 be NULL. Don't lock in this case.
58694 2011-09-09 Roland McGrath <roland@hack.frob.com>
58696 * elf/elf.h (ELFOSABI_GNU): New macro.
58697 (ELFOSABI_LINUX): Define to that.
58699 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
58701 * string/strncat.c (strncat): Undef the symbol in case it has been
58702 defined in bits/string.h.
58704 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58706 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58708 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58711 2011-08-17 Andreas Jaeger <aj@suse.de>
58713 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58715 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
58716 Ian Lance Taylor <iant@google.com>
58718 * math/libm-test.inc (lround_test): New testcase.
58719 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58721 2011-09-08 Ulrich Drepper <drepper@gmail.com>
58723 * Makefile: Remove support for automatic cvs check-ins.
58724 * Makerules: Likewise.
58725 * config.make.in: Likewise.
58726 * configure.in: Likewise.
58727 * intl/Makefile: Likewise.
58728 * locale/Makefile: Likewise.
58729 * po/Makefile: Likewise.
58730 * posix/Makefile: Likewise.
58731 * sysdeps/gnu/Makefile: Likewise.
58732 * sysdeps/mach/hurd/Makefile: Likewise.
58733 * sysdeps/sparc/sparc32/Makefile: Likewise.
58736 * posix/Makefile (bug-regex32-ENV): Define.
58737 Patch by John Stanley <jpsinthemix@verizon.net>.
58739 * misc/Makefile (headers): Add bits/select2.h.
58740 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58741 * misc/bits/select2.h: New file.
58742 * include/bits/select2.h: New file.
58743 * debug/Makefile (routines): Add fdelt_chk.
58744 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58745 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58747 * debug/fdelt_chk.c: New file.
58749 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
58750 * wcsmbs/test-wmemcmp.c: Likewise.
58751 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58752 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58754 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58756 * string/Makefile (strop-tests): Add memcmp.
58757 * string/test-wmemcmp.c: New file.
58758 * string/test-memcmp.c: Add wmemcmp support.
58760 2011-09-08 Roland McGrath <roland@hack.frob.com>
58763 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58766 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58767 garbage value in a __mach_port_mod_refs call in the cases of the
58768 task-self and thread-self ports.
58770 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58772 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58774 2011-09-08 Andreas Schwab <schwab@redhat.com>
58776 * elf/dl-load.c (lose): Check for non-null L.
58778 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58780 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58782 * elf/dl-libc.c (dlerror_run): Pass back error code from
58786 * elf/dl-load.c (lose): Free l_origin if it is valid.
58788 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58790 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58791 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58792 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58793 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58794 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58795 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58797 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58799 * sysdeps/powerpc/fpu/e_hypot.c: New file.
58800 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58801 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58802 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58803 * sysdeps/powerpc/fpu/k_cosf.c: New file.
58804 * sysdeps/powerpc/fpu/k_sinf.c: New file.
58805 * sysdeps/powerpc/fpu/s_cosf.c: New file.
58806 * sysdeps/powerpc/fpu/s_sinf.c: New file.
58807 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58808 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58810 2011-08-15 Alan Modra <amodra@gmail.com>
58813 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58814 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58815 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
58816 ppc_mcount to static-only-routines.
58817 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58819 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58820 __mcount_internal with usual JUMPTARGET. Remove useless nop.
58822 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
58824 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58825 for finite and infinity parameters.
58827 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58829 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58830 and add nop instructions for throughput optimization.
58831 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58833 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
58835 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58836 aligned copy for power7 with vector-scalar instructions.
58837 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58839 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
58841 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58844 2011-09-07 Andreas Schwab <schwab@redhat.com>
58847 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58850 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58852 * sysdeps/unix/sysv/linux/x86_64/init-first.c
58853 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58854 syscall wrapper around clock_gettime in __vdso_clock_gettime.
58855 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58858 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58860 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58861 Forgot to demangle the pointer.
58863 * sysdeps/i386/sysdep.h: Define atom_text_section.
58864 * sysdeps/x86_64/sysdep.h: Likewise.
58865 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58866 section with atom_text_section.
58867 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58868 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58869 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58870 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58871 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58873 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58874 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58875 already be defined. Change to take two parameters and don't assign
58876 result to variable. Adjust all users.
58877 Define INTERNAL_GETTIME if not already defined.
58878 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58880 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58881 HAVE_CLOCK_GETTIME_VSYSCALL.
58882 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58884 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58885 gettimeofday vsyscall, just use time.
58887 2011-09-06 Andreas Schwab <schwab@redhat.com>
58889 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58892 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58894 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58896 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58898 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58899 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58900 syscall if possible.
58902 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58904 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58905 e_ident. Don't pass to find_mapsXX.
58906 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58908 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58911 strchr-sse2-no-bsf strrchr-sse2-no-bsf
58912 * sysdeps/x86_64/multiarch/strchr.S: Update.
58913 Check bit_slow_BSF bit.
58914 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58915 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58916 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58918 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58921 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58923 (tryshell): Define.
58924 (__spawni): Change last parameter to be flag. Test
58925 SPAWN_XFLAGS_USE_PATH flag to use path or not.
58926 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58927 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58928 * posix/spawni.c: Likewise.
58929 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58930 * posix/spawnp.c: Likewise. Change normal version to use
58931 SPAWN_XFLAGS_USE_PATH.
58932 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58933 SPAWN_XFLAGS_TRY_SHELL.
58936 * posix/glob.h: Remove gcc 1.x support.
58939 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58941 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58944 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58946 * sysdeps/i386/i686/multiarch/strchr.S: New file.
58947 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58948 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58949 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58950 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58951 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58953 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58955 * sysdeps/x86_64/wcscmp.S: New file.
58957 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58958 wcscmp-c wcscmp-sse2
58959 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58960 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58961 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58962 * wcsmbs/wcscmp.c: Allow renaming.
58964 2011-09-05 David S. Miller <davem@davemloft.net>
58966 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58967 stack slot, rather than the struct return pointer slot.
58968 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58969 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58971 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58973 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58975 * po/ja.po: Update from translation team.
58978 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58979 kernel in 64-bit binaries.
58981 2011-09-01 David S. Miller <davem@davemloft.net>
58983 * elf/elf.h (HWCAP_SPARC_*): Move to..
58984 * sysdeps/sparc/sysdep.h: this new file and add new values.
58985 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58986 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58987 _DL_HWCAP_COUNT to 24.
58988 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58990 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58991 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58992 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58993 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58994 instead of magic constants.
58995 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58997 2011-08-31 David S. Miller <davem@davemloft.net>
58999 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59000 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59001 Reimplement to do errno handling inline.
59002 (SYSCALL_ERROR_HANDLER): New macro.
59003 (__SYSCALL_STRING): Do not do errno handling in asm.
59004 (__CLONE_SYSCALL_STRING): Delete.
59005 (__INTERNAL_SYSCALL_STRING): Delete.
59006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59007 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59008 (PSEUDO): Reimplement to do errno handling inline.
59009 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59010 (SYSCALL_ERROR_HANDLER): New macro.
59011 (__SYSCALL_STRING): Do not do errno handling in asm.
59012 (__CLONE_SYSCALL_STRING): Delete.
59013 (__INTERNAL_SYSCALL_STRING): Delete.
59014 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59015 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59017 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59018 (inline_syscall*): Add 'err' argument.
59019 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59020 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59021 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59022 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59024 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59025 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59027 2011-08-30 Andreas Schwab <schwab@redhat.com>
59029 * elf/rtld.c (dl_main): Relocate objects in dependency order.
59031 2011-08-29 Jiri Olsa <jolsa@redhat.com>
59033 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59036 2011-08-24 David S. Miller <davem@davemloft.net>
59038 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59040 2011-08-24 Andreas Schwab <schwab@redhat.com>
59042 * elf/Makefile: Add rules to build and run unload8 test.
59043 * elf/unload8.c: New file.
59044 * elf/unload8mod1.c: New file.
59045 * elf/unload8mod1x.c: New file.
59046 * elf/unload8mod2.c: New file.
59047 * elf/unload8mod3.c: New file.
59049 * elf/dl-close.c (_dl_close_worker): Reset private search list if
59052 2011-08-23 David S. Miller <davem@davemloft.net>
59054 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59055 subtract stack bias.
59056 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59057 %sp not %fp in calculations.
59058 (_JMPBUF_UNWINDS_ADJ): Likewise.
59060 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59061 (aio_suspend): Call it to force an exception region around the
59062 AIO_MISC_WAIT() invocation.
59064 2011-08-23 Andreas Schwab <schwab@redhat.com>
59066 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59069 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
59071 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59073 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59074 and <dl-machine.h>.
59075 (Elf64_FuncDesc): Remove.
59077 2011-08-22 David S. Miller <davem@davemloft.net>
59079 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59080 sigaltstack check, add missing cfi directives.
59081 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59082 missing cfi directives, and sigaltstack handling.
59084 2011-08-16 Andreas Schwab <schwab@redhat.com>
59087 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59088 object is seen twice.
59089 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59091 * elf/Makefile (distribute): Add tst-initorder2.c.
59092 (tests): Add tst-initorder2.
59093 (modules-names): Add tst-initorder2a tst-initorder2b
59094 tst-initorder2c tst-initorder2d. Add rules to build them.
59095 ($(objpfx)tst-initorder2.out): New rule.
59096 * elf/tst-initorder2.c: New file.
59097 * elf/tst-initorder2.exp: New file.
59099 2011-08-22 Andreas Schwab <schwab@redhat.com>
59101 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59103 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59104 dependencies back to end of function.
59106 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59107 $(elfobjdir)/ld.so.
59109 2011-08-21 Ulrich Drepper <drepper@gmail.com>
59111 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59112 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59113 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59114 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59115 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59116 of __vdso_gettimeofday.
59117 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59118 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
59120 (_libc_vdso_platform_setup): Remove initialization of
59121 __vdso_gettimeofday and __vdso_time.
59123 2011-08-20 Ulrich Drepper <drepper@gmail.com>
59125 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59126 and fgetc_unlocked.
59127 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59130 * elf/dl-open.c (add_to_global): Report additions to the global scope
59131 for LD_DEBUG=scopes.
59132 (dl_open_worker): Also print scope of newly loaded dependencies.
59133 (_dl_show_scope): Indicate if there is no scope.
59136 * stdio-common/Makefile (tests): Add bug24.
59137 * stdio-common/bug24.c: New file.
59139 2011-08-19 Andreas Jaeger <aj@suse.de>
59142 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59143 non-existant file when using close-on-exec mode.
59145 2011-08-20 Ulrich Drepper <drepper@gmail.com>
59147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59148 the very first instruction.
59150 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59151 the CFI state in the end.
59152 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59153 inclusion of dl-trampoline.h.
59154 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59156 2011-08-19 Andreas Schwab <schwab@redhat.com>
59158 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59159 expectations for long double.
59161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59162 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59164 2011-08-14 David S. Miller <davem@davemloft.net>
59166 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59167 artificual limit depends upon the system page size.
59169 2011-08-17 Ulrich Drepper <drepper@gmail.com>
59171 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59172 * resolv/Makefile: Define CFLAGS-libresolv.
59174 2011-08-17 Andreas Schwab <schwab@redhat.com>
59176 * nss/makedb.c (compute_tables): Make variables used in nested
59179 2011-08-17 Ulrich Drepper <drepper@gmail.com>
59181 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59182 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59183 if buffer was too small.
59185 * elf/pldd.c (main): Attach to all threads in the process.
59186 Rewrite /proc handling to use *at functions.
59188 2011-08-16 Ulrich Drepper <drepper@gmail.com>
59190 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59191 specifies first scope to show.
59192 (dl_open_worker): Update callers. Move printing scope of new
59193 object to before the relocation.
59194 * elf/rtld.c (dl_main): Update _dl_show_scope call.
59195 * sysdeps/generic/ldsodefs.h: Update declaration.
59197 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59198 string for the scope number.
59200 2011-08-14 Ulrich Drepper <drepper@gmail.com>
59202 * nscd/servicescache.c (cache_addserv): Make sure written is always
59205 2011-08-14 Roland McGrath <roland@hack.frob.com>
59207 * sysdeps/i386/i486/bits/atomic.h
59208 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59209 statement expression, so as to suppress "set but not used" warning.
59210 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59212 * string/strncat.c (STRNCAT): Use prototype definition.
59214 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59215 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59217 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59218 (localedef-modules): Add localedef.
59219 (locale-modules): Add locale.
59221 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59222 * elf/rtld.c (dl_main): Invert order of assignment in last change,
59223 to avoid a warning.
59225 2011-08-14 David S. Miller <davem@davemloft.net>
59227 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59228 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59230 2011-08-13 Ulrich Drepper <drepper@gmail.com>
59232 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59233 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59234 * elf/rtld.c (dl_main): Set l_name of vDSO.
59235 Call _dl_show_scope when DL_DEBUG_SCOPES.
59236 (process_dl_debug): Recognize scopes flag and also set it for all.
59237 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59238 Declare _dl_show_scope.
59240 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59241 (do_dlopen): Pass caller_dlopen to dl_open.
59242 (__libc_dlopen_mode): Initialize caller_dlopen.
59244 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59245 of libc. Make tolower call locale-independent. Optimize a bit by
59246 using isdigit instead of isalnum.
59247 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59249 2011-08-12 Ulrich Drepper <drepper@gmail.com>
59251 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59252 was a dependency or dynamically loaded.
59254 2011-08-11 Ulrich Drepper <drepper@gmail.com>
59256 * intl/l10nflist.c: Allow architecture-specific pop function.
59257 * sysdeps/x86_64/l10nflist.c: New file.
59259 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59262 2011-08-10 Andreas Schwab <schwab@redhat.com>
59264 * include/dirent.h: Add libc_hidden_proto for scandirat and
59265 scandirat64. Don't declare __scandirat64.
59266 * dirent/scandirat.c: Add libc_hidden_def.
59267 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59268 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59270 2011-08-10 David S. Miller <davem@davemloft.net>
59272 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59274 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59275 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59276 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59278 2011-08-09 Ulrich Drepper <drepper@gmail.com>
59280 * Versions.def [libc]: Add GLIBC_2.15.
59281 * dirent/Makefile (routines): Add scandirat and scandirat64.
59282 * dirent/Versions [libc]: Export scandirat and scandirat64 for
59284 * dirent/dirent.h: Declare scandirat and scandirat64.
59285 * dirent/scandirat.c: New file.
59286 * dirent/scandirat64.c: New file.
59287 * sysdeps/wordsize-64/scandirat.c: New file.
59288 * sysdeps/wordsize-64/scandirat64.c: New file.
59289 * dirent/opendir.c: Define opendirat.
59290 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
59292 * dirent/scandir64.c: Adjust for scandir.c change.
59293 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
59294 __scandirat64, and __scandir_cancel_handler.
59295 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
59296 additional parameter and use openat instead of open (outside of ld.so).
59297 Add new __opendir as wrapper around __opendirat.
59298 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59299 here without requiring old scandirat implementation.
59301 2011-08-08 Ulrich Drepper <drepper@gmail.com>
59303 * dirent/scandir.c (cancel_handler): Renamed to
59304 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
59305 defined. Adjust users.
59306 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59307 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59309 2011-08-04 Ulrich Drepper <drepper@gmail.com>
59311 * string/test-string.h (IMPL): Use __STRING to expand name and then
59314 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
59317 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59319 * string/Makefile: Update.
59320 (strop-tests): Append strncat.
59321 * string/test-wcscmp.c: New file.
59322 New comprehensive test for wcscmp.
59323 * string/test-strcmp.c: Update.
59324 (WIDE): New define.
59326 2011-07-22 Andreas Schwab <schwab@redhat.com>
59328 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59331 2011-07-26 Andreas Schwab <schwab@redhat.com>
59333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59334 encoding to ACE if AI_IDN.
59336 2011-08-01 Jakub Jelinek <jakub@redhat.com>
59338 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59339 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59341 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59343 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59344 Fix overflow bug in strncat.
59345 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59347 * string/test-strncat.c: Update.
59348 Add new tests for checking overflow bugs.
59350 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59353 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59354 * sysdeps/i386/i686/multiarch/strcat.S: New file.
59355 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59356 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59357 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59358 * sysdeps/i386/i686/multiarch/strncat.S: New file.
59359 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59360 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59362 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59363 (USE_AS_STRCAT): Define.
59364 Add strcat and strncat support.
59365 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59367 2011-07-25 Andreas Schwab <schwab@redhat.com>
59369 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59370 __n bigger than INT_MAX+1.
59371 (__strncmp_g): Likewise.
59373 2011-07-23 Ulrich Drepper <drepper@gmail.com>
59375 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59376 * libio/stido.h: Likewise.
59378 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59380 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59383 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59384 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59385 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59386 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59387 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59390 * scripts/test-installation.pl: Don't expect libnss_test1 to be
59393 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59395 (_dl_x86_64_save_sse): Likewise.
59397 2011-07-22 Ulrich Drepper <drepper@gmail.com>
59399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59401 (_dl_x86_64_save_sse): Likewise.
59403 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59405 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59407 2011-07-21 Andreas Schwab <schwab@redhat.com>
59409 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59411 (_dl_x86_64_save_sse): Use correct AVX check.
59413 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59415 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59416 bug in strncpy/strncat.
59417 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59419 2011-07-21 Ulrich Drepper <drepper@gmail.com>
59421 * string/tester.c (test_strcat): Add tests for different alignments
59422 of source and destination.
59423 (test_strncat): Likewise.
59425 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59428 * posix/glob.c (glob): Check passed in values before using them in
59429 expressions to avoid some overflows.
59430 (glob_in_dir): Likewise.
59433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59434 check for AVX enablement so that we don't crash with old kernels and
59436 * elf/tst-audit4.c: Add same checks here.
59437 * elf/tst-audit6.c: Likewise.
59439 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59441 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
59443 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59445 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59447 * po/cs.po: Update from translation team.
59448 * po/bg.po: Likewise.
59450 2011-07-12 Marek Polacek <mpolacek@redhat.com>
59452 * misc/sys/cdefs.h: Add support for const attribute.
59453 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59454 to gnu_dev_{major,minor,makedev} functions.
59456 2011-07-20 Marek Polacek <mpolacek@redhat.com>
59458 * intl/dcigettext.c (get_output_charset): Add missing bracket.
59460 2011-07-20 Andreas Schwab <schwab@redhat.com>
59462 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59465 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59467 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59468 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59469 register in order to avoid conflicts with the soft frame pointer
59470 being held in r11 when necessary.
59471 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59472 (INTERNAL_VSYSCALL_NCS): Likewise.
59474 2011-07-14 Marek Polacek <mpolacek@redhat.com>
59476 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59477 * elf/dl-fini.c (_dl_fini): Adjust caller.
59478 * elf/dl-close.c (_dl_close_worker): Likewise.
59479 * sysdeps/generic/ldsodefs.h: Adjust declaration.
59481 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59483 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59484 "aux_cache->nlibs < 0".
59486 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59487 in the reload-count case.
59489 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59492 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59493 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59494 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59495 * sysdeps/x86_64/multiarch/strcat.S: New file.
59496 * sysdeps/x86_64/multiarch/strncat.S: New file.
59497 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59498 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59499 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59500 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59501 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59502 (USE_AS_STRCAT): Define.
59503 Add strcat and strncat support.
59504 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59505 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59506 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59507 * string/strncat.c: Update.
59508 (USE_AS_STRNCAT): Define.
59509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59510 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59512 * sysdeps/x86_64/multiarch/init-arch.h
59513 (bit_Prefer_PMINUB_for_stringop): New.
59514 (index_Prefer_PMINUB_for_stringop): Likewise.
59515 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59516 bit_Prefer_PMINUB_for_stringop.
59518 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59520 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59522 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59523 of casting of buffer.
59524 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59525 buffer32 and buffer64.
59526 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59527 writes instead of casting of buffer.
59528 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59530 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59533 2011-07-19 Andreas Schwab <schwab@redhat.com>
59535 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59537 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59539 * nscd/nscd.c (termination_handler): Don't do anything for a database
59540 if it has not yet been initialized.
59542 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59544 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59546 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59548 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59550 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59552 * po/nl.po: Update from translation team.
59553 * po/sv.po: Likewise.
59555 2011-07-16 Roland McGrath <roland@hack.frob.com>
59557 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59558 now disallowed by GCC.
59560 * configure.in (use-default-link): Default to yes if a test -shared
59561 link meets our qualifications.
59562 * configure: Regenerated.
59564 * config.make.in (output-format): New variable.
59565 * configure.in: Check for ld --print-output-format support.
59566 * configure: Regenerated.
59567 * Makerules ($(common-objpfx)format.lds)
59568 [$(output-format) != unknown]: Just use $(output-format),
59569 instead of the linker-script munging.
59571 2011-07-14 Roland McGrath <roland@hack.frob.com>
59573 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59574 of $(common-objpfx)shlib.lds.
59575 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59577 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59578 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59580 * configure.in (-z relro check): Adjust test code to add a large
59581 writable data section after it.
59582 * configure: Regenerated.
59584 2011-07-11 Roland McGrath <roland@hack.frob.com>
59586 * configure.in (-z relro check): Fix test code to make the variable
59588 * configure: Regenerated.
59590 2011-07-11 Ulrich Drepper <drepper@gmail.com>
59592 * nscd/nscd.h (struct traced_file): Define.
59593 (struct database_dyn): Remove inotify_descr, reset_res, and filename
59594 elements. Add traced_files.
59595 (inotify_fd): Declare.
59596 (register_traced_file): Declare.
59597 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59598 (inotify_fd): Export.
59599 (resolv_conf_descr): Remove.
59600 (nscd_init): Move inotify descriptor creation to main.
59601 Don't register files for notification here.
59602 (register_traced_file): New function.
59603 (invalidate_cache): Don't use reset_res to determine whether to call
59604 res_init, go through the list of registered files.
59605 (main_loop_poll): The inotify descriptors are now stored in the
59606 structures for the traced files.
59607 (main_loop_epoll): Likewise
59608 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
59609 to __nss_disable_nscd.
59610 * nscd/cache.c (prune_cache): There is no single inotify descriptor
59611 for a database anymore. Check the records for all the registered
59613 * nss/Makefile (libnss_files-routines): Add files-init.
59614 (libnss_db-routines): Add db-init.
59615 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59616 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59617 * nss/nss_db/db-init.c: New file.
59618 * nss/nss_files/files-init.c: New file.
59619 * nss/nsswitch.c (nss_load_library): New function. Broken out of
59620 __nss_lookup_function.
59621 (__nss_lookup_function): Call nss_load_library.
59622 (nss_load_all_libraries): New function.
59623 (__nss_disable_nscd): Take parameter with callback function for files
59624 to register. Set is_nscd. Load all the DSOs for the NSS modules
59625 used for the cached services.
59626 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59627 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59628 options for features to all the files in nscd.
59630 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59632 2011-07-10 Roland McGrath <roland@hack.frob.com>
59634 * csu/elf-init.c (__libc_csu_init): Comment typo.
59636 2011-07-09 Ulrich Drepper <drepper@gmail.com>
59638 * po/pl.po: Update from translation team.
59639 * po/ja.po: Likewise.
59640 * po/ru.po: Likewise.
59641 * po/ko.po: Likewise.
59642 * po/fr.po: Likewise.
59644 2011-07-09 Roland McGrath <roland@hack.frob.com>
59646 * configure.in (.ctors/.dtors header and trailer check):
59647 Use an empirical test on a built program.
59648 * configure: Regenerated.
59650 * configure.in (-z relro check): Use an empirical test on a built DSO.
59651 Detect, but do not require, on ia64.
59652 * configure: Regenerated.
59654 * configure.in (READELF): Find it with AC_CHECK_TOOL.
59655 Update tests that use readelf to use $READELF instead.
59656 * configure: Regenerated.
59658 2011-07-08 Ulrich Drepper <drepper@gmail.com>
59660 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59661 if the result is not used.
59663 2011-07-05 Andreas Jaeger <aj@suse.de>
59666 * stdlib/tst-strtod.c: Add testcase.
59668 2011-07-07 Ulrich Drepper <drepper@gmail.com>
59670 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59671 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59672 The latter has a higher limit. Take additional parameter to pass to
59674 (__pathconf): Pass file to __statfs_link_max.
59675 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59677 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59681 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59682 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59684 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59685 (__statfs_filesize_max): Likewise.
59686 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59688 2011-07-05 Andreas Jaeger <aj@suse.de>
59690 * resolv/res_comp.c (dn_skipname): Remove unused variable.
59692 2011-07-06 Marek Polacek <mpolacek@redhat.com>
59694 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59696 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59699 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
59701 * Makefile (strop-tests): Add strncat.
59702 * string/test-strncat.c: New file.
59704 2011-06-30 Marek Polacek <mpolacek@redhat.com>
59706 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59708 2011-06-21 Andreas Jaeger <aj@suse.de>
59710 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59711 Copy rule from iconvdata/Makefile.
59713 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59716 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59717 but no long options are defined, just return 'W'.
59719 2011-06-22 Marek Polacek <mpolacek@redhat.com>
59722 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59724 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59726 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59728 (innetgr): Likewise.
59730 2011-07-05 Roland McGrath <roland@hack.frob.com>
59732 * config.make.in (install_root): Default to $(DESTDIR).
59734 2011-07-05 Ulrich Drepper <drepper@gmail.com>
59736 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59738 2011-07-02 Roland McGrath <roland@hack.frob.com>
59740 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59742 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59743 containing directory rather than embedding absolute directory names.
59745 * scripts/check-local-headers.sh: Rewritten using awk.
59746 Match by word, not by line. Print error messages for matches.
59747 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59749 * Makerules [shlib-lds-flags empty]:
59750 ($(common-objpfx)libc_pic.opts): New target.
59751 ($(common-objpfx)libc_pic.os.clean): New target.
59752 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59754 * config.make.in (OBJCOPY): New variable.
59755 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59756 * configure: Regenerated.
59758 * config.make.in (use-default-link): New variable.
59759 * configure.in (use_default_link): Grok --with-default-link to set it.
59760 * configure: Regenerated.
59761 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59762 (shlib-lds, shlib-lds-flags): Define to empty.
59764 * Makerules (shlib-lds): New variable.
59765 (shlib-lds-flags): New variable.
59766 (build-shlib, build-moduile, build-module-asneeded): Use it.
59767 ($(common-objpfx)libc.so): Use $(shlib-lds).
59768 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59769 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59771 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59772 DT_FLAGS/DT_FLAGS_1 with zero flags.
59774 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59775 linker script munging.
59777 2011-07-02 Ulrich Drepper <drepper@gmail.com>
59779 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59781 * crypt/sha512.c (sha512_process_block): Perform total addition using
59782 128-bit if possible.
59783 (__sha512_finish_ctx): Likewise.
59784 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59786 * crypt/sha256.c (SWAP64): Define.
59787 (sha256_process_block): Perform total addition using 64-bit if
59789 (__sha256_finish_ctx): Likewise.
59791 2011-07-01 Ulrich Drepper <drepper@gmail.com>
59793 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
59794 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59795 * nscd/hstcache.c (cache_addhst): Likewise.
59796 * nscd/grpcache.c (cache_addgr): Likewise.
59797 * nscd/aicache.c (addhstaiX): Likewise
59798 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59800 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
59802 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59803 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59804 * nscd/hstcache.c (cache_addhst): Likewise.
59805 * nscd/grpcache.c (cache_addgr): Likewise.
59806 * nscd/aicache.c (addhstaiX): Likewise
59808 2011-07-01 Andreas Schwab <schwab@redhat.com>
59810 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59811 domain only when needed.
59813 2011-06-30 Andreas Schwab <schwab@redhat.com>
59815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59816 is always restored.
59818 2011-06-29 Ulrich Drepper <drepper@gmail.com>
59820 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59821 are re-adding the entry.
59822 * nscd/servicescache.c (cache_addserv): Likewise.
59824 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
59826 * sysdeps/generic/dl-irel.h: fix protection against multiple
59828 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59830 2011-06-28 Ulrich Drepper <drepper@gmail.com>
59833 * malloc/memusage.sh: Fix quoting in message.
59834 * debug/xtrace.sh: Likewise.
59836 * configure.in: Remove support for --experimental-malloc option, make
59838 * config.make.in: Likewise.
59839 * malloc/Makefile: Likewise.
59841 2011-06-27 Andreas Schwab <schwab@redhat.com>
59843 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59844 two-byte characters.
59846 2011-06-27 Roland McGrath <roland@hack.frob.com>
59848 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59849 AC_CACHE_CHECK invocation.
59850 * configure: Regenerated.
59852 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59854 2011-06-27 Ulrich Drepper <drepper@gmail.com>
59857 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
59858 bit from old_res_options.
59860 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59862 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59863 value type for setfct.
59865 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
59867 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59868 __gettimeofday instead of gettimeofday.
59870 2011-06-26 Ulrich Drepper <drepper@gmail.com>
59872 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59874 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
59876 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59878 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59881 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59884 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59885 strcpy-sse2-unaligned strncpy-sse2-unaligned
59886 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59887 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59888 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59889 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59890 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59891 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59892 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59893 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59894 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59895 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59896 (STRCPY): Support SSE2 and SSSE3 versions.
59898 2011-06-24 Ulrich Drepper <drepper@gmail.com>
59901 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59902 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59903 kernels which artificially limit size of requests.
59905 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59908 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59909 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59910 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59911 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59912 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59913 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59914 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59915 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59916 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59917 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59918 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59919 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59920 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59921 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59923 Enable unaligned load optimization for Intel Core i3, i5 and i7
59925 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59927 (index_Fast_Unaligned_Load): Define.
59928 (HAS_FAST_UNALIGNED_LOAD): Define.
59930 2011-06-23 Marek Polacek <mpolacek@redhat.com>
59932 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59934 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59937 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59938 until it is clear that the information is realy needed.
59939 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59941 2011-06-22 Andreas Schwab <schwab@redhat.com>
59943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59945 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59948 /sys/devices/system/cpu/online if it is usable.
59950 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59951 reading the information from the /proc filesystem to once a second.
59953 2011-06-21 Andreas Jaeger <aj@suse.de>
59955 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59956 NULL after inclusion of kernel headers.
59958 2011-06-21 Ulrich Drepper <drepper@gmail.com>
59960 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59961 calls to internal_setent.
59964 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59965 addresses using gethostbyname4_r ignore IPv4 addresses.
59967 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59968 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
59970 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59972 2011-06-20 David S. Miller <davem@davemloft.net>
59974 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59976 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59978 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59979 (elf_irel): Use it.
59980 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59981 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59982 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59983 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59984 * sysdeps/x86_64/dl-irel.h: Likewise.
59986 * elf/dl-runtime.c: Use elf_ifunc_invoke.
59987 * elf/dl-sym.c: Likewise.
59989 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59991 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
59992 need to dereference resplen2.
59994 2011-06-14 Andreas Schwab <schwab@redhat.com>
59996 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59998 2011-06-15 Ulrich Drepper <drepper@gmail.com>
60000 * Makeconfig: Define vardbdir and inst_vardbdir.
60001 * nss/Makefile: Add rules to install db-Makefile.
60003 * nss/nss_db/db-XXX.c: Cleanup.
60005 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60006 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60008 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60009 * nss/makedb.c: Implement -g option to specify that value strings
60010 are generated and should not be added to table iterated over for
60012 * nss/nss_db/db-initgroups.c: New file.
60014 * nss/getent.c: Add support for initgroups lookups through getgrouplist
60017 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60018 (internal_getgrouplist): Adjust to name change.
60019 Update use_initgroups_entry if this is not the first call.
60020 * nss/databases.def: Add initgroups entry.
60022 * nss/makedb.c (compute_tables): Check result of multiple hash table
60023 sizes to minimize maximum chain length.
60025 2011-06-14 Ulrich Drepper <drepper@gmail.com>
60027 * Versions.def: Add entry for libnss_db.
60028 * shlib-versions: Likewise.
60029 * nss/Makefile: Add rules to build libnss_db.
60030 * nss/Versions: Add libnss_db information. Organize libnss_files
60032 * nss/db-Makefile: Add gshadow support. Change rules for the new
60033 makedb progra. Some minor improvements to generate smaller files.
60034 * nss/nss_db/nss_db.h: Move NSS database header data structures to
60036 * nss/makedb.c: ...here.
60037 Improve database format to be smaller and require less memory at
60039 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
60041 * nss/nss_db/db-netgrp.c: Likewise.
60042 * nss/nss_db/db-open.c: Likewise.
60043 * nss/nss_files/flies-XXX.x: Adjust comments.
60044 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60045 * nss/nss_files/files-grp.c: Likewise.
60046 * nss/nss_files/files-hosts.c: Likewise.
60047 * nss/nss_files/files-network.c: Likewise.
60048 * nss/nss_files/files-proto.c: Likewise.
60049 * nss/nss_files/files-pwd.c: Likewise.
60050 * nss/nss_files/files-rpc.c: Likewise.
60051 * nss/nss_files/files-service.c: Likewise.
60052 * nss/nss_files/files-sgrp.c: Likewise.
60053 * nss/nss_files/files-spwd.c: Likewise.
60054 * nss/nss_db/db-alias.c: Removed.
60055 * nss/nss_db/dummy-db.h: Removed.
60057 2011-06-02 Ulrich Drepper <drepper@gmail.com>
60059 * nss/makedb.c: Rewritten to not use database library.
60060 * nss/Makefile: Update to build new makedb program.
60062 2011-06-14 Andreas Jaeger <aj@suse.de>
60064 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60065 memset declaration.
60067 2011-06-10 Andreas Schwab <schwab@redhat.com>
60069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60072 2011-06-10 Roland McGrath <roland@hack.frob.com>
60074 * Makerules (shlib.lds): Fail if the linker script comes out empty.
60075 * elf/Makefile ($(objpfx)ld.so): Likewise.
60077 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60078 Don't list ld.so twice in dependencies.
60080 * posix/bug-regex31.c: Include <stdlib.h>.
60082 * nscd/hstcache.c (cache_addhst): Remove unused variable.
60084 * nis/nss_compat/compat-spwd.c
60085 (getspent_next_nss_netgr): Remove unused variable.
60086 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60088 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60089 nonmembers" output to use the right array.
60091 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60093 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60095 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60096 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60097 * catgets/gencat.c (read_input_file): Likewise.
60098 * locale/programs/locarchive.c (enlarge_archive): Likewise.
60100 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60101 variable definition inside #if's controlling its use.
60103 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60105 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60107 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60109 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60112 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60114 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60115 * configure: Regenerated.
60117 * Makerules: Revert last change.
60118 * elf/Makefile: Likewise.
60120 2011-06-09 Roland McGrath <roland@hack.frob.com>
60122 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60123 * elf/Makefile ($(objpfx)librtld.os): Likewise.
60124 (reloc-link): Likewise.
60126 2011-06-09 Ulrich Drepper <drepper@gmail.com>
60128 * elf/Makefile: Add rules to build pldd.
60129 * elf/pldd.c: New file.
60130 * elf/pldd-xx.c: New file.
60132 2011-06-07 Ulrich Drepper <drepper@gmail.com>
60134 * version.h: Update for 2.15 development version.
60136 2011-06-07 David S. Miller <davem@davemloft.net>
60138 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60140 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60141 elf_machine_lazy_rel): Likewise.
60142 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60143 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60144 elf_machine_lazy_rel): Likewise.
60145 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60146 dl_hwcap via passed in argument.
60147 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60150 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60152 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
60154 2011-06-06 Roland McGrath <roland@hack.frob.com>
60157 * manual/fdl-1.1.texi: New file, verbatim from:
60158 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60159 * manual/lgpl-2.1.texi: New file, verbatim from:
60160 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60161 * manual/Makefile (licenses): New variable, list those new file names.
60163 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60165 * manual/fdl.texi: File removed.
60166 * manual/lesser.texi: File removed.
60167 * manual/libc.texinfo (Copying, Documentation License):
60168 Use new @include file names, put @appendix directive before @include.
60170 2011-06-04 Jakub Jelinek <jakub@redhat.com>
60173 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60174 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60175 (mq_open): Add __NTH.
60177 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
60179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60180 Assume Intel Core i3/i5/i7 processor if AVX is available.
60182 2011-05-31 Ulrich Drepper <drepper@gmail.com>
60184 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60187 2011-05-31 Andreas Schwab <schwab@redhat.com>
60189 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60190 memory. Use alloca_account. Fix memory leak when retrying.
60192 2011-05-31 Ulrich Drepper <drepper@gmail.com>
60194 * version.h (RELEASE): Bump for 2.14 release.
60195 * include/features.h (__GLIBC_MINOR__): Bump to 14.
60197 * config.make.in (RANLIB): Remove entry.
60199 2011-05-30 Ulrich Drepper <drepper@gmail.com>
60201 * po/Makefile (po-sed-cmd): Add ksh to extensions.
60202 (libc.pot): Work around missing support for .ksh extension in xgettext.
60205 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60206 if both request failed.
60207 (send_dg): In case of server errors clear resplen or *resplen2.
60210 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60211 when there are multiple maps.
60212 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60213 (_dl_fini): Remove test here.
60215 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60217 2011-05-29 Ulrich Drepper <drepper@gmail.com>
60220 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60221 bit from old_res_options.
60222 (gaih_inet): Likewise.
60225 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60228 * resolv/res_init.c (res_setoptions): Make the code more compact.
60231 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60235 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60237 * malloc/malloc.h: Mark malloc hook variables as deprecated.
60240 * malloc/malloc.h: Declare malloc hook variables as volatile.
60242 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60246 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60247 raise in the comment.
60248 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60249 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60250 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60252 2011-05-28 Ulrich Drepper <drepper@gmail.com>
60255 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60256 grow the buffers more if it already has to be sufficient.
60257 (build_wcs_upper_buffer): Likewise.
60258 * posix/regexec.c (check_matching): Likewise.
60259 (clean_state_log_if_needed): Likewise.
60260 (extend_buffers): Don't enlarge buffers beyond size of the input
60262 Patches mostly by Emil Wojak <emil@wojak.eu>.
60263 * posix/bug-regex32.c: New file.
60264 * posix/Makefile (tests): Add bug-regex32.
60266 * locale/findlocale.c (_nl_find_locale): Return right away if
60267 _nl_explode_name failed.
60268 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60270 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60272 * debug/xtrace.sh: Unify messages.
60273 * malloc/memusage.sh: Likewise.
60276 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60277 time symbol from vDSO. Substitute with vsyscall if not available.
60278 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60281 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60282 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60283 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60284 Add sendmmsg and internal_sendmmsg.
60285 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60286 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60287 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60289 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60290 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60291 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60293 2011-05-27 Ulrich Drepper <drepper@gmail.com>
60296 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60297 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
60299 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60303 * iconvdata/Makefile (tests): Add bug-iconv9.
60304 * iconvdata/bug-iconv9.c: New file.
60306 2011-05-27 Andreas Schwab <schwab@redhat.com>
60309 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60311 2011-05-25 Jakub Jelinek <jakub@redhat.com>
60313 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60314 (struct user_regs_struct): Change intcs field back to cs.
60316 2011-05-25 Ulrich Drepper <drepper@gmail.com>
60318 * po/ja.po: Update from translation team.
60320 2011-05-23 Ulrich Drepper <drepper@gmail.com>
60323 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60324 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60326 2011-05-20 Andreas Schwab <schwab@redhat.com>
60328 * stdlib/longlong.h: Update from GCC.
60330 2011-05-23 Andreas Schwab <schwab@redhat.com>
60332 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60334 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60335 Add parameter name.
60336 (__sysconf): Pass it down.
60338 2011-05-22 Ulrich Drepper <drepper@gmail.com>
60341 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60343 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60344 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60345 add in in __libc_use_alloca calls. Adjust callers.
60346 (glob): Use malloc in some situations.
60348 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60349 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60352 2011-05-21 Ulrich Drepper <drepper@gmail.com>
60354 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60355 and CLOCK_BOOTTIME_ALARM.
60358 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60361 * string/_strerror.c (__strerror_r): Print negative errors as signed
60365 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60366 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60367 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60369 * configure.in: Fix typo in redirection and correct removal of test
60370 files in two cases.
60373 * locale/setlocale.c (new_composite_name): Fix test to check for
60374 identical name of all categories.
60377 * libio/filedoalloc.c (local_isatty): New function.
60378 (_IO_file_doallocate): Use local_isatty.
60379 * stdio-common/perror.c (perror): In case a new stream is used
60380 forward the stream error.
60381 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60384 2011-05-20 Ulrich Drepper <drepper@gmail.com>
60387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60389 * include/alloca.h (extend_alloca_account): Define.
60392 * posix/regex.h: Fix comments with documentation of user-accessible
60393 fields after compilation and describe correct free'ing of pattern
60394 after re_compile_pattern.
60395 Patch by Reuben Thomas <rrt@sc3d.org>.
60397 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
60399 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60400 and -mno-altivec to prevent the compiler from using Altivec and/or
60401 VSX instructions when the corresponding registers are not available.
60403 2011-05-19 Andreas Schwab <schwab@redhat.com>
60405 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60407 2011-05-19 Ulrich Drepper <drepper@gmail.com>
60409 * libio/freopen.c (freopen): Use __dup2, not dup2.
60410 * libio/freopen64.c (freopen64): Likewise.
60412 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
60415 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60416 * math/Makefile (tests): Add test-powl.
60417 (CFLAGS-test-powl.c): Define.
60418 * math/test-powl.c: New file.
60420 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
60422 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60424 2011-05-17 Ulrich Drepper <drepper@gmail.com>
60427 * iconvdata/gb18030.c: Update to GB18020-2005.
60429 2011-05-16 Ulrich Drepper <drepper@gmail.com>
60431 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60432 RE_SYNTAX_POSIX_AWK): Update to match recent development.
60433 Patch by Aharon Robbins <arnold@skeeve.com>.
60436 * stdlib/putenv.c (putenv): Don't always create copy of the variable
60440 * misc/pselect.c (__pselect): Handle timeout value errors hidden
60441 through underflows.
60444 * misc/error.c (error_at_line): Ensure file_name and old_file_name
60445 point to strings before performing equality test for error_one_per_line
60449 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60453 (struct user_fpregs_struct): Avoid __uint*_t types.
60456 * malloc/mtrace.c (tr_where): Add additional parameter to point to
60457 symbol info. Use it instead of calling _dl_addr locally.
60458 (lock_and_info): New function.
60459 (tr_freehook): Call lock_and_info and pass symbol info as additional
60460 parameter to tr_where.
60461 (tr_mallochook): Likewise.
60462 (tr_reallochook): Likewise.
60463 (tr_memalignhook): Likewise.
60465 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
60466 used and couldn't be at all thread-safe.
60468 2011-05-15 Ulrich Drepper <drepper@gmail.com>
60470 * libio/freopen.c (freopen): Don't close old file descriptor
60471 before the new one is opened. Instead dup the new file descriptor
60472 to the old one after the new stream is created.
60473 * libio/freopen64.c (freopen64): Likewise.
60474 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60475 * libio/fileops.c (_IO_new_file_close_it): Handle new
60476 _IO_FLAGS2_NOCLOSE flag.
60477 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60478 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60479 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60480 _IO_FLAGS2_NOCLOSE flag.
60481 * include/unistd.h: Add hidden_proto for dup3.
60482 Define __have_dup3.
60483 * io/dup3.c: Define hidden symbol.
60484 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60487 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60488 when an incomplete long option is used.
60489 * posix/tst-getopt_long1.c: New file.
60490 * posix/Makefile (tests): Add tst-getopt_long1.
60493 * scripts/config.guess: Update from autoconf-2.68.
60494 * scripts/config.sub: Likewise.
60497 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60499 (has_cpuclock): ...this. New function.
60500 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60501 macro here based on has_cpuclock code.
60504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60505 First byte (not low byte) is now always NUL.
60506 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60509 Use non-cancelable interfaces.
60512 * locale/iso-639.def: Add entry for Sorani.
60515 * include/stdlib.h: Move include protection to the right place.
60516 Define abort_msg_s. Declare __abort_msg with it.
60517 * stdlib/abort.c (__abort_msg): Adjust type.
60518 * assert/assert.c (__assert_fail_base): New function. Majority
60519 of code from __assert_fail. Allocate memory for __abort_msg with
60521 (__assert_fail): Now call __assert_fail_base.
60522 * assert/assert-perr.c: Remove bulk of implementation. Use
60523 __assert_fail_base.
60524 * include/assert.hL Declare __assert_fail_base.
60525 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60527 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60529 2011-05-14 Ulrich Drepper <drepper@gmail.com>
60533 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60534 until all modules are registered in the DTV.
60535 * elf/Makefile: Add rules to build and run tst-tls19.
60536 * elf/tst-tls19.c: New file.
60537 * elf/tst-tls19mod1.c: New file.
60538 * elf/tst-tls19mod2.c: New file.
60539 * elf/tst-tls19mod3.c: New file.
60540 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60543 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60547 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60548 two-byte sequence errors.
60549 * iconvdata/Makefile (tests): Add bug-iconv8.
60550 * iconvdata/bug-iconv8.c: New file.
60553 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60556 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60559 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60560 (dummy_getcfa): New function.
60561 (init): Get _Unwind_GetCFA address, use dummy if not found.
60562 (backtrace_helper): In recursion check, also check whether CFA changes.
60563 (__backtrace): Completely initialize arg.
60565 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60566 storing incomplete byte sequence in state object. Avoid testing for
60567 guaranteed too small input if we know there is enough data available.
60569 2011-05-11 Andreas Schwab <schwab@redhat.com>
60571 * Makeconfig (+link-pie): Indent.
60572 * Rules (binaries-pie): Define if $(have-fpie) and
60574 (binaries-shared): Also filter out $(binaries-pie).
60575 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60576 * nscd/Makefile (others-pie): Add nscd.
60577 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60578 ($(objpfx)nscd): Remove command override.
60579 * login/Makefile (others-pie): Add pt_chown.
60580 ($(objpfx)pt_chown): Remove command override.
60581 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60582 remove command overrides.
60584 2011-05-13 Ulrich Drepper <drepper@gmail.com>
60586 * libio/tst_putwc.c: Fix error messages.
60589 * libio/fileops.c (_IO_new_file_close_it): Always flush when
60590 currently writing and seek to current position when not.
60591 * libio/Makefile (tests): Add bug-fclose1.
60592 * libio/bug-fclose1.c: New file.
60594 2011-05-12 Ulrich Drepper <drepper@gmail.com>
60597 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60598 don't set DF_1_NODELETE here.
60599 (do_lookup_x): When entering new entry test for copy relocation
60600 and if necessary set DF_1_NODELETE flag.
60601 * elf/tst-unique4.cc: New file.
60602 * elf/tst-unique4.h: New file.
60603 * elf/tst-unique4lib.cc: New file.
60604 * elf/Makefile: Add rules to build and run tst-unique4.
60605 Patch by Piotr Bury <pbury@goahead.com>.
60607 2011-05-11 Ulrich Drepper <drepper@gmail.com>
60610 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60613 * misc/mntent_r.c (addmntent): Flush the stream after the output
60616 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60617 (is_trusted_path_normalize): Skip initial colon. Append slash
60618 to empty buffer. Duplicate is_trusted_path code but allow
60619 constructed patch to be prefix.
60620 (is_dst): Allow $ORIGIN followed by /.
60621 (_dl_dst_substitute): Correct clearing of check_for_trusted.
60622 Correct testing of result of is_trusted_path_normalize
60623 (decompose_rpath): Fix warning.
60625 2011-05-10 Ulrich Drepper <drepper@gmail.com>
60628 * grp/initgroups.c (internal_getgrouplist): When we found the service
60629 list through the initgroups entry in nsswitch.conf do not always
60630 continue on a successful lookup. Don't always use the
60631 __nss_group_database value if it is set.
60632 * nss/nsswitch.conf (initgroups): Change action for successful db
60633 lookup to continue for compatibility.
60635 2011-05-09 Ulrich Drepper <drepper@gmail.com>
60638 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60640 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60642 * iconvdata/tst-tables.sh: Likewise.
60643 * iconvdata/cp770.c: New file.
60644 * iconvdata/cp771.c: New file.
60645 * iconvdata/cp772.c: New file.
60646 * iconvdata/cp773.c: New file.
60647 * iconvdata/cp774.c: New file.
60648 * iconvdata/testdata/CP770: New file.
60649 * iconvdata/testdata/CP770..UTF8: New file.
60650 * iconvdata/testdata/CP771: New file.
60651 * iconvdata/testdata/CP771..UTF8: New file.
60652 * iconvdata/testdata/CP772: New file.
60653 * iconvdata/testdata/CP772..UTF8: New file.
60654 * iconvdata/testdata/CP773: New file.
60655 * iconvdata/testdata/CP773..UTF8: New file.
60656 * iconvdata/testdata/CP774: New file.
60657 * iconvdata/testdata/CP774..UTF8: New file.
60659 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60661 * iconvdata/gen-8bit-gap.sh: Likewise.
60662 * iconvdata/gen-8bit.sh: Likewise.
60664 * locale/iso-639.def: Add ary entry.
60667 * locale/C-translit.h.in: Add U20A1 transliteration.
60670 * locale/iso-639.def: Add wae entry.
60671 Patch by Kevin Bortis <bortis@translate-wae.ch>.
60674 * locale/programs/localedef.c (construct_output_path): Use ssize_t
60678 * locale/C-translit.h.in: Add entry for U20B9.
60679 Patch by pravin.d.s@gmail.com.
60681 2011-05-08 Ulrich Drepper <drepper@gmail.com>
60684 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60685 ENAMETOOLONG use generic getcwd.
60686 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
60687 in rtld. Use *stat64.
60688 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60689 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60690 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60691 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60692 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60693 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60694 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60695 __fstatat64 macros.
60696 * include/dirent.h: Add libc_hidden_proto for rewinddir.
60697 * dirent/rewinddir.c: Add libc_hidden_def.
60698 * sysdeps/mach/hurd/rewinddir.c: Likewise.
60699 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
60701 * include/dirent.h (__alloc_dir): Add flags parameter.
60702 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60703 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60705 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
60706 from fdopendir if O_CLOEXEC is already set.
60708 2011-03-15 Alan Modra <amodra@gmail.com>
60710 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60711 l_tls_firstbyte_offset non-zero. Save padding offset in
60712 l_tls_firstbyte_offset for later use.
60713 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60714 freeing static tls block.
60716 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
60718 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60719 where #ifdef was intended. The intent is to prevent ARG_MAX from
60720 being defined by the kernel headers.
60722 2011-05-07 Ulrich Drepper <drepper@gmail.com>
60725 * resolv/resolv.h: Define RES_NOTLDQUERY.
60726 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60727 no-tld-query and set RES_NOTLDQUERY.
60728 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60729 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60730 modern BIND to search name as TLD unless forbidden.
60732 2011-05-07 Petr Baudis <pasky@suse.cz>
60733 Ulrich Drepper <drepper@gmail.com>
60736 * elf/dl-load.c (fillin_rpath): Move trusted path check...
60737 (is_trusted_path): ...to here.
60738 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60739 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60740 using is_trusted_path_normalize() in setuid scripts.
60742 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
60744 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60745 __BEGIN/__END_DECLS.
60747 2011-05-06 Ulrich Drepper <drepper@gmail.com>
60749 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60750 NSS_STATUS_NOTFOUND if no record was found.
60752 2011-05-05 Andreas Schwab <schwab@redhat.com>
60754 * sunrpc/Makefile (headers): Add rpc/netdb.h.
60755 (headers-not-in-tirpc): Remove rpc/netdb.h
60756 * resolv/netdb.h: Revert last change.
60758 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
60760 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60761 circular dependency between libgcc.a and libc.a.
60763 2011-05-05 Andreas Schwab <schwab@redhat.com>
60765 * resolv/netdb.h: Don't include <rpc/netdb.h>.
60766 * nis/Makefile: Don't install rpcsvc/*.
60767 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60768 instead of <rpc/types.h>.
60769 (MAXHOSTNAMELEN): Define.
60771 2011-05-03 Andreas Schwab <schwab@redhat.com>
60773 * elf/ldconfig.c (add_dir): Don't crash on empty path.
60775 2011-04-28 Maciej Babinski <mbabinski@google.com>
60778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60779 gethostbyname4_r when IPv6 results are possible.
60781 2011-05-02 Ulrich Drepper <drepper@gmail.com>
60784 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60785 _PC_PIPE_BUF handling.
60787 2011-04-30 Bruno Haible <bruno@clisp.org>
60790 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60791 * resolv/netdb.h (getnameinfo): Change type of flags parameter
60793 * inet/getnameinfo.c (getnameinfo): Likewise.
60795 2011-04-29 Ulrich Drepper <drepper@gmail.com>
60797 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60798 to groups setting in database lookup.
60799 * nss/nsswitch.conf: Add initgroups entry.
60801 2011-04-22 Ulrich Drepper <drepper@gmail.com>
60804 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60806 Patch by Eric Blake <eblake@redhat.com>.
60808 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
60810 * sunrpc/Makefile (need-export-routines): Add svc_run.
60811 (routines): Remove svc_run.
60812 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60813 * sunrpc/clnt_perr.c (clnt_perrno): Export.
60814 * sunrpc/svc_run.c (svc_run): Likewise.
60815 * sunrpc/svc_udp.c (svcudp_create): Likewise.
60817 2011-04-21 Ulrich Drepper <drepper@gmail.com>
60819 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60820 problem in reallocation in last patch.
60822 2011-04-20 Ulrich Drepper <drepper@gmail.com>
60824 * sunrpc/Makefile: Move inclusion of Rules.
60826 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60828 * nss/nss_files/files-initgroups.c: New file.
60829 * nss/Makefile (libnss_files-routines): Add files-initgroups.
60830 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60831 _nss_files_initgroups_dyn.
60833 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
60835 * elf/elf.h (R_ARM_IRELATIVE): Define.
60837 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60839 * po/ru.po: Update from translation team.
60841 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60843 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60846 2011-02-06 Mike Frysinger <vapier@gentoo.org>
60849 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60850 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60851 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60852 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60853 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60855 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
60857 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60859 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60860 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60861 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60863 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60866 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60868 * stdlib/bug-getcontext.c: New file.
60869 * stdlib/Makefile: Add rules to build and run bug-getcontext.
60871 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60873 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60874 instructions into .machine "z9-109".
60875 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60876 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60878 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60880 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60881 between environment variables and auxiliary vector.
60883 2011-04-16 Ulrich Drepper <drepper@gmail.com>
60885 * Makefile: Add rules to build linkobj/libc.so.
60886 * include/libc-symbols.h: Define libc_hidden_nolink.
60887 * include/rpc/auth.h: Mark functions which are to be hidden.
60888 * include/rpc/auth_des.h: Likewise.
60889 * include/rpc/auth_unix.h: Likewise.
60890 * include/rpc/clnt.h: Likewise.
60891 * include/rpc/des_crypt.h: Likewise.
60892 * include/rpc/key_prot.h: Likewise.
60893 * include/rpc/pmap_clnt.h: Likewise.
60894 * include/rpc/pmap_prot.h: Likewise.
60895 * include/rpc/pmap_rmt.h: Likewise.
60896 * include/rpc/rpc_msg.h: Likewise.
60897 * include/rpc/svc.h: Likewise.
60898 * include/rpc/svc_auth.h: Likewise.
60899 * include/rpc/xdr.h: Likewise.
60900 * nis/Makefile: Link all DSOs against linkobj/libc.so.
60901 * nss/Makefile: Likewise.
60902 * sunrpc/Makefile: Don't install headers. Build library with normal
60903 entry points. Don't build rpcinfo. Link RPC tests appropriately.
60904 * sunrpc/auth_des.c: Hide exported symbols by default, export some
60905 for the compat linking library. Remove use of INTDEF/INTUSE.
60906 * sunrpc/auth_none.c: Likewise.
60907 * sunrpc/auth_unix.c: Likewise.
60908 * sunrpc/authdes_prot.c: Likewise.
60909 * sunrpc/authuxprot.c: Likewise.
60910 * sunrpc/clnt_gen.c: Likewise.
60911 * sunrpc/clnt_perr.c: Likewise.
60912 * sunrpc/clnt_raw.c: Likewise.
60913 * sunrpc/clnt_simp.c: Likewise.
60914 * sunrpc/clnt_tcp.c: Likewise.
60915 * sunrpc/clnt_udp.c: Likewise.
60916 * sunrpc/clnt_unix.c: Likewise.
60917 * sunrpc/des_crypt.c: Likewise.
60918 * sunrpc/des_soft.c: Likewise.
60919 * sunrpc/get_myaddr.c: Likewise.
60920 * sunrpc/key_call.c: Likewise.
60921 * sunrpc/key_prot.c: Likewise.
60922 * sunrpc/netname.c: Likewise.
60923 * sunrpc/pm_getmaps.c: Likewise.
60924 * sunrpc/pm_getport.c: Likewise.
60925 * sunrpc/pmap_clnt.c: Likewise.
60926 * sunrpc/pmap_prot.c: Likewise.
60927 * sunrpc/pmap_prot2.c: Likewise.
60928 * sunrpc/pmap_rmt.c: Likewise.
60929 * sunrpc/publickey.c: Likewise.
60930 * sunrpc/rpc_cmsg.c: Likewise.
60931 * sunrpc/rpc_common.c: Likewise.
60932 * sunrpc/rpc_dtable.c: Likewise.
60933 * sunrpc/rpc_prot.c: Likewise.
60934 * sunrpc/rpc_thread.c: Likewise.
60935 * sunrpc/rtime.c: Likewise.
60936 * sunrpc/svc.c: Likewise.
60937 * sunrpc/svc_auth.c: Likewise.
60938 * sunrpc/svc_authux.c: Likewise.
60939 * sunrpc/svc_raw.c: Likewise.
60940 * sunrpc/svc_run.c: Likewise.
60941 * sunrpc/svc_simple.c: Likewise.
60942 * sunrpc/svc_tcp.c: Likewise.
60943 * sunrpc/svc_udp.c: Likewise.
60944 * sunrpc/svc_unix.c: Likewise.
60945 * sunrpc/svcauth_des.c: Likewise.
60946 * sunrpc/xcrypt.c: Likewise.
60947 * sunrpc/xdr.c: Likewise.
60948 * sunrpc/xdr_array.c: Likewise.
60949 * sunrpc/xdr_float.c: Likewise.
60950 * sunrpc/xdr_intXX_t.c: Likewise.
60951 * sunrpc/xdr_mem.c: Likewise.
60952 * sunrpc/xdr_rec.c: Likewise.
60953 * sunrpc/xdr_ref.c: Likewise.
60954 * sunrpc/xdr_sizeof.c: Likewise.
60955 * sunrpc/xdr_stdio.c: Likewise.
60957 2011-04-10 Ulrich Drepper <drepper@gmail.com>
60960 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60961 * sysdeps/ia64/dl-tls.h: Likewise.
60962 * sysdeps/powerpc/dl-tls.h: Likewise.
60963 * sysdeps/s390/dl-tls.h: Likewise.
60964 * sysdeps/sh/dl-tls.h: Likewise.
60965 * sysdeps/sparc/dl-tls.h: Likewise.
60966 * sysdeps/x86_64/dl-tls.h: Likewise.
60967 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60969 2011-03-14 Andreas Schwab <schwab@redhat.com>
60971 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60972 rpath element also skip the following colon.
60973 (expand_dynamic_string_token): Add is_path parameter and pass
60974 down to DL_DST_REQUIRED and _dl_dst_substitute.
60975 (decompose_rpath): Call expand_dynamic_string_token with
60976 non-zero is_path. Ignore empty rpaths.
60977 (_dl_map_object_from_fd): Call expand_dynamic_string_token
60980 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
60982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60985 2011-04-09 Ulrich Drepper <drepper@gmail.com>
60988 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60989 Patch by Filipe David Manana <fdmanana@apache.org>.
60991 2011-04-07 Andreas Schwab <schwab@redhat.com>
60993 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60994 Maintain aligned stack.
60995 (CHECK_RSP): Remove unused macro.
60997 2011-04-03 Ulrich Drepper <drepper@gmail.com>
60999 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61000 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61002 2011-04-02 Ulrich Drepper <drepper@gmail.com>
61004 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61006 * include/features.h: Mention __USE_XOPEN2K8 in comment.
61008 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
61011 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61012 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61013 * sysdeps/x86_64/memmove.c: New file.
61014 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61015 (memcpy): Renamed to ...
61016 (__new_memcpy): This.
61017 (memcpy): Provide GLIBC_2_14 memcpy.
61018 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61019 (memcpy): Provide GLIBC_2_2_5 memcpy.
61021 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61024 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61026 2011-03-30 Andreas Schwab <schwab@redhat.com>
61028 * misc/syncfs.c: New file.
61029 * misc/Makefile (routines): Add syncfs.
61030 * posix/unistd.h: Declare syncfs.
61031 * sysdeps/unix/syscalls.list: Add syncfs.
61033 2011-04-01 Andreas Schwab <schwab@redhat.com>
61035 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61037 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61038 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61040 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61042 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61043 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61045 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61047 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61048 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61049 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61050 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61051 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61053 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61055 * io/Makefile: Compile fallocate.c, fallocate64.c, and
61056 sync_file_range.c with -fexceptions.
61057 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61058 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61059 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61060 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61061 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61062 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61063 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61064 sync_file_range as cancellation point
61065 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
61066 now a wrapper around __call_sync_file_range with cancellation handling.
61067 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61068 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
61069 function name to __call_sync_file_range.
61070 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61071 Add call_sync_file_range.
61073 2011-04-01 Andreas Schwab <schwab@redhat.com>
61075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61078 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61080 * iconv/iconv.h: Fix typo in comment.
61081 * io/fcntl.h: Likewise.
61082 * libio/stdio.h: Likewise.
61083 * posix/spawn.h: Likewise.
61084 * posix/unistd.h: Likewise.
61085 * stdlib/stdlib.h: Likewise.
61086 * time/time.h: Likewise.
61087 * wcsmbs/wchar.h: Likewise.
61089 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61090 open_by_handle): Add.
61091 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61092 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
61093 Augment a few comments.
61094 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61095 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61096 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61098 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61099 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61102 * io/fcntl.h (AT_EMPTY_PATH): Define.
61104 2011-03-30 Ulrich Drepper <drepper@gmail.com>
61106 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61107 * sysdeps/unix/sysv/linux/bits/time.h: New file.
61108 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61110 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
61111 * Versions.def: Add GLIBC_2.14.
61112 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61115 2011-03-22 Ulrich Drepper <drepper@gmail.com>
61117 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61119 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61121 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
61124 * string/test-strncmp.c (do_page_test): New function.
61125 (check2): Likewise.
61126 (test_main): Call check2.
61127 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61129 2011-03-20 Ulrich Drepper <drepper@gmail.com>
61132 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61133 Handle cache information in CPU leaf 4.
61134 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61136 2011-03-18 Ulrich Drepper <drepper@gmail.com>
61139 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61140 character representation.
61141 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61143 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
61145 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61146 END(__isnan) to END(__isnanf) to match function entry point/label
61147 EALIGN(__isnanf,...).
61149 2011-03-10 Jakub Jelinek <jakub@redhat.com>
61151 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61153 2011-03-10 Ulrich Drepper <drepper@gmail.com>
61156 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61157 copy from the symbol referenced in the relocation to initialize the
61159 Patch by Piotr Bury <pbury@goahead.com>.
61160 * elf/Makefile: Add rules to build and tst-unique3.
61161 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61162 * elf/tst-unique3.cc: New file.
61163 * elf/tst-unique3.h: New file.
61164 * elf/tst-unique3lib.cc: New file.
61165 * elf/tst-unique3lib2.cc: New file.
61167 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61169 2011-03-10 Mike Frysinger <vapier@gentoo.org>
61171 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61172 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
61175 2011-03-06 Ulrich Drepper <drepper@gmail.com>
61177 * elf/dl-load.c (_dl_map_object): If we are looking for the first
61178 to-be-loaded object along a path to loader is ld.so.
61180 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
61181 Ulrich Drepper <drepper@gmail.com>
61183 * sysdeps/x86_64/memset.S: After aligning destination, code
61184 branches to different locations depending on the value of
61185 misalignment, when multiarch is enabled. Fix this.
61187 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
61189 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61190 Set _x86_64_preferred_memory_instruction for AMD processsors.
61191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61192 Set bit_Prefer_SSE_for_memop for AMD processors.
61194 2011-03-04 Ulrich Drepper <drepper@gmail.com>
61196 * libio/fmemopen.c (fmemopen): Optimize a bit.
61198 2011-03-03 Andreas Schwab <schwab@redhat.com>
61200 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61202 2011-03-03 Roland McGrath <roland@redhat.com>
61204 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61206 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
61208 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61209 __bzero_ultra1 instead of __memset_ultra1.
61211 2011-02-23 Andreas Schwab <schwab@redhat.com>
61212 Ulrich Drepper <drepper@gmail.com>
61215 * include/link.h (struct link_map): Add l_orig_initfini.
61216 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61217 returning unsuccessfully.
61218 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61219 close of a file loaded at startup, restore the original l_initfini
61221 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61222 list, store the pointer.
61223 * elf/Makefile ($(objpfx)noload-mem): New rule.
61224 (noload-ENV): Define.
61225 (tests): Add $(objpfx)noload-mem.
61226 * elf/noload.c: Include <memcheck.h>.
61227 (main): Call mtrace. Close all opened handles.
61229 2011-02-17 Andreas Schwab <schwab@redhat.com>
61232 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61233 dependencies are missing.
61235 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
61237 Fix __if_freereq crash: Unlike the generic version which uses free,
61239 * sysdeps/mach/hurd/ifreq.h: New file.
61241 2011-01-27 Petr Baudis <pasky@suse.cz>
61242 Ulrich Drepper <drepper@gmail.com>
61245 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61246 to extend_alloca().
61247 * stdio-common/bug23.c: New file.
61248 * stdio-common/Makefile (tests): Add bug23.
61250 2010-09-28 Andreas Schwab <schwab@redhat.com>
61251 Ulrich Drepper <drepper@gmail.com>
61254 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61255 before performing relro protection. At old place add assertion
61256 to make sure nothing changed.
61258 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
61259 Glauber de Oliveira Costa <glommer@gmail.com>
61261 * elf/elf.h: Add new ARM TLS relocs.
61263 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
61265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61266 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61268 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
61270 * sysdeps/wordsize-64/tst-writev.c: New file.
61272 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
61274 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61275 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61276 insns in _dl_start to prevent a TOC reference before relocs are
61279 2011-02-15 Ulrich Drepper <drepper@gmail.com>
61282 * Makeconfig: Remove RANLIB definition.
61283 * Makerules: Don't use RANLIB.
61284 * aclocal.m4: Remove ranlib test.
61285 * configure.in: No need to check for ranlib.
61286 * elf/rtld-Rules: Don't use RANLIB.
61288 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
61290 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61292 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61293 inclusion protection macro.
61295 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61296 SIGRTMIN and SIGRTMAX and print information in that case only when
61297 SIGRTMIN is defined.
61299 2011-02-11 Jakub Jelinek <jakub@redhat.com>
61301 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61302 arginfo fn returning -1.
61304 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61305 and thousands string is zero terminated.
61307 2011-02-03 Andreas Schwab <schwab@redhat.com>
61309 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61310 sysdeps/unix/sysv/linux/bits/socket.h.
61312 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
61314 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61315 (__CPU_COUNT): Remove old macros.
61316 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61317 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61318 (__CPU_ALLOC, __CPU_FREE): Add macros.
61319 (__sched_cpualloc, __sched_cpufree): Add declarations.
61321 2011-02-05 Ulrich Drepper <drepper@gmail.com>
61323 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61324 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61325 * nscd/aicache.c (addhstaiX): Return timeout of added value.
61326 (readdhstai): Return value of addhstaiX call.
61327 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61328 (addgrbyX): Return value returned by cache_addgr.
61329 (readdgrbyname): Return value returned by addgrbyX.
61330 (readdgrbygid): Likewise.
61331 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61332 (addpwbyX): Return value returned by cache_addpw.
61333 (readdpwbyname): Return value returned by addhstbyX.
61334 (readdpwbyuid): Likewise.
61335 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61336 (addservbyX): Return value returned by cache_addserv.
61337 (readdservbyname): Return value returned by addservbyX:
61338 (readdservbyport): Likewise.
61339 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61340 (addhstbyX): Return value returned by cache_addhst.
61341 (readdhstbyname): Return value returned by addhstbyX.
61342 (readdhstbyaddr): Likewise.
61343 (readdhstbynamev6): Likewise.
61344 (readdhstbyaddrv6): Likewise.
61345 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61346 (readdinitgroups): Return value returned by addinitgroupsX.
61347 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61348 (prune_cache): Keep track of timeout value of re-added entries.
61349 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61350 * nscd/nscd.h: Adjust prototypes of readd* functions.
61352 2011-02-04 Roland McGrath <roland@redhat.com>
61354 * nis/nis_server.c (nis_servstate): Use the right name for 0.
61355 (nis_stats): Likewise.
61356 * nis/nis_modify.c (nis_modify): Likewise.
61357 * nis/nis_remove.c (nis_remove): Likewise.
61358 * nis/nis_add.c (nis_add): Likewise.
61360 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61362 * posix/fnmatch_loop.c: Add some consts.
61364 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61366 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
61369 * config.make.in (config-cflags-novzeroupper): Define.
61370 * configure.in: Substitute libc_cv_cc_novzeroupper.
61371 * elf/Makefile (AVX-CFLAGS): Define.
61372 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61373 (CFLAGS-tst-auditmod4a.c): Likewise.
61374 (CFLAGS-tst-auditmod4b.c): Likewise.
61375 (CFLAGS-tst-auditmod6b.c): Likewise.
61376 (CFLAGS-tst-auditmod6c.c): Likewise.
61377 (CFLAGS-tst-auditmod7b.c): Likewise.
61378 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61380 2011-02-02 Ulrich Drepper <drepper@gmail.com>
61382 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61383 function to the callback.
61384 Patch partly by Jiri Olsa <jolsa@redhat.com>.
61386 2011-02-02 Andreas Schwab <schwab@redhat.com>
61388 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61391 2011-01-19 Ulrich Drepper <drepper@gmail.com>
61394 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61396 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61398 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61401 * elf/Makefile: Add rules to build and run new test.
61402 * elf/tst-initorder.c: New file.
61403 * elf/tst-initorder.exp: New file.
61404 * elf/tst-initordera1.c: New file.
61405 * elf/tst-initordera2.c: New file.
61406 * elf/tst-initordera3.c: New file.
61407 * elf/tst-initordera4.c: New file.
61408 * elf/tst-initorderb1.c: New file.
61409 * elf/tst-initorderb2.c: New file.
61410 * elf/tst-order-a1.c: New file.
61411 * elf/tst-order-a2.c: New file.
61412 * elf/tst-order-a3.c: New file.
61413 * elf/tst-order-a4.c: New file.
61414 * elf/tst-order-b1.c: New file.
61415 * elf/tst-order-b2.c: New file.
61416 * elf/tst-order-main.c: New file.
61417 New test case by George Gensure <werkt0@gmail.com>.
61419 2010-10-01 Andreas Schwab <schwab@redhat.com>
61421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61422 decoding ACE if AI_CANONIDN.
61424 2011-01-18 Ulrich Drepper <drepper@gmail.com>
61426 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61428 2011-01-17 Ulrich Drepper <drepper@gmail.com>
61430 * version.h (RELEASE): Bump for 2.13 release.
61431 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61433 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61435 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61437 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61438 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61439 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61440 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61441 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61442 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61444 * posix/getconf.c: Update copyright year.
61445 * catgets/gencat.c: Likewise.
61446 * csu/version.c: Likewise.
61447 * debug/catchsegv.sh: Likewise.
61448 * debug/xtrace.sh: Likewise.
61449 * elf/ldconfig.c: Likewise.
61450 * elf/ldd.bash.in: Likewise.
61451 * elf/sprof.c (print_version): Likewise.
61452 * iconv/iconv_prog.c: Likewise.
61453 * iconv/iconvconfig.c: Likewise.
61454 * locale/programs/locale.c: Likewise.
61455 * locale/programs/localedef.c: Likewise.
61456 * malloc/memusage.sh: Likewise.
61457 * malloc/mtrace.pl: Likewise.
61458 * nscd/nscd.c (print_version): Likewise.
61459 * nss/getent.c: Likewise.
61461 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61462 PF_CAIF, and PF_ALG.
61463 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61465 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
61467 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61468 (modules-names): Use them.
61469 (ifunc-test-modules, ifunc-pie-tests): Define.
61470 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61471 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61472 (test-extras): Likewise.
61473 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61474 $(compile-command.c).
61475 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61476 (all-built-dso): Define.
61477 (check-textrel.out, check-execstack.out): Depend on it.
61479 * configure.in: Don't override --enable-multi-arch.
61481 2011-01-15 Ulrich Drepper <drepper@gmail.com>
61484 * nscd/hstcache.c (tryagain): Define.
61485 (cache_addhst): Return tryagain not notfound for temporary errors.
61486 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61489 2011-01-14 Ulrich Drepper <drepper@gmail.com>
61492 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61493 to make the syscall.
61494 * sysdeps/unix/sysv/linux/setgroups.c: New file.
61497 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61498 and fall back to matching as normal character if the string ends before
61499 the matching ']' is found. This is what POSIX requires.
61500 * posix/testfnm.c: Adjust test result.
61501 * posix/globtest.sh: Adjust test result. Add new test.
61502 * posix/tst-fnmatch.input: Likewise.
61503 * posix/tst-fnmatch2.c: Add new test.
61505 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
61507 * elf/Makefile (check-execstack): Revert last change. Depend on
61509 (check-execstack.h): New target.
61510 (generated): Add check-execstack.h.
61511 * elf/check-execstack.c: Include "check-execstack.h".
61512 (main): Revert last change.
61513 (handle_file): Return zero if GNU_STACK is absent and
61514 DEFAULT_STACK_PERMS doesn't include PF_X.
61516 2011-01-13 Ulrich Drepper <drepper@gmail.com>
61518 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61519 in child fails because the descriptor is already closed.
61520 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61521 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61522 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61525 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61529 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61530 temporary buffer used to handle multi lookups locally.
61531 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61533 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61535 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61538 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
61540 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61541 alignment for SSE2.
61543 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61546 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61547 characters. When rounding increased number of integer digits recompute
61549 * stdio-common/tst-grouping.c: New file.
61550 * stdio-common/Makefile: Add rules to build and run tst-grouping.
61552 2011-01-09 Ulrich Drepper <drepper@gmail.com>
61554 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61555 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
61557 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61559 * bits/select.h: Likewise.
61561 2011-01-08 Ulrich Drepper <drepper@gmail.com>
61563 * po/ja.po: Update from translation team.
61565 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
61568 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61569 implementation just like for lxstat, fxstatat, et al.
61571 2010-12-27 Jim Meyering <meyering@redhat.com>
61574 * posix/regexec.c (build_trtable): Return failure indication upon
61575 calloc failure. Otherwise, re_search_internal could infloop on OOM.
61577 2010-12-25 Ulrich Drepper <drepper@gmail.com>
61580 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61581 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61582 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61583 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61586 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61589 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61590 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61592 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
61594 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61595 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61596 script has SORT_BY_INIT_PRIORITY.
61597 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61598 NO_CTORS_DTORS_SECTIONS is defined.
61599 * elf/soinit.c: Likewise.
61600 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61601 NO_CTORS_DTORS_SECTIONS is defined.
61602 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61603 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61604 * sysdeps/sh/init-first.c: Likewise.
61605 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61607 2010-12-24 Ulrich Drepper <drepper@gmail.com>
61609 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61610 always use the slow path.
61612 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
61614 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61615 similar rule which adds the sysdep directories to the header search in
61616 order to pick up the correct platform stackinfo.h.
61617 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61618 perform test if it is, otherwise return successfully without testing.
61619 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61620 DEFAULT_STACK_PERMS define in stackinfo.h.
61621 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61622 defined in stackinfo.h.
61623 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61624 DEFAULT_STACK_PERMS defined in stackinfo.h.
61625 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61626 * sysdeps/ia64/stackinfo.h: Likewise.
61627 * sysdeps/s390/stackinfo.h: Likewise.
61628 * sysdeps/sh/stackinfo.h: Likewise.
61629 * sysdeps/sparc/stackinfo.h: Likewise.
61630 * sysdeps/x86_64/stackinfo.h: Likewise.
61631 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61632 PF_X for powerpc64. Retain PF_X for powerpc32.
61634 2010-12-19 Ulrich Drepper <drepper@gmail.com>
61636 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61638 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61639 GETDENTS_64BIT_ALIGNED.
61641 2010-12-14 Ulrich Drepper <dreper@gmail.com>
61643 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61645 2010-12-10 Andreas Schwab <schwab@redhat.com>
61647 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61650 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61651 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61653 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61654 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61656 2010-12-09 Ulrich Drepper <drepper@gmail.com>
61659 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61662 2010-12-09 Jakub Jelinek <jakub@redhat.com>
61664 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61666 2010-12-03 Ulrich Drepper <drepper@gmail.com>
61668 * po/it.po: Update from translation team.
61670 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
61672 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61675 2010-11-30 Ulrich Drepper <drepper@gmail.com>
61677 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61679 2010-11-24 Andreas Schwab <schwab@redhat.com>
61681 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61683 (gaih_getanswer_slice): Likewise.
61685 2010-10-20 Jakub Jelinek <jakub@redhat.com>
61687 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61689 2010-05-31 Petr Baudis <pasky@suse.cz>
61692 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61693 silently even in the chroot mode.
61695 2010-11-22 Ulrich Drepper <drepper@gmail.com>
61697 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61698 last patch a bit. Pretty printing
61700 2010-05-31 Petr Baudis <pasky@suse.cz>
61703 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61704 initialization of skip_initgroups_dyn.
61706 2010-11-19 Ulrich Drepper <drepper@gmail.com>
61708 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61709 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61711 2010-11-16 Ulrich Drepper <drepper@gmail.com>
61713 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61715 2010-11-11 Andreas Schwab <schwab@redhat.com>
61717 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61718 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61719 (tst-fnmatch-ENV): Set MALLOC_TRACE.
61720 ($(objpfx)tst-fnmatch-mem): New rule.
61721 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61722 * posix/tst-fnmatch.c (main): Call mtrace.
61724 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
61726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61727 Support Intel processor model 6 and model 0x2c.
61729 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
61731 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61734 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
61737 * string/test-strncasecmp.c (check_result): New function.
61738 (do_one_test): Use it.
61739 (check1): New function.
61740 (test_main): Use it.
61741 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61742 Support strcasecmp and strncasecmp.
61744 2010-11-08 Ulrich Drepper <drepper@gmail.com>
61747 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61748 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61750 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
61752 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61756 * sysdeps/x86_64/multiarch/bzero.S: New file.
61757 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61758 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61759 * sysdeps/x86_64/multiarch/memset.S: New file.
61760 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61762 Set bit_Prefer_SSE_for_memop for Intel processors.
61763 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61765 (index_Prefer_SSE_for_memop): Define.
61766 (HAS_PREFER_SSE_FOR_MEMOP): Define.
61768 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
61770 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61771 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61773 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
61776 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61777 (__x86_64_raw_data_cache_size_half): Likewise.
61778 (__x86_64_raw_shared_cache_size): Likewise.
61779 (__x86_64_raw_shared_cache_size_half): Likewise.
61781 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61782 (__x86_64_raw_data_cache_size_half): Likewise.
61783 (__x86_64_raw_shared_cache_size): Likewise.
61784 (__x86_64_raw_shared_cache_size_half): Likewise.
61785 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61786 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61787 and __x86_64_raw_shared_cache_size_half. Round
61788 __x86_64_data_cache_size_half, __x86_64_data_cache_size
61789 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61790 to multiple of 256 bytes.
61792 2010-11-03 Ulrich Drepper <drepper@gmail.com>
61795 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61796 of inacessible symlinks. Verify result of symlink before returning it.
61797 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61798 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61800 2010-10-28 Erich Ritz <erichritz@gmail.com>
61802 * math/math.h (isinf): Fix typo in comment.
61804 2010-11-01 Ulrich Drepper <drepper@gmail.com>
61806 * po/da.po: Update from translation team.
61808 2010-10-26 Ulrich Drepper <drepper@gmail.com>
61810 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61811 is added to the list.
61813 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61814 Ulrich Drepper <drepper@gmail.com>
61816 * elf/dl-object.c (_dl_new_object): Don't append the new object to
61817 the global list here. Move code to...
61818 (_dl_add_to_namespace_list): ...here. New function.
61819 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61820 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61821 * elf/dl-load.c (lose): Don't remove the element from the list.
61822 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61823 (_dl_map_object): Likewise.
61825 2010-10-25 Ulrich Drepper <drepper@gmail.com>
61828 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61829 into all bytes of SSE register.
61830 Patch by Richard Li <richardpku@gmail.com>.
61832 2010-10-24 Ulrich Drepper <drepper@gmail.com>
61835 * malloc/malloc.c (_int_free): Fill correct number of bytes when
61838 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
61840 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61841 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61842 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61843 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61848 2010-10-22 Andreas Schwab <schwab@redhat.com>
61850 * include/dlfcn.h (__RTLD_SECURE): Define.
61851 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
61852 mode & __RTLD_SECURE instead.
61853 (open_path): Rename preloaded parameter to secure.
61854 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61855 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61856 * elf/dl-deps.c (openaux): Likewise.
61857 * elf/rtld.c (struct map_args): Remove is_preloaded.
61858 (map_doit): Don't use it.
61859 (dl_main): Likewise.
61860 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61861 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61863 2010-09-09 Andreas Schwab <schwab@redhat.com>
61865 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61866 (sysd-rules-targets): Remove duplicates.
61867 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61868 rtld-%.$o dependency.
61870 2010-10-18 Andreas Schwab <schwab@redhat.com>
61872 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61873 _dl_map_object do it.
61875 2010-10-19 Ulrich Drepper <drepper@gmail.com>
61877 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61878 fast fma builtins, define the macros in the C99 standard.
61879 (FP_FAST_FMAF): Likewise.
61880 (FP_FAST_FMAL): Likewise.
61881 * sysdeps/x86_64/bits/mathdef.h: Likewise.
61883 * bits/mathdef.h: Update copyright year.
61884 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61886 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
61888 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61889 builtins, define the macros in the C99 standard.
61890 (FP_FAST_FMAF): Likewise.
61891 (FP_FAST_FMAL): Likewise.
61892 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61894 (FP_FAST_FMAF): Likewise.
61896 2010-10-15 Jakub Jelinek <jakub@redhat.com>
61899 * math/libm-test.inc (fma_test): Some new testcases.
61900 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61901 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61902 y and infinite z. Do multiplication by C already in long double.
61903 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61905 y and infinite z. Do bitwise or of inexact bit into u.d.
61906 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61907 * sysdeps/i386/fpu/s_fmaf.S: Removed.
61908 * sysdeps/i386/fpu/s_fma.S: Removed.
61909 * sysdeps/i386/fpu/s_fmal.S: Removed.
61911 2010-10-16 Jakub Jelinek <jakub@redhat.com>
61914 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61915 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61916 computation is not scheduled after fetestexcept. Fix value
61917 of minimum denormal long double.
61919 2010-10-14 Jakub Jelinek <jakub@redhat.com>
61922 * math/libm-test.inc (fma_test): Add some more tests.
61923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61926 2010-10-15 Andreas Schwab <schwab@redhat.com>
61928 * scripts/data/localplt-s390-linux-gnu.data: New file.
61929 * scripts/data/localplt-s390x-linux-gnu.data: New file.
61931 2010-10-13 Jakub Jelinek <jakub@redhat.com>
61934 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61935 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61937 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61939 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61941 if one of x and y is very large and the other is subnormal.
61942 * sysdeps/s390/fpu/s_fmaf.c: New file.
61943 * sysdeps/s390/fpu/s_fma.c: New file.
61944 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61945 * sysdeps/powerpc/fpu/s_fma.S: New file.
61946 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61947 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61948 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61950 2010-10-12 Jakub Jelinek <jakub@redhat.com>
61953 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61955 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61956 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61957 * sysdeps/i386/i686/multiarch/s_fma.c: Include
61958 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61959 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61960 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61961 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61963 2010-10-12 Ulrich Drepper <drepper@redhat.com>
61966 * posix/regcomp.c (parse_branch): One more memory leak plugged.
61967 * posix/bug-regex31.input: Add test case.
61969 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61971 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61972 * posix/bug-regex31.input: New file.
61975 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61976 (parse_sub_exp): Fix last change, use postorder.
61978 * posix/bug-regex31.c: New file.
61979 * posix/Makefile: Add rules to build and run bug-regex31.
61981 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61984 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61987 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61988 to have entries in sys_siglist.
61991 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61994 2010-10-07 Jakub Jelinek <jakub@redhat.com>
61997 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61998 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61999 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62000 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62001 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62002 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62003 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62004 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62005 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62006 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62007 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62008 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62009 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62010 * math/ftestexcept.c (fetestexcept): Likewise.
62011 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62012 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62013 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62014 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62015 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62016 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62017 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62019 2010-10-11 Ulrich Drepper <drepper@gmail.com>
62022 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62025 2010-10-06 Ulrich Drepper <drepper@gmail.com>
62027 * string/bug-strstr1.c: New file.
62028 * string/Makefile: Add rules to build and run bug-strstr1.
62030 2010-10-05 Eric Blake <eblake@redhat.com>
62033 * string/str-two-way.h (two_way_long_needle): Always clear memory
62034 when skipping input due to the shift table.
62036 2010-10-03 Ulrich Drepper <drepper@gmail.com>
62039 * malloc/mcheck.c: Handle large requests.
62042 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62043 for strncmp and strncasecmp.
62044 * string/stratcliff.c: Add tests for strcmp and strncmp.
62045 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62047 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62049 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62052 2010-09-30 Andreas Jaeger <aj@suse.de>
62054 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62055 (CGROUP_SUPER_MAGIC): Define.
62056 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62057 Handle btrfs and cgroup file systems.
62058 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62061 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
62063 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62064 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62066 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62069 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62070 trying to locate the ELF header.
62072 2010-09-27 Andreas Schwab <schwab@redhat.com>
62075 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62076 Mask out sign-bit copies when constructing f_fsid.
62078 2010-09-24 Petr Baudis <pasky@suse.cz>
62080 * debug/stack_chk_fail_local.c: Add missing licence exception.
62081 * debug/warning-nop.c: Likewise.
62083 2010-09-15 Joseph Myers <joseph@codesourcery.com>
62085 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62086 implementing getdents64 using getdents syscall, set d_type if
62087 __ASSUME_GETDENTS32_D_TYPE.
62089 2010-09-16 Andreas Schwab <schwab@redhat.com>
62091 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62092 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62094 2010-09-21 Ulrich Drepper <drepper@redhat.com>
62097 * posix/unistd.h: Undo change of feature selection for ftruncate from
62100 2010-09-20 Ulrich Drepper <drepper@redhat.com>
62102 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62105 2010-09-20 Andreas Schwab <schwab@redhat.com>
62107 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62109 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62111 2010-09-14 Andreas Schwab <schwab@redhat.com>
62113 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62114 variables after CHECK_SP call.
62115 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62117 2010-09-13 Andreas Schwab <schwab@redhat.com>
62118 Ulrich Drepper <drepper@redhat.com>
62120 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62121 re-relocationg ld.so.
62122 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62123 _dl_init_paths call.
62124 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
62127 2010-09-14 Ulrich Drepper <drepper@redhat.com>
62129 * resolv/res_init.c (__res_vinit): Count the default server we added.
62131 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
62132 Ulrich Drepper <drepper@redhat.com>
62135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62136 (____longjmp_chk): Use %ebx for saving value across system call.
62139 2010-09-06 Andreas Schwab <schwab@redhat.com>
62141 * manual/Makefile: Don't mix pattern rules with normal rules.
62143 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
62145 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62147 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62148 * libio/iofopncook.c (_IO_cookie_init): Likewise.
62149 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62150 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62151 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62154 2010-09-04 Ulrich Drepper <drepper@redhat.com>
62157 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62158 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62160 2010-09-02 Ulrich Drepper <drepper@redhat.com>
62162 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62163 * sysdeps/x86_64/addmul_1.S: Likewise.
62164 * sysdeps/x86_64/lshift.S: Likewise.
62165 * sysdeps/x86_64/mul_1.S: Likewise.
62166 * sysdeps/x86_64/rshift.S: Likewise.
62167 * sysdeps/x86_64/sub_n.S: Likewise.
62168 * sysdeps/x86_64/submul_1.S: Likewise.
62170 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
62172 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62173 Define __sched_param instead of SCHED_* and sched_param when
62174 <bits/sched.h> is included with __need_schedparam defined.
62175 * bits/sched.h [__need_schedparam]
62176 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62177 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62178 (__defined_schedparam): Define to 1.
62179 (__sched_param): New structure, identical to sched_param.
62180 (__need_schedparam): Undefine.
62182 2010-08-31 Mike Frysinger <vapier@gentoo.org>
62184 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62185 (epoll_create1): Declare.
62187 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62189 2010-08-31 Andreas Schwab <schwab@redhat.com>
62192 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62193 shifting retval into place.
62195 2010-09-01 Ulrich Drepper <drepper@redhat.com>
62197 * nis/rpcsvc/nis.h: Update copyright notice.
62198 * nis/rpcsvc/nis.x: Likewise.
62199 * nis/rpcsvc/nis_callback.h: Likewise.
62200 * nis/rpcsvc/nis_callback.x: Likewise.
62201 * nis/rpcsvc/nis_object.x: Likewise.
62202 * nis/rpcsvc/nis_tags.h: Likewise.
62203 * nis/rpcsvc/yp.h: Likewise.
62204 * nis/rpcsvc/yp.x: Likewise.
62205 * nis/rpcsvc/ypupd.h: Likewise.
62206 * nis/yp_xdr.c: Likewise.
62207 * nis/ypupdate_xdr.c: Likewise.
62209 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
62210 mainly the body of pmap_getport. Add parameters to specify timeouts.
62211 (pmap_getport): Use __libc_rpc_getport.
62212 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62213 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62214 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62216 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
62218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62221 2010-08-27 Roland McGrath <roland@redhat.com>
62223 * sysdeps/i386/i686/multiarch/Makefile
62224 (CFLAGS-varshift.c): New variable.
62226 2010-08-27 Ulrich Drepper <drepper@redhat.com>
62228 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62229 * sysdeps/i386/i686/multiarch/varshift.c: New file.
62231 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62233 * sysdeps/x86_64/strlen.S: Minimal code improvement.
62235 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
62237 * sysdeps/x86_64/strlen.S: Unroll the loop.
62238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62239 strlen-sse2 strlen-sse2-bsf.
62240 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62241 __strlen_no_bsf if bit_Slow_BSF is set.
62242 (__strlen_sse42): Removed.
62243 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62244 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62246 2010-08-25 Roland McGrath <roland@redhat.com>
62248 * sysdeps/x86_64/multiarch/varshift.S: File removed.
62249 * sysdeps/x86_64/multiarch/varshift.c: New file.
62250 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62251 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62252 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62253 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62255 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
62257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62258 strlen-sse2 strlen-sse2-bsf.
62259 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62260 __strlen_sse2_bsf if bit_Slow_BSF is unset.
62261 (__strlen_sse2): Removed.
62262 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62263 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62265 bit_Slow_BSF for Atom.
62266 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62267 (index_Slow_BSF): Define.
62268 (HAS_SLOW_BSF): Define.
62270 2010-08-25 Ulrich Drepper <drepper@redhat.com>
62273 * resolv/res_init.c (__res_vinit): When no server address at all
62274 is given default to loopback.
62276 2010-08-24 Roland McGrath <roland@redhat.com>
62278 * configure.in: Remove config-name.h generation.
62279 * configure: Regenerated.
62280 * config-name.in: File removed.
62281 * scripts/config-uname.sh: New file.
62282 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62283 ($(objdir)config-name.h): New target.
62285 * sunrpc/rpc_parse.h: Avoid nested comment.
62287 2010-08-24 Richard Henderson <rth@redhat.com>
62288 Ulrich Drepper <drepper@redhat.com>
62289 H.J. Lu <hongjiu.lu@intel.com>
62291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62293 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62294 Replace _mm_srli_si128 with __m128i_shift_right. Replace
62295 _mm_alignr_epi8 with _mm_loadu_si128.
62296 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62297 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62298 (__m128i_shift_right): Removed.
62299 * sysdeps/i386/i686/multiarch/varshift.h: New file.
62300 * sysdeps/i386/i686/multiarch/varshift.S: New file.
62301 * sysdeps/x86_64/multiarch/varshift.h: New file.
62302 * sysdeps/x86_64/multiarch/varshift.S: New file.
62304 2010-08-21 Mike Frysinger <vapier@gentoo.org>
62306 * configure.in: Move assembler checks to before sysdep dir checking.
62308 2010-08-20 Petr Baudis <pasky@suse.cz>
62310 * LICENSES: Sync the sunrpc license.
62312 2010-08-19 Ulrich Drepper <drepper@redhat.com>
62314 * sunrpc/auth_des.c: Update copyright notice once again.
62315 * sunrpc/auth_none.c: Likewise.
62316 * sunrpc/auth_unix.c: Likewise.
62317 * sunrpc/authdes_prot.c: Likewise.
62318 * sunrpc/authuxprot.c: Likewise.
62319 * sunrpc/bindrsvprt.c: Likewise.
62320 * sunrpc/clnt_gen.c: Likewise.
62321 * sunrpc/clnt_perr.c: Likewise.
62322 * sunrpc/clnt_raw.c: Likewise.
62323 * sunrpc/clnt_simp.c: Likewise.
62324 * sunrpc/clnt_tcp.c: Likewise.
62325 * sunrpc/clnt_udp.c: Likewise.
62326 * sunrpc/clnt_unix.c: Likewise.
62327 * sunrpc/des_crypt.c: Likewise.
62328 * sunrpc/des_soft.c: Likewise.
62329 * sunrpc/get_myaddr.c: Likewise.
62330 * sunrpc/getrpcport.c: Likewise.
62331 * sunrpc/key_call.c: Likewise.
62332 * sunrpc/key_prot.c: Likewise.
62333 * sunrpc/openchild.c: Likewise.
62334 * sunrpc/pm_getmaps.c: Likewise.
62335 * sunrpc/pm_getport.c: Likewise.
62336 * sunrpc/pmap_clnt.c: Likewise.
62337 * sunrpc/pmap_prot.c: Likewise.
62338 * sunrpc/pmap_prot2.c: Likewise.
62339 * sunrpc/pmap_rmt.c: Likewise.
62340 * sunrpc/rpc/auth.h: Likewise.
62341 * sunrpc/rpc/auth_unix.h: Likewise.
62342 * sunrpc/rpc/clnt.h: Likewise.
62343 * sunrpc/rpc/des_crypt.h: Likewise.
62344 * sunrpc/rpc/key_prot.h: Likewise.
62345 * sunrpc/rpc/netdb.h: Likewise.
62346 * sunrpc/rpc/pmap_clnt.h: Likewise.
62347 * sunrpc/rpc/pmap_prot.h: Likewise.
62348 * sunrpc/rpc/pmap_rmt.h: Likewise.
62349 * sunrpc/rpc/rpc.h: Likewise.
62350 * sunrpc/rpc/rpc_des.h: Likewise.
62351 * sunrpc/rpc/rpc_msg.h: Likewise.
62352 * sunrpc/rpc/svc.h: Likewise.
62353 * sunrpc/rpc/svc_auth.h: Likewise.
62354 * sunrpc/rpc/types.h: Likewise.
62355 * sunrpc/rpc/xdr.h: Likewise.
62356 * sunrpc/rpc_clntout.c: Likewise.
62357 * sunrpc/rpc_cmsg.c: Likewise.
62358 * sunrpc/rpc_common.c: Likewise.
62359 * sunrpc/rpc_cout.c: Likewise.
62360 * sunrpc/rpc_dtable.c: Likewise.
62361 * sunrpc/rpc_hout.c: Likewise.
62362 * sunrpc/rpc_main.c: Likewise.
62363 * sunrpc/rpc_parse.c: Likewise.
62364 * sunrpc/rpc_parse.h: Likewise.
62365 * sunrpc/rpc_prot.c: Likewise.
62366 * sunrpc/rpc_sample.c: Likewise.
62367 * sunrpc/rpc_scan.c: Likewise.
62368 * sunrpc/rpc_scan.h: Likewise.
62369 * sunrpc/rpc_svcout.c: Likewise.
62370 * sunrpc/rpc_tblout.c: Likewise.
62371 * sunrpc/rpc_util.c: Likewise.
62372 * sunrpc/rpc_util.h: Likewise.
62373 * sunrpc/rpcinfo.c: Likewise.
62374 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62375 * sunrpc/rpcsvc/key_prot.x: Likewise.
62376 * sunrpc/rpcsvc/klm_prot.x: Likewise.
62377 * sunrpc/rpcsvc/mount.x: Likewise.
62378 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62379 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62380 * sunrpc/rpcsvc/rex.x: Likewise.
62381 * sunrpc/rpcsvc/rstat.x: Likewise.
62382 * sunrpc/rpcsvc/rusers.x: Likewise.
62383 * sunrpc/rpcsvc/sm_inter.x: Likewise.
62384 * sunrpc/rpcsvc/spray.x: Likewise.
62385 * sunrpc/rpcsvc/yppasswd.x: Likewise.
62386 * sunrpc/rtime.c: Likewise.
62387 * sunrpc/svc.c: Likewise.
62388 * sunrpc/svc_auth.c: Likewise.
62389 * sunrpc/svc_authux.c: Likewise.
62390 * sunrpc/svc_raw.c: Likewise.
62391 * sunrpc/svc_run.c: Likewise.
62392 * sunrpc/svc_simple.c: Likewise.
62393 * sunrpc/svc_tcp.c: Likewise.
62394 * sunrpc/svc_udp.c: Likewise.
62395 * sunrpc/svc_unix.c: Likewise.
62396 * sunrpc/svcauth_des.c: Likewise.
62397 * sunrpc/xcrypt.c: Likewise.
62398 * sunrpc/xdr.c: Likewise.
62399 * sunrpc/xdr_array.c: Likewise.
62400 * sunrpc/xdr_float.c: Likewise.
62401 * sunrpc/xdr_mem.c: Likewise.
62402 * sunrpc/xdr_rec.c: Likewise.
62403 * sunrpc/xdr_ref.c: Likewise.
62404 * sunrpc/xdr_sizeof.c: Likewise.
62405 * sunrpc/xdr_stdio.c: Likewise.
62407 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62410 2010-08-19 Andreas Schwab <schwab@redhat.com>
62412 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62414 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
62416 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62417 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62418 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62419 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62420 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62421 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62422 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62423 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62424 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62425 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62426 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62427 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62428 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62429 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62431 2010-07-26 Anton Blanchard <anton@samba.org>
62433 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62434 * malloc/arena.c (heap_trim): Likewise.
62436 2010-08-16 Ulrich Drepper <drepper@redhat.com>
62438 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62440 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62441 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62443 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
62445 * sysdeps/i386/elf/Makefile: New file.
62447 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62449 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62450 from fanotify_init.
62451 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62452 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62454 2010-08-15 Ulrich Drepper <drepper@redhat.com>
62456 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62458 * sysdeps/multiarch/strcmp.S: Likewise.
62460 2010-08-14 Ulrich Drepper <drepper@redhat.com>
62462 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62463 strncase_l-nonascii.
62464 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62465 Add strncase_l-ssse3.
62466 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62467 * sysdeps/x86_64/strcmp.S: Likewise.
62468 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62469 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62470 * sysdeps/x86_64/strncase.S: New file.
62471 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62472 * sysdeps/x86_64/strncase_l.S: New file.
62473 * string/Makefile (strop-tests): Add strncasecmp.
62474 * string/test-strncasecmp.c: New file.
62476 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62479 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62480 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62482 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62484 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62486 2010-08-12 Ulrich Drepper <drepper@redhat.com>
62488 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62489 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62490 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62492 2010-05-01 Alan Modra <amodra@gmail.com>
62494 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62495 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62496 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62497 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62498 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62499 tidying. Don't tail-call __sigjmp_save for static lib.
62500 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62502 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62503 (CALL_MCOUNT): Add eh info, and nop after bl.
62504 (TAIL_CALL_SYSCALL_ERROR): New macro.
62505 (PSEUDO_RET): Use it.
62506 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62507 Correct save location of integer regs and cr.
62508 (_dl_profile_resolve): Correct cr save location. Delete nops
62509 after bl when SHARED. Reduce cfi size a little by better
62510 placement of cfi directives.
62511 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62512 make a stack frame. Instead use parm save area as a temp.
62513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62514 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
62515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62516 Don't make a stack frame for parent, use parm save area.
62517 Increase child stack frame to 112 bytes. Don't save unused reg,
62518 and adjust reg usage. Set up cfi on error recovery and
62519 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62521 (__makecontext): Add dummy nop after jump to exit.
62522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62523 Use correct parm save area and cr save, reduce stack frame.
62524 Correct cfi for possible PSEUDO_RET frame setup.
62525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62526 Branch to local label emitted by PSEUDO_RET rather than
62529 2010-08-12 Andreas Schwab <schwab@redhat.com>
62532 * locale/programs/locale.c (print_assignment): New function.
62533 (show_locale_vars): Use it.
62535 2010-08-11 Ulrich Drepper <drepper@redhat.com>
62537 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62539 (struct statfs64): Likewise.
62540 (_STATFS_F_FLAGS): Define.
62541 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62542 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62543 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62544 (ST_VALID): Define locally.
62545 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62546 __statvfs_getflags, use the provided value.
62547 * sysdeps/unix/sysv/linux/kernel-features.h: Define
62548 __ASSUME_STATFS_F_FLAGS.
62550 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62552 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62553 Add sys/fanotify.h.
62554 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62555 fanotify_mask for GLIBC_2.13.
62556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62557 fanotify_init and fanotify_mark.
62558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62559 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62561 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62563 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62564 prlimit64 for GLIBC_2.13.
62565 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62567 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62570 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62571 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62572 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62573 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
62575 * sysdeps/unix/sysv/linux/prlimit.c: New file.
62578 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62579 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62581 * nss/Makefile: Add rules to build and run tst-nss-test1.
62582 * shlib-versions: Add entry for libnss_test1.
62583 * nss/nss_test1.c: New file.
62584 * nss/tst-nss-test1.c: New file.
62586 * nss/nsswitch.c (__nss_database_custom): Define new variable.
62587 (__nss_configure_lookup): Set appropriate entry in
62588 __nss_configure_lookup to true.
62589 * nss/nsswitch.h: Define enum with indeces of databases in
62590 databases and __nss_database_custom arrays. Declare
62591 __nss_database_custom.
62592 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62593 to avoid using nscd when custom rules are installed.
62594 * nss/getXXbyYY_r.c: Likewise.
62595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62597 * nss/nss_files/files-parse.c: Whitespace fixes.
62599 2010-08-09 Ulrich Drepper <drepper@redhat.com>
62602 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62603 * posix/fnmatch_loop.c: Likewise.
62605 2010-07-17 Andi Kleen <ak@linux.intel.com>
62607 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62608 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62609 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62610 * Versions.def [GLIBC_2.13]: Add.
62612 2010-08-06 Ulrich Drepper <drepper@redhat.com>
62614 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62615 Also fail if tpwd after pwuid call is NULL.
62617 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
62619 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62620 when converting to ms.
62622 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62624 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62625 EOPNOTSUPP errors with ENOTTY.
62626 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62627 EOPNOTSUPP errors with ENOTTY.
62629 2010-07-31 Ulrich Drepper <drepper@redhat.com>
62631 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62632 Add strcasecmp_l-ssse3.
62633 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62635 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62636 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62637 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62639 2010-07-30 Ulrich Drepper <drepper@redhat.com>
62641 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62643 * string/Makefile (strop-tests): Add strcasecmp.
62644 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62645 strcasecmp_l-nonascii.
62646 (gen-as-const-headers): Add locale-defines.sym.
62647 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62648 * sysdeps/x86_64/strcasecmp.S: New file.
62649 * sysdeps/x86_64/strcasecmp_l.S: New file.
62650 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62651 * sysdeps/x86_64/locale-defines.sym: New file.
62652 * string/test-strcasecmp.c: New file.
62654 * string/test-strcasestr.c: Test both ends of the range of characters.
62655 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62657 2010-07-29 Roland McGrath <roland@redhat.com>
62660 * manual/locale.texi (Yes-or-No Questions): Fix example code.
62662 2010-07-27 Ulrich Drepper <drepper@redhat.com>
62664 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62667 2010-07-27 Andreas Schwab <schwab@redhat.com>
62669 * manual/memory.texi (Malloc Tunable Parameters): Document
62672 2010-07-26 Roland McGrath <roland@redhat.com>
62675 * configure.in (-fgnu89-inline check): Set and substitute
62676 gnu89_inline, not libc_cv_gnu89_inline.
62677 * configure: Regenerated.
62678 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62680 2010-07-26 Ulrich Drepper <drepper@redhat.com>
62682 * string/test-strnlen.c: New file.
62683 * string/Makefile (strop-tests): Add strnlen.
62684 * string/tester.c (test_strnlen): Add a few more test cases.
62685 * string/tst-strlen.c: Better error reporting.
62687 * sysdeps/x86_64/strnlen.S: New file.
62689 2010-07-24 Ulrich Drepper <drepper@redhat.com>
62691 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62692 lower-latency instructions.
62694 2010-07-23 Ulrich Drepper <drepper@redhat.com>
62696 * string/test-strcasestr.c: New file.
62697 * string/test-strstr.c: New file.
62698 * string/Makefile (strop-tests): Add strstr and strcasestr.
62699 * string/str-two-way.h: Don't undefine MAX.
62700 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62702 2010-07-21 Andreas Schwab <schwab@redhat.com>
62704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62705 strcasestr-nonascii.
62706 (CFLAGS-strcasestr-nonascii.c): Define.
62707 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62708 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62709 Remove unused attribute.
62711 2010-07-20 Roland McGrath <roland@redhat.com>
62713 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62714 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
62715 ld.so.cache was broken. With it, there is no way to disable dsocaps
62716 like LD_HWCAP_MASK can disable hwcaps.
62718 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62720 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62722 2010-07-16 Ulrich Drepper <drepper@redhat.com>
62724 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62725 call in strcasestr.
62726 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62727 __strcasestr_sse42_nonascii.
62728 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62729 strcasestr-nonascii.c.
62730 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62732 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
62734 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62735 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62736 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62737 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62739 2010-07-09 Ulrich Drepper <drepper@redhat.com>
62741 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62744 2010-07-06 Andreas Schwab <schwab@redhat.com>
62747 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62750 2010-07-06 Ulrich Drepper <drepper@redhat.com>
62752 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62753 _PC_PIPE_BUF using F_GETPIPE_SZ.
62755 2010-07-05 Roland McGrath <roland@redhat.com>
62757 * manual/arith.texi (Rounding Functions): Fix rint description
62758 implicit in round description.
62760 2010-07-02 Ulrich Drepper <drepper@redhat.com>
62762 * elf/Makefile: Fix linking for a few tests to make recent linker
62765 2010-06-30 Andreas Schwab <schwab@redhat.com>
62767 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62768 $(common-objpfx)libc_nonshared.a.
62770 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
62772 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62773 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62774 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62775 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62776 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62777 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62778 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62779 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62794 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62795 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62796 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62797 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62798 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62799 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62800 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62801 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62802 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62803 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62804 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62805 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62821 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
62823 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62824 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
62825 * string/memmove.c (memmove): Renamed to ...
62826 (MEMMOVE): ...this. Default to memmove.
62827 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62828 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62831 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62832 mempcpy-ssse3-back memmove-ssse3-back.
62833 * sysdeps/x86_64/multiarch/bcopy.S: New file .
62834 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62835 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62836 * sysdeps/x86_64/multiarch/memcpy.S: New file.
62837 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62838 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62839 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62840 * sysdeps/x86_64/multiarch/memmove.c: New file.
62841 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62842 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62843 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62844 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62845 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62846 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62848 (index_Fast_Copy_Backward): Define.
62849 (HAS_ARCH_FEATURE): Define.
62850 (HAS_FAST_REP_STRING): Define.
62851 (HAS_FAST_COPY_BACKWARD): Define.
62853 2010-06-21 Andreas Schwab <schwab@redhat.com>
62855 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62856 Restore proper fallback handling.
62858 2010-06-19 Ulrich Drepper <drepper@redhat.com>
62861 * posix/group_member.c (__group_member): Correct checking loop.
62863 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62864 OOM in getpwuid_r correctly. Return error number when the caller
62865 should return, otherwise -1.
62866 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62867 call returning > 0 value.
62868 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62870 2010-06-07 Andreas Schwab <schwab@redhat.com>
62872 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62873 libc_nonshared.a from targets in modules-names.
62875 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
62877 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62880 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
62882 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62883 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62884 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62885 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62887 2010-06-02 Andreas Schwab <schwab@redhat.com>
62889 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62891 2010-06-14 Ulrich Drepper <drepper@redhat.com>
62893 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62895 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62896 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62897 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62899 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62900 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62902 2010-06-14 Roland McGrath <roland@redhat.com>
62904 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62906 2010-06-07 Jakub Jelinek <jakub@redhat.com>
62908 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62909 __REDIRECT followed by __THROW.
62910 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62911 * posix/getopt.h (getopt): Likewise.
62913 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62915 * hurd/lookup-at.c (__file_name_lookup_at): Accept
62916 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
62917 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62919 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62920 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62922 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
62924 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62926 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
62929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62930 Properly check family and model.
62932 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
62934 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62936 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
62938 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62940 2010-05-21 Ulrich Drepper <drepper@redhat.com>
62942 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62945 2010-05-19 Andreas Schwab <schwab@redhat.com>
62947 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62950 2010-05-21 Andreas Schwab <schwab@redhat.com>
62952 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62953 and internal_recvmmsg.
62954 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62955 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62956 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62957 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62959 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62960 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62961 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62963 2010-05-20 Andreas Schwab <schwab@redhat.com>
62965 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62967 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
62969 POWER7 optimizations.
62970 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62971 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62973 2010-05-19 Ulrich Drepper <drepper@redhat.com>
62975 * version.h: Update for 2.13 development version.
62977 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
62979 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62980 exceptions. Return 0.
62982 2010-05-07 Roland McGrath <roland@redhat.com>
62984 * elf/ldconfig.c (main): Add a const.
62986 2010-05-06 Ulrich Drepper <drepper@redhat.com>
62988 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62989 (args_options): Add no-idn option.
62990 (ahosts_keys_int): Add idn_flags to ai_flags.
62991 (parse_option): Handle 'i' option to clear idn_flags.
62993 * malloc/malloc.c (_int_free): Possible race in the most recently
62994 added check. Only act on the data if no current modification
62997 See ChangeLog.17 for earlier changes.