1 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4 stack variable alignment.
6 2014-12-06 Joseph Myers <joseph@codesourcery.com>
9 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
13 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
14 __getrlimit instead of getrlimit.
15 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
16 __gettimeofday instead of gettimeofday.
17 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
30 for wide-character tests.
32 2014-12-04 Roland McGrath <roland@hack.frob.com>
34 * io/openat64.c: #include <libc-internal.h>
35 (__openat64): Prototypify. Use ignore_value on MODE.
36 * io/openat.c: Likewise.
37 * misc/reboot.c: #include <libc-internal.h>
38 (reboot): Prototypify. Use ignore_value on HOWTO.
39 * misc/ptrace.c: #include <libc-internal.h>
40 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
42 2014-12-04 Joseph Myers <joseph@codesourcery.com>
44 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
45 XPG4, UNIX98 and XOPEN2K.
46 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
48 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
50 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
52 * libio/fileops.c: Use ISO C style for function definitions.
53 * libio/iofopen.c: Likewise.
54 * libio/wfileops.c: Likewise.
57 * libio/fileops.c (_IO_new_file_underflow): Unset cached
59 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
60 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
61 (fgets_func): Function pointer to fgets and fgetws.
62 (do_ftell_test): Add test to verify ftell value after read
64 (do_test): Set fgets_func.
66 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
67 O_TRUNC flag for w and w+ modes.
68 (do_rewind_test): Likewise.
69 (do_ftell_test): Likewise.
70 (do_write_test): Likewise.
73 * libio/fileops.c (do_ftell): Seek only when there are
75 * libio/wfileops.c (do_ftell_wide): Likewise.
76 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
78 (do_one_test): Call it.
80 2014-12-03 Joseph Myers <joseph@codesourcery.com>
82 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
83 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
84 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
86 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
87 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
88 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
90 2014-12-02 Joseph Myers <joseph@codesourcery.com>
92 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
94 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
97 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
98 as weak alias of __getifaddrs. Use libc_hidden_weak.
99 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
100 __freeifaddrs. Use libc_hidden_weak.
101 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
102 define as weak alias of __getifaddrs. Use libc_hidden_weak.
103 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
104 __freeifaddrs. Use libc_hidden_weak.
105 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
106 __getifaddrs and define as weak alias of __getifaddrs. Use
108 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
109 __freeifaddrs. Use libc_hidden_weak.
110 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
112 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
113 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
115 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
118 * sysdeps/mips/start.S (__start): Use indirect jump to call
121 2014-12-02 Joseph Myers <joseph@codesourcery.com>
123 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
125 * nptl/tst-mutex1.c: Include <stdbool.h>.
126 [!ATTR] (ATTR_NULL): New macro.
127 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
128 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
129 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
131 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
135 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
136 Change conditional to [__USE_MISC].
139 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
141 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
143 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
145 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
147 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
148 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
149 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
150 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
151 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
152 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
153 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
154 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
155 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
157 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
159 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
161 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
162 Remove strpbrk objects.
163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
164 (__libc_ifunc_impl_list): Remove strpbrk implementation.
165 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
166 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
167 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
168 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
170 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
171 Remove strcspn objects.
172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
173 (__libc_ifunc_impl_list): Remove strcspn implementation.
174 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
175 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
176 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
177 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
179 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
180 Remove strspn objetcs.
181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
182 (__libc_ifunc_impl_list): Remove strspn implementation.
183 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
184 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
185 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
186 * sysdeps/powerpc/powerpc64/strspn.S: New file.
188 2014-12-01 James Lemke <jwlemke@codesourcery.com>
192 (mem2mem_check): Add a terminator to the chain of checking blocks.
193 (malloc_check_get_size): Use it here.
194 (mem2chunk_check): Ditto.
196 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
198 * sysdeps/powerpc/powerpc64/strtok.S: New file.
199 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
201 2014-11-29 Carlos O'Donell <carlos@redhat.com>
203 * bits/ioctl-types.h: Indent preprocessor directives correctly.
205 * nptl/nptl-init.c: Include libc-internal.h.
206 (__pthread_initialize_minimal_internal): Use ROUND_UP.
208 * elf/ldconfig.c (search_dir): Expand comment.
210 2014-11-29 Joseph Myers <joseph@codesourcery.com>
212 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
214 (linknamespace-symlist-stdlibs-tests): Likewise.
215 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
216 instead of $(objpfx)symlist-stdlibs.
217 (linknamespace-libs-isoc): New variable.
218 (linknamespace-libs): Use $(linknamespace-libs-isoc).
219 (linknamespace-libs-ISO): New variable.
220 (linknamespace-libs-ISO99): Likewise.
221 (linknamespace-libs-ISO11): Likewise.
222 (linknamespace-libs-XPG3): Likewise.
223 (linknamespace-libs-XPG4): Likewise.
224 (linknamespace-libs-POSIX): Likewise.
225 (linknamespace-libs-UNIX98): Likewise.
226 (linknamespace-libs-XOPEN2K): Likewise.
227 (linknamespace-libs-POSIX2008): Likewise.
228 (linknamespace-libs-XOPEN2K8): Likewise.
229 ($(objpfx)symlist-stdlibs): Replace by
230 $(linknamespace-symlist-stdlibs-tests). Use
231 $(linknamespace-libs-$*) as set of libraries.
232 ($(linknamespace-header-tests)): Update dependencies. Use
233 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
234 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
235 * conform/linknamespace.pl: Remove comment about considering
236 definitions of symbols from irrelevant libraries.
238 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
241 * elf/dl-tls.c: Include <atomic.h>.
242 (oom): Remove #ifdef SHARED/#endif.
243 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
244 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
245 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
247 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
248 * nptl/Makefile (tests): Add tst-stack4.
249 (modules-names): Add tst-stack4mod.
250 ($(objpfx)tst-stack4): New.
251 (tst-stack4mod.sos): Likewise.
252 ($(objpfx)tst-stack4.out): Likewise.
253 ($(tst-stack4mod.sos)): Likewise.
255 * nptl/tst-stack4.c: New file.
256 * nptl/tst-stack4mod.c: Likewise.
258 2014-11-27 J. Brown <jb999@gmx.de>
260 * sysdeps/x86/bits/string.h: Add recent CPUs.
262 2014-11-27 Joseph Myers <joseph@codesourcery.com>
264 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
267 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
270 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
273 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
275 * nscd/connections.c: Include libc-internal.h because of macro
278 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
280 * string/bits/string3.h (__warn_memset_zero_len): Don't
281 declare for gcc newer than 5.0.
282 (memset): Don't test for zero-length __LEN for gcc newer than
285 2014-11-27 Joseph Myers <joseph@codesourcery.com>
287 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
288 size_t for %zu format.
290 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
293 2014-11-26 Joseph Myers <joseph@codesourcery.com>
295 * include/libc-internal.h (ignore_value): New macro.
296 * nscd/connections.c (restart): Wrap calls to setuid and setgid
299 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
302 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
303 pthread_cleanup_push to void *.
305 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
310 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
313 * libio/bug-rewind.c (do_test): Check fwscanf return values.
314 * libio/bug-rewind2.c (do_test): Likewise.
316 * debug/test-stpcpy_chk-ifunc.c: Remove file.
317 * debug/test-strcpy_chk-ifunc.c: Likewise.
318 * wcsmbs/test-wcschr-ifunc.c: Likewise.
319 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
320 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
321 * wcsmbs/test-wcslen-ifunc.c: Likewise.
322 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
323 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
324 * Rules [$(multi-arch) = no] (tests): Do not filter out
326 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
327 * debug/Makefile (tests-ifunc): Remove variable.
328 (tests): Do not add $(tests-ifunc).
329 * wcsmbs/Makefile (tests-ifunc): Remove variable.
330 (tests): Do not add $(tests-ifunc).
331 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
332 [TEST_IFUNC]: Remove conditionals.
333 * string/test-string.h (TEST_IFUNC): Remove macro.
334 [TEST_IFUNC]: Remove conditionals.
336 * string/test-strchr.c [!WIDE] (L): New macro.
337 [WIDE] (L): Likewise.
338 (check1): Use CHAR instead of char. Use L on string and character
341 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
343 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
345 * sysdeps/powerpc/bits/atomic.h
346 (__arch_atomic_exchange_and_add_32_acq): Add definition.
347 (__arch_atomic_exchange_and_add_32_rel): Likewise.
348 (atomic_exchange_and_add_acq): Likewise.
349 (atomic_exchange_and_add_rel): Likewise.
350 * sysdeps/powerpc/powerpc32/bits/atomic.h
351 (__arch_atomic_exchange_and_add_64_acq): Add definition.
352 (__arch_atomic_exchange_and_add_64_rel): Likewise.
353 * sysdeps/powerpc/powerpc64/bits/atomic.h
354 (__arch_atomic_exchange_and_add_64_acq): Add definition.
355 (__arch_atomic_exchange_and_add_64_rel): Likewise.
357 2014-11-26 Torvald Riegel <triegel@redhat.com>
359 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
360 Change synchronization of __sched_fifo_min_prio and
361 __sched_fifo_max_prio.
362 * nptl/pthread_mutexattr_getprioceiling.c
363 (pthread_mutexattr_getprioceiling): Likewise.
364 * nptl/pthread_mutexattr_setprioceiling.c
365 (pthread_mutexattr_setprioceiling): Likewise.
366 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
367 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
370 2014-11-26 Joseph Myers <joseph@codesourcery.com>
372 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
375 2014-11-25 Joseph Myers <joseph@codesourcery.com>
377 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
378 third argument const.
380 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
382 fnmatch: work around GCC compiler warning bug with uninit var
383 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
384 This works around a bug with x86-64 GCC 4.9.2 and earlier
385 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
386 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
387 used uninitialized in this function [-Wmaybe-uninitialized]".
389 2014-11-25 Joseph Myers <joseph@codesourcery.com>
391 * posix/bug-regex31.c (main): Return RES not 0.
393 2014-11-25 Anton Blanchard <anton@samba.org>
395 * sysdeps/powerpc/bits/atomic.h
396 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
398 2014-11-24 Sterling Augustine <saugustine@google.com>
400 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
402 2014-11-24 Ryan Cumming <etaoins@gmail.com>
405 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
407 2014-11-24 Joseph Myers <joseph@codesourcery.com>
410 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
411 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
413 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
414 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
416 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
418 * string/strncpy.c (strncpy): Improve performance by using memset.
420 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
422 * string/strcpy.c (strcpy):
423 Improve performance by using strlen and memcpy.
425 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
427 * string/strcoll_l.c (get_next_seq): __always_inline.
428 * string/strcoll_l.c (do_compare): __always_inline.
430 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
432 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
434 * include/mqueue.h: Likewise.
435 * include/stdlib.h: Likewise.
437 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
438 (get_null_defines): Adjust.
439 * sunrpc/Makefile: Adjust comment.
440 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
441 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
442 (CFLAGS-interp.c): Likewise.
443 (CFLAGS-ldconfig.c): Likewise.
444 (CPPFLAGS-.os): Likewise.
445 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
446 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
447 * extra-modules.mk (extra-modules.mk): Likewise.
448 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
449 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
450 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
451 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
452 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
453 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
454 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
455 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
456 * iconvdata/Makefile (CPPFLAGS): Likewise.
457 (cpp-srcs-left): Add libof for all iconvdata routines.
458 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
459 * include/assert.h: Likewise.
460 * include/ctype.h: Likewise.
461 * include/errno.h: Likewise.
462 * include/libc-symbols.h: Likewise.
463 * include/math.h: Likewise.
464 * include/netdb.h: Likewise.
465 * include/resolv.h: Likewise.
466 * include/stdio.h: Likewise.
467 * include/stdlib.h: Likewise.
468 * include/string.h: Likewise.
469 * include/sys/stat.h: Likewise.
470 * include/wctype.h: Likewise.
471 * intl/l10nflist.c: Likewise.
472 * libidn/idn-stub.c: Likewise.
473 * libio/libioP.h: Likewise.
474 * nptl/libc_multiple_threads.c: Likewise.
475 * nptl/pthreadP.h: Likewise.
476 * posix/regex_internal.h: Likewise.
477 * resolv/res_hconf.c: Likewise.
478 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
479 * sysdeps/arm/memmove.S: Likewise.
480 * sysdeps/arm/sysdep.h: Likewise.
481 * sysdeps/generic/_itoa.h: Likewise.
482 * sysdeps/generic/symbol-hacks.h: Likewise.
483 * sysdeps/gnu/errlist.awk: Likewise.
484 * sysdeps/gnu/errlist.c: Likewise.
485 * sysdeps/i386/i586/memcpy.S: Likewise.
486 * sysdeps/i386/i586/memset.S: Likewise.
487 * sysdeps/i386/i686/memcpy.S: Likewise.
488 * sysdeps/i386/i686/memmove.S: Likewise.
489 * sysdeps/i386/i686/mempcpy.S: Likewise.
490 * sysdeps/i386/i686/memset.S: Likewise.
491 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
492 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
493 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
494 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
495 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
496 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
497 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
498 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
499 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
500 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
501 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
502 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
503 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
504 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
505 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
506 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
507 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
508 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
509 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
510 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
511 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
512 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
513 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
514 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
515 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
516 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
517 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
518 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
519 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
520 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
521 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
522 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
523 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
524 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
525 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
526 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
527 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
528 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
529 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
531 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
532 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
533 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
534 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
535 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
536 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
537 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
538 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
539 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
540 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
541 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
542 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
543 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
544 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
545 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
546 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
547 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
548 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
549 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
550 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
551 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
552 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
553 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
554 * sysdeps/nptl/bits/libc-lock.h: Likewise.
555 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
556 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
557 * sysdeps/posix/closedir.c: Likewise.
558 * sysdeps/posix/opendir.c: Likewise.
559 * sysdeps/posix/readdir.c: Likewise.
560 * sysdeps/posix/rewinddir.c: Likewise.
561 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
562 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
563 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
564 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
565 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
566 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
567 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
568 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
569 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
571 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
572 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
573 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
574 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
575 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
576 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
577 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
578 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
579 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
580 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
581 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
582 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
583 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
584 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
585 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
586 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
587 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
588 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
589 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
590 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
596 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
597 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
598 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
599 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
600 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
601 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
602 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
603 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
604 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
605 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
606 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
607 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
608 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
609 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
610 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
611 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
612 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
613 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
614 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
615 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
616 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
617 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
618 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
619 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
620 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
621 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
622 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
623 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
624 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
625 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
626 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
627 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
628 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
629 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
630 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
631 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
632 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
633 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
634 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
635 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
636 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
637 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
638 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
639 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
640 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
641 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
642 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
643 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
644 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
645 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
646 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
647 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
648 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
649 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
650 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
651 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
652 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
653 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
654 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
655 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
656 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
657 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
658 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
659 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
660 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
661 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
662 * sysdeps/unix/alpha/sysdep.S: Likewise.
663 * sysdeps/unix/alpha/sysdep.h: Likewise.
664 * sysdeps/unix/make-syscalls.sh: Likewise.
665 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
666 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
667 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
668 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
669 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
670 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
671 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
672 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
673 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
674 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
675 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
676 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
677 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
678 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
679 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
680 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
681 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
682 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
683 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
684 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
685 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
686 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
687 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
688 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
689 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
690 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
691 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
694 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
695 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
696 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
698 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
699 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
700 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
701 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
702 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
703 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
704 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
705 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
706 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
707 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
708 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
709 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
711 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
712 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
713 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
715 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
716 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
717 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
718 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
719 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
720 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
721 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
723 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
724 * sysdeps/x86_64/memcpy.S: Likewise.
725 * sysdeps/x86_64/memmove.c: Likewise.
726 * sysdeps/x86_64/memset.S: Likewise.
727 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
728 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
729 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
730 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
731 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
732 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
733 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
734 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
735 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
736 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
737 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
738 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
739 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
740 * sysdeps/x86_64/multiarch/memset.S: Likewise.
741 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
742 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
743 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
744 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
745 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
746 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
747 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
748 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
749 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
750 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
751 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
752 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
753 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
754 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
755 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
756 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
757 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
758 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
759 * sysdeps/x86_64/strcmp.S: Likewise.
761 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
763 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
764 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
765 * elf/rtld-Rules: Likewise.
766 * elf/setup-vdso.h: Likewise.
767 * include/assert.h: Likewise.
768 * include/bits/stdlib-float.h: Likewise.
769 * include/errno.h: Likewise.
770 * include/sys/stat.h: Likewise.
771 * include/unistd.h: Likewise.
772 * sysdeps/aarch64/setjmp.S: Likewise.
773 * sysdeps/alpha/setjmp.S: Likewise.
774 * sysdeps/arm/__longjmp.S: Likewise.
775 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
776 * sysdeps/arm/setjmp.S: Likewise.
777 * sysdeps/arm/sysdep.h: Likewise.
778 * sysdeps/generic/_itoa.h: Likewise.
779 * sysdeps/generic/dl-sysdep.h: Likewise.
780 * sysdeps/generic/ldsodefs.h: Likewise.
781 * sysdeps/i386/dl-tls.h: Likewise.
782 * sysdeps/i386/setjmp.S: Likewise.
783 * sysdeps/m68k/setjmp.c: Likewise.
784 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
785 * sysdeps/mach/hurd/opendir.c: Likewise.
786 * sysdeps/posix/getcwd.c: Likewise.
787 * sysdeps/posix/opendir.c: Likewise.
788 * sysdeps/posix/profil.c: Likewise.
789 * sysdeps/powerpc/dl-procinfo.h: Likewise.
790 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
791 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
792 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
793 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
794 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
795 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
796 * sysdeps/s390/dl-tls.h: Likewise.
797 * sysdeps/s390/s390-32/setjmp.S: Likewise.
798 * sysdeps/s390/s390-64/setjmp.S: Likewise.
799 * sysdeps/sh/sh3/setjmp.S: Likewise.
800 * sysdeps/sh/sh4/setjmp.S: Likewise.
801 * sysdeps/unix/alpha/sysdep.h: Likewise.
802 * sysdeps/unix/arm/sysdep.S: Likewise.
803 * sysdeps/unix/i386/sysdep.S: Likewise.
804 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
805 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
806 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
807 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
808 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
809 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
810 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
811 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
812 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
813 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
814 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
815 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
816 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
819 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
820 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
822 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
823 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
824 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
826 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
827 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
828 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
829 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
831 * sysdeps/unix/x86_64/sysdep.S: Likewise.
832 * sysdeps/x86_64/setjmp.S: Likewise.
834 * include/math.h: Use IS_IN instead of IS_IN_libm.
835 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
836 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
837 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
838 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
839 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
840 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
841 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
842 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
843 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
844 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
845 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
846 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
847 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
848 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
849 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
850 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
851 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
852 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
853 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
854 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
855 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
856 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
857 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
858 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
859 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
860 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
861 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
862 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
863 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
864 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
865 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
866 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
867 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
878 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
879 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
880 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
881 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
882 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
883 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
889 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
890 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
891 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
892 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
893 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
894 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
895 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
896 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
897 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
898 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
899 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
900 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
901 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
902 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
904 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
906 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
907 * nptl/pthreadP.h: Likewise.
908 * nptl_db/structs.def: Likewise.
909 * sysdeps/arm/sysdep.h: Likewise.
910 * sysdeps/nptl/bits/libc-lock.h: Likewise.
911 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
912 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
913 * sysdeps/unix/alpha/sysdep.h: Likewise.
914 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
915 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
916 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
917 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
918 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
919 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
920 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
921 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
922 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
923 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
924 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
925 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
926 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
927 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
930 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
931 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
932 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
934 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
935 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
936 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
937 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
938 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
939 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
941 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
942 * nptl/pthreadP.h: Likewise.
943 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
944 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
945 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
946 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
947 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
948 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
949 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
950 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
951 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
952 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
953 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
954 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
959 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
960 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
961 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
962 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
963 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
964 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
965 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
966 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
968 * dlfcn/dladdr.c: Use IS_IN.
969 * dlfcn/dladdr1.c: Likewise.
970 * dlfcn/dlclose.c: Likewise.
971 * dlfcn/dlerror.c: Likewise.
972 * dlfcn/dlinfo.c: Likewise.
973 * dlfcn/dlmopen.c: Likewise.
974 * dlfcn/dlopen.c: Likewise.
975 * dlfcn/dlsym.c: Likewise.
976 * dlfcn/dlvsym.c: Likewise.
978 * include/ifaddrs.h: Use IS_IN.
979 * inet/check_pf.c: Likewise.
980 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
981 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
983 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
985 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
986 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
988 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
989 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
992 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
994 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
995 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
996 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
997 * include/libc-symbols.h (IS_IN_LIB): New macro.
998 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
999 * include/netdb.h: Likewise.
1000 * include/stap-probe.h: Remove all uses of IN_LIB.
1002 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1003 instead of IN_MODULE.
1004 * include/libc-symbols.h (IN_MODULE): Define using
1006 (PASTE_NAME, PASTE_NAME1): New macros.
1007 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1009 (STAP_PROBE_ASM): Likewise.
1011 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1013 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1014 __mach_init in dlopened libc.
1016 2014-11-22 Mike Frysinger <vapier@gentoo.org>
1018 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1019 * sysdeps/arm/preconfigure: Regenerate.
1021 2014-11-21 Roland McGrath <roland@hack.frob.com>
1023 * nptl/pthread_create.c (__pthread_create_2_1): Set
1024 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1025 when copying values from IATTR into PD.
1027 2014-11-21 Will Newton <will.newton@linaro.org>
1028 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1030 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1031 Refactor inline-asm. Also add comment.
1033 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1034 ElfW macro instead of hardcoded Elf64 types.
1035 (la_aarch64_gnu_pltenter): Likewise.
1036 * sysdeps/aarch64/dl-machine.h
1037 (elf_machine_runtime_setup): Use ElfW(Addr).
1039 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1040 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1041 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1042 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1043 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1044 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1045 (R_AARCH64_TLS_DTPMOD): This.
1046 (R_AARCH64_TLS_DTPREL64): Rename to ...
1047 (R_AARCH64_TLS_DTPREL): This.
1048 (R_AARCH64_TLS_TPREL64): Rename to ...
1049 (R_AARCH64_TLS_TPREL): This.
1050 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1051 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1052 R_AARCH64_TLS_TPREL64.
1053 (elf_machine_rela): Likewise.
1055 2014-11-21 Torvald Riegel <triegel@redhat.com>
1057 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1058 by setting it to 0. 64b atomics are not supported currently.
1060 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1063 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1064 search domain names.
1066 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1070 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1072 * posix/tst-getaddrinfo5.c: New.
1073 * posix/Makefile (tests): Add it.
1075 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1079 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1080 after parsing line but before break_if_match.
1081 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1082 if there is a protocol mismatch.
1084 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1086 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1087 because the potential race is on the user-supplied stream.
1089 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1091 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1092 string literal if not passed a buffer.
1093 * manual/job.texi (ctermid): Update reasoning, note deviation
1094 from posix, suggest mtasurace when not passed a buffer, for
1095 future non-preliminary safety notes.
1097 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1099 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1100 of not passing it a buffer.
1101 Reported by Peng Haitao.
1103 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1105 * manual/Makefile ($(objpfx)stamp-summary): Require
1106 check-safety.sh to pass.
1107 * manual/check-safety.sh: Wish for verification that every
1108 @deftypefn and @deftypefun is followed by a @safety remark.
1110 2014-11-20 Roland McGrath <roland@hack.frob.com>
1112 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1114 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1115 PTHREAD_CANCEL_ASYNCHRONOUS.
1116 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1119 * nptl/default-sched.h: New file.
1120 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1121 * nptl/pthread_create.c: Include it.
1122 (__pthread_create_2_1): Use collect_default_sched instead of making
1123 Linux syscalls here directly.
1125 2014-11-20 Torvald Riegel <triegel@redhat.com>
1127 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1128 __pthread_once): Use C11 atomics.
1130 2014-11-20 Torvald Riegel <triegel@redhat.com>
1132 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1134 2014-11-20 Torvald Riegel <triegel@redhat.com>
1136 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1137 atomic_thread_fence_acquire, atomic_thread_fence_release,
1138 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1139 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1140 atomic_compare_exchange_weak_relaxed,
1141 atomic_compare_exchange_weak_acquire,
1142 atomic_compare_exchange_weak_release,
1143 atomic_exchange_acquire, atomic_exchange_release,
1144 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1145 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1146 atomic_fetch_and_acquire,
1147 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1149 2014-11-20 Torvald Riegel <triegel@redhat.com>
1151 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1152 USE_ATOMIC_COMPILER_BUILTINS): Define.
1153 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1154 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1155 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1156 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1157 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1158 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1159 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1160 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1161 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1162 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1163 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1164 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1165 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1166 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1167 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1168 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1169 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1170 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1171 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1172 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1173 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1174 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1175 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1176 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1177 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1179 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1180 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1181 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1183 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1185 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1187 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1188 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1189 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1191 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1192 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1194 2014-11-19 Roland McGrath <roland@hack.frob.com>
1196 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1197 the sched_priority value here. It was already checked when the user
1198 called pthread_attr_setschedparam.
1200 * nptl/tst-bad-schedattr.c: New file.
1201 * nptl/Makefile (tests): Add it.
1203 2014-11-19 Carlos O'Donell <carlos@redhat.com>
1204 Florian Weimer <fweimer@redhat.com>
1205 Joseph Myers <joseph@codesourcery.com>
1206 Adam Conrad <adconrad@0c3.net>
1207 Andreas Schwab <schwab@suse.de>
1208 Brooks <bmoses@google.com>
1211 * wordexp-test.c (__dso_handle): Add prototype.
1212 (__register_atfork): Likewise.
1213 (__app_register_atfork): New function.
1214 (registered_forks): New global.
1215 (register_fork): New function.
1216 (test_case): Add 3 new tests for WRDE_CMDSUB.
1217 (main): Call __app_register_atfork.
1218 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1219 fork count is non-zero fail the test.
1220 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1222 (parse_dollars): Remove check for WRDE_NOCMD.
1223 (parse_dquote): Likewise.
1225 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1227 * Makeconfig (built-modules): List non-library modules to be
1229 (module-cppflags): Include libc-modules.h for
1230 everything except shlib-versions.v.i.
1232 (before-compile): Add libc-modules.h.
1233 ($(common-objpfx)libc-modules.h,
1234 $(common-objpfx)libc-modules.stmp): New targets.
1235 (common-generated): Add libc-modules.h and libc-modules.stmp.
1236 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1237 * include/libc-symbols.h: Don't include libc-modules.h.
1238 * include/libc-modules.h: Remove file.
1239 * scripts/gen-libc-modules.awk: New script to generate
1241 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1242 Depend on libc-modules.stmp.
1244 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1246 * Makeconfig (in-module): Get value of libof set for the
1248 (CPPFLAGS): Use $(in-module).
1249 * Makerules: Don't suffix routine names for nonlib.
1250 * include/libc-modules.h: New file.
1251 * include/libc-symbols.h: Include libc-modules.h
1252 (IS_IN): New macro to replace IS_IN_* macros.
1253 * elf/Makefile: Set libof-* for each routine.
1254 * elf/rtld-Rules: Likewise.
1255 * extra-modules.mk: Likewise.
1256 * iconv/Makefile: Likewise.
1257 * iconvdata/Makefile: Likewise.
1258 * locale/Makefile: Likewise.
1259 * malloc/Makefile: Likewise.
1260 * nss/Makefile: Likewise.
1261 * sysdeps/gnu/Makefile: Likewise.
1262 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1263 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1264 * sysdeps/s390/s390-64/Makefile: Likewise.
1265 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1266 CPPFLAGS for nscd instead of nonlib.
1268 2014-11-18 Roland McGrath <roland@hack.frob.com>
1270 * nptl/createthread.c: New file.
1272 * nptl/createthread.c: Moved ...
1273 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1275 * nptl/createthread.c: Add proper top-line comment.
1276 (do_clone): Folded into ...
1277 (create_thread): ... here. Take new arguments STOPPED_START and
1278 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1279 increment __nptl_threads, do event-reporting logic, do
1280 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1281 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1282 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1283 just send SIGCANCEL.
1284 * nptl/pthread_create.c: Forward-declare create_thread before
1285 including createthread.c.
1286 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1287 declaration, and new macro START_THREAD_SELF to replace argument.
1288 Remove return statement.
1289 (report_thread_creation): New function.
1290 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1291 synchronization logic, and __nptl_nthreads increment here, around
1292 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1293 PD->parent_cancelhandling here, before create_thread. When
1294 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1295 __deallocate_stack, and ENOMEM translation here.
1297 2014-11-18 Joseph Myers <joseph@codesourcery.com>
1300 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1301 (mptwo): Rename to __mptwo.
1302 (__inv): Use __mptwo instead of mptwo.
1303 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1304 (mptwo): Rename to __mptwo.
1305 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1306 of mpone and __mptwo instead of mptwo.
1307 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1310 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1311 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1312 of mpone and __mptwo instead of mptwo.
1313 (__mpranred): Use __mpone instead of mpone.
1314 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1316 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1317 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1318 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1319 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1320 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1321 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1322 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1323 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1324 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1325 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1326 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1327 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1328 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1329 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1330 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1331 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1332 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1333 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1334 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1336 2014-11-18 Tom de Vries <tom@codesoucery.com>
1338 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1339 replace BSD Handler xref with BSD Signal Handling.
1341 2014-11-17 Richard Henderson <rth@redhat.com>
1343 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1344 (_FP_PACK_RAW_2): Remove.
1345 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1346 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1347 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1348 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1349 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1350 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1351 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1352 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1353 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1354 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1355 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1356 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1357 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1358 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1359 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1360 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1362 2014-11-14 Roland McGrath <roland@hack.frob.com>
1364 * signal/signal.h [__USE_MISC]
1365 (struct sigvec): Remove type.
1366 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1367 (sigvec): Remove declaration.
1368 * sysdeps/posix/sigvec.c: Moved ...
1369 * signal/sigvec.c: ... here, replacing old file.
1370 (struct sigvec): New type, copied from old signal.h definition.
1371 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1372 (__sigvec): Convert definition to prototype.
1373 (sigvec): Replace weak_alias with compat_symbol.
1374 * signal/Versions (libc: GLIBC_2.21): New version set.
1375 * include/signal.h: Remove __sigvec declaration.
1376 * sysdeps/unix/bsd/sigvec.c: Remove file.
1377 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1378 * manual/signal.texi (BSD Handler): Remove subsection.
1379 Move siginterrupt up to ...
1380 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1381 (Blocking in BSD): Fold subsection into its parent.
1382 * NEWS: Mention sigvec removal.
1384 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1386 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1387 (DLA_FMS): Make definition conditional only on [__FMA4__].
1388 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1391 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1392 Make definition conditional only on [PROF].
1393 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1395 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1396 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1398 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1400 * include/signal.h (__sigpause): Move declaration above call to
1402 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1404 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1405 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1407 2014-11-14 David S. Miller <davem@davemloft.net>
1409 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1410 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1412 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1414 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1415 * configure: Regenerated.
1416 * manual/install.texi (Tools for Compilation): Document a
1417 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1418 compiler verified to work.
1419 * INSTALL: Regenerated.
1421 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1422 redeclare with asm name.
1423 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1424 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1425 including <string.h>.
1426 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1427 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1428 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1429 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1430 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1431 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1432 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1434 2014-11-13 Joseph Myers <joseph@codesourcery.com>
1436 * stdlib/strtol.c (__strtol): Use prototype definition.
1439 * stdlib/strtol.c (SYM__): New macro.
1441 (__strtol): Likewise.
1442 (strtol): Rename to __strtol and define as weak alias of
1443 __strtol. Use libc_hidden_weak.
1445 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1447 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1448 Use numbered labels in inline assembly.
1450 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1452 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1453 Add setjmp LIBC_PROBE.
1454 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1456 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1457 Add longjmp, longjmp_target LIBC_PROBE.
1458 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1461 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1463 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1464 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1465 to get rid of unused variable warning.
1467 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1469 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1470 Check for unwind_backtrace == NULL only in SHARED case.
1471 (__backchain_backtrace): Compile only in SHARED case.
1472 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1474 (__backchain_backtrace): Declare as static.
1476 2014-11-12 Roland McGrath <roland@hack.frob.com>
1478 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1479 (__libc_multiple_threads_ptr): Variable moved ...
1480 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1482 2014-11-12 Joseph Myers <joseph@codesourcery.com>
1484 * conform/GlibcConform.pm: New file.
1485 * conform/conformtest.pl: Use GlibcConform module.
1486 * conform/linknamespace.pl: New file.
1487 * conform/list-header-symbols.pl: Likewise.
1488 * conform/Makefile (linknamespace-symlists-base): New variable.
1489 (linknamespace-symlists-tests): Likewise.
1490 (linknamespace-header-base): Likewise.
1491 (linknamespace-header-tests): Likewise.
1492 (tests-special): Add new tests.
1493 ($(linknamespace-symlists-tests)): New rule.
1494 (linknamespace-libs): New variable.
1495 ($(objpfx)symlist-stdlibs): New rule.
1496 ($(linknamespace-header-tests)): Likewise.
1497 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1498 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1499 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1500 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1501 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1502 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1503 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1504 (test-xfail-ISO/math.h/linknamespace): Likewise.
1505 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1506 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1507 (test-xfail-ISO/time.h/linknamespace): Likewise.
1508 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1509 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1510 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1511 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1512 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1513 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1514 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1515 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1516 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1517 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1518 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1519 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1520 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1521 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1522 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1523 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1524 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1525 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1526 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1527 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1528 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1529 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1530 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1531 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1532 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1533 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1534 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1535 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1536 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1537 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1538 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1539 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1540 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1541 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1542 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1543 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1544 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1545 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1546 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1547 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1548 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1549 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1550 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1551 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1552 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1553 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1554 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1555 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1556 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1557 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1558 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1559 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1560 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1561 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1562 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1563 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1564 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1565 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1566 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1567 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1568 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1569 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1570 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1571 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1572 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1573 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1574 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1575 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1576 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1577 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1578 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1579 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1580 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1581 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1582 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1583 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1584 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1585 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1586 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1587 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1588 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1589 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1590 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1591 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1592 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1593 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1594 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1595 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1596 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1597 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1598 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1599 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1600 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1601 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1602 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1603 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1604 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1605 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1606 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1607 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1608 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1609 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1610 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1611 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1612 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1613 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1614 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1615 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1616 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1617 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1618 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1619 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1620 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1621 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1622 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1623 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1624 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1625 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1626 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1627 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1628 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1629 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1630 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1631 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1632 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1633 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1634 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1635 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1636 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1637 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1638 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1639 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1640 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1641 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1642 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1643 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1644 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1645 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1646 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1647 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1648 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1649 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1650 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1651 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1652 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1653 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1654 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1655 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1656 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1657 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1660 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1664 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1665 (memmem): Rename to __memmem and define as weak alias of
1666 __memmem. Use libc_hidden_weak.
1667 (__memmem): Use libc_hidden_def.
1668 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1669 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1673 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1674 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1675 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1676 and define as weak alias of __fgets_unlocked. Use
1678 (__fgets_unlocked): Use libc_hidden_def.
1679 * include/stdio.h (__fgets_unlocked): Declare. Use
1681 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1682 __fgets_unlocked instead of fgets_unlocked.
1683 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1684 (GET_NPROCS_CONF_PARSER): Likewise.
1685 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1686 (GET_NPROCS_CONF_PARSER): Likewise.
1689 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1690 weak alias of __wmemset. Use libc_hidden_weak.
1691 (__wmemset): Use libc_hidden_def.
1692 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1693 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1697 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1698 with asm name __mempcpy.
1699 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1702 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1703 and define as weak alias of __rawmemchr.
1704 (__rawmemchr): Do not define as strong alias of rawmemchr.
1707 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1709 (qsort): Call __qsort_r instead of qsort_r.
1710 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1711 (__qsort_r): Declare. Call libc_hidden_proto.
1712 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1714 * nscd/gai.c (__qsort_r): Define to qsort_r.
1715 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1716 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1717 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1720 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1721 define as weak alias of __malloc_info.
1724 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1725 as weak alias of __rewinddir. Don't use libc_hidden_def.
1726 (__rewinddir): Use libc_hidden_def.
1727 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1728 as weak alias of __rewinddir. Don't use libc_hidden_def.
1729 (__rewinddir): Use libc_hidden_def.
1730 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1731 weak alias of __rewinddir. Don't use libc_hidden_def.
1732 (__rewinddir): Use libc_hidden_def.
1733 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1734 (__rewinddir): Use libc_hidden_proto.
1735 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1737 (__getcwd): Use __rewinddir instead of rewinddir.
1740 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1741 alias of __fileno. Use libc_hidden_weak.
1742 (__fileno): Use libc_hidden_def.
1743 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1744 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1746 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1748 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1749 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1751 (fread_unlocked): Don't use libc_hidden_ver.
1752 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1753 and define as weak alias of __fread_unlocked. Don't use
1755 (__fread_unlocked): Use libc_hidden_def.
1756 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1757 (ftello): Don't use libc_hidden_proto.
1758 (__ftello): Declare. Use libc_hidden_proto.
1759 (fread_unlocked): Don't use libc_hidden_proto.
1760 (__fread_unlocked): Declare. Use libc_hidden_proto.
1761 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1762 and __ftello instead of fileno, fread_unlocked and ftello.
1764 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1766 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1768 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1770 (_dl_start_user): Likewise.
1771 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1773 2014-11-12 Carlos O'Donell <carlos@redhat.com>
1774 Siddhesh Poyarekar <siddhesh@redhat.com>
1776 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1777 Move argv and envp down instead of moving argc up.
1778 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1780 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
1783 * test-skeleton.c (main): Return successful if one of
1784 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1785 * string/tst-strcoll-overflow.c: Define expected status.
1787 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1790 * locale/iso-639.def: Define Bhili and Tulu language codes.
1792 2014-11-11 Alan Hayward <alan.hayward@arm.com>
1794 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1796 2014-11-10 Renlin Li <Renlin.Li@arm.com>
1799 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1801 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1803 * configure.ac: Updated check of minimal required version to
1805 * manual/install.texi (Tools for Compilation): Updated version
1807 * configure: Regenerated.
1808 * INSTALL: Likewise.
1810 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1812 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1815 2014-11-07 Joseph Myers <joseph@codesourcery.com>
1817 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1818 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1819 (__waitpid): Don't define as alias. Use libc_hidden_def not
1821 (waitpid): Define as alias of __waitpid.
1822 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1824 (__waitpid): Don't define as alias. Use libc_hidden_def not
1826 (waitpid): Define as alias of __waitpid.
1827 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1828 __libc_waitpid alias.
1829 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1830 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1832 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1833 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1834 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1836 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1838 (__waitpid): Don't define as alias. Use libc_hidden_def not
1840 (waitpid): Define as alias of __waitpid.
1842 2014-11-06 Carlos O'Donell <carlos@redhat.com>
1844 * manual/llio.texi: Add comment that write safety has been
1847 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1848 (localplt-build-dso): Add elf/ld.so.
1849 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1850 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1853 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1858 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1859 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1860 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1861 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1862 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1863 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1864 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1865 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1866 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1867 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1868 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1870 2014-11-05 Joseph Myers <joseph@codesourcery.com>
1873 * include/libc-symbols.h (INTUSE): Remove macro.
1875 (INTVARDEF): Likewise.
1876 (_INTVARDEF): Likewise.
1877 (INTDEF2): Likewise.
1878 (INTVARDEF2): Likewise.
1879 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1880 rtld_hidden_def instead of INTVARDEF.
1881 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1882 (_dl_starting_up_internal): Remove declaration.
1883 (_dl_starting_up): Use rtld_hidden_proto.
1884 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1886 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1887 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1889 * elf/dl-writev.h (_dl_writev): Likewise.
1890 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1891 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1892 _dl_starting_up_internal.
1894 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1896 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1899 2014-11-05 Will Newton <will.newton@linaro.org>
1901 * benchtests/Makefile: (bench-malloc): Add malloc thread
1902 scalability benchmark.
1903 * benchtests/bench-malloc-threads.c: New file.
1905 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
1907 * sysdeps/aarch64/strchrnul.S: New file.
1909 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1911 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1913 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1915 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1917 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1919 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1921 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1924 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
1926 * catgets/test-gencat.c: Use test-skeleton.c.
1927 * catgets/tst-catgets.c: Likewise.
1928 * csu/tst-empty.c: Likewise.
1929 * elf/tst-audit2.c: Likewise.
1930 * elf/tst-global1.c: Likewise.
1931 * elf/tst-pathopt.c: Likewise.
1932 * elf/tst-piemod1.c: Likewise.
1933 * elf/tst-tls10.c: Likewise.
1934 * elf/tst-tls11.c: Likewise.
1935 * elf/tst-tls12.c: Likewise.
1936 * gnulib/tst-gcc.c: Likewise.
1937 * iconvdata/tst-e2big.c: Likewise.
1938 * iconvdata/tst-loading.c: Likewise.
1939 * iconv/tst-iconv1.c: Likewise.
1940 * iconv/tst-iconv2.c: Likewise.
1941 * inet/test-inet6_opt.c: Likewise.
1942 * inet/tst-gethnm.c: Likewise.
1943 * inet/tst-network.c: Likewise.
1944 * inet/tst-ntoa.c: Likewise.
1945 * intl/tst-codeset.c: Likewise.
1946 * intl/tst-gettext2.c: Likewise.
1947 * intl/tst-gettext3.c: Likewise.
1948 * intl/tst-ngettext.c: Likewise.
1949 * intl/tst-translit.c: Likewise.
1950 * io/test-stat.c: Likewise.
1951 * libio/test-fmemopen.c: Likewise.
1952 * libio/tst-freopen.c: Likewise.
1953 * libio/tst-sscanf.c: Likewise.
1954 * libio/tst-ungetwc1.c: Likewise.
1955 * libio/tst-ungetwc2.c: Likewise.
1956 * libio/tst-widetext.c: Likewise.
1957 * localedata/tst-ctype.c: Likewise.
1958 * localedata/tst-digits.c: Likewise.
1959 * localedata/tst-leaks.c: Likewise.
1960 * localedata/tst-mbswcs1.c: Likewise.
1961 * localedata/tst-mbswcs2.c: Likewise.
1962 * localedata/tst-mbswcs3.c: Likewise.
1963 * localedata/tst-mbswcs4.c: Likewise.
1964 * localedata/tst-mbswcs5.c: Likewise.
1965 * localedata/tst-setlocale.c: Likewise.
1966 * localedata/tst-trans.c: Likewise.
1967 * localedata/tst-wctype.c: Likewise.
1968 * localedata/tst-xlocale1.c: Likewise.
1969 * login/tst-grantpt.c: Likewise.
1970 * malloc/tst-calloc.c: Likewise.
1971 * malloc/tst-malloc.c: Likewise.
1972 * malloc/tst-mallocstate.c: Likewise.
1973 * malloc/tst-mcheck.c: Likewise.
1974 * malloc/tst-mtrace.c: Likewise.
1975 * malloc/tst-obstack.c: Likewise.
1976 * math/atest-exp2.c: Likewise.
1977 * math/atest-exp.c: Likewise.
1978 * math/atest-sincos.c: Likewise.
1979 * math/test-matherr.c: Likewise.
1980 * math/test-misc.c: Likewise.
1981 * math/test-powl.c: Likewise.
1982 * math/tst-definitions.c: Likewise.
1983 * misc/tst-dirname.c: Likewise.
1984 * misc/tst-efgcvt.c: Likewise.
1985 * misc/tst-fdset.c: Likewise.
1986 * misc/tst-hsearch.c: Likewise.
1987 * misc/tst-mntent2.c: Likewise.
1988 * nptl/tst-sem7.c: Likewise.
1989 * nptl/tst-sem8.c: Likewise.
1990 * nptl/tst-sem9.c: Likewise.
1991 * nss/test-netdb.c: Likewise.
1992 * posix/tst-fnmatch.c: Likewise.
1993 * posix/tst-getlogin.c: Likewise.
1994 * posix/tst-gnuglob.c: Likewise.
1995 * posix/tst-mmap.c: Likewise.
1996 * pwd/tst-getpw.c: Likewise.
1997 * resolv/tst-inet_ntop.c: Likewise.
1998 * rt/tst-timer.c: Likewise.
1999 * stdio-common/test-fseek.c: Likewise.
2000 * stdio-common/test-popen.c: Likewise.
2001 * stdio-common/test-vfprintf.c: Likewise.
2002 * stdio-common/tst-cookie.c: Likewise.
2003 * stdio-common/tst-fileno.c: Likewise.
2004 * stdio-common/tst-gets.c: Likewise.
2005 * stdio-common/tst-obprintf.c: Likewise.
2006 * stdio-common/tst-perror.c: Likewise.
2007 * stdio-common/tst-sprintf2.c: Likewise.
2008 * stdio-common/tst-sprintf3.c: Likewise.
2009 * stdio-common/tst-sprintf.c: Likewise.
2010 * stdio-common/tst-swprintf.c: Likewise.
2011 * stdio-common/tst-tmpnam.c: Likewise.
2012 * stdio-common/tst-unbputc.c: Likewise.
2013 * stdio-common/tst-wc-printf.c: Likewise.
2014 * stdlib/tst-environ.c: Likewise.
2015 * stdlib/tst-fmtmsg.c: Likewise.
2016 * stdlib/tst-limits.c: Likewise.
2017 * stdlib/tst-rand48-2.c: Likewise.
2018 * stdlib/tst-rand48.c: Likewise.
2019 * stdlib/tst-random2.c: Likewise.
2020 * stdlib/tst-random.c: Likewise.
2021 * stdlib/tst-strtol.c: Likewise.
2022 * stdlib/tst-strtoll.c: Likewise.
2023 * stdlib/tst-tls-atexit.c: Likewise.
2024 * stdlib/tst-xpg-basename.c: Likewise.
2025 * string/test-ffs.c: Likewise.
2026 * string/tst-bswap.c: Likewise.
2027 * string/tst-inlcall.c: Likewise.
2028 * string/tst-strtok.c: Likewise.
2029 * string/tst-strxfrm.c: Likewise.
2030 * sysdeps/x86_64/tst-audit10.c: Likewise.
2031 * sysdeps/x86_64/tst-audit3.c: Likewise.
2032 * sysdeps/x86_64/tst-audit4.c: Likewise.
2033 * sysdeps/x86_64/tst-audit5.c: Likewise.
2034 * time/tst-ftime_l.c: Likewise.
2035 * time/tst-getdate.c: Likewise.
2036 * time/tst-mktime3.c: Likewise.
2037 * time/tst-mktime.c: Likewise.
2038 * time/tst-posixtz.c: Likewise.
2039 * time/tst-strptime2.c: Likewise.
2040 * time/tst-strptime3.c: Likewise.
2041 * wcsmbs/tst-btowc.c: Likewise.
2042 * wcsmbs/tst-mbrtowc.c: Likewise.
2043 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2044 * wcsmbs/tst-wchar-h.c: Likewise.
2045 * wcsmbs/tst-wcpncpy.c: Likewise.
2046 * wcsmbs/tst-wcrtomb.c: Likewise.
2047 * wcsmbs/tst-wcsnlen.c: Likewise.
2048 * wcsmbs/tst-wcstof.c: Likewise.
2050 2014-11-04 Joseph Myers <joseph@codesourcery.com>
2053 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2055 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2057 (_dl_mcount): Use rtld_hidden_proto.
2058 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2060 * elf/rtld.c (_rtld_global_ro): Likewise.
2063 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2064 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2065 of _dl_init_internal.
2066 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2067 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2068 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2069 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2070 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2071 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2072 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2073 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2074 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2075 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2076 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2077 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2078 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2079 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2080 * sysdeps/tile/dl-start.S (_start): Likewise.
2081 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2082 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2085 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2086 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2087 (rtld_progname): Make macro definition unconditional.
2088 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2090 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2091 (dl_main): Likewise.
2092 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2093 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2094 instead of _dl_argv_internal.
2095 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2096 __GI__dl_argv instead of INTUSE(_dl_argv).
2097 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2098 __GI__dl_argv instead of _dl_argv_internal.
2100 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2101 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2103 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2104 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2106 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2107 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2109 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2110 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2112 2014-11-04 Andreas Schwab <schwab@suse.de>
2114 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2116 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2118 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2119 mtvsrd instruction in binary form.
2121 2014-11-03 Andreas Schwab <schwab@suse.de>
2124 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2125 for less than MB_LEN_MAX use a local buffer of that size.
2126 * libio/tst-fputws.c: New file.
2127 * libio/Makefile (tests): Add tst-fputws.
2129 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2131 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2132 the size of the fpu_fr.fpu_dregs[] array.
2134 2014-11-01 Joseph Myers <joseph@codesourcery.com>
2136 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2137 (__nanosleep): Do not define as alias.
2138 (nanosleep): Define as alias of __nanosleep.
2139 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2140 __libc_nanosleep name.
2142 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2144 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2145 install.texi in comment.
2147 2014-10-31 Torvald Riegel <triegel@redhat.com>
2149 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2150 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2151 ... add here and use lwsync or sync ...
2152 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2153 ... and add here using lwsync.
2155 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2157 * elf/dl-machine-reject-phdr.h: New file.
2158 * elf/dl-load.c: #include that.
2159 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2160 if that returned true.
2162 2014-10-31 Roland McGrath <roland@hack.frob.com>
2165 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2166 gen-as-const-headers chunk. Add a big scare comment after the last
2167 safe place to touch before-compile.
2169 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2171 * manual/install.texi (Tools for Compilation): Update autoconf
2172 version requirements.
2173 * INSTALL: Regenerated.
2175 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2176 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2177 (__libc_pselect): Likewise.
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2185 2014-10-31 Torvald Riegel <triegel@redhat.com>
2187 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2188 correct barrier instruction.
2189 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2191 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2194 2014-10-30 Roland McGrath <roland@hack.frob.com>
2196 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2197 after defining inlines. Instead, just use parens to defeat macro
2198 expansion of __isctype in its declaration.
2200 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2202 * include/sys/uio.h (__libc_readv): Remove declaration.
2203 (__libc_writev): Likewise.
2204 * misc/readv.c (__libc_readv): Rename to __readv.
2205 (__readv): Do not define as alias.
2206 (readv): Define as alias of __readv.
2207 * misc/writev.c (__libc_writev): Rename to __writev.
2208 (__writev): Do not define as alias.
2209 (writev): Define as alias of __writev.
2210 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2211 (__readv): Do not define as alias.
2212 (readv): Define unconditionally as alias of __readv.
2213 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2214 (__writev): Do not define as alias.
2215 (writev): Define unconditionally as alias of __writev.
2216 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2218 (writev): Do not define __libc_writev name.
2220 2014-10-30 Roland McGrath <roland@hack.frob.com>
2222 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2223 (convert_charseq): New function, broken out of ...
2224 (use_from_charmap): ... here. Call it.
2225 (use_to_charmap): Use convert_charseq and free instead of duplicating
2226 its code with a variable-length stack struct.
2228 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2230 * include/fcntl.h (__libc_creat): Remove declaration.
2231 * io/creat.c (__libc_creat): Rename to creat.
2232 (creat): Do not define as alias.
2233 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2234 of creat instead of __libc_creat.
2235 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2237 (creat): Do not define as alias.
2238 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2240 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2242 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2245 2014-10-29 Carlos O'Donell <carlos@redhat.com>
2247 * manual/llio.texi: Add comments discussing why write() may be
2248 considered MT-unsafe on Linux.
2250 2014-10-28 Carlos O'Donell <carlos@redhat.com>
2252 * dl-load.c (local_strdup): Remove.
2253 (expand_dynamic_string_token): Use __strdup.
2254 (decompose_rpath): Likewise.
2255 (_dl_map_object): Likewise.
2257 2014-10-28 Joseph Myers <joseph@codesourcery.com>
2260 * sysdeps/generic/unwind-dw2-fde.c
2261 (__register_frame_info_bases_internal): Do not declare.
2262 (__register_frame_info_table_bases_internal): Likewise.
2263 (__deregister_frame_info_bases_internal): Likewise.
2264 (__register_frame_info_bases): Declare and use hidden_proto before
2265 definition. Use hidden_def instead of INTDEF.
2266 (__register_frame_info_table_bases): Likewise.
2267 (__deregister_frame_info_bases): Likewise.
2268 (__register_frame_info): Do not use INTUSE.
2269 (__register_frame): Likewise.
2270 (__register_frame_info_table): Likewise.
2271 (__register_frame_table): Likewise.
2272 (__deregister_frame_info): Likewise.
2273 (__deregister_frame): Likewise.
2275 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2277 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2278 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2280 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2282 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2285 2014-10-27 Joseph Myers <joseph@codesourcery.com>
2288 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2289 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2290 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2291 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2292 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2293 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2294 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2295 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2296 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2297 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2298 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2299 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2300 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2302 (setfsuid): Likewise.
2303 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2304 (setfsuid): Likewise.
2305 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2306 (setfsuid): Likewise.
2307 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2309 (setfsuid): Likewise.
2310 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2311 (setfsuid): Likewise.
2312 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2314 (setfsuid): Likewise.
2316 2014-10-27 Andreas Schwab <schwab@suse.de>
2319 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2320 check for Slow_SSE4_2 feature bit.
2321 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2322 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2323 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2324 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2326 2014-10-24 Roland McGrath <roland@hack.frob.com>
2328 * configure.ac: Validate compiler version with a empirical test of
2329 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2331 * configure: Regenerated.
2333 * inet/htons.c (htons): Prototypify.
2334 * inet/htonl.c (htonl): Likewise.
2336 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2338 * string/strncat.c (strncat): Improve performance by using strlen.
2340 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2342 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2344 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2346 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2347 Call libc_fetestexcept_aarch64.
2349 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2351 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2352 Call libc_feholdexcept_aarch64.
2354 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2356 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2357 Call get_rounding_mode.
2359 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2361 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2364 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2366 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2369 2014-10-24 Joseph Myers <joseph@codesourcery.com>
2372 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2373 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2374 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2375 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2376 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2377 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2378 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2379 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2380 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2381 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2382 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2383 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2384 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2385 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2386 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2387 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2388 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2389 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2390 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2391 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2392 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2393 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2394 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2395 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2396 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2397 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2398 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2399 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2400 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2401 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2402 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2403 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2404 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2405 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2406 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2407 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2408 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2409 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2410 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2411 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2412 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2414 (geteuid): Likewise.
2417 (getresgid): Likewise.
2418 (getresuid): Likewise.
2419 (getgroups): Likewise.
2420 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2421 (geteuid): Likewise.
2424 (getresgid): Likewise.
2425 (getresuid): Likewise.
2426 (getgroups): Likewise.
2427 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2428 (geteuid): Likewise.
2431 (getresgid): Likewise.
2432 (getresuid): Likewise.
2433 (getgroups): Likewise.
2434 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2436 (geteuid): Likewise.
2439 (getresgid): Likewise.
2440 (getresuid): Likewise.
2441 (getgroups): Likewise.
2442 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2443 (geteuid): Likewise.
2446 (getresgid): Likewise.
2447 (getresuid): Likewise.
2448 (getgroups): Likewise.
2449 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2451 (geteuid): Likewise.
2454 (getgroups): Likewise.
2457 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2458 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2459 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2460 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2461 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2462 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2463 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2464 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2465 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2466 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2467 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2468 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2469 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2471 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2474 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2478 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2481 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2486 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2488 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2491 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2493 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2496 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2498 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2499 Remove unused include.
2501 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2503 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2504 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2505 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2506 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2508 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2509 Helge Deller <deller@gmx.de>
2512 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2513 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2514 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2516 2014-10-23 Joseph Myers <joseph@codesourcery.com>
2519 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2520 Remove macro definition.
2521 (__ashrdi3_v_glibc20): Likewise.
2522 (__lshrdi3_v_glibc20): Likewise.
2523 (__cmpdi2_v_glibc20): Likewise.
2524 (__ucmpdi2_v_glibc20): Likewise.
2525 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2526 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2527 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2528 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2529 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2530 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2532 2014-10-22 Roland McGrath <roland@hack.frob.com>
2534 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2535 old GNU extension [0] syntax.
2536 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2537 alloca rather than an array member with variable length.
2538 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2539 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2540 (parse_opt): ... here. Likewise use alloca there.
2541 Validate the -i argument before checking for rootness.
2542 (send_shutdown): New function, broken out of ...
2543 (parse_opt): ... here.
2545 2014-10-22 Roland McGrath <roland@hack.frob.com>
2547 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2548 macro to get at the _rt_local_ro field.
2549 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2550 ([PIC] case) or _dl_hwcap ([!PIC] case).
2551 * sysdeps/arm/setjmp.S: Likewise.
2553 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2554 * sysdeps/arm/configure.ac: New check to define it.
2555 * sysdeps/arm/configure: Regenerated.
2556 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2557 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2558 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2559 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2560 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2561 Use move/movt pair instead of a load.
2562 (LDST_GLOBAL): Macro removed.
2563 (LDR_GLOBAL): New macro replaces it.
2564 (LDR_HIDDEN): New macro.
2565 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2566 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2568 * setjmp/tst-setjmp-static.c: New file.
2569 * setjmp/Makefile (tests): Add it.
2570 (tests-static): New variable.
2572 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2575 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2577 2014-10-21 Joseph Myers <joseph@codesourcery.com>
2580 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2582 2014-10-21 Roland McGrath <roland@hack.frob.com>
2584 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2586 2014-10-20 Roland McGrath <roland@hack.frob.com>
2588 * io/fts.c (dirent_not_directory): New function.
2589 (fts_build): Call it.
2591 2014-10-20 Roland McGrath <roland@hack.frob.com>
2593 * nptl/version.c (__nptl_main): Use normal __write rather than
2595 (banner): Update copyright years.
2597 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2599 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2600 * nptl/pthread_cond_timedwait.c: Likewise.
2601 * nptl/pthread_mutex_timedlock.c: Likewise.
2602 * nptl/sem_timedwait.c: Likewise.
2604 * sysdeps/nptl/bits/libc-lock.h
2605 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2606 (__libc_lock_init_recursive): Return void, not 0.
2607 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2608 (__libc_rwlock_init): Likewise.
2609 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2611 2014-10-20 Torvald Riegel <triegel@redhat.com>
2614 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2615 (__pthread_once_slow): ... here.
2616 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2617 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2619 2014-10-20 Torvald Riegel <triegel@redhat.com>
2622 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2623 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2624 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2625 * nptl/pthread_once.c (__pthread_once): Likewise.
2628 2014-10-20 Joseph Myers <joseph@codesourcery.com>
2631 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2633 (writev): Use __libc_writev as strong name.
2634 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2635 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2637 2014-10-17 Roland McGrath <roland@hack.frob.com>
2639 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2641 * sysdeps/i386/nptl/tls.h
2642 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2643 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2645 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2646 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2647 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2648 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2649 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2650 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2652 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2653 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2655 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2657 (__pthread_mutex_init): ... here. Call it.
2658 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2659 Conditionalize PI cases on [__NR_futex].
2660 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2661 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2662 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2664 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2665 conditional on [SIGSETXID].
2666 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2667 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2668 is defined. Likewise for SIGSETXID.
2669 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2670 Conditionalize definitions on [SIGSETXID].
2671 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2672 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2673 unblocking on [SIGCANCEL].
2675 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2676 [__NR_set_robust_list].
2678 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2680 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2681 (do_compare): Likewise.
2683 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
2686 * string/strcoll_l.c: Don't include stdio.h.
2687 (coll_seq): Remove members idxarr and rulearr.
2688 (get_next_seq_cached): Remove function.
2689 (get_next_seq): Likewise.
2690 (get_next_seq_nocache): Rename to get_next_seq.
2691 (do_compare): Remove function.
2692 (do_compare_nocache): Rename to do_compare.
2693 (STRCOLL): Remove weight and rules cache.
2695 2014-10-16 Roland McGrath <roland@hack.frob.com>
2697 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2698 * sysdeps/arm/sfp-machine.h: ... to here.
2699 * sysdeps/arm/Implies: Remove arm/soft-fp.
2701 2014-10-14 Joseph Myers <joseph@codesourcery.com>
2703 * conform/data/sys/utsname.h-data (*_t): Allow.
2704 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2705 [POSIX] (WEXITED): Do not expect constant.
2706 [POSIX] (WSTOPPED): Likewise.
2707 [POSIX] (WNOHANG): Likewise.
2708 [POSIX] (WNOWAIT): Likewise.
2709 [POSIX] (siginfo_t): Do not expect type or elements.
2710 [POSIX] (pid_t): Do not expect type.
2711 [POSIX] (signal.h): Do not allow header.
2712 [POSIX] (sys/resource.h): Likewise.
2713 [POSIX] (si_*): Do not allow pattern.
2714 [POSIX] (W*): Likewise.
2715 [POSIX] (P_*): Likewise.
2716 [POSIX] (BUS_*): Likewise.
2717 [POSIX] (CLD_*): Likewise.
2718 [POSIX] (FPE_*): Likewise.
2719 [POSIX] (ILL_*): Likewise.
2720 [POSIX] (POLL_*): Likewise.
2721 [POSIX] (SEGV_*): Likewise.
2722 [POSIX] (SI_*): Likewise.
2723 [POSIX] (TRAP_*): Likewise.
2724 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2727 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2730 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2731 infinite loop when __recvmsg returns 0.
2733 2014-10-10 Joseph Myers <joseph@codesourcery.com>
2735 * CANCEL-FCT-WAIVE: Remove file.
2736 * CANCEL-FILE-WAIVE: Likewise.
2739 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2740 instead of INTVARDEF.
2741 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2742 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2743 rtld_hidden_data_def instead of INTVARDEF.
2744 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2745 * elf/dl-deps.c (expand_dst): Likewise.
2746 * elf/dl-load.c (_dl_dst_count): Likewise.
2747 (_dl_dst_substitute): Likewise.
2748 (decompose_rpath): Likewise.
2749 (_dl_init_paths): Likewise.
2750 (open_path): Likewise.
2751 (_dl_map_object): Likewise.
2752 * elf/rtld.c (dl_main): Likewise.
2753 (process_dl_audit): Likewise.
2754 (process_envvars): Likewise.
2755 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2757 (__libc_enable_secure): Use rtld_hidden_proto.
2759 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2762 (add_path): New function broken out of _dl_rtld_di_serinfo.
2763 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2765 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2767 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2768 parentheses around macro arguments.
2769 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2770 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2771 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2772 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2773 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2774 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2775 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2776 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2777 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2778 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2779 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2780 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2781 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2782 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2783 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2784 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2785 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2786 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2787 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2788 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2789 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2790 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2791 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2792 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2793 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2794 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2795 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2796 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2797 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2798 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2799 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2800 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2801 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2802 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2803 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2804 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2806 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2807 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2808 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2809 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2810 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2811 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2812 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2813 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2814 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2815 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2816 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2817 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2818 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2819 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2820 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2821 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2822 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2823 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2824 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2825 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2826 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2827 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2828 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2829 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2830 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2831 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2832 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2833 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2834 (_FP_FRAC_SRS_1): Likewise.
2835 (_FP_FRAC_CLZ_1): Likewise.
2836 (_FP_MUL_MEAT_1_imm): Likewise.
2837 (_FP_MUL_MEAT_1_wide): Likewise.
2838 (_FP_MUL_MEAT_1_hard): Likewise.
2839 (_FP_SQRT_MEAT_1): Likewise.
2840 (_FP_FRAC_ASSEMBLE_1): Likewise.
2841 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2842 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2843 (__FP_CLZ_2): Likewise.
2844 (_FP_MUL_MEAT_2_wide): Likewise.
2845 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2846 (_FP_MUL_MEAT_2_gmp): Likewise.
2847 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2848 (_FP_SQRT_MEAT_2): Likewise.
2849 (_FP_FRAC_ASSEMBLE_2): Likewise.
2850 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2851 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2852 (_FP_FRAC_CLZ_4): Likewise.
2853 (_FP_MUL_MEAT_4_wide): Likewise.
2854 (_FP_MUL_MEAT_4_gmp): Likewise.
2855 (_FP_SQRT_MEAT_4): Likewise.
2856 (_FP_FRAC_ASSEMBLE_4): Likewise.
2857 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2858 * soft-fp/op-common.h (_FP_CMP): Likewise.
2859 (_FP_CMP_EQ): Likewise.
2860 (_FP_CMP_UNORD): Likewise.
2861 (_FP_TO_INT): Likewise.
2862 (_FP_FROM_INT): Likewise.
2863 [!__FP_CLZ] (__FP_CLZ): Likewise.
2864 (_FP_DIV_HELP_imm): Likewise.
2865 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2867 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2868 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2869 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2870 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2871 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2872 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2873 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2874 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2875 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2876 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2877 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2878 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2879 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2880 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2881 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2882 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2883 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2884 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2885 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2886 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2887 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2888 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2889 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2890 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2891 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2892 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2893 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2894 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2895 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2896 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2897 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2898 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2899 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2900 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2901 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2902 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2903 (FP_UNPACK_RAW_SP): Likewise.
2904 (FP_PACK_RAW_S): Likewise.
2905 (FP_PACK_RAW_SP): Likewise.
2906 (FP_UNPACK_S): Likewise.
2907 (FP_UNPACK_SP): Likewise.
2908 (FP_UNPACK_SEMIRAW_S): Likewise.
2909 (FP_UNPACK_SEMIRAW_SP): Likewise.
2910 (FP_PACK_S): Likewise.
2911 (FP_PACK_SP): Likewise.
2912 (FP_PACK_SEMIRAW_S): Likewise.
2913 (FP_PACK_SEMIRAW_SP): Likewise.
2914 (_FP_SQRT_MEAT_S): Likewise.
2915 (FP_CMP_S): Likewise.
2916 (FP_CMP_EQ_S): Likewise.
2917 (FP_CMP_UNORD_S): Likewise.
2918 (FP_TO_INT_S): Likewise.
2919 (FP_FROM_INT_S): Likewise.
2921 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2923 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2924 (FP_EX_INVALID_IMZ): Likewise.
2925 (FP_EX_INVALID_IMZ_FMA): Likewise.
2926 (FP_EX_INVALID_ISI): Likewise.
2927 (FP_EX_INVALID_ZDZ): Likewise.
2928 (FP_EX_INVALID_IDI): Likewise.
2929 (FP_EX_INVALID_SQRT): Likewise.
2930 (FP_EX_INVALID_CVI): Likewise.
2931 (FP_EX_INVALID_VC): Likewise.
2932 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2933 "invalid" exceptions.
2934 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2935 (_FP_ADD_INTERNAL): Likewise.
2936 (_FP_MUL): Likewise.
2937 (_FP_FMA): Likewise.
2938 (_FP_DIV): Likewise.
2939 (_FP_CMP_CHECK_NAN): Likewise.
2940 (_FP_SQRT): Likewise.
2941 (_FP_TO_INT): Likewise.
2942 (FP_EXTEND): Likewise.
2944 2014-10-09 Allan McRae <allan@archlinux.org>
2946 * po/fr.po: Update French translation from translation project.
2948 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2951 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2953 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2954 (__cxa_atexit): Use libc_hidden_proto.
2955 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2958 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2960 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2961 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2962 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2963 [!_ISOMAC] (__iswctype_internal): Likewise.
2964 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2965 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2967 (fcntl): Remove __fcntl_internal alias.
2968 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2969 __connect_internal alias.
2970 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2973 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2974 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2976 (_FP_CHECK_FLUSH_ZERO): New macro.
2977 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2978 (_FP_CMP): Likewise.
2979 (_FP_CMP_EQ): Likewise.
2980 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2982 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2983 (FP_TRUNC): Likewise.
2985 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2986 treated as invalid conversion, not as normal exponent.
2988 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2989 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2990 (_FP_CMP_EQ): Likewise.
2991 (_FP_CMP_UNORD): Likewise.
2992 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2993 (FP_CMP_EQ_D): Likewise.
2994 (FP_CMP_UNORD_D): Likewise.
2995 * soft-fp/extended.h (FP_CMP_E): Likewise.
2996 (FP_CMP_EQ_E): Likewise.
2997 (FP_CMP_UNORD_E): Likewise.
2998 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2999 (FP_CMP_EQ_Q): Likewise.
3000 (FP_CMP_UNORD_Q): Likewise.
3001 * soft-fp/single.h (FP_CMP_S): Likewise.
3002 (FP_CMP_EQ_S): Likewise.
3003 (FP_CMP_UNORD_S): Likewise.
3004 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3005 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3006 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3007 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3008 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3009 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3010 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3011 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3012 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3013 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3014 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3015 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3016 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3018 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3020 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3021 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3023 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3025 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3026 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3027 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3028 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3030 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3032 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3033 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3035 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3037 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3038 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3039 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3040 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3043 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3044 a subnormal result, set the underflow exception if trapping on
3045 underflow is enabled.
3046 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3047 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3048 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3050 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3051 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3052 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3053 * soft-fp/extendxftf2.c (__extendxftf2): Use
3054 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3056 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3057 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3058 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3059 FP_HANDLE_EXCEPTIONS.
3060 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3061 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3062 FP_HANDLE_EXCEPTIONS.
3063 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3064 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3065 FP_HANDLE_EXCEPTIONS.
3066 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3067 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3068 FP_HANDLE_EXCEPTIONS.
3070 2014-10-08 Joseph Myers <joseph@codesourcery.com>
3073 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3074 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3076 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3077 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3079 (__adjtimex): Define using libc_hidden_ver.
3080 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3082 (ntp_gettime): Call __adjtimex directly.
3083 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3085 (ntp_gettimex): Call __adjtimex directly.
3086 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3087 __adjtimex_internal alias.
3089 2014-10-08 Roland McGrath <roland@hack.frob.com>
3092 * nscd/nscd.c (more_help): Rewrite list of tables collection
3093 using xstrdup and asprintf.
3095 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3097 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3098 Roland McGrath <roland@hack.frob.com>
3100 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3101 (do_lookup_unique): ... local function 'enter' here; update callers.
3103 2014-10-06 Joseph Myers <joseph@codesourcery.com>
3105 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3106 compat_symbol calls on [SHARED].
3107 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3108 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3110 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3111 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3112 (oldsetrlimit): Remove.
3113 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3115 (lchown): New syscall entry.
3116 (oldsetrlimit): Remove.
3117 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3118 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3119 (oldsetrlimit): Remove.
3120 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3123 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3124 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3125 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3126 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3127 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3128 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3130 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3135 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3137 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3138 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3139 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3140 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3141 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3143 (__old_sem_post): Likewise.
3145 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
3147 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3148 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3149 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3150 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3151 Use INLINE_VSYSCALL macro.
3152 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3153 __vdso_clock_gettime.
3154 * sysdeps/unix/sysv/linux/tile/init-first.c
3155 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3156 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3157 __vdso_clock_gettime.
3159 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3160 to set up frame more cleanly.
3162 * sysdeps/tile/memcmp.c: New file.
3164 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3166 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3167 * sysdeps/tile/tilegx/strcasestr.c: New file.
3168 * sysdeps/tile/tilegx/strnlen.c: New file.
3169 * sysdeps/tile/tilegx/strstr.c: New file.
3171 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3173 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
3175 * nptl/tst-setuid3.c: Write errors to stdout.
3177 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3180 (preload): New functions broken out of _dl_map_object_deps.
3181 (_dl_map_object_deps): Remove a nested function. Update call sites.
3183 2014-10-01 Joseph Myers <joseph@codesourcery.com>
3186 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3187 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3189 2014-10-01 Steve Ellcey <sellcey@mips.com>
3191 * sysdeps/mips/strcmp.S: New.
3193 2014-09-30 Joseph Myers <joseph@codesourcery.com>
3196 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3198 (mkdirat): Likewise.
3199 (readlinkat): Likewise.
3200 (renameat): Likewise.
3201 (symlinkat): Likewise.
3202 (unlinkat): Likewise.
3203 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3204 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3205 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3206 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3207 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3208 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3209 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3211 2014-09-30 Will Newton <will.newton@linaro.org>
3213 * math/math.h: Define long double math functions if
3214 _LIBC_TEST is defined.
3215 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3217 * localedata/Makefile: Move assignment to tests-special
3218 into an ifdef testing run-built-tests.
3219 * timezone/Makefile: Likewise.
3221 2014-09-29 Joseph Myers <joseph@codesourcery.com>
3223 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3224 with $(BASH) not $(SHELL).
3226 2014-09-29 Carlos O'Donell <carlos@redhat.com>
3227 Matthew LeGendre <legendre1@llnl.gov>
3230 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3233 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3235 * stdio-common/printf_fp.c
3236 (hack_digit): New function, broken out of ...
3237 (__printf_fp): ... local function here. Update call sites.
3238 hack_digit now takes an additional parameter that is a pointer
3239 to a struct of the referenced locals. Those locals moved inside
3240 the struct and references updated.
3242 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3244 * aclocal.m4: Require autoconf 2.69.
3245 * configure: Regenerated.
3246 * sysdeps/aarch64/configure: Likewise.
3247 * sysdeps/alpha/configure: Likewise.
3248 * sysdeps/arm/armv7/configure: Likewise.
3249 * sysdeps/arm/configure: Likewise.
3250 * sysdeps/ia64/configure: Likewise.
3251 * sysdeps/mach/configure: Likewise.
3252 * sysdeps/mips/configure: Likewise.
3253 * sysdeps/s390/configure: Likewise.
3254 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3257 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3259 * sysdeps/ia64/configure.ac: Likewise.
3261 2014-09-26 Joseph Myers <joseph@codesourcery.com>
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3264 specify symbol version for ld.so. Do not include entry for
3266 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3267 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3268 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3271 * Makeconfig [$(build-shared) = yes]
3272 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3274 [$(build-shared) = yes && $(soversions.mk-done) = t]
3275 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3276 [$(build-shared) = yes && $(soversions.mk-done) = t]
3277 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3279 [$(build-shared) = yes && $(soversions.mk-done) = t]
3280 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3282 [$(build-shared) = yes && $(soversions.mk-done) = t]
3283 (common-generated): Don't append gnu/lib-names.h and
3284 gnu/lib-names.stmp here.
3285 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3286 (lib-names-h-abi): New variable.
3287 [$(build-shared) = yes && $(soversions.mk-done) = t]
3288 (lib-names-stmp-abi): Likewise.
3289 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3290 abi-variants] (before-compile): Append
3291 $(common-objpfx)$(lib-names-h-abi).
3292 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3293 abi-variants] (common-generated): Append gnu/lib-names.h.
3294 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3295 abi-variants] (install-others-nosubdir): Depend on
3296 $(inst_includedir)/$(lib-names-h-abi).
3297 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3298 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3299 [$(build-shared) = yes && $(soversions.mk-done) = t]
3300 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3301 [$(build-shared) = yes && $(soversions.mk-done) = t]
3302 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3303 [$(build-shared) = yes && $(soversions.mk-done) = t]
3304 (common-generated): Append $(lib-names-h-abi) and
3305 $(lib-names-stmp-abi).
3306 * scripts/lib-names.awk: Do not handle multi being set.
3307 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3309 (abi-lp64_be-ld-soname): Likewise.
3310 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3312 (abi-hard-ld-soname): Likewise.
3313 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3314 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3316 (abi-o32_hard-ld-soname): Likewise.
3317 (abi-o32_soft_2008-ld-soname): Likewise.
3318 (abi-o32_hard_2008-ld-soname): Likewise.
3319 (abi-n32_soft-ld-soname): Likewise.
3320 (abi-n32_hard-ld-soname): Likewise.
3321 (abi-n32_soft_2008-ld-soname): Likewise.
3322 (abi-n32_hard_2008-ld-soname): Likewise.
3323 (abi-n64_soft-ld-soname): Likewise.
3324 (abi-n64_hard-ld-soname): Likewise.
3325 (abi-n64_soft_2008-ld-soname): Likewise.
3326 (abi-n64_hard_2008-ld-soname): Likewise.
3327 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3329 (abi-64-v2-ld-soname): Likewise.
3330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3332 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3334 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3336 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3338 (abi-64-ld-soname): Likewise.
3339 (abi-x32-ld-soname): Likewise.
3340 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3342 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3344 2014-09-23 Joseph Myers <joseph@codesourcery.com>
3347 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3348 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3349 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3350 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3351 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3352 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3353 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3354 syscall entry for GLIBC_2.2 symbol version.
3355 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3358 (setrlimit): Likewise.
3359 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3362 2014-09-23 Will Newton <will.newton@linaro.org>
3364 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3365 _LINUX_ARM_SYSDEP_H include guard too.
3366 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3369 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3371 * sysdeps/unix/sysv/linux/eventfd.c:
3372 Make first argument unsigned.
3373 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3374 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3376 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
3378 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3379 * socket/sys/socket.h: Likewise
3380 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3382 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3384 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3386 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
3388 * time/tst-ftime.c: New test.
3389 * time/Makefile (tests): Add tst-ftime.
3391 2014-09-17 Joseph Myers <joseph@codesourcery.com>
3393 * soft-fp/extended.h: Fix comment formatting.
3394 * soft-fp/op-1.h: Likewise.
3395 * soft-fp/op-2.h: Likewise.
3396 * soft-fp/op-4.h: Likewise.
3397 * soft-fp/op-8.h: Likewise.
3398 * soft-fp/op-common.h: Likewise.
3399 * soft-fp/soft-fp.h: Likewise.
3401 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3403 2014-09-16 Joseph Myers <joseph@codesourcery.com>
3406 * Makeconfig (soversions-default-setname): Remove variable.
3407 ($(common-objpfx)soversions.i): Don't pass default_setname to
3409 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3410 oldest_abi to abi-versions.awk.
3411 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3412 * config.make.in (oldest-abi): Remove variable.
3413 * configure.ac (--enable-oldest-abi): Remove configure option.
3414 * configure: Regenerated.
3415 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3417 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3418 * scripts/soversions.awk: Do not handle default_setname variable.
3419 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3421 * sysdeps/mach/hurd/configure: Regenerated.
3422 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3424 * sysdeps/unix/sysv/linux/configure: Regenerated.
3426 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3428 * elf/Makefile (CFLAGS-interp.c): Remove.
3429 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3431 * elf/interp.c: Include generated runtime-linker.h
3433 * Makerules (lib%.so): Don't include $(+interp) in
3435 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3436 * dlfcn/eval.c: Remove file.
3438 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3442 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3446 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3448 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3449 Jakub Jelinek <jakub@redhat.com>
3452 * libio/stdio.h: Check definition of __fortify_function
3453 instead of __extern_always_inline to include bits/stdio2.h.
3454 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3455 check if __extern_always_inline is defined.
3456 [__USE_MISC || __USE_XOPEN]: Likewise.
3457 [__USE_ISOC99] Likewise.
3458 * misc/sys/cdefs.h (__fortify_function): Define only if
3459 __extern_always_inline is defined.
3460 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3461 __extern_always_inline and __extern_inline only for g++-4.3
3462 and newer or a compatible gcc.
3464 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3467 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3468 last change to handle zero prefix length.
3470 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3472 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3475 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3478 2014-09-13 Allan McRae <allan@archlinux.org>
3480 * po/ru.po: Update Russian translation from translation project.
3482 2014-09-12 Roland McGrath <roland@hack.frob.com>
3484 * locale/programs/locale.c (show_locale_vars): Inline local function
3485 into its sole call site. Clean up some style nits.
3486 (print_item): New function, broken out of ...
3487 (show_info): ... local function here. Clean up style nits.
3489 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3491 (set_class_defaults): ... local function set_default here.
3492 Define set_default as a macro locally to pass constant parameters.
3493 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3494 rather than a shared local.
3496 * stdlib/rpmatch.c (try): New function, broken out of ...
3497 (rpmatch): ... local function here. Also, prototypify definition.
3499 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3501 * scripts/soversions.awk: Do not handle configuration names.
3502 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3503 vendor and os variables to soversions.awk.
3504 * configure.ac: Do not modify gnu-* host_os.
3505 * configure: Regenerated
3506 * shlib-versions: Remove first column with configuration names.
3507 * nptl/shlib-versions: Likewise.
3508 * nptl_db/shlib-versions: Likewise.
3509 * sysdeps/hppa/shlib-versions: Likewise.
3510 * sysdeps/m68k/shlib-versions: Likewise.
3511 * sysdeps/mach/hurd/shlib-versions: Likewise.
3512 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3513 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3514 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3515 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3516 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3517 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3518 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3519 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3522 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3523 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3524 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3525 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3526 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3527 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3528 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3529 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3532 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3535 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3537 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3539 * shlib-versions: Remove OS-specific entries. Moved to files in
3541 * sysdeps/mach/hurd/shlib-versions: New file.
3542 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3544 * nptl/shlib-versions: Remove architecture-specific entries.
3545 Moved to files in sysdeps.
3546 * shlib-versions: Likewise.
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3549 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3550 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3551 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3552 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3554 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3555 (UDP_NO_CHECK6_RX): Likewise.
3557 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3559 * sysdeps/posix/sysconf.c (__sysconf): Spell
3560 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3562 2014-08-12 Florian Weimer <fweimer@redhat.com>
3564 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3566 * iconv/Versions (__gconv_transliterate): Export for use from
3568 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3569 (struct __gconv_trans_data, __gconv_trans_fct,
3570 __gconv_trans_context_fct, __gconv_trans_query_fct,
3571 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3573 (struct __gconv_step_data): Remove __trans member.
3574 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3575 longer hidden. Remove unused trans_data argument.
3576 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3577 (__gconv_translit_find): Remove declaration.
3578 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3580 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3581 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3582 trans_data argument. Add hidden definition.
3583 (__gconv_translit_find): Remove.
3584 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3585 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3586 * iconv/skeleton.c: Remove transliteration initialization.
3587 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3588 __gconv_step_data initialization.
3589 * libio/iofwide.c (__libio_translit_): Remove.
3590 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3591 * wcsmbs/btowc.c (__btowc): Likewise.
3592 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3593 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3594 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3595 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3596 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3597 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3598 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3599 * wcsmbs/wctob.c (wctob): Likewise.
3601 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3604 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3605 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3607 * sysdeps/x86/Makefile: Adjust.
3609 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3610 Roland McGrath <roland@hack.frob.com>
3612 * locale/weight.h: Add include guard.
3613 (findidx): Make static rather than auto; take new parameters
3614 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3615 * locale/weightwc.h: Likewise.
3616 * posix/fnmatch_loop.c
3617 (FCT): Change type of EXTRA from int32_t to wint_t.
3618 Don't include either header inside the function.
3619 Call FINDIDX rather than findidx, and pass new arguments.
3620 #undef FINDIDX at the end of the file.
3621 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3622 FINDIDX before including fnmatch_loop.c for the non-wide version.
3623 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3624 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3625 for the wide version.
3626 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3627 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3628 Pass new arguments to findidx.
3629 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3630 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3631 Don't #include it inside the function. Pass new arguments to findidx.
3632 * posix/regex_internal.h
3633 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3634 (re_string_elem_size_at): Don't #include it inside the function.
3635 Pass new arguments to findidx.
3636 * string/strcoll_l.c: #include WEIGHT_H at top level.
3637 (get_next_seq): Don't #include it inside the function.
3638 Pass new arguments to findidx.
3639 (get_next_seq_nocache): Likewise.
3640 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3641 (STRXFRM): Don't #include it inside the function.
3642 Pass new arguments to findidx.
3644 2014-09-11 Florian Weimer <fweimer@redhat.com>
3647 * malloc/malloc.c (unlink): Turn asserts into a call to
3650 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
3653 * libio/wfileops (do_ftell_wide): Free OUT.
3655 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3657 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3659 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3662 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3663 group if the current group is empty.
3665 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3667 * benchtests/bench-memset.c (test_main): Add more test from size
3668 from 32 to 512 bytes.
3669 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3670 Add POWER8 memset object.
3671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3672 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3673 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3675 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3677 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3678 multiarch POWER8 memset optimization.
3679 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3680 POWER8 memset optimization.
3682 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3683 Remove bzero multiarch objects.
3684 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3685 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3686 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3687 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3689 [__bzero]: Redefine to specific name.
3690 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3691 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3692 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3694 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3695 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3697 2014-09-10 Florian Weimer <fweimer@redhat.com>
3699 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3700 warnings into errors.
3702 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3703 __cxa_thread_atexit_impl prototype.
3705 2014-09-09 Steve Ellcey <sellcey@mips.com>
3707 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3708 Fix capitalization of error message.
3710 2014-09-09 Steve Ellcey <sellcey@mips.com>
3712 * sysdeps/mips/preconfigure: Modify ABI tests.
3714 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3716 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3718 2014-09-07 Roland McGrath <roland@hack.frob.com>
3719 Carlos O'Donell <carlos@systemhalted.org>
3721 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3722 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3723 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3724 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3725 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3726 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3727 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3728 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3729 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3730 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3731 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3732 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3733 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3734 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3735 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3736 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3737 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3738 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3739 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3740 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3741 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3742 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3743 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3744 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3745 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3746 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3747 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3748 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3749 Deconditionalize the code that was previously under [RESET_PID].
3750 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3751 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3752 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3753 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3756 2014-09-08 Allan McRae <allan@archlinux.org>
3758 * version.h (RELEASE): Set to "development".
3759 (VERSION): Set to "2.20.90"
3761 2014-09-07 Allan McRae <allan@archlinux.org
3763 * version.h (RELEASE): Set to "stable".
3764 (VERSION): Set to "2.20"
3765 * include/features.h (__GLIBC_MINOR__): Set to 20.
3767 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3770 * po/ko.po: Update Korean translation from translation project.
3772 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3775 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3776 macro for handling signed relocations.
3778 2014-09-03 Florian Weimer <fweimer@redhat.com>
3781 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3782 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3784 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3785 * iconvdata/ibm935.c (BODY): Likewise.
3786 * iconvdata/ibm937.c (BODY): Likewise.
3787 * iconvdata/ibm939.c (BODY): Likewise.
3788 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3790 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3792 * iconvdata/run-iconv-test.sh: New test loop for checking for
3795 2014-09-02 Khem Raj <raj.khem@gmail.com>
3797 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3800 2014-09-01 Allan McRae <allan@archlinux.org>
3802 * po/eo.po: Update Esperanto translation from translation project.
3804 * po/ca.po: Update Catalan translation from translation project.
3806 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3808 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3811 2014-08-27 Mark Wielaard <mjw@redhat.com>
3814 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3815 to call set_thread_area instead of hand written asm.
3816 (__NR_set_thread_area): Removed define.
3817 (TLS_FLAG_WRITABLE): Likewise.
3818 (__ASSUME_SET_THREAD_AREA): Remove check.
3819 (TLS_EBX_ARG): Remove define.
3820 (TLS_LOAD_EBX): Likewise.
3822 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3824 Simplify atomicity of socket creation in bind.
3826 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3827 looking up the name after linking the file.
3829 2014-08-27 Allan McRae <allan@archlinux.org>
3831 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3833 2014-08-26 Florian Weimer <fweimer@redhat.com>
3836 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3837 trans_compare, open_translit, __gconv_translit_find):
3838 Remove module loading code.
3840 2014-08-26 Allan McRae <allan@archlinux.org>
3842 * po/vi.po: Update Vietnamese translation from translation project.
3844 * po/uk.po: Update Ukrainian translation from translation project.
3846 * po/fr.po: Update French translation from translation project.
3848 * po/ru.po: Update Russian translation from translation project.
3850 * po/pl.po: Update Polish translation from translation project.
3852 * po/cs.po: Update Czech translation from translation project.
3854 * po/de.po: Update German translation from translation project.
3856 * po/bg.po: Update Bulgarian translation from translation project.
3858 * po/sv.po: Update Sweedish translation from translation project.
3860 * po/nl.po: Update Dutch translation from translation project.
3862 * po/es.po: Update Spanish translation from translation project.
3864 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3866 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3868 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3869 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3870 (CPPFLAGS-iconvconfig): Likewise.
3871 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3873 * include/libc-symbols.h: Remove unnecessary check for
3875 * nptl/pthreadP.h: Likewise.
3876 * sysdeps/aarch64/setjmp.S: Likewise.
3877 * sysdeps/alpha/setjmp.S: Likewise.
3878 * sysdeps/arm/sysdep.h: Likewise.
3879 * sysdeps/i386/setjmp.S: Likewise.
3880 * sysdeps/m68k/setjmp.c: Likewise.
3881 * sysdeps/posix/getcwd.c: Likewise.
3882 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3883 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3884 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3885 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3886 * sysdeps/sh/sh3/setjmp.S: Likewise.
3887 * sysdeps/sh/sh4/setjmp.S: Likewise.
3888 * sysdeps/unix/alpha/sysdep.h: Likewise.
3889 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3890 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3891 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3892 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3896 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3897 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3900 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3902 * sysdeps/x86_64/setjmp.S: Likewise.
3904 2014-08-13 Joseph Myers <joseph@codesourcery.com>
3907 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3909 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3910 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3912 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3914 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3917 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3918 and __x86_64__ when disabling x87 inline functions.
3920 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
3923 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3924 asm statement with __cpuid_count.
3926 2014-08-12 Mike Frysinger <vapier@gentoo.org>
3928 * configure.ac: Change __ehdr_start code to dereference the struct.
3929 Run readelf on the output to look for relocations.
3930 * configure: Regenerated.
3932 2014-08-12 Joseph Myers <joseph@codesourcery.com>
3935 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3937 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3939 2014-08-12 Roland McGrath <roland@hack.frob.com>
3941 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3943 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3946 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3947 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3949 2014-08-12 Sean Anderson <seanga2@gmail.com>
3951 * malloc/malloc.c: Fix typo in comment.
3953 2014-08-09 Allan McRae <allan@archlinux.org>
3955 * Regenerate libc.po.
3957 2014-08-08 Mike Frysinger <vapier@gentoo.org>
3959 * intl/tst-gettext2.sh: Check every lang file for creation.
3961 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3963 * sysdeps/aarch64/fpu/math_private.h
3964 (libc_feholdsetround_noex_aarch64_ctx): New function.
3966 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3968 * sysdeps/arm/armv6/strcpy.S (strcpy):
3969 Fix performance issue in misaligned cases.
3971 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3973 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3974 Move definition from termios.h.
3975 (struct termio): Likewise.
3976 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3977 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3978 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3979 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3981 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3982 Move definition to ioctl-types.h
3983 (struct termio): Likewise.
3984 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3985 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3986 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3987 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3990 2014-08-05 Richard Henderson <rth@redhat.com>
3992 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3994 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3996 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3997 Use __feraiseexcept.
3998 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3999 Protect libm symbols with IS_IN_libm.
4001 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4003 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4005 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4007 2014-08-04 Will Newton <will.newton@linaro.org>
4009 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4012 2014-08-04 Mike Frysinger <vapier@gentoo.org>
4014 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4015 variants for each function.
4017 2014-08-04 Roland McGrath <roland@hack.frob.com>
4019 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4021 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4022 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4024 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4025 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4026 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4027 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4028 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4029 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4030 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4031 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4032 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4033 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4034 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4035 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4036 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4037 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4038 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4039 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4040 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4041 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4042 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4043 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4044 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4045 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4046 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4047 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4048 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4049 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4050 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4051 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4052 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4053 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4054 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4055 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4056 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4057 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4058 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4059 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4060 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4061 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4062 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4063 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4064 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4065 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4066 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4067 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4068 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4069 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4070 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4071 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4072 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4073 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4074 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4075 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4076 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4078 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4079 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4081 2014-08-04 Roland McGrath <roland@hack.frob.com>
4083 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4084 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4085 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4086 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4087 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4088 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4090 2014-08-04 Roland McGrath <roland@hack.frob.com>
4092 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4093 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4094 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4095 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4097 2014-08-04 Roland McGrath <roland@hack.frob.com>
4099 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4100 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4101 (__libc_vfork): Define function under this name.
4102 (__vfork): Define as an alias.
4103 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4104 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4106 2014-08-04 Roland McGrath <roland@hack.frob.com>
4108 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4109 that was previously under [RESET_PID].
4110 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4112 2014-08-04 Andreas Schwab <schwab@suse.de>
4114 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4116 2014-08-03 Mike Frysinger <vapier@gentoo.org>
4118 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4121 2014-08-01 Roland McGrath <roland@hack.frob.com>
4123 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4125 2014-08-01 Richard Henderon <rth@redhat.com>
4127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4128 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4129 typo in exact zero test.
4130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4131 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4132 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4134 2014-08-01 Roland McGrath <roland@hack.frob.com>
4136 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4137 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4138 * sysdeps/arm/sysdep.h: ... here.
4139 [!__ASSEMBLER__]: Include <stdint.h>.
4141 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4143 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4144 (HAVE_WCTYPE_H): Likewise.
4145 (HAVE_ISWCTYPE): Likewise.
4146 (ENABLE_NLS): Likewise.
4147 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4148 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4150 * posix/regex_internal.c: Check if DEBUG is defined and is
4153 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4154 (HAVE_MBSRTOWCS): Likewise.
4155 * posix/fnmatch.c: Include string.h unconditionally.
4157 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4159 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4162 2014-07-31 Roland McGrath <roland@hack.frob.com>
4164 * sysdeps/generic/safe-fatal.h: New file.
4165 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4166 * nptl/forward.c: Include it.
4167 (__pthread_unwind): Use __safe_fatal as default action, rather
4168 than a bogus use of INTERNAL_SYSCALL that could never work.
4170 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4171 * configure.ac (libc_cv_builtin_trap): New test.
4172 * configure: Regenerated.
4173 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4174 (ABORT_INSTRUCTION): Define using __builtin_trap.
4176 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4177 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4178 * sysdeps/nptl/nptl-signals.h: New file.
4179 * nptl/pthreadP.h: Include <nptl-signals.h>.
4181 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4183 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4184 (ONE_DIRECTION): Define.
4185 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4186 (ONE_DIRECTION): Define.
4187 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4188 (ONE_DIRECTION): Define.
4190 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4192 * sysdeps/s390/Makefile: Delete file.
4193 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4194 * sysdeps/s390/__longjmp.c: Delete file.
4195 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4196 Remove fields __flags and __reserved.
4197 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4199 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4200 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4201 * sysdeps/s390/rtld-setjmp.S: Likewise.
4202 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4203 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4204 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4205 * sysdeps/s390/s390-32/setjmp.S: ... here.
4207 (__sigsetjmp): Remove setting __flags field.
4208 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4209 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4210 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4211 * sysdeps/s390/s390-64/setjmp.S: ... here.
4213 (__sigsetjmp): Remove setting __flags field.
4214 * sysdeps/s390/setjmp.S: Delete file.
4215 * sysdeps/s390/sigjmp.c: Likewise.
4216 * sysdeps/s390/v1-longjmp.c: Likewise.
4217 * sysdeps/s390/v1-setjmp.h: Likewise.
4218 * sysdeps/s390/v1-sigjmp.c: Likewise.
4219 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4220 Remove v1-longjmp_chk.
4221 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4222 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4223 Include debug/longjmp_chk.c and add versioning.
4224 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4225 Include nptl/pt-longjmp.c and add versioning.
4226 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4227 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4228 Include __longjmp.c.
4229 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4231 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4232 (__getcontext): Remove setting __flags field.
4234 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4235 Don't restore upper high grps.
4236 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4238 (__swapcontext): Remove setting uc_flags field.
4239 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4241 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4242 Include __longjmp.c.
4243 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4245 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4246 (__getcontext): Remove setting __flags field.
4248 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4249 (__swapcontext): Remove setting uc_flags field.
4250 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4251 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4252 Remove fields uc_high_gprs and __reserved.
4253 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4254 New file with reverted content.
4255 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4256 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4258 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4261 2014-07-31 Andreas Schwab <schwab@suse.de>
4263 * config.h.in (HAVE_IFUNC): Define to 0.
4264 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4267 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4270 memmove-avx-unaligned, memcpy-avx-unaligned and
4271 mempcpy-avx-unaligned.
4272 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4273 Add tests for AVX memcpy functions.
4274 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4275 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4277 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4278 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4280 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4281 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4283 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4284 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4285 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4287 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4290 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4293 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
4296 * manual/llio.texi: Add section about open file description locks.
4297 * manual/examples/ofdlocks.c: Example of open file description
4299 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4300 F_OFD_SETLK, and F_OFD_SETLKW.
4302 2014-07-23 Allan McRae <allan@archlinux.org>
4304 * po/es.po: Update Spanish translation from translation project.
4306 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4308 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4310 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4313 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4314 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4315 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4317 2014-07-17 Joseph Myers <joseph@codesourcery.com>
4320 * math/fesetenv.c (__fesetenv)
4321 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4322 * math/feupdateenv.c (__feupdateenv)
4323 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4325 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4326 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4327 (__ASSUME_SOCKETCALL): Do not define.
4329 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4330 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4331 (__ASSUME_SOCKETCALL): Do not define.
4332 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4333 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4334 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4335 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4336 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4337 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4338 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4339 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4341 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4342 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4343 (__ASSUME_SOCKETCALL): Do not define.
4344 (__ASSUME_IPC64): Define unconditionally.
4345 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4346 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4347 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4348 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4349 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4350 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4351 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4354 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4355 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4356 (__ASSUME_SOCKETCALL): Do not define.
4357 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4358 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4359 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4360 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4361 (__ASSUME_REQUEUE_PI): Define unconditionally.
4362 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4363 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4364 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4365 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4366 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4367 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4369 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4370 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4371 (__ASSUME_SOCKETCALL): Do not define.
4372 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4373 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4374 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4375 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4376 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4377 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4379 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4380 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4381 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4382 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4383 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4384 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4385 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4386 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4387 (__ASSUME_GETCPU_SYSCALL): Likewise.
4389 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4390 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4391 cases for individual architectures.
4392 * sysdeps/gnu/configure: Regenerated.
4393 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4394 LIBC_SLIBDIR_RTLDDIR.
4395 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4396 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4397 LIBC_SLIBDIR_RTLDDIR.
4398 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4400 LIBC_SLIBDIR_RTLDDIR.
4401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4403 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4404 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4406 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4407 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4409 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4410 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4411 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4412 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4414 * sysdeps/aarch64/shlib-versions: Move to ...
4415 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4416 * sysdeps/alpha/shlib-versions: Move to ...
4417 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4418 * sysdeps/arm/shlib-versions: Move to ...
4419 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4420 * sysdeps/hppa/shlib-versions: Move all contents except for
4421 libgcc_s entry to ...
4422 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4424 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4425 * sysdeps/ia64/shlib-versions: Move to ...
4426 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4428 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4429 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4430 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4431 * sysdeps/microblaze/shlib-versions: Move to ...
4432 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4433 * sysdeps/mips/shlib-versions: Move to ...
4434 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4436 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4437 * sysdeps/tile/shlib-versions: Move to ...
4438 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4439 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4441 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4442 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4444 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4446 2014-07-17 Will Newton <will.newton@linaro.org>
4448 * sysdeps/arm/bits/atomic.h
4449 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4450 (__arch_compare_and_exchange_bool_16_int): Likewise.
4451 (__arch_compare_and_exchange_bool_64_int): Likewise.
4453 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4454 into an #else block.
4456 2014-07-16 Roland McGrath <roland@hack.frob.com>
4458 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4459 just Linux configurations. Test empirically that the compiler sets
4460 __ARM_EABI__, rather than using the tuple to decide.
4461 * sysdeps/arm/preconfigure: Regenerated.
4462 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4463 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4464 contents appended ...
4465 * sysdeps/arm/configure.ac: ... here.
4466 * sysdeps/arm/configure: Regenerated.
4468 2014-07-15 Roland McGrath <roland@hack.frob.com>
4470 * nptl/pthread_kill.c: New file.
4471 * nptl/pthread_sigmask.c: New file.
4472 * nptl/pthread_sigqueue.c: New file.
4474 * sysdeps/nptl/lowlevellock.h: New file.
4475 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4476 * sysdeps/nptl/lowlevellock-futex.h: New file.
4478 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4479 Remove dead declarations.
4481 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4483 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4484 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4486 * sysdeps/x86_64/configure.ac: Likewise.
4487 * sysdeps/i386/configure: Regenerated.
4488 * sysdeps/x86_64/configure: Likewise.
4489 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4490 memset-avx2 only if config-cflags-avx2 is yes.
4491 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4492 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4494 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4495 only if HAVE_AVX2_SUPPORT is defined.
4496 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4498 2014-07-14 Alan Modra <amodra@gmail.com>
4501 * elf/elf.h (DT_PPC64_NUM): Correct value.
4502 * NEWS: Add to fixed bug list.
4504 2014-07-13 Jim Meyering <meyering@fb.com>
4507 regex: don't deref NULL upon heap allocation failure
4508 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4509 failure in one more place.
4510 To trigger the segfault, configure grep -with-included-regex,
4511 build it, and run these commands:
4512 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4514 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4516 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4518 2014-07-11 Richard Henderson <rth@redhat.com>
4520 * sysdeps/aarch64/libm-test-ulps: Update.
4522 2014-07-10 Florian Weimer <fweimer@redhat.com>
4525 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4526 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4527 (__nptl_setxid): Initialize error member. Call
4528 __nptl_setxid_error.
4529 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4530 * nptl/descr.h (struct xid_command): Add error member.
4531 * nptl/tst-setuid3.c: New file.
4532 * nptl/Makefile (tests): Add it.
4534 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4536 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4538 (__lll_trylock): Use __lll_base_trylock.
4539 (__lll_cond_trylock): Likewise.
4541 2014-07-10 Roland McGrath <roland@hack.frob.com>
4543 * nptl/pthread_create.c (start_thread): Use atomic_or and
4544 lll_futex_wake directly rather than lll_robust_dead.
4545 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4546 (lll_robust_dead): Macro removed.
4547 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4548 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4549 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4550 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4551 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4552 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4553 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4554 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4555 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4556 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4557 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4558 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4559 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4560 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4561 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4563 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4564 Use atomic_compare_and_exchange_val_acq directly rather than
4566 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4567 (__lll_robust_trylock, lll_robust_trylock): Removed.
4568 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4569 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4570 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4571 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4572 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4573 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4574 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4575 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4576 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4577 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4578 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4579 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4580 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4581 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4583 2014-07-02 Florian Weimer <fweimer@redhat.com>
4585 * manual/locale.texi (Locale Names): New section documenting
4586 locale name syntax. Adjust menu and node chaining accordingly.
4587 (Choosing Locale): Reference Locale Names, Locale Categories.
4588 Mention setting LC_ALL=C. Reflect that name syntax is now
4590 (Locale Categories): New section title. Reference Locale Names.
4591 LC_ALL is an environment variable, but not a category.
4592 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4593 description, now in Locale Name. Reference that section. Locale
4594 name syntax is now documented.
4596 2014-07-02 Florian Weimer <fweimer@redhat.com>
4599 * locale/findlocale.c (name_present, valid_locale_name): New
4601 (_nl_find_locale): Use the loc_name variable to store name
4602 candidates. Call name_present and valid_locale_name to check and
4603 validate locale names. Return an error if the locale is invalid.
4605 2014-07-02 Florian Weimer <fweimer@redhat.com>
4607 * locale/setlocale.c (setlocale): Use strdup for allocating
4608 composite name copy.
4610 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4612 Sync up with gnulib.
4613 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4614 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4615 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4616 and _GL_ARG_NONNULL.
4617 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4618 [!_LIBC]: Include code for Windows and Cygwin.
4619 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4620 Include prototype for int strerror_r.
4621 [!_LIBC] (is_open): New function.
4622 (flush_stdout): New function.
4623 (print_errno_message): Use it.
4625 (error_at_line): Likewise.
4626 (error_tail) Add function attribute macros. Use
4629 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4631 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4633 * io/ftw.c: Include sys/param.h unconditionally.
4635 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4638 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4640 (freecache): New function to free CACHE on exit.
4642 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4645 2014-07-09 David S. Miller <davem@davemloft.net>
4647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4649 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4650 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4651 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4652 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4653 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4654 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4655 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4656 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4657 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4658 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4659 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4660 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4661 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4663 2014-07-09 Andreas Schwab <schwab@suse.de>
4665 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4667 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4668 (do_test): Likewise.
4670 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4672 2014-07-09 Will Newton <will.newton@linaro.org>
4674 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4675 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4676 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4677 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4678 * sysdeps/hppa/start.S (_start): Likewise.
4680 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4682 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4684 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4687 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4689 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4690 after checking that it is non-NULL.
4692 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4694 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4696 * sysdeps/powerpc/memmove.c: Remove file.
4697 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4698 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4699 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4700 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4701 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4702 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4703 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4704 string memmove instead of removed powerpc one.
4706 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4707 [weak_alias]: Fix compiler warning due trailing data.
4708 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4709 [weak_alias]: Likewise.
4710 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4711 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4713 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4714 (__libc_ifunc_impl_list): Add memmove functions.
4716 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4718 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4720 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4722 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4724 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4726 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4728 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4730 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4732 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4734 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4736 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4738 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4740 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4742 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4744 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4746 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4748 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4750 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4753 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4755 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4756 to avoid alignment traps in non-cacheable memory.
4757 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4761 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4762 file: multiarch power7 memmove.
4763 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4764 multiarch default memmove.
4765 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4766 multiarch memove for powerpc32/power4.
4768 * string/bcopy.c: Use full path to include memmove.c.
4769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4771 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4772 bcopy for powerpc64.
4773 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4774 bcopy for powerpc64.
4775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4776 and memmove implementations.
4777 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4778 optimized multiarch memmove for POWER7/powerpc64.
4779 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4780 default multiarch memmove for powerpc64.
4781 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4782 multiarch for powerpc64.
4783 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4784 for POWER7/powerpc64.
4785 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4786 memmove for POWER7/powerpc64.
4788 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4791 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4792 __ELF_NATIVE_CLASS equal to 64.
4794 2014-07-07 Roland McGrath <roland@hack.frob.com>
4796 * sysdeps/nptl/lowlevellock.h: File removed.
4798 * NEWS: NPTL is no longer an add-on!
4799 * nptl/internaltypes.h: Moved ...
4800 * sysdeps/nptl/internaltypes.h: ... here.
4801 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4802 * sysdeps/nptl/fork.c: Likewise.
4803 * sysdeps/nptl/gai_misc.h: Likewise.
4804 * sysdeps/nptl/librt-cancellation.c: Likewise.
4805 * sysdeps/nptl/jmp-unwind.c: Likewise.
4806 * sysdeps/nptl/setxid.h: Likewise.
4807 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4808 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4809 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4810 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4811 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4812 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4813 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4814 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4815 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4816 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4817 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4818 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4819 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4820 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4821 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4822 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4823 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4824 * nptl/Makeconfig: Moved ...
4825 * sysdeps/nptl/Makeconfig: ... here.
4826 * nptl/configure: File removed.
4827 * nptl/ANNOUNCE: File removed.
4828 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4829 * sysdeps/unix/sysv/linux/configure: Regenerated.
4831 * nptl/Makefile (routines): Add libc_pthread_init,
4832 libc_multiple_threads, register-atfork and unregister-atfork.
4833 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4834 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4835 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4836 pthread-pi-defines.sym, structsem.sym.
4837 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4838 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4839 [$(subdir) = nptl] (tests): Add tst-setgetname.
4840 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4841 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4842 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4843 [!LIBC_SIGACTION]: Remove aliases.
4844 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4845 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4846 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4847 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4848 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4849 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4850 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4851 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4852 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4853 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4854 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4855 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4856 __libc_allocate_rtsig_private.
4857 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4858 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4859 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4860 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4861 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4862 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4863 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4864 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4865 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4866 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4867 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4868 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4869 * nptl/internaltypes.h: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4871 * sysdeps/nptl/jmp-unwind.c: ... here.
4872 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4873 * nptl/libc-lowlevellock.c: ... here.
4874 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4875 * nptl/libc_multiple_threads.c: ... here.
4876 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4877 * nptl/libc_pthread_init.c: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4879 * nptl/lowlevelbarrier.sym: ... here.
4880 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4881 * nptl/lowlevelcond.sym: ... here.
4882 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4883 * nptl/lowlevellock.c: ... here.
4884 * nptl/lowlevellock.h: Moved ...
4885 * sysdeps/nptl/lowlevellock.h: ... here.
4886 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4887 * nptl/lowlevelrobustlock.c: ... here.
4888 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4889 * nptl/lowlevelrobustlock.sym: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4891 * nptl/lowlevelrwlock.sym: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4893 * nptl/pt-fork.c: ... here.
4894 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4895 * nptl/pthread-pi-defines.sym: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4897 * nptl/pthread_attr_getaffinity.c: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4899 * nptl/pthread_attr_setaffinity.c: ... here.
4900 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4901 * nptl/pthread_mutex_cond_lock.c: ... here.
4902 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4904 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4905 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4906 * nptl/pthread_once.c: ... here, replacing old file.
4907 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4908 * nptl/pthread_yield.c: ... here.
4909 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4910 * nptl/register-atfork.c: ... here.
4911 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4912 * nptl/sem_post.c: ... here.
4913 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4914 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4915 * nptl/sem_timedwait.c: ... here.
4916 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4917 * nptl/sem_trywait.c: ... here.
4918 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4919 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4920 * nptl/sem_wait.c: ... here.
4921 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4922 * nptl/structsem.sym: ... here.
4923 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4924 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4925 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4926 * nptl/unregister-atfork.c: ... here.
4927 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4928 * nptl/unwindbuf.sym: ... here.
4929 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4930 * sysdeps/nptl/fork.c: ... here.
4931 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4932 * sysdeps/nptl/fork.h: ... here.
4933 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4934 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4935 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4936 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4937 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4938 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4939 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4940 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4941 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4942 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4943 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4944 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4945 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4946 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4947 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4948 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4949 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4950 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4951 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4952 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4953 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4954 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4955 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4956 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4957 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4958 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4959 * sysdeps/unix/sysv/linux/raise.c: ... here.
4960 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4961 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4962 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4963 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4964 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4965 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4966 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4967 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4968 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4969 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4970 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4971 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4972 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4973 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4974 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4976 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4978 * sysdeps/generic/memcopy.h: Add comment for
4979 MEMCPY_OK_FOR_FWD_MEMMOVE.
4981 2014-07-04 Will Newton <will.newton@linaro.org>
4983 * string/memchr.c: Merge from gnulib.
4984 [_LIBC]: Remove conditionals.
4985 (__ptr_t): Remove define.
4986 (LONG_MAX_32_BITS): Likewise.
4987 (LONG_MAX): Likewise.
4988 (MEMCHR): Use ANSI prototype and optimize algorithm.
4990 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4992 2014-07-03 Roland McGrath <roland@hack.frob.com>
4994 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4995 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4997 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4998 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4999 in a bare environment with no <stdlib.h> installed.
5000 * sysdeps/nptl/configure: Regenerated.
5002 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5004 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5005 AC_EGREP_CPP for kernel header checks, so they only succeed if
5006 including <linux/version.h> actually works right.
5007 * sysdeps/unix/sysv/linux/configure: Regenerated.
5009 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5010 value so it's not diagnosed as unused.
5012 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5013 thing) with "ifeq ($(subdir),rt)".
5015 2014-07-03 Richard Henderson <rth@redhat.com>
5017 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5018 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5019 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5021 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5022 (math_force_eval): New.
5024 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5025 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5027 * sysdeps/alpha/fpu/s_round.c: Remove file.
5028 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5030 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5031 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5032 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5033 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5034 (_dl_start, print_statistics): Likewise.
5035 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5036 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5038 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5039 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5040 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5041 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5042 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5043 (HP_SMALL_TIMING_AVAIL): Define.
5044 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5045 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5046 (HP_SMALL_TIMING_AVAIL): Define.
5047 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5048 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5050 * sysdeps/aarch64/hp-timing.h: New file.
5052 * sysdeps/generic/hp-timing.h: Remove dead comment.
5053 * sysdeps/generic/hp-timing-common.h: New file.
5054 * sysdeps/alpha/hp-timing.h: Include it.
5055 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5056 * sysdeps/i386/i686/hp-timing.h: Likewise.
5057 * sysdeps/ia64/hp-timing.h: Likewise.
5058 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5059 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5060 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5061 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5062 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5063 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5066 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5067 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5068 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5069 * elf/rtld.c (_dl_start_final): Likewise.
5070 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5071 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5072 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5073 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5074 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5075 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5076 (HP_TIMING_DIFF_INIT): Remove.
5077 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5078 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5079 (HP_TIMING_DIFF_INIT): Remove.
5080 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5081 * sysdeps/i386/i686/hp-timing.c: Remove file.
5082 * sysdeps/x86_64/hp-timing.c: Remove file.
5083 * sysdeps/ia64/hp-timing.c: Remove file.
5084 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5085 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5086 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5087 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5089 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5090 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5091 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5092 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5093 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5094 (HP_TIMING_ACCUM): Remove.
5095 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5096 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5097 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5099 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5100 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5101 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5102 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5103 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5104 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5105 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5106 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5108 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5110 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5112 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5114 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5116 Sync up with gettext.
5117 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5118 [_MSC_VER]: Include malloc.h
5119 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5120 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5121 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5122 TEMP_FAILURE_RETRY. Cast return of alloca.
5123 [!_LIBC] Call gl_rwlock_init.
5124 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5126 2014-07-02 Roland McGrath <roland@hack.frob.com>
5128 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5129 before checking its value.
5131 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5133 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5135 * debug/memcpy_chk.c: Don't include pagecopy.h.
5136 * debug/mempcpy_chk.c: Likewise.
5137 * string/memcpy.c: Likewise.
5138 * string/memmove.c: Likewise.
5139 * sysdeps/powerpc/memmove.c: Likewise.
5140 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5141 definition of PAGE_COPY_FWD_MAYBE here...
5142 * sysdeps/generic/pagecopy.h: ... from here.
5143 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5145 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5146 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5148 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5152 (__libc_ifunc_impl_list): Likewise.
5153 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5154 multiarch strcat for PPC64.
5155 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5156 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5158 2014-07-02 Roland McGrath <roland@hack.frob.com>
5160 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5162 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5164 * intl/loadmsgcat.c: Remove declaration of
5165 get_sysdep_segment_value.
5166 (get_sysdep_segment_value): Use ISO C style.
5167 (_nl_load_domain): Use ISO C style. Get rid of redundant
5168 semicolon. Fix typo and formatting in comment.
5169 (_nl_unload_domain): Use ISO C style.
5171 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5173 2014-07-02 Will Newton <will.newton@linaro.org>
5175 * malloc/obstack.c: Merge from gnulib master.
5176 [HAVE_CONFIG_H]: Remove conditional code.
5177 [!_LIBC]: Include config.h.
5178 [!ELIDE_CODE]: Don't include inttypes.h, include
5179 stdint.h unconditionally.
5180 (print_and_abort): Mark as _Noreturn.
5181 (_obstack_allocated_p): Mark as __attribute_pure__.
5182 (obstack_free): Rename to __obstack_free.
5183 [!__attribute__]: Remove conditional code.
5184 * malloc/obstack.h: Merge from gnulib master.
5185 [__cplusplus]: Move conditional down.
5186 [!__attribute_pure__]: Define __attribute_pure__ here
5187 if it is not already defined.
5188 (_obstack_memory_used): Mark as __attribute_pure__.
5189 [!__obstack_free]: Define as obstack_free.
5190 [__GNUC__]: Remove check for ancient NeXT gcc.
5192 2014-07-02 Will Newton <will.newton@linaro.org>
5193 Paul Eggert <eggert@cs.ucla.edu>
5195 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5197 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5199 * resolv/gethnamaddr.c: Add comment warning that the file is
5202 2014-07-01 Carlos O'Donell <carlos@redhat.com>
5204 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5207 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5208 entry for aio_cancel and aio_cancel64.
5209 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5210 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5211 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5212 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5213 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5214 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5215 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5216 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5217 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5218 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5219 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5220 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5221 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5223 2014-07-01 Roland McGrath <roland@hack.frob.com>
5225 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5226 * nptl/pthread_mutex_lock.c: Likewise.
5227 * nptl/pthread_mutex_timedlock.c: Likewise.
5228 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5230 2014-07-01 Richard henderson <rth@redhat.com>
5232 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5233 (__isnan, __isnanl): Remove.
5234 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5236 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5238 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5240 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5242 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5244 * resolv/nss_dns/dns-host.c (getanswer_r)
5245 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5247 2014-07-01 Joseph Myers <joseph@codesourcery.com>
5249 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5250 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5252 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5253 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5255 2014-07-01 Roland McGrath <roland@hack.frob.com>
5257 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5258 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5260 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5261 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5263 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5264 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5266 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5267 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5269 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5270 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5271 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5272 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5274 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5275 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5276 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5277 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5278 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5280 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5282 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5283 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5284 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5285 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5286 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5287 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5288 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5289 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5290 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5291 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5292 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5293 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5295 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5296 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5297 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5298 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5299 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5300 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5301 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5303 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5304 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5305 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5306 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5307 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5308 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5309 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5310 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5312 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5314 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5315 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5316 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5319 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5323 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5325 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5326 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5328 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5330 * sysdeps/arm/libm-test-ulps: Regenerated.
5332 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5333 Roland McGrath <roland@hack.frob.com>
5335 * test-skeleton.c (signal_handler): Kill the whole process group
5336 before killing the child individually.
5337 (main): Report any failure on `setpgid'.
5339 2014-06-30 Roland McGrath <roland@hack.frob.com>
5341 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5342 from _TLS_H to _ARM_NPTL_TLS_H.
5343 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5344 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5346 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5349 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5350 (__expm1l): Return argument unchanged when small but not
5353 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5355 (_FP_UNPACK_RAW_1_P): Likewise.
5356 (_FP_PACK_RAW_1): Likewise.
5357 (_FP_PACK_RAW_1_P): Likewise.
5358 (_FP_MUL_MEAT_1_wide): Likewise.
5359 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5360 (_FP_MUL_MEAT_1_hard): Likewise.
5361 (_FP_DIV_MEAT_1_imm): Likewise.
5362 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5363 (_FP_DIV_MEAT_1_udiv): Likewise.
5364 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5365 (_FP_UNPACK_RAW_2): Likewise.
5366 (_FP_UNPACK_RAW_2_P): Likewise.
5367 (_FP_PACK_RAW_2): Likewise.
5368 (_FP_PACK_RAW_2_P): Likewise.
5369 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5370 (_FP_MUL_MEAT_2_wide): Likewise.
5371 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5372 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5373 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5374 (_FP_MUL_MEAT_2_gmp): Likewise.
5375 (_FP_DIV_MEAT_2_udiv): Likewise.
5376 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5377 (_FP_FRAC_SRL_4): Likewise.
5378 (_FP_FRAC_SRST_4): Likewise.
5379 (_FP_FRAC_SRS_4): Likewise.
5380 (_FP_UNPACK_RAW_4): Likewise.
5381 (_FP_UNPACK_RAW_4_P): Likewise.
5382 (_FP_PACK_RAW_4): Likewise.
5383 (_FP_PACK_RAW_4_P): Likewise.
5384 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5385 (_FP_MUL_MEAT_4_wide): Likewise.
5386 (_FP_MUL_MEAT_4_gmp): Likewise.
5387 (umul_ppppmnnn): Likewise.
5388 (_FP_DIV_MEAT_4_udiv): Likewise.
5389 (__FP_FRAC_ADD_4): Likewise.
5390 (__FP_FRAC_SUB_3): Likewise.
5391 (__FP_FRAC_SUB_4): Likewise.
5392 (__FP_FRAC_DEC_3): Likewise.
5393 (__FP_FRAC_DEC_4): Likewise.
5394 (__FP_FRAC_ADDI_4): Likewise.
5395 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5396 (_FP_FRAC_SRL_8): Likewise.
5397 (_FP_FRAC_SRS_8): Likewise.
5399 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5401 (FP_UNPACK_RAW_EP): Likewise.
5402 (FP_PACK_RAW_E): Likewise.
5403 (FP_PACK_RAW_EP): Likewise.
5404 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5405 (_FP_ISSIGNAN): Likewise.
5406 (_FP_ADD_INTERNAL): Likewise.
5407 (_FP_FMA): Likewise.
5408 (_FP_CMP): Likewise.
5409 (_FP_SQRT): Likewise.
5410 (_FP_TO_INT): Likewise.
5411 (_FP_FROM_INT): Likewise.
5412 (FP_EXTEND): Likewise.
5413 (_FP_DIV_MEAT_N_loop): Likewise.
5415 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5417 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5420 2014-06-29 Joseph Myers <joseph@codesourcery.com>
5423 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5424 result with correct sign in case of exponents that produce
5425 overflow except for X very close to 1.
5427 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5429 mktime: merge #if/#ifdef usage from glibc
5430 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5431 as that works with both Glibc's and Gnulib's style.
5432 See thread starting at Siddhesh Poyarekar's bug report at:
5433 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5435 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5437 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5438 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5439 * sysdeps/tile/tilegx/memmove.c: Remove file.
5441 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5443 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5444 abi-name definition.
5445 * scripts/soversions.awk: Do not handle or generate ABI lines.
5446 * shlib-versions: Remove ABI entries.
5447 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5448 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5450 2014-06-27 Roland McGrath <roland@hack.frob.com>
5452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5453 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5454 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5455 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5456 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5457 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5460 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5462 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5463 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5464 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5465 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5466 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5467 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5469 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5471 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5472 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5473 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5474 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5476 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5477 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5478 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5479 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5480 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5481 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5483 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5484 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5486 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5488 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5489 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5491 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5493 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5494 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5495 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5497 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5500 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5501 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5502 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5503 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5505 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5506 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5508 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5509 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5510 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5511 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5513 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5515 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5516 Identical file removed.
5517 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5519 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5520 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5521 Identical file removed.
5522 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5523 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5524 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5526 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5527 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5528 Identical file removed.
5529 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5530 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5532 Identical file removed.
5533 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5534 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5535 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5536 Identical file removed.
5537 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5538 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5539 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5540 Identical file removed.
5541 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5543 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5545 Identical file removed.
5546 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5548 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5549 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5550 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5551 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5552 Identical file removed.
5553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5555 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5557 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5558 Identical file removed.
5559 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5561 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5562 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5563 Identical file removed.
5564 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5566 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5567 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5568 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5569 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5570 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5571 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5573 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5574 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5575 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5577 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5578 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5579 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5580 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5581 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5583 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
5586 * nscd/nscd.c (monitor_child): Return exit status of child
5587 instead of return value from wait syscall.
5589 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5591 * configure.ac (libc_commonpagesize): Remove variable.
5592 (libc_relro_required): Likewise.
5593 (libc_cv_z_relro): Remove configure test.
5594 * configure: Regenerated.
5595 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5597 (libc_relro_required): Likewise.
5598 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5599 (libc_relro_required): Likewise.
5600 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5601 (libc_relro_required): Likewise.
5602 * sysdeps/arm/preconfigure: Regenerated.
5603 * sysdeps/ia64/preconfigure: Remove file.
5604 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5606 (libc_relro_required): Likewise.
5610 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5611 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5612 recompute overflowing results in original rounding mode.
5613 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5614 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5615 recompute overflowing results in original rounding mode.
5616 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5617 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5618 recompute overflowing results in original rounding mode.
5619 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5620 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5621 recompute overflowing results in original rounding mode.
5622 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5623 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5624 recompute overflowing results in original rounding mode.
5625 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5626 (libc_feholdsetround_ctx): New macro.
5627 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5628 * sysdeps/i386/fpu/libm-test-ulps: Update.
5629 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5631 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5633 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5634 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5635 corresponding .cpsetup call.
5637 2014-06-26 Roland McGrath <roland@hack.frob.com>
5639 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5640 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5641 * sysdeps/arm/Makefile [$(subdir) = csu]
5642 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5643 (static-only-routines): Add aeabi_read_tp here.
5644 (shared-only-routines): Add libc-aeabi_read_tp here.
5645 (CFLAGS-libc-start.c): Add -fexceptions here.
5646 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5647 (sysdep_routines, static-only-routines, shared-only-routines):
5648 Don't add to these here.
5649 (CFLAGS-libc-start.c): Likewise.
5651 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5652 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5653 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5654 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5655 * sysdeps/arm/Makefile [$(subdir) = rt]
5656 (librt-sysdep_routines, librt-shared-only-routines):
5657 Append rt-aeabi_unwind_cpp_pr1 here.
5658 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5659 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5660 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5661 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5662 Append nptl-aeabi_unwind_cpp_pr1 here.
5663 (tests): Filter out tst-cleanupx4 here.
5664 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5665 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5666 Don't do those here.
5668 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5670 * scripts/list-sources.sh: Do not handle ports specially.
5672 2014-06-26 Roland McGrath <roland@hack.frob.com>
5674 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5675 * sysdeps/arm/feupdateenv.c: Likewise.
5677 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5679 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5681 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5682 trailing whitespace removed.
5683 * scripts/config.guess: Update to version 2014-03-23.
5684 * scripts/config.sub: Update to version 2014-05-01
5685 * scripts/install-sh: Update to version 2013-12-25.23.
5686 * scripts/move-if-change: Update from gnulib.
5688 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5690 * debug/memmove_chk.c: Remove pagecopy.h include.
5692 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5694 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5695 identical to gnulib mktime.
5697 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5699 * configure.ac: Do not test for machine being rs6000. Do not test
5701 * configure: Regenerated.
5703 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5705 * configure: Regenerated.
5706 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5707 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5708 Remove configure test.
5709 * sysdeps/arm/configure: Regenerated.
5710 * sysdeps/nptl/configure.ac: Do not check
5711 libc_cv_asm_cfi_directives.
5712 * sysdeps/nptl/configure: Regenerated.
5713 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5714 * sysdeps/x86_64/nptl/configure: Remove generated file.
5715 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5717 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5719 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5721 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5722 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5723 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5726 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5727 instead of whether it is defined.
5728 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5729 * sysdeps/hppa/dl-machine.h: Likewise.
5730 * sysdeps/ia64/dl-machine.h: Likewise.
5731 * sysdeps/m68k/dl-machine.h: Likewise.
5732 * sysdeps/microblaze/dl-machine.h: Likewise.
5733 * sysdeps/mips/dl-machine.: Likewise.
5734 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5735 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5736 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5737 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5738 * sysdeps/sh/dl-machine.h: Likewise.
5739 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5740 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5741 * sysdeps/tile/dl-machine.h: Likewise.
5742 * sysdeps/x86_64/dl-machine.h: Likewise.
5744 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5746 (verify_persistent_db): Likewise.
5748 2014-06-26 Roland McGrath <roland@hack.frob.com>
5750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5751 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5753 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5756 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5759 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5761 Identical file removed.
5762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5763 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5765 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5767 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5769 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5771 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5774 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5776 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5778 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5781 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5783 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5785 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5787 Identical file removed.
5788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5789 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5791 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5794 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5797 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5799 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5801 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5803 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5805 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5808 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5811 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5813 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5816 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5818 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5820 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5822 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5823 * sysdeps/unix/sysv/linux/s390/Versions
5824 (libpthread: GLIBC_2.19): New version set.
5825 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5826 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5827 (librt: GLIBC_2.3.3): New version set.
5828 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5829 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5830 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5831 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5832 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5833 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5834 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5835 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5836 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5837 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5838 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5839 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5840 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5841 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5842 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5843 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5844 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5845 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5846 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5847 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5848 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5849 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5850 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5851 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5852 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5853 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5854 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5855 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5856 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5857 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5858 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5859 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5860 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5861 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5862 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5864 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5865 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5866 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5867 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5868 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5869 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5870 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5871 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5872 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5874 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5875 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5876 (__libc_vfork): Define the function under this name.
5877 [!NOT_IN_libc] (__vfork): Make this an alias.
5878 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5879 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5880 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5881 (__libc_vfork): Define the function under this name.
5882 [!NOT_IN_libc] (__vfork): Make this an alias.
5883 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5884 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5885 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5886 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5887 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5888 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5890 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5891 code that was previously under [RESET_PID].
5892 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5893 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5894 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5896 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5897 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5898 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5899 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5900 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5901 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5902 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5903 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5904 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5905 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5906 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5908 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5909 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5910 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5912 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5913 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5914 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5915 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5916 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5917 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5918 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5919 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5920 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5921 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5922 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5923 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5924 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5925 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5926 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5927 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5928 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5929 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5930 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5931 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5932 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5933 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5934 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5935 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5936 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5938 2014-06-25 Roland McGrath <roland@hack.frob.com>
5940 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5941 that was previously under [RESET_PID].
5942 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5944 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5946 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5947 not undefine and redefine.
5948 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5949 [O_CLOEXEC]: Make code unconditional.
5950 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5951 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5952 <kernel-features.h>.
5953 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5954 conditional variable definition.
5955 (shm_open) [O_CLOEXEC]: Make code unconditional.
5956 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5959 * configure.ac (USE_REGPARMS): Don't define here.
5960 * configure: Regenerated.
5961 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5962 * sysdeps/i386/configure: Regenerated.
5964 * nptl/createthread.c: Don't include kernel-features.h.
5965 * nptl/pthread_cancel.c: Likewise.
5966 * nptl/pthread_condattr_setclock.c: Likewise.
5967 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5968 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5969 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5970 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5971 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5972 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5973 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5974 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5975 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5976 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5977 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5978 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5979 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5980 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5981 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5982 * nscd/gai.c: Likewise.
5983 * nss/nss_db/db-open.c: Likewise.
5984 * sysdeps/generic/ldsodefs.h: Likewise.
5985 * sysdeps/sh/nptl/tls.h: Likewise.
5986 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5987 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5988 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5989 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5990 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5991 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5992 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5993 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5994 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5995 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5996 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5997 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5998 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5999 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6000 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6001 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6002 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6003 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6004 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6005 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6006 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6007 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6008 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6009 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6010 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6011 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6012 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6013 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6014 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6015 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6016 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6017 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6018 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6019 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6020 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6021 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6022 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6023 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6024 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6025 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6026 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6027 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6028 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6029 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6030 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6031 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6032 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6033 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6034 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6035 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6036 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6037 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6038 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6039 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6040 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6041 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6042 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6043 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6066 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6067 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6068 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6069 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6070 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6071 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6072 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6073 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6074 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6075 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6076 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6077 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6078 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6079 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6080 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6081 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6082 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6083 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6084 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6085 * sysdeps/unix/sysv/linux/system.c: Likewise.
6086 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6087 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6088 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6089 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6090 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6091 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6092 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6094 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6095 * configure: Regenerated.
6096 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6098 * configure.ac (base_machine): Do not set specially for particular
6100 * configure: Regenerated.
6101 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6102 settings from configure.ac.
6103 * sysdeps/i386/preconfigure: New file.
6104 * sysdeps/s390/preconfigure: Likewise.
6105 * sysdeps/sh/preconfigure: Likewise.
6106 * sysdeps/sparc/preconfigure: Likewise.
6108 2014-06-25 Roland McGrath <roland@hack.frob.com>
6110 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6111 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6112 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6113 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6114 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6115 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6116 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6117 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6118 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6119 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6120 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6121 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6122 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6123 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6124 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6125 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6126 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6127 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6128 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6130 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6131 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6132 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6133 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6134 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6135 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6136 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6137 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6138 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6139 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6140 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6141 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6142 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6143 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6144 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6145 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6146 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6147 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6148 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6149 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6150 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6151 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6152 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6153 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6154 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6155 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6156 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6157 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6158 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6159 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6160 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6161 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6162 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6163 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6164 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6165 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6166 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6167 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6170 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6172 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6175 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6178 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6180 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6183 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6185 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6187 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6189 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6192 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6195 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6197 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6200 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6202 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6204 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6206 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6208 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6211 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6214 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6216 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6219 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6221 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6223 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6225 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6228 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6231 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6233 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6236 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6238 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6240 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6242 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6244 * timezone/checktab.awk: Update from tzcode 2014e.
6245 * timezone/private.h: Likewise.
6246 * timezone/tzfile.h: Likewise.
6247 * timezone/zdump.c: Likewise.
6248 * timezone/zic.c: Likewise.
6250 * sysdeps/unix/sysv/linux/kernel-features.h
6251 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6252 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6253 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6254 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6255 Remove conditional code.
6257 2014-06-25 Will Newton <will.newton@linaro.org>
6259 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6260 (_dl_arm_cap_flags): Add HWCAP2 values.
6261 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6262 (_DL_HWCAP_COUNT): Increase to 37.
6263 (_DL_HWCAP_LAST): New define.
6264 (_DL_HWCAP2_LAST): New define.
6265 (_dl_procinfo): Add support for printing
6267 (_dl_string_hwcap): Use _dl_hwcap_string.
6269 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6273 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6275 * README: Do not mention ports directory.
6277 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6279 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6280 <kernel-features.h>.
6281 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6282 conditional variable definition.
6283 (__futimes): Update comment.
6284 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6285 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6288 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6289 arguments close to 0.
6290 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6292 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6294 * math/auto-libm-test-in: Add more tests of exp10.
6295 * math/auto-libm-test-out: Regenerated.
6296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6298 * sysdeps/unix/sysv/linux/kernel-features.h
6299 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6300 * sysdeps/unix/sysv/linux/readv.c: Do not include
6301 <kernel-features.h>.
6302 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6303 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6304 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6306 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6308 * sysdeps/unix/sysv/linux/writev.c: Do not include
6309 <kernel-features.h>.
6310 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6311 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6312 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6314 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6317 2014-06-25 Will Newton <will.newton@linaro.org>
6319 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6320 comment changes throughout the file. Remove checks
6321 for HAVE_*_H definitions that are not required.
6322 (__gen_tempname): Call abort if an unknown kind value is
6325 2014-06-25 Andreas Schwab <schwab@suse.de>
6328 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6329 scalbln, scalblnf, scalblnl in libc.
6331 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6334 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6335 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6336 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6338 2014-06-24 Roland McGrath <roland@hack.frob.com>
6340 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6341 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6342 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6343 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6345 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6346 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6348 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6349 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6350 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6351 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6352 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6353 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6354 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6355 * sysdeps/x86/bits/semaphore.h: ... here.
6356 * sysdeps/x86/nptl/elide.h: Moved ...
6357 * sysdeps/x86/elide.h: ... here.
6358 * sysdeps/x86_64/nptl/Implies: File removed.
6359 * sysdeps/i386/nptl/Implies: File removed.
6361 2014-06-24 Joseph Myers <joseph@codesourcery.com>
6364 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6365 return the argument for normal arguments with exponent below -64.
6366 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6368 * math/auto-libm-test-in: Add another test of expm1.
6369 * math/auto-libm-test-out: Regenerated.
6372 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6373 calling __erfcl for arguments at least 16.
6374 * math/auto-libm-test-in: Add more tests of erf.
6375 * math/auto-libm-test-out: Regenerated.
6377 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6378 individual architectures.
6379 * sysdeps/unix/sysv/linux/configure: Regenerated.
6380 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6381 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6382 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6383 (ldd_rewrite_script): Define variable.
6384 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6389 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6390 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6391 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6392 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6393 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6394 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6395 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6396 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6398 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6401 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6402 Rename member __data.d to __data.__elision_data.
6404 2014-06-24 Wilco <wdijkstr@arm.com>
6406 * NEWS: Add 16918 to fixed bug list.
6408 2014-06-24 Wilco <wdijkstr@arm.com>
6410 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6412 2014-06-24 Wilco <wdijkstr@arm.com>
6414 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6415 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6416 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6417 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6418 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6419 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6420 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6423 2014-06-24 Wilco <wdijkstr@arm.com>
6425 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6427 2014-06-24 Wilco <wdijkstr@arm.com>
6429 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6430 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6431 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6432 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6434 2014-06-24 Wilco <wdijkstr@arm.com>
6437 * sysdeps/arm/feupdateenv.c (feupdateenv):
6438 Rewrite to reduce FPSCR accesses and fix return value.
6440 2014-06-24 Wilco <wdijkstr@arm.com>
6442 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6443 Optimize to avoid unnecessary FPSCR writes.
6444 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6445 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6446 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6447 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6449 2014-06-24 Wilco <wdijkstr@arm.com>
6451 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6452 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6453 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6454 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6455 Call libc_fetestexcept_vfp.
6456 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6457 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6458 __SOFTFP__ ifdef so that they can be built for softfp.
6460 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6462 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6463 argument type signed char.
6465 * Makerules (check-abi): Dump diff of symlist if the test
6468 2014-06-23 Roland McGrath <roland@hack.frob.com>
6470 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6473 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6474 Remove unused variable ST.
6476 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6480 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6481 small arguments before calling __expm1.
6482 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6483 small arguments before calling __expm1f.
6484 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6485 small arguments before calling __expm1l.
6486 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6488 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6489 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6490 spurious underflow for some cosh tests.
6491 * math/auto-libm-test-out: Regenerated.
6492 * sysdeps/i386/fpu/libm-test-ulps: Update.
6495 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6496 (__ieee754_y1): Set errno if return value overflows.
6497 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6498 (__ieee754_y1f): Set errno if return value overflows.
6499 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6500 (__ieee754_y1l): Set errno if return value overflows.
6501 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6502 (__ieee754_y1l): Set errno if return value overflows.
6503 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6504 * math/auto-libm-test-out: Regenerated.
6506 * math/gen-auto-libm-tests.c: Document use of
6507 ignore-zero-inf-sign.
6508 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6509 (input_flags): Add ignore-zero-inf-sign.
6510 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6511 * math/gen-libm-test.pl (generate_testfile): Handle
6512 ignore-zero-inf-sign.
6513 * math/auto-libm-test-in: Mark some cpow tests with
6514 ignore-zero-inf-sign and some with xfail-rounding.
6515 * math/auto-libm-test-out: Regenerated.
6516 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6517 * sysdeps/i386/fpu/libm-test-ulps: Update.
6518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6521 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6522 overflowing or underflowing operations take place with sign of
6524 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6525 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6526 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6527 (__ieee754_pow): Recompute overflowing and underflowing results in
6528 original rounding mode.
6529 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6530 (__powl_helper): Allow negative argument X and scale negated value
6531 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6532 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6533 overflowing or underflowing operations take place with sign of
6535 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6537 * math/auto-libm-test-in: Add more tests of pow.
6538 * math/auto-libm-test-out: Regenerated.
6539 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6540 (pow_tonearest_test_data): Remove.
6541 (pow_test_tonearest): Likewise.
6542 (pow_towardzero_test_data): Likewise.
6543 (pow_test_towardzero): Likewise.
6544 (pow_downward_test_data): Likewise.
6545 (pow_test_downward): Likewise.
6546 (pow_upward_test_data): Likewise.
6547 (pow_test_upward): Likewise.
6548 (main): Don't call removed functions.
6549 * sysdeps/i386/fpu/libm-test-ulps: Update.
6550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6552 2014-06-23 Roland McGrath <roland@hack.frob.com>
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6728 2014-06-23 Will Newton <will.newton@linaro.org>
6729 Wilco <wdijkstr@arm.com>
6731 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6732 implementation. Include get-rounding-mode.h.
6733 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6734 [!libc_feholdsetround_noex_ctx]: Define
6735 libc_feholdsetround_noex_ctx.
6736 [!libc_feholdsetround_noexf_ctx]: Define
6737 libc_feholdsetround_noexf_ctx.
6738 [!libc_feholdsetround_noexl_ctx]: Define
6739 libc_feholdsetround_noexl_ctx.
6740 (libc_feholdsetround_ctx): New function.
6741 (libc_feresetround_ctx): New function.
6742 (libc_feholdsetround_noex_ctx): New function.
6743 (libc_feresetround_noex_ctx): New function.
6745 2014-06-23 Roland McGrath <roland@hack.frob.com>
6747 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6748 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6749 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6750 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6751 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6752 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6754 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6755 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6756 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6757 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6758 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6759 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6760 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6761 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6762 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6763 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6764 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6766 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6768 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6769 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6770 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6771 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6772 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6774 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6775 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6776 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6777 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6778 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6779 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6780 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6781 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6783 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6784 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6786 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6787 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6788 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6789 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6791 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6792 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6793 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6794 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6795 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6796 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6797 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6798 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6799 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6800 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6802 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6804 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6805 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6806 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6807 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6808 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6809 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6810 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6811 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6812 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6813 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6814 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6815 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6816 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6818 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6819 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6820 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6821 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6822 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6823 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6825 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6826 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6827 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6828 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6829 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6831 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6832 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6833 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6834 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6835 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6836 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6837 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6838 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6839 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6840 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6841 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6842 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6843 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6844 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6845 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6846 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6847 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6848 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6849 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6850 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6851 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6852 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6853 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6854 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6855 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6856 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6857 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6858 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6860 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6862 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6863 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6864 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6865 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6866 (IPV6_PMTUDISC_INTERFACE): Likewise.
6867 (IPV6_PMTUDISC_OMIT): Likewise.
6869 2014-06-23 Andreas Schwab <schwab@suse.de>
6871 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6872 Remove unused errout label.
6874 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6876 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6877 macro: hardware supports Vector Crypto instructions.
6879 2014-06-23 Will Newton <will.newton@linaro.org>
6881 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6882 rather than __builtin_expect.
6884 * elf/dl-lookup.c (undefined_msg): Remove variable.
6885 (_dl_lookup_symbol_x): Replace undefined_msg with string
6888 * elf/dl-lookup.c (do_lookup_unique): New function.
6889 (do_lookup_x): Move STB_GNU_UNIQUE handling code
6890 to a separate function.
6892 2014-06-23 Andreas Schwab <schwab@suse.de>
6895 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6896 before reading the next line.
6898 2014-06-23 Will Newton <will.newton@linaro.org>
6900 * test-skeleton.c (signal_handler): Use printf and %m
6901 rather than perror. Use printf rather than fprintf to
6902 stderr. Use puts rather than fputs to stderr.
6905 2014-06-22 Ludovic Courtès <ludo@gnu.org>
6907 * nscd/nscd.c (thread_info_t): Remove typedef.
6908 (thread_info): Remove variable.
6910 2014-06-21 Allan McRae <allan@archlinux.org>
6912 * NEWS: Mention CVE-2014-4043.
6914 2014-06-20 Roland McGrath <roland@hack.frob.com>
6916 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6917 * nptl/smp.h: ... here.
6919 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6921 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6922 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6923 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6924 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6926 * nptl/allocatestack.c: Include <stack-aliasing.h>.
6927 * nptl/stack-aliasing.h: New file.
6928 * sysdeps/i386/i686/stack-aliasing.h: New file.
6929 * sysdeps/i386/i686/nptl/Makefile: File removed.
6930 * sysdeps/x86_64/stack-aliasing.h: New file.
6931 * sysdeps/x86_64/nptl/Makefile
6932 (CFLAGS-pthread_create.c): Variable removed.
6934 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6935 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6937 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6938 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6941 2014-06-21 Joseph Myers <joseph@codesourcery.com>
6943 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6944 (__ASSUME_SIGFRAME_V2): Remove macro.
6945 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6946 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6947 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6948 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6949 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6950 Declare as function. Remove conditional macro definitions.
6951 (__default_rt_sa_restorer): Likewise.
6952 (__default_sa_restorer_v1): Remove declaration.
6953 (__default_sa_restorer_v2): Likewise.
6954 (__default_rt_sa_restorer_v1): Likewise.
6955 (__default_rt_sa_restorer_v2): Likewise.
6956 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6957 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6958 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6960 2014-06-20 Roland McGrath <roland@hack.frob.com>
6962 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6963 (libpthread-routines): Add sysdep.
6964 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6965 * sysdeps/unix/sysv/linux/sparc/Versions
6966 (libpthread: GLIBC_2.3.3): New version set.
6967 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6968 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6969 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6970 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6971 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6972 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6974 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6975 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6976 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6977 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6978 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6979 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6980 * sysdeps/sparc/nptl/sem_init.c: ... here.
6981 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6982 * sysdeps/sparc/nptl/sem_post.c: ... here.
6983 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6984 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6985 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6986 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6987 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6988 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6989 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6990 (libpthread-routines): Add cpu_relax.
6991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6993 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6994 (librt: GLIBC_2.3.3): New version set.
6995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6996 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6997 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6998 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7001 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7004 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7006 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7008 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7010 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7012 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7013 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7015 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7019 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7023 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7027 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7031 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7035 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7038 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7040 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7042 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7044 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7046 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7049 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7051 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7053 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7055 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7057 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7058 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7059 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7060 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7061 * nscd/nscd.c: Likewise.
7062 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7063 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7064 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7065 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7067 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7068 <kernel-features.h>.
7069 (init_mq_netlink): Remove conditional have_sock_cloexec
7070 definitions. Remove code conditional on have_sock_cloexec < 0.
7071 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7072 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7073 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7074 <kernel-features.h>.
7075 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7076 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7078 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7080 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7081 Add tests for memset_chk and memset.
7083 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7086 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7089 * elf/tst-dl-iter-static.c: New file.
7090 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7092 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7095 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7097 * sysdeps/unix/sysv/linux/kernel-features.h
7098 (__ASSUME_F_GETOWN_EX): Remove macro.
7099 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7100 <kernel-features.h>.
7101 (miss_F_GETOWN_EX): Remove variable or macro.
7102 (do_fcntl): Do not check miss_F_GETOWN_EX.
7103 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7105 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7108 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7109 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7111 * sysdeps/unix/sysv/linux/kernel-features.h
7112 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7113 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7114 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7115 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7117 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7120 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7121 Fix calculation of the symbol's value.
7122 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7123 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7124 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7125 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7126 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7127 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7128 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7129 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7130 (modules-names): Add `tst-armtlsdescmod',
7131 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7132 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7133 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7134 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7135 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7136 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7137 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7138 ($(objpfx)tst-armtlsdescloc): New dependency.
7139 ($(objpfx)tst-armtlsdescextnow): Likewise.
7140 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7141 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7143 * sysdeps/arm/configure: Regenerate.
7145 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7147 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7148 (__atfct_seterrno_2): Likewise.
7149 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7150 <kernel-features.h>.
7151 (__ASSUME_ATFCTS): Do not undefine and redefine.
7152 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7153 (__have_atfcts): Remove conditional definition.
7154 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7155 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7156 unreachable if [__ASSUME_ATFCTS].
7157 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7158 not undefine and redefine.
7159 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7160 <kernel-features.h>.
7161 (faccessat) [__NR_faccessat]: Make code unconditional.
7162 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7163 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7164 <kernel-features.h>.
7165 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7166 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7167 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7168 <kernel-features.h>.
7169 (fchownat) [__NR_fchownat]: Make code unconditional.
7170 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7171 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7172 <kernel-features.h>.
7173 (futimesat) [__NR_futimesat]: Make code unconditional.
7174 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7175 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7176 <kernel-features.h>.
7177 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7178 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7179 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7180 <kernel-features.h>.
7181 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7182 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7183 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7184 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7185 <kernel-features.h>.
7186 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7187 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7188 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7189 <kernel-features.h>.
7190 (linkat) [__NR_linkat]: Make code unconditional.
7191 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7192 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7193 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7194 <kernel-features.h>.
7195 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7196 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7197 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7198 <kernel-features.h>.
7199 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7200 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7201 * sysdeps/unix/sysv/linux/openat.c: Do not include
7202 <kernel-features.h>.
7203 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7204 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7205 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7206 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7207 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7208 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7209 <kernel-features.h>.
7210 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7211 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7212 result of INLINE_SYSCALL directly, not via int variable.
7213 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7214 <kernel-features.h>.
7215 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7216 (renameat) [__NR_renameat]: Make code unconditional.
7217 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7218 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7219 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7220 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7221 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7222 (__ASSUME_ATFCTS): Do not undefine and redefine.
7223 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7224 <kernel-features.h>.
7225 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7226 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7227 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7228 <kernel-features.h>.
7229 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7230 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7231 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7232 (__ASSUME_ATFCTS): Do not undefine and redefine.
7233 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7234 <kernel-features.h>.
7235 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7236 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7237 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7238 <kernel-features.h>.
7239 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7240 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7242 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7244 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7246 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7249 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7250 constructed tree before returning error.
7251 * posix/bug-regexp36.c: Expand test case.
7253 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7256 * math/libm-test.inc (scalbln_test_date):
7257 Add errno expectations.
7258 * math/w_scalblnf.c: New File.
7259 Add wrapper which checks for setting errno to ERANGE.
7260 Add weak_alias for corresponding scalbln function.
7261 * math/w_scalbln.c: Likewise.
7262 * math/w_scalblnl.c: Likewise.
7263 * math/Makefile (libm-calls): Add w_scalbln.
7264 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7265 Remove weak_alias for corresponding scalbln function.
7266 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7268 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7270 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7271 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7272 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7273 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7274 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7275 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7276 Remove long_double_symbol for scalblnl function in libm, libc.
7277 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7278 Add wrapper which checks for setting errno to ERANGE.
7279 Add long_double_symbol for scalblnl function in libm, libc.
7280 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7281 Remove long_double_symbol for scalblnl in libm.
7282 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7283 Add wrapper which checks for setting errno to ERANGE.
7284 Add long_double_symbol for scalblnl function in libm.
7285 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7286 Do not use wrapper because of own implementation.
7288 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7290 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7291 3 bytes for __pad1 for x32.
7292 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7294 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7295 H.J. Lu <hongjiu.lu@intel.com>
7297 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7298 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7299 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7300 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7301 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7303 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7306 * posix/regcomp.c (parse_expression): Deallocate partially
7307 constructed tree before returning error.
7308 * posix/Makefile.c (tests): Add bug-regex36.
7309 (generated): Add bug-regex36.mtrace.
7310 (tests-special): Add $(objpfx)bug-regex36-mem.out
7311 (bug-regex36-ENV): New variable.
7312 ($(objpfx)bug-regex36-mem.out): New rule.
7313 * posix/bug-regex36.c: New file.
7315 2014-06-19 Will Newton <will.newton@linaro.org>
7317 * malloc/malloc.c (systrim): If extra is zero then return
7320 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7322 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7324 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
7326 * sysdeps/aarch64/strchr.S: New file.
7328 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7331 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7332 from arguments -2 or below.
7333 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7334 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7336 2014-06-18 Andreas Schwab <schwab@suse.de>
7339 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7340 of a bracket expr not to run off the end of the string.
7341 * posix/Makefile (tests): Add tst-fnmatch3.
7342 * posix/tst-fnmatch3.c: New file.
7344 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7346 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7347 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7348 [$(cross-compiling) = no]: Likewise.
7349 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7350 [$(cross-compiling) = no]: Likewise.
7352 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7355 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7356 double, adjusted for any remainder from the high double.
7357 * math/libm-test.inc (nearbyint): Add tests.
7360 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7362 * nptl/sysdeps/powerpc/Makefile: Moved ...
7363 * sysdeps/powerpc/nptl/Makefile: ... here.
7364 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7365 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7366 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7367 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7368 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7369 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7370 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7371 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7372 * nptl/sysdeps/powerpc/tls.h: Moved ...
7373 * sysdeps/powerpc/nptl/tls.h: ... here.
7375 2014-06-16 Joseph Myers <joseph@codesourcery.com>
7378 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7379 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7380 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7381 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7382 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7383 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7384 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7385 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7386 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7388 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7390 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7392 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7394 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7397 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7400 2014-06-16 Florian Weimer <fweimer@redhat.com>
7403 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7404 non-executed part of the test.
7406 2014-06-16 Andreas Schwab <schwab@suse.de>
7408 * string/bits/string2.h (strdup, strndup): Update feature guard.
7410 2014-06-14 David S. Miller <davem@davemloft.net>
7412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7414 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7416 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7417 that was previously under [RESET_PID].
7418 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7420 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7421 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7422 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7423 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7424 (__libc_vfork): New strong alias.
7425 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7427 2014-06-14 Andi Kleen <ak@linux.intel.com>
7429 * sysdeps/generic/elide.h: New file.
7431 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7433 * Makefile (installed-headers): Adjust path of pthread.h header.
7435 2014-06-13 Roland McGrath <roland@hack.frob.com>
7437 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7438 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7439 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7440 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7442 * nptl/sysdeps/s390/Makefile: Moved ...
7443 * sysdeps/s390/nptl/Makefile: ... here.
7444 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7445 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7446 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7447 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7448 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7449 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7450 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7451 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7452 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7453 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7454 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7455 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7456 * nptl/sysdeps/s390/tls.h: Moved ...
7457 * sysdeps/s390/nptl/tls.h: ... here.
7459 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7460 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7462 2014-06-13 David S. Miller <davem@davemloft.net>
7464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7467 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7471 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7472 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7473 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7474 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7475 Remove RESET_PID cpp guards.
7476 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7477 Remove RESET_PID cpp guards.
7478 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7480 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7482 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7485 2014-06-13 Andi Kleen <ak@linux.intel.com>
7487 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7488 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7489 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7490 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7491 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7492 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7494 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7495 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7496 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7497 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7498 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7499 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7500 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7501 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7502 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7503 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7504 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7505 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7506 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7508 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7509 (pthread_rwlock_rdlock): Add elision.
7510 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7511 (pthread_rwlock_wrlock): Add elision.
7512 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7513 (pthread_rwlock_trywrlock): Add elision.
7514 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7515 (pthread_rwlock_tryrdlock): Add elision.
7516 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7517 (pthread_rwlock_tryrdlock): Add elision unlock.
7518 * nptl/sysdeps/pthread/pthread.h:
7519 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7520 (PTHREAD_RWLOCK_INITIALIZER,
7521 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7522 Handle new elision field.
7523 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7524 * sysdeps/arm/nptl/bits/pthreadtypes.h
7525 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7526 * sysdeps/sh/nptl/bits/pthreadtypes.h
7527 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7528 * sysdeps/tile/nptl/bits/pthreadtypes.h
7529 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7530 * sysdeps/a/nptl/bits/pthreadtypes.h
7531 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7532 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7533 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7534 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7535 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7536 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7537 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7538 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7539 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7540 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7541 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7542 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7543 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7544 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7545 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7546 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7547 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7548 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7549 (elision_init): Set try_xbegin to zero when no RTM.
7550 * sysdeps/x86/nptl/bits/pthreadtypes.h
7551 (pthread_rwlock_t): Change __pad1 to __rwelision.
7552 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7554 2014-06-13 Andi Kleen <ak@linux.intel.com>
7556 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7557 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7558 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7559 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7561 2014-06-13 Meador Inge <meadori@codesourcery.com>
7564 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7565 that the cached result has been set before returning it.
7567 2014-06-12 Roland McGrath <roland@hack.frob.com>
7569 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7570 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7571 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7572 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7573 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7574 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7576 * nptl/sysdeps/sparc/Makefile: Moved ...
7577 * sysdeps/sparc/nptl/Makefile: ... here.
7578 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7579 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7580 * nptl/sysdeps/sparc/tls.h: Moved ...
7581 * sysdeps/sparc/nptl/tls.h: ... here.
7582 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7583 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7584 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7585 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7586 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7587 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7588 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7589 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7590 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7591 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7592 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7593 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7594 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7595 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7596 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7597 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7598 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7599 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7601 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7602 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7604 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7605 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7607 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7608 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7611 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7613 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7614 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7616 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7617 (struct list_links): Type removed.
7618 (struct thread_node, struct timer_node): Replace struct list_links
7619 with struct list_head.
7620 (list_unlink_ip): Likewise.
7621 * sysdeps/pthread/timer_routines.c
7622 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7623 (list_append, list_insbefore): Likewise.
7624 (list_init): Function removed.
7625 (thread_init, init_module): Use INIT_LIST_HEAD instead.
7626 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7627 * sysdeps/pthread/Makefile: ... here, new file.
7629 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7630 * sysdeps/nptl/Implies: ... here.
7631 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7632 * nptl/sysdeps/pthread/list.h: Moved ...
7633 * include/list.h: ... here.
7634 * nptl/sysdeps/pthread/createthread.c: Moved ...
7635 * nptl/createthread.c: ... here.
7636 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7637 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7638 * nptl/pt-longjmp.c: ... here.
7639 * nptl/sysdeps/pthread/Makefile: Moved ...
7640 * sysdeps/nptl/Makefile: ... here.
7641 * nptl/sysdeps/pthread/Subdirs: Moved ...
7642 * sysdeps/nptl/Subdirs: ... here.
7643 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7644 * sysdeps/nptl/aio_misc.h: ... here.
7645 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7646 * sysdeps/nptl/bits/libc-lock.h: ... here.
7647 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7648 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7649 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7650 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7651 * nptl/sysdeps/pthread/configure: Moved ...
7652 * sysdeps/nptl/configure: ... here.
7653 * nptl/sysdeps/pthread/configure.ac: Moved ...
7654 * sysdeps/nptl/configure.ac: ... here.
7655 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7656 * sysdeps/nptl/gai_misc.h: ... here.
7657 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7658 * sysdeps/nptl/librt-cancellation.c: ... here.
7659 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7660 * sysdeps/nptl/malloc-machine.h: ... here.
7661 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7662 * sysdeps/nptl/pthread-functions.h: ... here.
7663 * nptl/sysdeps/pthread/pthread.h: Moved ...
7664 * sysdeps/nptl/pthread.h: ... here.
7665 * nptl/sysdeps/pthread/setxid.h: Moved ...
7666 * sysdeps/nptl/setxid.h: ... here.
7667 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7668 * sysdeps/nptl/sigfillset.c: ... here.
7669 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7670 * sysdeps/nptl/tcb-offsets.h: ... here.
7671 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7672 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7673 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7674 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7675 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7676 * sysdeps/pthread/allocalim.h: ... here.
7677 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7678 * sysdeps/pthread/bits/sigthread.h: ... here.
7679 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7680 * sysdeps/pthread/flockfile.c: ... here.
7681 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7682 * sysdeps/pthread/ftrylockfile.c: ... here.
7683 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7684 * sysdeps/pthread/funlockfile.c: ... here.
7685 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7686 * sysdeps/pthread/posix-timer.h: ... here.
7687 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7688 * sysdeps/pthread/timer_create.c: ... here.
7689 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7690 * sysdeps/pthread/timer_delete.c: ... here.
7691 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7692 * sysdeps/pthread/timer_getoverr.c: ... here.
7693 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7694 * sysdeps/pthread/timer_gettime.c: ... here.
7695 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7696 * sysdeps/pthread/timer_routines.c: ... here.
7697 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7698 * sysdeps/pthread/timer_settime.c: ... here.
7699 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7700 * sysdeps/pthread/tst-timer.c: ... here.
7701 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7702 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7704 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7705 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7707 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7708 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7709 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7710 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7711 Update #include target.
7712 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7713 * sysdeps/i386/i686/nptl/Makefile: ... here.
7714 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7715 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7716 Update #include target.
7717 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7718 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7719 * nptl/sysdeps/i386/Makefile: Moved ...
7720 * sysdeps/i386/nptl/Makefile: ... here.
7721 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7722 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7723 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7724 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7725 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7726 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7727 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7728 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7729 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7730 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7731 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7732 * nptl/sysdeps/i386/tls.h: Moved ...
7733 * sysdeps/i386/nptl/tls.h: ... here.
7735 * sysdeps/sh/Makefile [$(subdir) = csu]
7736 (gen-as-const-headers): Add tcb-offsets.sym.
7737 * nptl/sysdeps/sh/Makefile: File removed.
7738 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7739 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7740 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7741 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7742 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7743 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7744 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7745 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7746 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7747 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7748 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7749 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7750 * nptl/sysdeps/sh/tls.h: Moved ...
7751 * sysdeps/sh/nptl/tls.h: ... here.
7752 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7753 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7754 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7755 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7756 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7757 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7758 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7759 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7760 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7761 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7762 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7763 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7764 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7765 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7766 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7767 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7768 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7769 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7770 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7771 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7772 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7773 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7774 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7775 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7776 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7778 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7779 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7781 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7782 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7783 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7784 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7785 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7786 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7787 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7788 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7789 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7790 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7791 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7792 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7793 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7794 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7795 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7796 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7797 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7798 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7799 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7801 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7803 * posix/spawn_faction_addopen.c: Include string.h.
7805 2014-06-11 Roland McGrath <roland@hack.frob.com>
7807 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7808 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7809 * nptl/sysdeps/x86_64/Makefile: Moved ...
7810 * sysdeps/x86_64/nptl/Makefile: ... here.
7811 * nptl/sysdeps/x86_64/configure: Moved ...
7812 * sysdeps/x86_64/nptl/configure: ... here.
7813 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7814 * sysdeps/x86_64/nptl/configure.ac: ... here.
7815 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7816 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7817 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7818 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7819 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7820 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7821 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7822 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7823 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7824 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7825 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7826 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7827 * nptl/sysdeps/x86_64/tls.h: Moved ...
7828 * sysdeps/x86_64/nptl/tls.h: ... here.
7829 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7830 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7831 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7832 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7834 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7836 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7840 2014-06-11 Joseph Myers <joseph@codesourcery.com>
7842 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7844 [POSIX] (off_t): Likewise.
7845 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7846 [POSIX] (S_ISBLK): Require macro.
7847 [POSIX] (S_ISCHR): Likewise.
7848 [POSIX] (S_ISDIR): Likewise.
7849 [POSIX] (S_ISFIFO): Likewise.
7850 [POSIX] (S_ISREG): Likewise.
7851 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7853 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7855 [POSIX] (time_t): Likewise.
7856 [POSIX] (timer_t): Likewise.
7858 2014-06-11 Florian Weimer <fweimer@redhat.com>
7861 * posix/spawn_int.h (struct __spawn_action): Make the path string
7862 non-const to support deallocation.
7863 * posix/spawn_faction_addopen.c
7864 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7865 * posix/spawn_faction_destroy.c
7866 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7867 path in all spawn_do_open actions.
7868 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7869 posix_spawn_file_actions_addopen.
7871 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7873 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7874 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7875 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7876 conditional code always true.
7877 (__libc_vfork): New alias.
7879 2014-06-11 Roland McGrath <roland@hack.frob.com>
7881 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7882 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7884 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7886 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7887 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7889 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7890 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7892 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7893 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7895 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7897 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7898 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7899 multiarch strcmp for PPC64.
7900 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7901 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7903 multiarch optimizations.
7904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7905 (__libc_ifunc_impl_list): Likewise.
7907 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7909 * benchtests/scripts/validate_benchout.py: New script.
7910 * benchtests/Makefile (bench-func): Call it.
7911 * benchtests/scripts/benchout.schema.json: New file.
7913 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
7915 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7916 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7917 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7918 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7919 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7920 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7921 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7922 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7923 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7924 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7925 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7926 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7927 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7928 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7929 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7930 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
7933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
7935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
7937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
7944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
7946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
7948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
7951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
7953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
7955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
7957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
7959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
7962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
7964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
7966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
7968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
7970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
7972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
7974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
7977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
7979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
7981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
7983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
7985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
7987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
7989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
7992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
7994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
7996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
7998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8034 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8035 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8036 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8037 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8038 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8040 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8042 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8043 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8044 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8045 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8046 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8047 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8048 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8049 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8050 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8051 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8052 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8053 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8054 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8056 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8057 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8059 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8060 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8061 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8062 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8064 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8065 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8066 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8067 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8068 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8069 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8070 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8072 2014-06-10 Wilco <wdijkstr@arm.com>
8074 * math/test-fenv-return.c: New file.
8075 * math/Makefile: Add new test test-fenv-return.
8077 2014-06-10 Joseph Myers <joseph@codesourcery.com>
8080 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8082 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8083 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8084 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8085 0.0L for an argument of 1.0L.
8086 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8088 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8089 value when x - 1 is zero.
8090 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8091 * sysdeps/i386/fpu/libm-test-ulps: Update.
8092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8094 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8097 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8099 2014-06-09 Roland McGrath <roland@hack.frob.com>
8101 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8102 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8104 2014-06-09 Roland McGrath <roland@hack.frob.com>
8106 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8107 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8109 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8110 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8112 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8113 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8115 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8116 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8118 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8119 if not already defined.
8120 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8121 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8122 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8123 (TLS_INIT_TP): Use it.
8124 (TLS_DEFINE_INIT_TP): New macro.
8125 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8127 2014-06-09 Joseph Myers <joseph@codesourcery.com>
8129 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8131 [POSIX] (IXANY): Likewise.
8132 [POSIX] (OLCUC): Likewise.
8133 [POSIX || POSIX2008] (CBAUD): Do not allow.
8134 [POSIX || POSIX2008] (DEFECHO): Likewise.
8135 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8136 [POSIX || POSIX2008] (ECHOKE): Likewise.
8137 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8138 [POSIX || POSIX2008] (EXTA): Likewise.
8139 [POSIX || POSIX2008] (EXTB): Likewise.
8140 [POSIX || POSIX2008] (FLUSHO): Likewise.
8141 [POSIX || POSIX2008] (LOBLK): Likewise.
8142 [POSIX || POSIX2008] (PENDIN): Likewise.
8143 [POSIX || POSIX2008] (SWTCH): Likewise.
8144 [POSIX || POSIX2008] (VDISCARD): Likewise.
8145 [POSIX || POSIX2008] (VDSUSP): Likewise.
8146 [POSIX || POSIX2008] (VLNEXT): Likewise.
8147 [POSIX || POSIX2008] (VREPRINT): Likewise.
8148 [POSIX || POSIX2008] (VSTATUS): Likewise.
8149 [POSIX || POSIX2008] (VWERASE): Likewise.
8150 (B*): Change to B[0123456789]*.
8151 * conform/data/time.h-data [POSIX || UNIX98]
8152 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8153 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8154 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8155 [POSIX] (tm_*): Do not allow.
8157 2014-06-07 Joseph Myers <joseph@codesourcery.com>
8159 * Makefile (install): Don't set LANGUAGE.
8160 * Makefile.in (install): Likewise.
8161 * assert/Makefile (test-assert-ENV): Remove variable.
8162 (test-assert-perr-ENV): Likewise.
8163 * elf/Makefile (neededtest4-ENV): Likewise.
8164 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8165 [$(cross-compiling) = no]: Don't set LANGUAGE.
8166 * io/ftwtest-sh (LANG): Remove variable.
8167 * libio/Makefile (tst-widetext-ENV): Likewise.
8168 * manual/install.texi (Running make install): Don't refer to
8169 environment settings for make install.
8170 * INSTALL: Regenerated.
8171 * nptl/tst-tls6.sh: Don't set LANG.
8172 * posix/globtest.sh (LANG): Remove variable.
8173 * string/Makefile (tester-ENV): Likewise.
8174 (inl-tester-ENV): Likewise.
8175 (noinl-tester-ENV): Likewise.
8176 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8177 [$(cross-compiling) = no]: Don't set LANGUAGE.
8178 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8179 without explicit environment settings.
8181 2014-06-06 Roland McGrath <roland@hack.frob.com>
8183 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8184 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8185 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8186 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8188 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8190 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8191 other files in the crypt directory.
8192 * crypt/crypt.c: Remove duplicate includes.
8193 * crypt/crypt-entry.c: Likewise.
8194 * crypt/crypt_util.c: Likewise.
8196 2014-06-06 Joseph Myers <joseph@codesourcery.com>
8198 * Makeconfig (run-program-env): New variable.
8199 (run-program-prefix-before-env): Likewise.
8200 (run-program-prefix-after-env): Likewise.
8201 (run-program-prefix): Define in terms of new variables.
8202 (built-program-cmd-before-env): New variable.
8203 (built-program-cmd-after-env): Likewise.
8204 (built-program-cmd): Define in terms of new variables.
8205 (test-program-prefix-before-env): New variable.
8206 (test-program-prefix-after-env): Likewise.
8207 (test-program-prefix): Define in terms of new variables.
8208 (test-program-cmd-before-env): New variable.
8209 (test-program-cmd-after-env): Likewise.
8210 (test-program-cmd): Define in terms of new variables.
8211 * Rules (make-test-out): Use $(run-program-env).
8212 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8213 (help): Do not mention environment variables. Mention
8214 --timeoutfactor option.
8215 (timeoutfactor): New variable.
8216 (blacklist_exports): Remove function.
8217 (exports): Remove variable.
8218 (command): Do not include ${exports}.
8219 * manual/install.texi (Configuring and compiling): Do not mention
8220 test wrappers preserving environment variables. Mention that last
8221 assignment to a variable must take precedence.
8222 * INSTALL: Regenerated.
8223 * benchtests/Makefile (run-bench): Use $(run-program-env).
8224 * catgets/Makefile ($(objpfx)test1.cat): Use
8225 $(built-program-cmd-before-env), $(run-program-env) and
8226 $(built-program-cmd-after-env).
8227 ($(objpfx)test2.cat): Do not specify environment variables
8229 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8230 $(run-program-env) and $(built-program-cmd-after-env).
8231 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8232 $(run-program-env) and $(test-program-cmd-after-env).
8233 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8235 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8236 run_program_env and test_program_cmd_after_env arguments.
8237 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8238 * elf/tst-pathopt.sh: Use run_program_env argument.
8239 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8240 $(test-wrapper-env) and $(run-program-env).
8241 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8242 run_program_env arguments.
8243 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8244 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8245 $(test-program-prefix-before-env), $(run-program-env) and
8246 $(test-program-prefix-after-env).
8247 ($(objpfx)tst-gettext2.out): Likewise.
8248 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8249 run_program_env and test_program_prefix_after_env arguments.
8250 * intl/tst-gettext2.sh: Likewise.
8251 * intl/tst-gettext4.sh: Do not set environment variables
8253 * intl/tst-gettext6.sh: Likewise.
8254 * intl/tst-translit.sh: Likewise.
8255 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8256 $(test-program-prefix-before-env), $(run-program-env) and
8257 $(test-program-prefix-after-env).
8258 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8259 run_program_env and test_program_prefix_after_env arguments.
8260 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8261 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8262 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8263 explicitly with each use of ${test_wrapper_env}.
8264 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8265 $(test-program-prefix-before-env), $(run-program-env) and
8266 $(test-program-prefix-after-env).
8267 * posix/tst-getconf.sh: Do not set environment variables
8269 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8270 run_program_env and test_program_prefix_after_env arguments.
8271 * stdio-common/tst-printf.sh: Do not set environment variables
8273 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8274 $(test-program-prefix-before-env), $(run-program-env) and
8275 $(test-program-prefix-after-env).
8276 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8277 run_program_env and test_program_prefix_after_env arguments.
8278 Split $test calls into $test_pre and $test.
8279 * timezone/Makefile (build-testdata): Use
8280 $(built-program-cmd-before-env), $(run-program-env) and
8281 $(built-program-cmd-after-env).
8283 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8285 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8286 strlen for non SHARED builds.
8288 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8290 * nptl/allocatestack.c (check_list): Inlined function...
8291 (__reclaim_stacks): ... here.
8293 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8296 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8299 2014-06-05 Joseph Myers <joseph@codesourcery.com>
8301 * Rules (make-test-out): Include
8302 LOCPATH=$(common-objpfx)localedata in default environment.
8303 * debug/Makefile (tst-chk1-ENV): Remove variable.
8304 (tst-chk2-ENV): Likewise.
8305 (tst-chk3-ENV): Likewise.
8306 (tst-chk4-ENV): Likewise.
8307 (tst-chk5-ENV): Likewise.
8308 (tst-chk6-ENV): Likewise.
8309 (tst-lfschk1-ENV): Likewise.
8310 (tst-lfschk2-ENV): Likewise.
8311 (tst-lfschk3-ENV): Likewise.
8312 (tst-lfschk4-ENV): Likewise.
8313 (tst-lfschk5-ENV): Likewise.
8314 (tst-lfschk6-ENV): Likewise.
8315 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8316 (tst-iconv7-ENV): Likewise.
8317 * intl/Makefile (LOCPATH-ENV): Likewise.
8318 (tst-codeset-ENV): Likewise.
8319 (tst-gettext3-ENV): Likewise.
8320 (tst-gettext5-ENV): Likewise.
8321 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8322 (tst-fopenloc-ENV): Likewise.
8323 (tst-fgetws-ENV): Remove variable.
8324 (tst-ungetwc1-ENV): Likewise.
8325 (tst-ungetwc2-ENV): Likewise.
8326 (bug-ungetwc2-ENV): Likewise.
8327 (tst-swscanf-ENV): Likewise.
8328 (bug-ftell-ENV): Likewise.
8329 (tst-fgetwc-ENV): Likewise.
8330 (tst-fseek-ENV): Likewise.
8331 (tst-ftell-partial-wide-ENV): Likewise.
8332 (tst-ftell-active-handler-ENV): Likewise.
8333 (tst-ftell-append-ENV): Likewise.
8334 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8335 (tst-regexloc-ENV): Likewise.
8336 (bug-regex1-ENV): Likewise.
8337 (tst-regex-ENV): Likewise.
8338 (tst-regex2-ENV): Likewise.
8339 (bug-regex5-ENV): Likewise.
8340 (bug-regex6-ENV): Likewise.
8341 (bug-regex17-ENV): Likewise.
8342 (bug-regex18-ENV): Likewise.
8343 (bug-regex19-ENV): Likewise.
8344 (bug-regex20-ENV): Likewise.
8345 (bug-regex22-ENV): Likewise.
8346 (bug-regex23-ENV): Likewise.
8347 (bug-regex25-ENV): Likewise.
8348 (bug-regex26-ENV): Likewise.
8349 (bug-regex30-ENV): Likewise.
8350 (bug-regex32-ENV): Likewise.
8351 (bug-regex33-ENV): Likewise.
8352 (bug-regex34-ENV): Likewise.
8353 (bug-regex35-ENV): Likewise.
8354 (tst-rxspencer-ENV): Likewise.
8355 (tst-rxspencer-no-utf8-ENV): Likewise.
8356 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8357 (tst-sscanf-ENV): Likewise.
8358 (tst-swprintf-ENV): Likewise.
8359 (tst-swscanf-ENV): Likewise.
8360 (test-vfprintf-ENV): Likewise.
8361 (scanf13-ENV): Likewise.
8362 (bug14-ENV): Likewise.
8363 (tst-grouping-ENV): Likewise.
8364 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8365 (tst-strtod3-ENV): Likewise.
8366 (tst-strtod4-ENV): Likewise.
8367 (tst-strtod5-ENV): Likewise.
8368 (testmb2-ENV): Likewise./
8369 * string/Makefile (tst-strxfrm-ENV): Likewise.
8370 (tst-strxfrm2-ENV): Likewise.
8371 (bug-strcoll1-ENV): Likewise.
8372 (test-strcasecmp-ENV): Likewise.
8373 (test-strncasecmp-ENV): Likewise.
8374 * time/Makefile (tst-strptime-ENV): Likewise.
8375 (tst-ftime_l-ENV): Likewise.
8376 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8377 (tst-mbrtowc-ENV): Likewise.
8378 (tst-wcrtomb-ENV): Likewise.
8379 (tst-mbrtowc2-ENV): Likewise.
8380 (tst-c16c32-1-ENV): Likewise.
8381 (tst-mbsnrtowcs-ENV): Likewise.
8383 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8385 * manual/resource.texi (How to get information about the memory
8386 subsystem?): Fix typo.
8387 Reported by Peon de la Parra Ivan <peon@keba.com>
8389 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8392 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8393 (pthread_spin_lock): Branch out of spin loop to proper location.
8394 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8395 (pthread_spin_lock): Likewise.
8397 * nptl/tst-spin4.c: New test.
8398 * nptl/Makefile (tests): Add tst-spin4.
8400 2014-06-03 Andreas Schwab <schwab@suse.de>
8403 * resolv/res_send.c (send_dg): Reload file descriptor after
8406 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8408 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8410 2014-06-03 Richard Henderson <rth@redhat.com>
8412 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8413 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8414 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8415 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8416 in the SAVE_PID block.
8417 (__libc_vfork): New alias.
8418 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8420 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8421 child in registers, not on the stack. Remove RESET_PID conditionals.
8422 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8424 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8426 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8428 2014-06-03 Wilco <wdijkstr@arm.com>
8430 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8431 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8432 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8433 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8434 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8437 2014-06-03 Wilco <wdijkstr@arm.com>
8439 * sysdeps/aarch64/fpu/math_private.h
8440 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8441 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8442 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8443 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8446 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8448 * crypt/crypt-private.h: Include ufc-crypt.h.
8449 (__b64_from_24bit): Declare extern.
8450 * crypt/crypt_util.c(__b64_from_24bit): New function.
8451 (b64t): New static const variable.
8452 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8453 (b64t): Remove variable.
8454 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8455 * crypt/sha256-crypt.c: Include crypt-private.h.
8456 (b64t): Remove variable.
8457 (__sha256_crypt_r): Remove b64_from_24bit and replace
8458 with __b64_from_24bit.
8459 * crypt/sha512-crypt.c: Likewise.
8461 2014-06-02 Roland McGrath <roland@hack.frob.com>
8463 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8464 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8465 Label the code __libc_vfork rather than __vfork.
8466 [!NOT_IN_libc] (vfork): Define as weak alias.
8467 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8468 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8469 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8471 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8473 * malloc/malloc.c (malloc_info): Fix format specifier for
8476 2014-06-02 Wilco <wdijkstr@arm.com>
8478 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8481 2014-06-02 Wilco <wdijkstr@arm.com>
8484 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8485 Rewrite to reduce FPCR/FPSR accesses.
8487 2014-06-01 David S. Miller <davem@davemloft.net>
8489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8491 2014-05-31 David S. Miller <davem@davemloft.net>
8493 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8494 to occur in round to nearest mode when |x| >= 2.0
8496 2014-05-30 Richard Henderson <rth@twiddle.net>
8498 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8499 (PSEUDO_RET_NOERRNO): Remove.
8500 (ret): Don't redefine.
8501 (ret_NOERRNO): Define in terms of ret.
8502 (ret_ERRVAL): Likewise.
8504 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8505 use of PSEUDO_RET; perform the error check directly.
8507 2014-05-30 Marko Myllynen <myllynen@redhat.com>
8509 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8512 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8514 * malloc/malloc (malloc_info): Fix formatting.
8516 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8517 Roland McGrath <roland@hack.frob.com>
8519 * malloc/malloc (malloc_info): Also print mmapped statistics.
8521 2014-05-30 Roland McGrath <roland@hack.frob.com>
8523 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8524 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8526 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
8528 * malloc/malloc.c (malloc_info): Inline mi_arena.
8530 2014-05-29 Richard Henderson <rth@twiddle.net>
8532 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8533 Remove comma before expanding ASM_ARGS_##nr.
8534 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8535 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8537 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8538 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8539 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8540 (ASM_ARGS_1): Add leading comma.
8542 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8543 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8544 to __errno_location.
8545 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8546 Remove the expected plt for __errno_location.
8548 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8549 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8552 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8553 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8554 it and break it down.
8555 (DOCARGS_0, DOCARGS_1): Do nothing.
8556 (DOCARGS_2): Update to store into the new stack frame.
8557 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8558 (UNDOCARGS_1): Update to restore from the new stack frame.
8559 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8560 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8562 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8563 (SINGLE_THREAD_P): New parameter for result regno.
8564 (PSEUDO): Update to match; use cbz instead of beq.
8566 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8567 Use ENTRY to define the _nocancel entry point. Share the syscall
8568 and syscall error check paths with the cancel path.
8571 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8572 whitespace; tabs before and after asm mnemonics.
8574 2014-05-29 Eric Wong <normalperson@yhbt.net>
8577 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8578 Call fstat64 or stat64 internally, depending on arguments passed.
8579 Replace stat buffer argument with file descriptor argument.
8580 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8581 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8582 Pass fd to __internal_statvfs instead of calling fstat64.
8583 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8584 Pass fd to __internal_statvfs64 instead of calling fstat64.
8585 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8586 Pass -1 to __internal_statvfs instead of calling stat64.
8587 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8588 Pass -1 to __internal_statvfs64 instead of calling stat64.
8590 2014-05-28 Roland McGrath <roland@hack.frob.com>
8592 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8593 that was previously under [RESET_PID].
8594 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8596 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8597 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8599 2014-05-27 Roland McGrath <roland@hack.frob.com>
8601 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8603 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8604 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8606 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
8608 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8610 2014-05-27 Andreas Schwab <schwab@suse.de>
8612 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8614 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8615 * elf/rtld.c (init_tls, dl_main): Likewise.
8616 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8617 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8618 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8619 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8620 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8621 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8622 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8623 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8624 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8625 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8626 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8627 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8628 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8629 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8630 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8631 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8632 * sysdeps/generic/tls.h: Update description.
8634 2014-05-27 Will Newton <will.newton@linaro.org>
8637 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8638 and restore r2 rather than just restoring.
8640 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8643 * libio/tst-ftell-append.c: New test case.
8644 * libio/Makefile (tests): Add test case.
8645 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8647 * libio/wfileops.c (do_ftell_wide): Likewise.
8649 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8653 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8657 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8658 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8659 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8660 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8661 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8662 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8663 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8666 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8669 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8670 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8671 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8672 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8673 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8675 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8676 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8678 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8680 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8682 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8683 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8684 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8686 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8687 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8688 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8689 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8694 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8697 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8700 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8712 conditional [RESET_PID].
8713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8714 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8716 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8721 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8722 (__libc_vfork): New strong alias.
8723 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8725 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8730 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8731 (__libc_vfork): New strong alias.
8732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8737 2014-05-26 Carlos O'Donell <carlos@redhat.com>
8739 * malloc/malloc.c (mi_arena): New function.
8740 (malloc_info): Remove nested function mi_arena. Call non-nosted
8743 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8745 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8747 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8748 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8749 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8750 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8751 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8752 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8753 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8755 2014-05-26 Andreas Schwab <schwab@suse.de>
8758 * locale/programs/repertoire.c (repertoire_read): Add slash
8759 between I18NPATH element and file name.
8760 * locale/programs/locfile.c (locfile_read): Likewise.
8762 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8764 * nptl/pthread_mutexattr_settype.c
8765 (__pthread_mutexattr_settype):
8766 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8768 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8770 * nptl/tst-mutex5 (do_test):
8771 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8773 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8775 * benchtests/README: Document 'init' directive.
8776 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8778 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8779 (parse_file): Recognize 'init' directive.
8781 2014-05-26 Kyle McMartin <kyle@redhat.com>
8784 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8785 alignment of struct pthread.
8787 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8790 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8791 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8792 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8793 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8795 2014-05-25 Richard Henderson <rth@twiddle.net>
8797 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8798 (SINGLE_THREAD_P_PIC): Remove.
8799 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8800 (SINGLE_THREAD_P_PIC): Remove.
8802 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8803 branch to syscall error ...
8805 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8806 from __local_syscall_error to .Lsyscall_error.
8807 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8808 (SYSCALL_ERROR): Update label name.
8810 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8811 Do not use DOARGS/UNDOARGS.
8812 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8813 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8814 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8815 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8816 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8818 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8821 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8822 define if !NOT_IN_libc.
8823 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8824 define with non-default symbol versions.
8826 2014-05-23 Richard Henderson <rth@twiddle.net>
8828 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8829 (vfork, __vfork): Define via compat_symbol.
8831 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8832 [!HAVE_IFUNC] (vfork_compat): Remove.
8833 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8835 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8838 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8839 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8842 2014-05-23 Richard Henderson <rth@twiddle.net>
8844 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8845 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8846 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8847 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8849 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8850 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8851 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8852 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8853 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8854 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8855 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8856 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8857 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8858 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8859 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8860 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8861 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8862 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8863 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8864 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8865 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8866 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8867 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8868 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8869 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8870 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8871 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8872 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8873 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8874 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8875 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8876 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8877 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8878 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8879 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8880 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8881 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8882 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8883 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8884 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8885 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8886 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8887 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8888 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8889 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8890 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8891 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8892 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8893 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8894 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8895 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8896 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8897 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8898 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8899 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8900 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8901 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8902 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8903 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8904 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8906 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8907 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8908 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
8909 before exiting on error.
8910 (__libc_vfork): New strong alias.
8911 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8912 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8914 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8915 that was previously under [RESET_PID].
8916 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8918 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8920 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8923 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8924 value when x - 1 is zero.
8925 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8926 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8927 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8928 0.0L for an argument of 1.0L.
8929 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8931 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8932 value when x - 1 is zero.
8933 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8934 * sysdeps/i386/fpu/libm-test-ulps: Update.
8935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8937 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8939 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8940 alphasort and versionsort.
8942 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8944 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8946 [copysignf]: Likewise.
8948 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8950 * crypt/md5-crypt.c: Fix formatting.
8952 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8954 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8955 (b64_from_24bit): New function.
8957 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8959 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8960 libc_hidden_builtin_def to ifunc.
8961 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8962 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8964 2014-05-21 Roland McGrath <roland@hack.frob.com>
8966 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8967 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8969 2014-05-21 Joseph Myers <joseph@codesourcery.com>
8971 * nscd/Depend (linuxthreads): Remove.
8973 * resolv/Depend (linuxthreads): Remove.
8974 * rt/Depend (linuxthreads): Remove.
8976 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8977 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8978 $(common-objpfx)elf/.
8979 (link-libc-before-gnulib): Likewise.
8980 (elfobjdir): Remove variable.
8981 * Makefile (install): Use $(elf-objpfx) instead of
8982 $(common-objpfx)elf/.
8983 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8985 (link-libc-deps): Likewise.
8986 ($(common-objpfx)libc.so): Likewise.
8987 ($(common-objpfx)linkobj/libc.so): Likewise.
8988 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8989 instead of $(common-objpfx)elf/.
8990 (symbolic-link-list): Likewise.
8991 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8992 [$(cross-compiling) = no]: Likewise.
8993 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8995 (static-gnulib-arch): Likewise.
8996 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8997 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8998 $(common-objpfx)elf/.
9000 2014-05-21 Richard Henderson <rth@redhat.com>
9002 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9003 (SINGLE_THREAD_P): Use the correct width load. Fold
9004 into the ldr offset.
9006 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9007 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9009 2014-05-20 Joseph Myers <joseph@codesourcery.com>
9011 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9012 (libgcc_s_resume): Use __attribute_used__.
9013 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9016 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9018 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9019 optimization when used with float constants.
9021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9023 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9026 * locale/nl_langinfo_l.c: Make direct reference to every
9027 _nl_current_CATEGORY symbol.
9028 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9029 (tests-static): Add tst-langinfo-static.
9030 (tests-special): Add tst-langinfo-static.out.
9031 ($(objpfx)tst-langinfo.out): Redirect output.
9032 ($(objpfx)tst-langinfo-static.out): New.
9033 * localedata/tst-langinfo.sh: Send output to stdout.
9034 * localedata/tst-langinfo-static.c: New file.
9037 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9038 when the shift amount is modulo the limb size.
9040 2014-05-20 Richard Henderson <rth@redhat.com>
9043 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9044 Change type of sa_flags from unsigned int to int.
9047 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9049 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9051 2014-05-20 Will Newton <will.newton@linaro.org>
9053 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9054 Test the return value of the system call in the nocancel case.
9056 2014-05-20 Will Newton <will.newton@linaro.org>
9057 Yvan Roux <yvan.roux@linaro.org>
9059 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9060 #include of asm/ptrace.h.
9061 (PTRACE_GET_THREAD_AREA): Remove #undef.
9062 (PTRACE_GETHBPREGS): Likewise.
9063 (PTRACE_SETHBPREGS): Likewise.
9064 (struct user_regs_struct): New structure.
9065 (struct user_fpsimd_struct): New structure.
9066 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9067 #include of asm/ptrace.h and second #include of sys/user.h.
9068 (PTRACE_GET_THREAD_AREA): Remove #undef.
9069 (PTRACE_GETHBPREGS): Likewise.
9070 (PTRACE_SETHBPREGS): Likewise.
9071 (ELF_NGREG): Use new struct user_regs_struct.
9072 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9074 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9076 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9079 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9082 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9083 membar to avoid block loads/stores to overlap previous stores.
9085 2014-05-17 Richard Henderson <rth@redhat.com>
9087 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9088 Create the __##syscall_name##_nocancel entry point.
9089 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9090 Remove; let the sysdep-cancel.h code create it.
9092 2014-05-17 David S. Miller <davem@davemloft.net>
9094 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9095 Protect with __USE_GNU.
9096 (TIOCSET_TEMPT): Likewise.
9097 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9098 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9099 these are already provided in bits/ioctl-types.h
9101 2014-05-16 Roland McGrath <roland@hack.frob.com>
9103 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9104 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9106 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9107 Use wait4 regardless of [__NR_waitpid].
9109 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9112 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9113 (_FP_NANSIGN_Q): Set the quiet bit.
9115 2014-05-16 Joseph Myers <joseph@codesourcery.com>
9117 * benchtests/Makefile
9118 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9119 not $(common-objpfx)math/libm.so.
9120 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9121 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9122 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9123 $(common-objpfx)dlfcn/libdl.so.
9124 ($(objpfx)tst-audit8): Depend on $(libm), not
9125 $(common-objpfx)math/libm.so.
9126 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9127 not $(common-objpfx)dlfcn/libdl.so.
9129 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9130 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9131 [$(build-shared) = yes].
9132 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9133 $(common-objpfx)nptl/libpthread.so.
9134 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9135 $(common-objpfx)math/libm.so$(libm.so-version) or
9136 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9137 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9138 $(common-objpfx)dlfcn/libdl.so.
9139 * setjmp/Makefile (link-libm): Remove variable.
9140 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9141 * stdio-common/Makefile (link-libm): Remove variable.
9142 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9143 * stdlib/Makefile (link-libm): Remove variable.
9144 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9145 ($(objpfx)tst-strtod-round): Likewise.
9146 ($(objpfx)tst-tininess): Likewise.
9147 ($(objpfx)tst-strtod-underflow): Likewise.
9148 ($(objpfx)tst-strtod6): Likewise.
9149 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9150 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9151 $(common-objpfx)dlfcn/libdl.so.
9153 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9155 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9156 BSD terminal modes definitions.
9158 2014-05-16 Roland McGrath <roland@hack.frob.com>
9160 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9161 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9163 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9164 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9165 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9166 Don't do #include_next.
9167 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9168 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9169 Don't do #include_next.
9170 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9171 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9172 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9173 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9175 2014-05-16 Allan McRae <allan@archlinux.org>
9177 * po/sv.po: Update Swedish translation from translation project.
9179 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9182 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9185 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9186 errno if the TIOCGPTN ioctl fails with an error different than
9188 * login/tst-ptsname.c: New file.
9189 * login/Makefile (tests): Add tst-ptsname.
9192 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9195 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9199 herrno to return EAI_AGAIN.
9201 2014-05-14 Roland McGrath <roland@hack.frob.com>
9203 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9204 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9205 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9206 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9207 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9208 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9209 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9210 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9211 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9212 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9213 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9214 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9215 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9216 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9217 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9218 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9219 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9220 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9221 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9222 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9223 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9224 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9225 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9226 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9227 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9228 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9229 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9230 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9231 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9232 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9234 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9236 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9239 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9241 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9243 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9245 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9247 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9249 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9251 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9253 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9255 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9257 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9259 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9263 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9265 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9268 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9270 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9272 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9274 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9276 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9278 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9280 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9282 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9284 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9286 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9289 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9291 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9293 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9294 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9295 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9296 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9297 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9298 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9299 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9300 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9301 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9302 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9303 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9304 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9305 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9306 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9307 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9308 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9309 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9310 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9311 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9312 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9313 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9314 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9315 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9316 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9317 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9318 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9319 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9320 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9321 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9322 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9323 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9325 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9326 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9328 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9329 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9330 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9331 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9332 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9333 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9335 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9336 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9338 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9339 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9341 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9342 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9344 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9345 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9346 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9347 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9349 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9350 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9351 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9352 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9353 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9354 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9355 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9356 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9358 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9359 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9361 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9363 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9364 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9365 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9366 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9367 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9369 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9371 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9373 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9374 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9375 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9376 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9377 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9378 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9380 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9381 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9383 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9384 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9386 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9387 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9389 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9390 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9391 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9392 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9394 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9395 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9396 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9397 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9398 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9399 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9400 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9401 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9403 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9404 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9406 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9408 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9409 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9410 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9411 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9412 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9414 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9416 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9418 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9419 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9420 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9421 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9422 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9423 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9424 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9425 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9426 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9427 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9429 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9430 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9432 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9433 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9435 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9436 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9438 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9439 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9440 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9441 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9442 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9443 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9445 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9446 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9447 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9448 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9449 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9450 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9451 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9452 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9454 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9455 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9457 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9459 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9460 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9461 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9462 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9463 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9465 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9467 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9469 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9470 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9471 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9472 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9473 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9474 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9475 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9476 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9477 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9478 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9479 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9481 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9482 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9484 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9485 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9487 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9488 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9489 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9490 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9491 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9492 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9493 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9494 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9495 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9496 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9497 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9498 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9499 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9500 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9501 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9502 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9503 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9504 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9506 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9507 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9508 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9509 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9511 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9512 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9513 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9514 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9515 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9516 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9517 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9518 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9520 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9521 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9523 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9524 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9525 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9526 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9527 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9528 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9529 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9530 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9531 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9532 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9533 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9534 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9535 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9536 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9537 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9538 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9539 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9541 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9542 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9543 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9544 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9545 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9547 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9548 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9549 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9550 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9551 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9552 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9553 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9554 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9555 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9556 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9558 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9559 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9561 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9562 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9563 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9564 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9565 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9566 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9567 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9568 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9569 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9570 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9571 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9572 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9573 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9574 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9575 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9577 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9579 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9581 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9583 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9587 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9595 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9598 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9599 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9600 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9601 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9602 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9603 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9604 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9605 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9606 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9607 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9608 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9609 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
9611 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9612 that was previously under [RESET_PID].
9613 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9614 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9615 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9617 * sysdeps/i386/nptl/Implies: New file.
9618 * sysdeps/x86_64/nptl/Implies: New file.
9619 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9620 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9621 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9622 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9624 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9625 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9626 (__libc_vfork): New strong alias.
9627 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9628 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9630 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9631 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9632 (__libc_vfork): New strong alias.
9633 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9634 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9636 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9637 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9638 (__libc_vfork): New strong alias.
9639 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9640 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9641 * nptl/pt-vfork.c: New file.
9642 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9643 (libpthread: GLIBC_2.20): New version set (empty).
9645 2014-05-14 Will Newton <will.newton@linaro.org>
9647 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9650 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9653 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9654 arguments with exponent 65 or above.
9655 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9656 arguments 0x1p113L or above.
9657 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9658 to arguments 0x1p107L or above.
9659 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9660 positive arguments with exponent 65 or above.
9661 * math/auto-libm-test-in: Add more tests of log1p.
9662 * math/auto-libm-test-out: Regenerated.
9665 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9666 non-finite arguments is +0.
9667 * math/s_cacosf.c (__cacosf): Likewise.
9668 * math/s_cacosl.c (__cacosl): Likewise.
9669 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9670 * sysdeps/i386/fpu/libm-test-ulps: Update.
9671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9674 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9676 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9677 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9678 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9679 for explicit high bit of mantissa when testing for argument equal
9681 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9682 * sysdeps/i386/fpu/libm-test-ulps: Update.
9683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9686 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9687 (__erf): Scale by 16 instead of 8 in potentially underflowing
9688 case. Ensure exception if result actually underflows.
9689 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9690 (__erff): Scale by 16 instead of 8 in potentially underflowing
9691 case. Ensure exception if result actually underflows.
9692 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9693 (efx8): Remove variable.
9694 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9695 case. Ensure exception if result actually underflows.
9696 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9697 (efx8): Remove variable.
9698 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9699 case. Ensure exception if result actually underflows.
9700 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9701 (efx8): Remove variable.
9702 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9703 case. Ensure exception if result actually underflows.
9704 * math/auto-libm-test-in: Add more tests of erf.
9705 * math/auto-libm-test-out: Regenerated.
9707 2014-05-14 Andreas Schwab <schwab@suse.de>
9709 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9710 Remove code conditionalized on USE___THREAD.
9712 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9713 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9716 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9718 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9719 Define unconditionally.
9720 (__ASSUME_O_CLOEXEC): Likewise.
9721 (__ASSUME_SOCK_CLOEXEC): Likewise.
9722 (__ASSUME_IN_NONBLOCK): Likewise.
9723 (__ASSUME_PIPE2): Likewise.
9724 (__ASSUME_EVENTFD2): Likewise.
9725 (__ASSUME_SIGNALFD4): Likewise.
9726 (__ASSUME_DUP3): Likewise.
9727 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9728 (__ASSUME_DUP3): Do not define.
9729 (__ASSUME_EVENTFD2): Likewise.
9730 (__ASSUME_IN_NONBLOCK): Likewise.
9731 (__ASSUME_O_CLOEXEC): Likewise.
9732 (__ASSUME_PIPE2): Likewise.
9733 (__ASSUME_SIGNALFD4): Likewise.
9734 (__ASSUME_SOCK_CLOEXEC): Likewise.
9735 (__ASSUME_UTIMES): Undefine.
9736 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9737 (__ASSUME_UTIMES): Do not define.
9738 (__ASSUME_O_CLOEXEC): Likewise.
9739 (__ASSUME_SOCK_CLOEXEC): Likewise.
9740 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9741 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9743 (__ASSUME_PIPE2): Likewise.
9744 (__ASSUME_EVENTFD2): Likewise.
9745 (__ASSUME_SIGNALFD4): Likewise.
9746 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9747 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9749 (__ASSUME_EVENTFD2): Likewise.
9750 (__ASSUME_SIGNALFD4): Likewise.
9751 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9752 (__ASSUME_32BITUIDS): Likewise.
9753 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9754 (__ASSUME_IPC64): Likewise.
9755 (__ASSUME_ST_INO_64_BIT): Likewise.
9756 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9757 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9758 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9759 (__ASSUME_UTIMES): Do not define.
9760 (__ASSUME_PSELECT): Likewise.
9761 (__ASSUME_PPOLL): Likewise.
9762 (__ASSUME_O_CLOEXEC): Likewise.
9763 (__ASSUME_SOCK_CLOEXEC): Likewise.
9764 (__ASSUME_IN_NONBLOCK): Likewise.
9765 (__ASSUME_PIPE2): Likewise.
9766 (__ASSUME_EVENTFD2): Likewise.
9767 (__ASSUME_SIGNALFD4): Likewise.
9768 (__ASSUME_DUP3): Likewise.
9769 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9770 (__ASSUME_UTIMES): Likewise.
9771 (__ASSUME_O_CLOEXEC): Likewise.
9772 (__ASSUME_SOCK_CLOEXEC): Likewise.
9773 (__ASSUME_IN_NONBLOCK): Likewise.
9774 (__ASSUME_PIPE2): Likewise.
9775 (__ASSUME_EVENTFD2): Likewise.
9776 (__ASSUME_SIGNALFD4): Likewise.
9777 (__ASSUME_DUP3): Likewise.
9778 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9779 (__ASSUME_UTIMES): Likewise.
9780 (__ASSUME_O_CLOEXEC): Likewise.
9781 (__ASSUME_SOCK_CLOEXEC): Likewise.
9782 (__ASSUME_IN_NONBLOCK): Likewise.
9783 (__ASSUME_PIPE2): Likewise.
9784 (__ASSUME_EVENTFD2): Likewise.
9785 (__ASSUME_SIGNALFD4): Likewise.
9786 (__ASSUME_DUP3): Likewise.
9787 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9789 (__ASSUME_UTIMES): Likewise.
9790 (__ASSUME_EVENTFD2): Likewise.
9791 (__ASSUME_SIGNALFD4): Likewise.
9792 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9793 (__ASSUME_O_CLOEXEC): Likewise.
9794 (__ASSUME_SOCK_CLOEXEC): Likewise.
9795 (__ASSUME_IN_NONBLOCK): Likewise.
9796 (__ASSUME_PIPE2): Likewise.
9797 (__ASSUME_EVENTFD2): Likewise.
9798 (__ASSUME_SIGNALFD4): Likewise.
9799 (__ASSUME_DUP3): Likewise.
9800 (__ASSUME_UTIMES): Undefine.
9802 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9803 feclearexcept. Remove symbol versioning code.
9804 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9805 symbol versioning code.
9806 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9807 symbol versioning code.
9808 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9809 feupdateenv. Remove symbol versioning code.
9810 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9811 fegetexceptflag. Remove symbol versioning code.
9812 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9813 fesetexceptflag. Remove symbol versioning code.
9814 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9815 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9816 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9817 (__posix_fadvise64_l32): Remove prototype.
9818 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9821 2014-05-13 Roland McGrath <roland@hack.frob.com>
9823 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9824 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9825 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9826 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9828 2014-05-13 Sami Kerola <kerolasa@iki.fi>
9830 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9831 current working directory
9833 2014-05-13 Roland McGrath <roland@hack.frob.com>
9835 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9836 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9837 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9838 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9839 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9840 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9841 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9842 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9843 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9844 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9845 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9846 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9848 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9849 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9850 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9851 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9852 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9853 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9854 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9855 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9856 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9857 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9858 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9859 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9860 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9864 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9865 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9866 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9867 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9868 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9869 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9870 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9871 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9872 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9873 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9874 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9875 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9876 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9878 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9879 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9881 * sysdeps/unix/sysv/linux/arm/Makefile
9882 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9883 Add rt-aeabi_unwind_cpp_pr1.
9884 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9885 Add nptl-aeabi_unwind_cpp_pr1.
9886 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9887 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9888 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9889 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9890 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9891 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9893 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9894 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9895 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9896 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9898 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9899 Deconditionalize the code that was previously under [RESET_PID].
9900 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9902 * sysdeps/generic/exit-thread.h: New file.
9903 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9904 * include/unistd.h (__exit_thread): Remove declaration.
9905 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9906 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9907 * csu/libc-start.c: Include <exit-thread.h>.
9908 (LIBC_START_MAIN): Pass no argument to __exit_thread.
9909 * nptl/pthread_create.c: Include <exit-thread.h>.
9910 (start_thread): Call __exit_thread in place of __exit_thread_inline.
9911 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9912 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9913 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9914 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9915 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9916 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9917 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9918 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9919 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9920 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9921 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9922 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9923 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9924 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9925 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9926 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9928 2014-05-13 Andreas Schwab <schwab@suse.de>
9930 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9932 2014-05-12 Joseph Myers <joseph@codesourcery.com>
9934 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9935 (__ASSUME_UTIMES): Do not condition on kernel version.
9936 (__ASSUME_PSELECT): Define unconditionally.
9937 (__ASSUME_PPOLL): Likewise.
9938 (__ASSUME_ATFCTS): Likewise.
9939 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9940 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9941 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9942 (__ASSUME_UTIMENSAT): Define unconditionally.
9943 (__ASSUME_PRIVATE_FUTEX): Likewise.
9944 (__ASSUME_FALLOCATE): Likewise.
9945 (__ASSUME_O_CLOEXEC): Likewise.
9946 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9947 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9948 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9949 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9950 (__ASSUME_IN_NONBLOCK): Likewise.
9951 (__ASSUME_PIPE2): Likewise.
9952 (__ASSUME_EVENTFD2): Likewise.
9953 (__ASSUME_SIGNALFD4): Likewise.
9954 (__ASSUME_DUP3): Likewise.
9955 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9956 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9957 (__ASSUME_AT_RANDOM): Likewise.
9958 (__ASSUME_PREADV): Likewise.
9959 (__ASSUME_PWRITEV): Likewise.
9960 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9961 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9962 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9963 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9964 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9965 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9966 (__ASSUME_O_CLOEXEC): Define unconditionally.
9967 (__ASSUME_PSELECT): Do not undefine conditionally.
9968 (__ASSUME_PPOLL): Likewise.
9969 (__ASSUME_ATFCTS): Likewise.
9970 (__ASSUME_SET_ROBUST_LIST): Likewise.
9971 (__ASSUME_UTIMENSAT): Likewise.
9972 (__ASSUME_FDATASYNC): Define unconditionally.
9973 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9974 (__ASSUME_SIGFRAME_V2): Likewise.
9975 )__ASSUME_EVENTFD2): Likewise.
9976 (__ASSUME_SIGNALFD4): Likewise.
9977 (__ASSUME_PSELECT): Do not undefine conditionally.
9978 (__ASSUME_PPOLL): Likewise.
9979 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9980 (__ASSUME_PSELECT): Define unconditionally.
9981 (__ASSUME_PPOLL): Likewise.
9982 (__ASSUME_O_CLOEXEC): Likewise.
9983 (__ASSUME_SOCK_CLOEXEC): Likewise.
9984 (__ASSUME_IN_NONBLOCK): Likewise.
9985 (__ASSUME_PIPE2): Likewise.
9986 (__ASSUME_EVENTFD2): Likewise.
9987 (__ASSUME_SIGNALFD4): Likewise.
9988 (__ASSUME_DUP3): Likewise.
9989 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9990 (__ASSUME_O_CLOEXEC): Likewise.
9991 (__ASSUME_SOCK_CLOEXEC): Likewise.
9992 (__ASSUME_IN_NONBLOCK): Likewise.
9993 (__ASSUME_PIPE2): Likewise.
9994 (__ASSUME_EVENTFD2): Likewise.
9995 (__ASSUME_SIGNALFD4): Likewise.
9996 (__ASSUME_DUP3): Likewise.
9997 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9998 (__ASSUME_EVENTFD2): Likewise.
9999 (__ASSUME_SIGNALFD4): Likewise.
10000 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10002 2014-05-12 Andreas Schwab <schwab@suse.de>
10005 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10006 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10007 than maximum RPC packet size.
10008 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10009 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10010 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10011 (_nss_nis_getservbyport_r): Likewise.
10013 2014-05-12 Will Newton <will.newton@linaro.org>
10015 * malloc/Makefile (tests): Add tst-mallopt.
10016 * malloc/tst-mallopt.c: New file.
10018 2014-05-09 Roland McGrath <roland@hack.frob.com>
10020 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10021 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10023 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10025 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10026 (tst-tlsmod6.so): Likewise.
10028 2014-05-09 Roland McGrath <roland@hack.frob.com>
10030 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10032 2014-05-09 Joseph Myers <joseph@codesourcery.com>
10035 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10036 and <dl-procinfo.h>.
10037 (__fegetenv): Save SSE state in envp->__eip if supported.
10038 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10039 envp->__eip if supported.
10040 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10041 and <dl-procinfo.h>.
10042 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10043 __data_offset and __data_selector in environment to 0. Set SSE
10044 state if supported.
10045 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10047 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10049 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10051 2014-05-09 Will Newton <will.newton@linaro.org>
10053 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10054 and libc_relro_required for ARM.
10055 * sysdeps/arm/preconfigure: Regenerate.
10057 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10058 Stefan Liebler <stli@linux.vnet.ibm.com>
10060 * config.make.in (enable-lock-elision): New Makefile variable.
10061 * configure.ac: Likewise.
10062 * configure: Regenerate.
10063 * sysdeps/s390/configure.ac:
10064 Add check for gcc transactions support.
10065 * sysdeps/s390/configure: Regenerate.
10066 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10067 Build elision files if enabled.
10068 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10069 Add lock elision support for s390.
10070 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10071 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10072 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10073 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10074 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10075 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10076 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10078 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10080 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10082 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10084 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10085 (__lll_timedlock_elision, __lll_lock_elision)
10086 (__lll_unlock_elision, __lll_trylock_elision)
10087 (lll_timedlock_elision, lll_lock_elision)
10088 (lll_unlock_elision, lll_trylock_elision): Add.
10089 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10090 (pthread_mutex_t): Add lock elision support for s390.
10092 2014-05-14 Wilco <wdijkstr@arm.com>
10094 * sysdeps/arm/fclrexcpt.c: Cleanup.
10095 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10096 * sysdeps/arm/feenablxcpt.c: Cleanup.
10097 * sysdeps/arm/fegetenv.c: Cleanup.
10098 * sysdeps/arm/fegetexcept.c: Cleanup.
10099 * sysdeps/arm/fegetround.c: Cleanup.
10100 * sysdeps/arm/feholdexcpt.c: Cleanup.
10101 * sysdeps/arm/fesetenv.c: Cleanup.
10102 * sysdeps/arm/fesetround.c: Cleanup.
10103 * sysdeps/arm/feupdateenv.c: Cleanup.
10104 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10105 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10106 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10107 * sysdeps/arm/ftestexcept.c: Cleanup.
10108 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10109 * sysdeps/arm/setfpucw.c: Cleanup.
10111 2014-05-09 Will Newton <will.newton@linaro.org>
10113 * sysdeps/arm/armv7/strcmp.S: New file.
10114 * NEWS: Mention addition of ARMv7 optimized strcmp.
10116 2014-05-08 Roland McGrath <roland@hack.frob.com>
10118 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10119 look for %.ac rather than %.in.
10121 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10122 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10123 * sysdeps/mach/hurd/configure: Regenerated.
10124 * sysdeps/unix/sysv/linux/configure: Regenerated.
10126 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10128 2014-05-07 Steve Ellcey <sellcey@mips.com>
10131 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10135 2014-05-07 Andreas Schwab <schwab@suse.de>
10137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10138 when skipping over non-matching result from nscd.
10140 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
10143 * nptl/sockperf.c (client): Check socket return value.
10146 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10147 nscd security class.
10149 2014-05-06 Roland McGrath <roland@hack.frob.com>
10151 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10152 * sysdeps/arm/unwind.h: ... here.
10154 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10157 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10160 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10162 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10163 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10164 multiarch strncpy for PPC64.
10165 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10166 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10168 multiarch optimizations.
10169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10170 (__libc_ifunc_impl_list): Likewise.
10171 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10172 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10173 multiarch stpncpy for PPC64.
10174 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10175 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10177 2014-05-06 Andreas Schwab <schwab@suse.de>
10180 * gmon/mcount.c (_MCOUNT_DECL): Use
10181 atomic_compare_and_exchange_bool_acq instead of
10182 catomic_compare_and_exchange_bool_acq.
10184 2014-05-05 Roland McGrath <roland@hack.frob.com>
10186 * elf/Makefile (others, install-bin): Remove pldd.
10187 (pldd-modules): Variable removed.
10188 ($(objpfx)pldd): Target removed.
10189 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10190 (others, install-bin): Append pldd here.
10191 ($(objpfx)pldd): New target.
10193 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10194 to 0, so the first #if test emitted later doesn't see it undefined.
10195 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10196 * sysdeps/gnu/errlist.c: Regenerated.
10198 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10200 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10201 [libc_hidden_builtin_def]: Define to empty value.
10202 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10203 [libc_hidden_builtin_def]: Likewise.
10204 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10205 [libc_hidden_builtin_def]: Likewise.
10206 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10207 [libc_hidden_builtin_def]: Likewise.
10208 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10209 __redirect_memcpy and define ifunc as default hidden symbol.
10210 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10211 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10213 2014-05-04 Adam Conrad <adconrad@0c3.net>
10215 * locale/iso-4217.def: Reintroduce XDR currency.
10217 2014-05-04 Allan McRae <allan@archlinux.org>
10219 * po/eo.po: Update Esperanto translation from translation project.
10221 2014-05-02 Carlos O'Donell <carlos@redhat.com>
10223 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10224 and FEATURE_INDEX_MAX to 1.
10225 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10227 2014-05-01 Steve Ellcey <sellcey@mips.com>
10229 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10230 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10231 * iconvdata/big5.c (ONE_DIRECTION): Define.
10232 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10233 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10234 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10235 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10236 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10237 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10238 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10239 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10240 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10241 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10242 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10243 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10244 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10245 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10246 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10247 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10248 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10249 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10250 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10251 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10252 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10253 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10254 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10255 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10256 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10257 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10258 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10259 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10260 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10261 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10262 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10263 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10264 * iconvdata/johab.c (ONE_DIRECTION): Define.
10265 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10266 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10267 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10268 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10269 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10270 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10271 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10272 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10273 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10274 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10276 2014-05-01 Roland McGrath <roland@hack.frob.com>
10278 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10279 (_IO_JUMPS_OFFSET): Define to 0.
10281 * nptl/sysdeps/pthread/bits/libc-lock.h
10282 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10283 (__libc_lock_define_initialized_recursive): Always define using
10284 initializer. Modern compilers treat uninitialized (implicit zero) and
10285 explicit zero initializers the same (i.e. put the datum in bss).
10287 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10289 * nscd/nscd-client.h: Include <string.h>.
10291 2014-05-01 David S. Miller <davem@davemloft.net>
10294 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10295 multiple zero bytes exist at the end of a string.
10296 Reported by Aurelien Jarno <aurelien@aurel32.net>
10298 * string/test-strcmp.c (check): Add explicit test for situations where
10299 there are multiple zero bytes after the first.
10301 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10304 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10305 when compiling wprintf.
10306 * stdio-common/tstdiomisc.c (t3): New function.
10309 2014-05-01 Steve Ellcey <sellcey@mips.com>
10311 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10312 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10313 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10314 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10316 2014-05-01 Steve Ellcey <sellcey@mips.com>
10318 * stdlib/longlong.h: Updated from GCC.
10320 2014-05-01 Will Newton <will.newton@linaro.org>
10321 Bernard Ogden <bernie.ogden@linaro.org>
10323 * NEWS: Update fixed bug list.
10326 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10328 2014-04-30 David S. Miller <davem@davemloft.net>
10330 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10331 (libc_feholdexcept_setround_sparc_ctx): New function.
10332 (libc_fesetenv_sparc_ctx): Likewise.
10333 (libc_feupdateenv_sparc_ctx): Likewise.
10334 (libc_feholdsetround_sparc_ctx): Likewise.
10335 (libc_feholdexcept_setround_ctx): Define.
10336 (libc_feholdexcept_setroundf_ctx): Likewise.
10337 (libc_feholdexcept_setroundl_ctx): Likewise.
10338 (libc_fesetenv_ctx): Likewise.
10339 (libc_fesetenvf_ctx): Likewise.
10340 (libc_fesetenvl_ctx): Likewise.
10341 (libc_feupdateenv_ctx): Likewise.
10342 (libc_feupdateenvf_ctx): Likewise.
10343 (libc_feupdateenvl_ctx): Likewise.
10344 (libc_feresetround_ctx): Likewise.
10345 (libc_feresetroundf_ctx): Likewise.
10346 (libc_feresetroundl_ctx): Likewise.
10347 (libc_feholdsetround_ctx): Likewise.
10348 (libc_feholdsetroundf_ctx): Likewise.
10349 (libc_feholdsetroundl_ctx): Likewise.
10351 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10352 with __USE_GNU instead of XOPEN cpp guards.
10354 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10357 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10358 with XOPEN cpp guards.
10360 2014-04-30 Julian Brown <julian@codesourcery.com>
10363 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10366 2014-04-30 Joseph Myers <joseph@codesourcery.com>
10369 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10371 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10372 * sysdeps/unix/sysv/linux/configure: Regenerated.
10373 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10374 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10375 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10376 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10377 * README: Update reference to required Linux kernel version.
10378 * manual/install.texi (Linux): Update reference to required Linux
10379 kernel headers version.
10380 * INSTALL: Regenerated.
10382 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10384 [POSIX] (limits.h): Likewise.
10385 [POSIX] (math.h): Likewise.
10386 [POSIX] (sys/wait.h): Likewise.
10387 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10389 [POSIX] (stddef.h): Do not allow header inclusion.
10391 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10393 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10395 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10397 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10398 Return immediately after lll_futex_wake.
10400 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10403 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10405 (datahead_init_pos): Call datahead_init_common early.
10406 (datahead_init_neg): Likewise.
10408 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10409 datahead_init_neg): New functions.
10410 * nscd/aicache.c (addhstaiX): Use them.
10411 * nscd/grpcache.c (cache_addgr): Likewise.
10412 * nscd/hstcache.c (cache_addhst): Likewise.
10413 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10414 * nscd/netgroupcache.c (do_notfound): Likewise.
10415 (addgetnetgrentX): Likewise.
10416 (addinnetgrX): Likewise.
10417 * nscd/pwdcache.c (cache_addpw): Likewise.
10418 * nscd/servicescache.c (cache_addserv): Likewise.
10420 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10421 Atsushi Onoe <atsushi@onoe.org>
10426 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10427 one response is valid.
10428 * resolv/res_send.c (send_dg): Check for validity of other
10429 response if the current response is a referral.
10431 2014-04-29 Steve Ellcey <sellcey@mips.com>
10433 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10435 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10438 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10439 Always divide by positive zero when computing -Inf result.
10440 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10441 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10443 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10445 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10446 FPSCR if value do not change.
10447 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10448 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10449 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10450 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10451 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10452 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10455 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10457 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10458 * sysdeps/unix/sysv/linux/hppa: Move directory from
10459 ports/systeps/unix/sysv/linux/hppa.
10460 * README: Update listing for hppa-*-linux-gnu.
10462 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
10465 * manual/stdio.texi (Hook functions): Fix types of stream hook
10468 * socket/sys/socket.h: Fix typo in comment.
10470 2014-04-28 Wilco <wdijkstr@arm.com>
10472 * sysdeps/arm/fenv_private.h: New file.
10473 * sysdeps/arm/math_private.h: New file.
10474 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10476 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10478 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10480 (La_x86_64_retval): Likewise.
10482 2014-04-24 Ian Bolton <ian.bolton@arm.com>
10484 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10485 fpsr if value didn't change.
10486 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10487 to fpcr if value didn't change.
10488 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10489 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10490 fpsr or fpcr if value didn't change.
10491 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10492 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10493 fpcr if value didn't change.
10494 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10495 to fpsr if value didn't change.
10497 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10499 * nptl/tst-sem3.c: Use test-skeleton.c
10500 (main): Rename to do_test. Use return instead of
10502 * nptl/tst-sem4.c: Use test-skeleton.c
10503 (main): Rename to do_test.
10505 2014-04-22 David S. Miller <davem@davemloft.net>
10507 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10508 (struct sigaction): New struct member __glibc_reserved0, change
10509 type of sa_flags to int.
10511 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10513 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10514 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10516 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10518 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10519 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10521 2014-04-22 Will Newton <will.newton@linaro.org>
10522 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10524 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10525 (__longjmp): Add longjmp and longjmp_target SystemTap
10527 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10528 (__sigsetjmp): Add setjmp SystemTap probe.
10530 2014-04-17 Carlos O'Donell <carlos@redhat.com>
10532 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10533 match manual order.
10535 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10537 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10539 * sysdeps/powerpc/fpu/fenv_private.h
10540 (libc_feholdexcept_setroundl_ctx): Define to
10541 libc_feholdexcept_setround_ppc_ctx.
10542 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10543 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10544 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10545 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10547 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10549 * sysdeps/aarch64/math-tests.h: New file.
10551 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10553 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10556 Check and set bit_AVX2_Usable.
10557 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10559 (bit_AVX2): Likewise.
10560 (index_AVX2_Usable): Likewise.
10561 (CPUID_AVX2): Likewise.
10562 (HAS_AVX2): Likewise.
10564 2014-04-17 Will Newton <will.newton@linaro.org>
10566 * manual/setjmp.texi (System V contexts): Add note that
10567 calling setcontext on a context created by a call to a
10568 signal handler is undefined. Update text to note that
10569 setcontext from a signal handler is possible but not
10573 * stdlib/tst-setcontext.c: Include signal.h.
10574 (main): Check that the signal stack before and
10575 after swapcontext is the same.
10577 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10578 Re-implement to restore registers in user code and avoid
10579 rt_sigreturn system call.
10581 2014-04-17 Wilco <wdijkstr@arm.com>
10583 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10584 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10585 * math/test-fenv.c: Skip exception trap tests on targets which only
10586 support non-stop mode.
10588 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10589 Wilco Dijkstra <wilco.dijkstra@arm.com>
10591 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10592 (libc_feholdsetround_aarch64_ctx)
10593 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10594 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10595 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10596 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10597 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10598 (libc_feresetround_noexl_ctx): Define.
10600 2014-04-16 Richard Henderson <rth@redhat.com>
10602 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10604 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10607 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10608 const from the non-libc, non-ldso copy.
10610 * sysdeps/alpha/libm-test-ulps: Regenerate.
10612 2014-04-16 Ian Bolton <ian.bolton@arm.com>
10613 Wilco Dijkstra <wilco.dijkstra@arm.com>
10615 * sysdeps/aarch64/fpu/math_private.h: New file.
10617 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10619 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10621 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10624 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10625 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10627 Intel MPX bound registers before _dl_profile_fixup.
10628 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10629 registers after _dl_profile_fixup. Save and restore bound
10630 registers bnd0/bnd1 when calling _dl_call_pltexit.
10631 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10632 (LR_BND_OFFSET): Likewise.
10633 (LRV_BND0_OFFSET): Likewise.
10634 (LRV_BND1_OFFSET): Likewise.
10636 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10638 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10640 * sysdeps/mach/hurd/i386/tls.h: ... here.
10641 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10642 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10645 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10647 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10649 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10651 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10653 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10656 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10657 * sysdeps/s390/configure: Regenerate.
10660 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10661 Set round-to-nearest internally to reduce error accumulation.
10663 2014-04-16 Alan Modra <amodra@gmail.com>
10667 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10668 * math/libm-test.inc (frexp_test_data): Add tests.
10669 * NEWS: Update fixed bug list.
10671 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10673 * benchtests/Makefile: Depend on libraries in build directory.
10674 (bench-math): Separate out math tests.
10675 (bench-pthread): Separate out pthread tests.
10676 (bench): Include math and pthread tests.
10678 2014-04-14 Carlos O'Donell <carlos@redhat.com>
10681 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10682 _dl_debug_initialize.
10684 * configure.ac: Remove SELinux header check.
10685 * configure: Regenerate.
10686 * nscd/selinux.c (perms): Array of const char* to permission names.
10687 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10688 default policy. Call string_to_security_class and string_to_av_perm to
10689 translate strings. Enforce default policy and call avs_has_perm with
10690 results of translated strings.
10692 2014-04-13 David S. Miller <davem@davemloft.net>
10694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10696 2014-04-12 Allan McRae <allan@archlinux.org>
10699 * manual/string.texi (Collation Functions): Fix qsort argument
10701 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10703 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10705 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10706 Make the test a no-op if there are no exceptions defined.
10708 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10710 * elf/Makefile (tests): make tst-dlopen-aout conditional on
10711 enable-hardcoded-path-in-tests
10713 2014-04-11 Will Newton <will.newton@linaro.org>
10715 * benchtests/Makefile (extra-objs): Add json-lib.o.
10716 (bench-func): Tidy up JSON output.
10717 * benchtests/bench-skeleton.c: Include json-lib.h.
10718 (main): Use JSON library functions to do output of
10720 * benchtests/bench-timing-type.c (main): Output the
10721 timing type simply, leaving formatting to the user.
10722 * benchtests/json-lib.c: New file.
10723 * benchtests/json-lib.h: Likewise.
10725 2014-04-11 Torvald Riegel <triegel@redhat.com>
10728 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10729 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10730 memory barriers. Add comments.
10731 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10732 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10733 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10734 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10735 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10736 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10738 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10740 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10741 * sysdeps/s390/s390-64/configure.ac: ... this ...
10742 * sysdeps/s390/configure.ac: ... to here.
10743 * sysdeps/s390/s390-32/configure: Delete file.
10744 * sysdeps/s390/s390-64/configure: Delete file.
10745 * sysdeps/s390/configure: Regenerate.
10747 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10749 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10751 2014-04-11 Will Newton <will.newton@linaro.org>
10753 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10754 to zero if it is not defined elsewhere. (mtrim): Test
10755 the value of MALLOC_DEBUG with #if rather than #ifdef.
10757 2014-04-10 Torvald Riegel <triegel@redhat.com>
10759 * benchtests/pthread_once-inputs: New file.
10760 * benchtests/pthread_once-source.c: New file.
10761 * benchtests/README: Update documentation.
10763 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10764 H.J. Lu <hongjiu.lu@intel.com>
10767 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10768 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10769 * sysdeps/x86_64/configure: Regenerated.
10770 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10772 (REGISTER_SAVE_RAX): Likewise.
10773 (REGISTER_SAVE_RCX): Likewise.
10774 (REGISTER_SAVE_RDX): Likewise.
10775 (REGISTER_SAVE_RSI): Likewise.
10776 (REGISTER_SAVE_RDI): Likewise.
10777 (REGISTER_SAVE_R8): Likewise.
10778 (REGISTER_SAVE_R9): Likewise.
10779 (REGISTER_SAVE_BND0): Likewise.
10780 (REGISTER_SAVE_BND1): Likewise.
10781 (REGISTER_SAVE_BND2): Likewise.
10782 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10783 bound registers when calling _dl_fixup.
10785 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10787 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10788 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10790 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10791 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10792 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10793 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10794 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10795 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10796 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10798 2014-04-09 Peter Brett <peter@peter-b.co.uk>
10801 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10802 pathconf(_PC_NAME_MAX).
10804 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10806 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10807 Remove macro usage.
10808 (__PTHREAD_SPINS): Move definition to ...
10809 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10810 (__PTHREAD_SPINS): ... here.
10811 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10812 (__PTHREAD_SPIN): Likewise.
10813 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10814 (__PTHREAD_SPIN): Likewise.
10815 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10816 (__PTHREAD_SPIN): Likewise.
10817 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10818 (__PTHREAD_SPIN): Likewise.
10819 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10820 (__PTHREAD_SPIN): Likewise.
10821 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10822 (__PTHREAD_SPIN): Likewise.
10823 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10824 (__PTHREAD_SPIN): Likewise.
10825 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10826 (__PTHREAD_SPIN): Likewise.
10827 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10828 (__PTHREAD_SPIN): Likewise.
10829 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10830 (__PTHREAD_SPIN): Likewise.
10831 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10832 (__PTHREAD_SPIN): Likewise.
10833 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10834 (__PTHREAD_SPIN): Likewise.
10836 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10837 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10838 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10839 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10841 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10842 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10843 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10844 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10845 correct imply path.
10846 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10847 strlen symbol for non multi-arch builds.
10848 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10849 missing hidden_def and weak_alias.
10851 2014-04-08 Carlos O'Donell <carlos@redhat.com>
10853 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10855 2014-04-07 Will Newton <will.newton@linaro.org>
10857 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10858 and contents. [!_LIBC] Remove #ifndef and contents.
10859 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10860 * string/memccpy.c (__memccpy): Use ANSI prototype.
10861 * string/memfrob.c (memfrob): Likewise.
10862 * string/strcoll.c (STRCOLL): Likewise.
10863 * string/strlen.c (strlen): Likewise.
10864 * string/strtok.c (STRTOK): Likewise.
10865 * string/strcat.c: Remove unused #include of memcopy.h.
10866 (strcat): Use ANSI prototype.
10867 * string/strchr.c: Remove unused #include of memcopy.h.
10868 (strchr): Use ANSI prototype.
10869 * string/strcmp.c: Remove unused #include of memcopy.h.
10870 (strcmp): Use ANSI prototype.
10871 * string/strcpy.c: Remove unused #include of memcopy.h.
10872 (strcpy): Use ANSI prototype.
10874 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10876 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10877 * config.make.in (config-extra-cppflags): Set it from
10878 libc_extra_cppflags.
10879 * configure.ac (libc_extra_cflags): Make it accumulate over
10880 configure fragments.
10881 (libc_extra_cppflags): New flag.
10882 * configure. Regenerate.
10883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10884 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10885 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10889 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10890 result for FE_DOWNWARD rounding mode.
10891 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10895 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
10897 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10898 in function argument name.
10900 2014-04-03 David Svoboda <svoboda@cert.org>
10903 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10906 2014-04-03 Roland McGrath <roland@hack.frob.com>
10908 * elf/dl-unmap-segments.h: New file.
10909 * sysdeps/generic/ldsodefs.h
10910 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10911 * elf/dl-close.c: Include <dl-unmap-segments.h>.
10912 * elf/dl-fptr.c: Likewise.
10913 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10914 * sysdeps/aarch64/tlsdesc.c: Likewise.
10915 * sysdeps/arm/tlsdesc.c: Likewise.
10916 * sysdeps/i386/tlsdesc.c: Likewise.
10917 * sysdeps/tile/dl-runtime.c: Likewise.
10918 * sysdeps/x86_64/tlsdesc.c: Likewise.
10919 * elf/dl-load.h: New file.
10920 * elf/dl-load.c: Include it.
10921 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10922 Macros moved to dl-load.h.
10923 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10924 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10925 Use _dl_unmap_segments in place of __munmap.
10926 Break out segment-mapping loop into ...
10927 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10929 2014-04-03 Will Newton <will.newton@linaro.org>
10931 * elf/dl-lookup.c (do_lookup_x): Remove comment
10932 referring to nested function and move variable
10933 declarations down to before first use.
10935 2014-04-02 Joseph Myers <joseph@codesourcery.com>
10939 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10941 * math/s_catanf.c (__catanf): Likewise.
10942 * math/s_catanh.c (__catanh): Likewise.
10943 * math/s_catanhf.c (__catanhf): Likewise.
10944 * math/s_catanhl.c (__catanhl): Likewise.
10945 * math/s_catanl.c (__catanl): Likewise.
10946 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10947 by positive zero when computing -Inf result.
10948 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10949 (catanh_test): Likewise.
10950 * sysdeps/i386/fpu/libm-test-ulps: Update.
10951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10954 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10955 instead of using underflowing value in computing result.
10956 * math/s_clog10.c (__clog10): Likewise.
10957 * math/s_clog10f.c (__clog10f): Likewise.
10958 * math/s_clog10l.c (__clog10l): Likewise.
10959 * math/s_clogf.c (__clogf): Likewise.
10960 * math/s_clogl.c (__clogl): Likewise.
10961 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10962 (clog10_test): Likewise.
10963 * sysdeps/i386/fpu/libm-test-ulps: Update.
10964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10966 2014-04-02 Alan Modra <amodra@gmail.com>
10969 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10970 output when value is near a power of two. Use int64_t for lx and
10971 remove casts. Use decimal rather than hex exponent constants.
10972 Don't use long double multiplication when double will suffice.
10973 * math/libm-test.inc (nextafter_test_data): Add tests.
10974 * NEWS: Add 16739 and 16786 to bug list.
10976 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10978 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10980 2014-04-01 Will Newton <will.newton@linaro.org>
10982 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10983 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10985 2014-04-01 Florian Weimer <fweimer@redhat.com>
10988 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10989 * nptl/tst-setuid2.c: New file.
10990 * nptl/Makefile (xtests): Add tst-setuid2.
10992 2014-04-01 Alan Modra <amodra@gmail.com>
10995 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10997 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11001 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11002 set errno as appropriate.
11003 * math/w_scalbf.c (__scalbf): Likewise.
11004 * math/w_scalbl.c (__scalbl): Likewise.
11005 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11006 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11007 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11008 Add more NaN tests.
11011 * math/w_atan2.c: Include <errno.h>.
11012 (__atan2): Set errno for result underflowing to zero.
11013 * math/w_atan2f.c: Include <errno.h>.
11014 (__atan2f): Set errno for result underflowing to zero.
11015 * math/w_atan2l.c: Include <errno.h>.
11016 (__atan2l): Set errno for result underflowing to zero.
11017 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11019 * math/auto-libm-test-out: Regenerated.
11021 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11023 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11024 Encode instruction correctly in little endian.
11025 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11027 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11029 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11031 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11034 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11037 * sysdeps/unix/sysv/linux/kernel-features.h
11038 [__sparc__ && !__arch64__ && !__sparc_v9__]
11039 (__ASSUME_SET_ROBUST_LIST): Do not define.
11040 [__sparc__ && !__arch64__ && !__sparc_v9__]
11041 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11042 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11044 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11045 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11046 (__ASSUME_REQUEUE_PI): Likewise.
11047 (__ASSUME_SET_ROBUST_LIST): Likewise.
11048 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11049 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11051 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11052 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11054 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11056 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11058 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11059 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11061 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11062 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11066 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11067 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11068 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11070 2014-03-31 Will Newton <will.newton@linaro.org>
11072 * benchtests/Makefile (bench): Add ffs and ffsll to list
11074 * benchtests/ffs-inputs: New file.
11075 * benchtests/ffsll-inputs: Likewise.
11077 2014-03-29 Joseph Myers <joseph@codesourcery.com>
11080 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11081 too large before casting to int.
11082 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11083 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11084 * math/libm-test.inc (scalb_test_data): Add more tests.
11086 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11088 * benchtests/Makefile (DETAILED_OPT): New make option.
11089 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11091 * benchtests/bench-skeleton.c: Include stdbool.h.
11092 (main): Store and print timings per input.
11093 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11094 member to each argument value.
11095 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11096 (_print_arg_data): Initialize per-input timing to 0.
11098 * benchtests/Makefile (timing-type): New binary.
11099 (bench-clean): Also remove bench-timing-type.
11100 (bench): New target for timing-type.
11101 (bench-func): Print output in JSON format.
11102 * benchtests/bench-skeleton.c (main): Print output in JSON
11104 * benchtests/bench-timing-type.c: New file.
11105 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11106 (TIMING_PRINT_STATS): Remove.
11107 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11110 * benchtests/bench-modf.c: Remove.
11111 * benchtests/modf-inputs: New inputs file.
11113 2014-03-28 Joseph Myers <joseph@codesourcery.com>
11116 * math/s_clog10.c (M_PI_LOG10E): New macro.
11117 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11118 imaginary parts are 0.
11119 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11120 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11121 imaginary parts are 0.
11122 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11123 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11124 imaginary parts are 0.
11125 * math/libm-test.inc (clog10_test_data): Update expected results
11126 for when real and imaginary parts are 0.
11128 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11130 * elf/dl-load.c: Finish conversion of __builtin_expect into
11131 __glibc_{un}likely.
11133 2014-03-27 Joseph Myers <joseph@codesourcery.com>
11136 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11137 1+x for argument with exponent below -67.
11138 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11140 * math/auto-libm-test-in: Add more tests of exp.
11141 * math/auto-libm-test-out: Regenerated.
11143 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11146 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11147 (nscd_getnetgrent): Use it.
11150 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11153 2014-03-27 Andi Kleen <ak@linux.intel.com>
11155 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11156 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11157 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11158 (lll_robust_unlock): Remove out of line section. Use cfi
11160 (LLL_STUB_UNWIND_INFO*): Remove.
11161 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11162 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11163 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11164 (lll_robust_unlock): Remove out of line section. Use cfi
11166 (LLL_STUB_UNWIND_INFO*): Remove.
11168 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11171 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11174 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11176 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11178 2014-03-26 Joseph Myers <joseph@codesourcery.com>
11181 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11183 * math/test-fenv-preserve.c: New file.
11184 * math/Makefile (tests): Add test-fenv-preserve.
11186 2014-03-26 Will Newton <will.newton@linaro.org>
11188 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11190 2014-03-25 Roland McGrath <roland@hack.frob.com>
11192 * scripts/versionlist.awk: Partition the version sets and emit all
11193 GLIBC_* (sorted) before all others (sorted).
11195 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11197 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11198 GLIBC_2.2.5 version.
11200 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11202 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11205 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11210 2014-03-25 Andreas Schwab <schwab@suse.de>
11212 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11213 label to be used after in6ailist is initialized.
11215 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11217 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11218 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11220 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11224 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11226 (fp_formats): Update initializers.
11227 (init_fp_formats): Initialize new field.
11228 (output_for_one_input_case): Allow underflow for results up to
11230 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11231 * math/auto-libm-test-in: Don't mark some underflows from asin and
11233 * math/auto-libm-test-out: Regenerated.
11234 * sysdeps/i386/fpu/libm-test-ulps: Update.
11235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11237 2014-03-25 Andreas Schwab <schwab@suse.de>
11239 * libio/Makefile (tst-ftell-partial-wide-ENV)
11240 (tst-ftell-active-handler-ENV): Define.
11242 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11244 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11246 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11248 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11250 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11252 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11253 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11254 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11256 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11259 * elf/dl-load.c (open_verify): Add mode parameter.
11260 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11261 (open_path): Change from boolean 'secure' to complete flag 'mode'
11262 (_dl_map_object): Adjust.
11263 * elf/Makefile (tests): Add tst-dlopen-aout.
11264 * elf/tst-dlopen-aout.c: New test.
11266 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11269 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11270 (struct stat): Rename member pad0 to __glibc_reserved0.
11273 * sysdeps/s390/s390-32/bits/wordsize.h
11274 (__WORDSIZE32_SIZE_ULONG): New define.
11275 * sysdeps/s390/s390-64/bits/wordsize.h
11276 (__WORDSIZE32_SIZE_ULONG): Likewise.
11277 * sysdeps/generic/stdint.h (SIZE_MAX):
11278 Define as UL if __WORDSIZE32_SIZE_ULONG.
11281 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11282 (__glibc_reserved0): New variable.
11283 (sa_flags): Change type to int.
11285 * posix/Makefile (before-compile): Use += before-compile instead
11288 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11289 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11291 2014-03-20 Andreas Schwab <schwab@suse.de>
11294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11295 non-matching result from nscd.
11297 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11299 * scripts/bench.py: Moved to ...
11300 * benchtests/scripts/bench.py: ... here.
11301 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11303 2014-03-24 Andreas Schwab <schwab@suse.de>
11306 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11307 alloca_account and account alloca use for struct in6ailist.
11309 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11312 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11313 rounding mode to recompute results that overflow to infinity or
11315 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11317 * math/auto-libm-test-out: Regenerated.
11318 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11319 (ccosh_test): Likewise.
11320 (csin_test_data): Use plus_oflow.
11321 (csin_test): Use ALL_RM_TEST.
11322 (csinh_test_data): Use plus_oflow.
11323 (csinh_test): Use ALL_RM_TEST.
11324 * sysdeps/i386/fpu/libm-test-ulps: Update.
11325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11327 2014-03-21 Joseph Myers <joseph@codesourcery.com>
11329 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11330 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11331 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11334 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11335 when x - 1 is zero.
11336 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11337 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11338 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11339 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11341 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11342 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11344 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11345 * sysdeps/i386/fpu/libm-test-ulps: Update.
11346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11348 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11350 * scripts/bench.pl: Remove file.
11351 * scripts/bench.py: New benchmark script.
11352 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11353 * benchtests/README: Mention python dependency.
11354 * scripts/pylintrc: New file.
11355 * scripts/pylint: New file.
11357 * bits/mathdef.h: Use #ifdef instead of #if.
11358 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11359 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11360 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11361 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11362 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11363 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11365 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11366 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11368 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11369 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11370 and strpbrk-ppc64 objects.
11371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11372 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11373 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11374 multiarch strpbrk for POWER7.
11375 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11376 multiarch strpbrk for PPC64.
11377 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11379 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11380 strpbrk for POWER7.
11382 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11384 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11385 (atan_test): Likewise.
11386 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11387 (atanh_test): Use ALL_RM_TEST.
11388 (atan2_test_data): Likewise.
11389 (cabs_test): Likewise.
11390 (cacosh_test): Likewise.
11391 (carg_test): Likewise.
11392 (casin_test): Likewise.
11393 (casinh_test): Likewise.
11394 (cbrt_test): Likewise.
11395 (csqrt_test): Likewise.
11396 (erf_test): Likewise.
11397 (erfc_test): Likewise.
11398 (pow10_test): Likewise.
11399 (exp2_test): Likewise.
11400 (hypot_test): Likewise.
11401 (j0_test): Likewise.
11402 (j1_test): Likewise.
11403 (lgamma_test): Likewise.
11404 (gamma_test): Likewise.
11405 (sincos_test): Likewise.
11406 (tanh_test): Likewise.
11407 (y0_test): Likewise.
11408 (y1_test): Likewise.
11409 * sysdeps/i386/fpu/libm-test-ulps: Update.
11410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11412 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11414 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11416 and strcspn-ppc64 objects.
11417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11418 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11419 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11420 multiarch strcspn for POWER7.
11421 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11422 multiarch strcspn for PPC64.
11423 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11425 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11426 strcspn for POWER7.
11428 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11430 * math/gen-libm-test.pl (generate_testfile): Expect only function
11431 name as argument to AUTO_TESTS_* and pass results for all rounding
11432 modes to parse_args.
11433 (parse_auto_input): Separate inputs of automatic tests from
11434 outputs before storing in %auto_tests.
11435 * math/libm-test.inc (acos_test_data): Update call to
11437 (acos_test): Use ALL_RM_TEST.
11438 (acos_tonearest_test_data): Remove.
11439 (acos_test_tonearest): Likewise.
11440 (acos_towardzero_test_data): Likewise.
11441 (acos_test_towardzero): Likewise.
11442 (acos_downward_test_data): Likewise.
11443 (acos_test_downward): Likewise.
11444 (acos_upward_test_data): Likewise.
11445 (acos_test_upward): Likewise.
11446 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11447 (asin_test_data): Likewise.
11448 (asin_test): Use ALL_RM_TEST.
11449 (asin_tonearest_test_data): Remove.
11450 (asin_test_tonearest): Likewise.
11451 (asin_towardzero_test_data): Likewise.
11452 (asin_test_towardzero): Likewise.
11453 (asin_downward_test_data): Likewise.
11454 (asin_test_downward): Likewise.
11455 (asin_upward_test_data): Likewise.
11456 (asin_test_upward): Likewise.
11457 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11458 (atan_test_data): Likewise.
11459 (atanh_test_data): Likewise.
11460 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11461 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11462 (carg_test_data): Likewise.
11463 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11464 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11465 (ccosh_test_data): Likewise.
11466 (cexp_test_data): Likewise.
11467 (clog_test_data): Likewise.
11468 (clog10_test_data): Likewise.
11469 (cos_test_data): Update call to AUTO_TESTS_f_f.
11470 (cos_test): Use ALL_RM_TEST.
11471 (cos_tonearest_test_data): Remove.
11472 (cos_test_tonearest): Likewise.
11473 (cos_towardzero_test_data): Likewise.
11474 (cos_test_towardzero): Likewise.
11475 (cos_downward_test_data): Likewise.
11476 (cos_test_downward): Likewise.
11477 (cos_upward_test_data): Likewise.
11478 (cos_test_upward): Likewise.
11479 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11480 (cosh_test): Use ALL_RM_TEST.
11481 (cosh_tonearest_test_data): Remove.
11482 (cosh_test_tonearest): Likewise.
11483 (cosh_towardzero_test_data): Likewise.
11484 (cosh_test_towardzero): Likewise.
11485 (cosh_downward_test_data): Likewise.
11486 (cosh_test_downward): Likewise.
11487 (cosh_upward_test_data): Likewise.
11488 (cosh_test_upward): Likewise.
11489 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11490 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11491 (ctan_test_data): Likewise.
11492 (ctan_test): Use ALL_RM_TEST.
11493 (ctan_tonearest_test_data): Remove.
11494 (ctan_test_tonearest): Likewise.
11495 (ctan_towardzero_test_data): Likewise.
11496 (ctan_test_towardzero): Likewise.
11497 (ctan_downward_test_data): Likewise.
11498 (ctan_test_downward): Likewise.
11499 (ctan_upward_test_data): Likewise.
11500 (ctan_test_upward): Likewise.
11501 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11502 (ctanh_test): Use ALL_RM_TEST.
11503 (ctanh_tonearest_test_data): Remove.
11504 (ctanh_test_tonearest): Likewise.
11505 (ctanh_towardzero_test_data): Likewise.
11506 (ctanh_test_towardzero): Likewise.
11507 (ctanh_downward_test_data): Likewise.
11508 (ctanh_test_downward): Likewise.
11509 (ctanh_upward_test_data): Likewise.
11510 (ctanh_test_upward): Likewise.
11511 (erf_test_data): Update call to AUTO_TESTS_f_f.
11512 (erfc_test_data): Likewise.
11513 (exp_test_data): Likewise.
11514 (exp_test): Use ALL_RM_TEST.
11515 (exp_tonearest_test_data): Remove.
11516 (exp_test_tonearest): Likewise.
11517 (exp_towardzero_test_data): Likewise.
11518 (exp_test_towardzero): Likewise.
11519 (exp_downward_test_data): Likewise.
11520 (exp_test_downward): Likewise.
11521 (exp_upward_test_data): Likewise.
11522 (exp_test_upward): Likewise.
11523 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11524 (exp10_test): Use ALL_RM_TEST.
11525 (exp10_tonearest_test_data): Remove.
11526 (exp10_test_tonearest): Likewise.
11527 (exp10_towardzero_test_data): Likewise.
11528 (exp10_test_towardzero): Likewise.
11529 (exp10_downward_test_data): Likewise.
11530 (exp10_test_downward): Likewise.
11531 (exp10_upward_test_data): Likewise.
11532 (exp10_test_upward): Likewise.
11533 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11534 (expm1_test_data): Likewise.
11535 (expm1_test): Use ALL_RM_TEST.
11536 (expm1_tonearest_test_data): Remove.
11537 (expm1_test_tonearest): Likewise.
11538 (expm1_towardzero_test_data): Likewise.
11539 (expm1_test_towardzero): Likewise.
11540 (expm1_downward_test_data): Likewise.
11541 (expm1_test_downward): Likewise.
11542 (expm1_upward_test_data): Likewise.
11543 (expm1_test_upward): Likewise.
11544 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11545 (fma_test): Use ALL_RM_TEST.
11546 (fma_towardzero_test_data): Remove.
11547 (fma_test_towardzero): Likewise.
11548 (fma_downward_test_data): Likewise.
11549 (fma_test_downward): Likewise.
11550 (fma_upward_test_data): Likewise.
11551 (fma_test_upward): Likewise.
11552 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11553 (j0_test_data): Update call to AUTO_TESTS_f_f.
11554 (j1_test_data): Likewise.
11555 (jn_test_data): Update call to AUTO_TESTS_if_f.
11556 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11557 (log_test_data): Update call to AUTO_TESTS_f_f.
11558 (log10_test_data): Likewise.
11559 (log1p_test_data): Likewise.
11560 (log2_test_data): Likewise.
11561 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11562 (pow_tonearest_test_data): Likewise.
11563 (sin_test_data): Update call to AUTO_TESTS_f_f.
11564 (sin_test): Use ALL_RM_TEST.
11565 (sin_tonearest_test_data): Remove.
11566 (sin_test_tonearest): Likewise.
11567 (sin_towardzero_test_data): Likewise.
11568 (sin_test_towardzero): Likewise.
11569 (sin_downward_test_data): Likewise.
11570 (sin_test_downward): Likewise.
11571 (sin_upward_test_data): Likewise.
11572 (sin_test_upward): Likewise.
11573 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11574 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11575 (sinh_test): Use ALL_RM_TEST.
11576 (sinh_tonearest_test_data): Remove.
11577 (sinh_test_tonearest): Likewise.
11578 (sinh_towardzero_test_data): Likewise.
11579 (sinh_test_towardzero): Likewise.
11580 (sinh_downward_test_data): Likewise.
11581 (sinh_test_downward): Likewise.
11582 (sinh_upward_test_data): Likewise.
11583 (sinh_test_upward): Likewise.
11584 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11585 (sqrt_test): Use ALL_RM_TEST.
11586 (sqrt_tonearest_test_data): Remove.
11587 (sqrt_test_tonearest): Likewise.
11588 (sqrt_towardzero_test_data): Likewise.
11589 (sqrt_test_towardzero): Likewise.
11590 (sqrt_downward_test_data): Likewise.
11591 (sqrt_test_downward): Likewise.
11592 (sqrt_upward_test_data): Likewise.
11593 (sqrt_test_upward): Likewise.
11594 (tan_test_data): Update call to AUTO_TESTS_f_f.
11595 (tan_test): Use ALL_RM_TEST.
11596 (tan_tonearest_test_data): Remove.
11597 (tan_test_tonearest): Likewise.
11598 (tan_towardzero_test_data): Likewise.
11599 (tan_test_towardzero): Likewise.
11600 (tan_downward_test_data): Likewise.
11601 (tan_test_downward): Likewise.
11602 (tan_upward_test_data): Likewise.
11603 (tan_test_upward): Likewise.
11604 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11605 (tgamma_test_data): Likewise.
11606 (y0_test_data): Likewise.
11607 (y1_test_data): Likewise.
11608 (yn_test_data): Update call to AUTO_TESTS_if_f.
11609 (main): Do not call removed functions.
11611 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11613 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11614 (ldexp_test_data): Remove.
11615 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11617 (scalb_test): Use ALL_RM_TEST.
11619 2014-03-19 Andreas Schwab <schwab@suse.de>
11621 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11623 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11626 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11627 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11628 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11629 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11630 (__ASSUME_PREADV): Undefine.
11631 (__ASSUME_PWRITEV): Likewise.
11633 2014-03-18 Roland McGrath <roland@hack.frob.com>
11635 * bits/mman-linux.h: Add comment about non-Linux use.
11636 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11637 bits/mman-linux.h resting place.
11639 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11640 * bits/mman-linux.h: ... here.
11642 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11644 * conform/conformtest.pl: Add standard definition when calling C
11645 preprocessor on data files.
11646 (checknamespace): Remove unused variable.
11648 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11650 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11651 minus_oflow, plus_uflow and minus_uflow in expected results.
11652 * math/libm-test.inc (scalbn_test_data): Add more tests of
11653 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11655 (scalbn_test): Use ALL_RM_TEST.
11656 (scalbln_test_data): Add more tests of negative arguments. Use
11657 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11658 (scalbln_test): Use ALL_RM_TEST.
11660 2014-03-18 Roland McGrath <roland@hack.frob.com>
11662 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11664 2014-03-18 Will Newton <will.newton@linaro.org>
11666 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11667 inaccurate comment.
11669 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11671 * Makerules [!subdir] (check-abi): Exit with error status if a
11674 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11676 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11677 for rint. Include results for all rounding modes.
11678 (nearbyint_test): Use ALL_RM_TEST.
11679 (rint_test_data): Include all tests used for nearbyint.
11681 2014-03-17 Will Newton <will.newton@linaro.org>
11683 * nptl/sysdeps/pthread/pthread.h: Revert previous
11686 * sysdeps/generic/ldsodefs.h: Revert previous
11689 * libio/genops.c: Revert previous change.
11690 * libio/libioP.h: Likewise.
11691 * stdio-common/vfprintf.c: Likewise.
11693 * sysdeps/generic/math_private.h: Revert previous
11696 * sysdeps/generic/math_private.h: Check whether
11697 HAVE_RM_CTX is defined with #ifdef rather
11700 * argp/argp-fmtstream.h: Check whether
11701 __STRICT_ANSI__ is defined with #ifdef rather
11703 * argp/argp.h: Likewise.
11705 * libio/genops.c: Check whether
11706 _IO_JUMPS_OFFSET is defined with #ifdef rather
11708 * libio/libioP.h: Likewise.
11709 * stdio-common/vfprintf.c: Likewise.
11711 * sysdeps/generic/ldsodefs.h: Check whether
11712 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11715 * nptl/sysdeps/pthread/pthread.h: Check
11716 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11719 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11721 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11723 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11727 * libio/fileops.c (_IO_file_open): Seek to end of file but
11728 don't cache the offset.
11729 (get_file_offset): Remove function.
11730 (do_ftell): Use cached offset when available.
11731 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11732 don't cache the offset.
11733 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11735 (do_one_test): Call it.
11736 (do_ftell_test): Fix up expected old offset for a+ mode.
11737 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11740 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11741 up test status with function return status.
11742 (do_write_test): Likewise.
11743 (do_append_test): Likewise.
11745 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11746 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11749 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11751 * math/gen-libm-test.pl (parse_args): Handle results specified for
11752 each rounding mode separately.
11753 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11754 tests and results from lrint_tonearest_test_data,
11755 lrint_towardzero_test_data, lrint_downward_test_data and
11756 lrint_upward_test_data.
11757 (lrint_test): Use ALL_RM_TEST.
11758 (lrint_tonearest_test_data): Remove.
11759 (lrint_test_tonearest): Likewise.
11760 (lrint_towardzero_test_data): Likewise.
11761 (lrint_test_towardzero): Likewise.
11762 (lrint_downward_test_data): Likewise.
11763 (lrint_test_downward): Likewise.
11764 (lrint_upward_test_data): Likewise.
11765 (lrint_test_upward): Likewise.
11766 (llrint_test_data): Merge in per-rounding-mode tests and results
11767 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11768 llrint_downward_test_data and llrint_upward_test_data.
11769 (llrint_test): Use ALL_RM_TEST.
11770 (llrint_tonearest_test_data): Remove.
11771 (llrint_test_tonearest): Likewise.
11772 (llrint_towardzero_test_data): Likewise.
11773 (llrint_test_towardzero): Likewise.
11774 (llrint_downward_test_data): Likewise.
11775 (llrint_test_downward): Likewise.
11776 (llrint_upward_test_data): Likewise.
11777 (llrint_test_upward): Likewise.
11778 (rint_test_data): Merge in per-rounding-mode tests and results
11779 from rint_tonearest_test_data, rint_towardzero_test_data,
11780 rint_downward_test_data and rint_upward_test_data. Add
11781 per-rounding-mode results for tests not in those arrays.
11782 (rint_test): Use ALL_RM_TEST.
11783 (rint_tonearest_test_data): Remove.
11784 (rint_test_tonearest): Likewise.
11785 (rint_towardzero_test_data): Likewise.
11786 (rint_test_towardzero): Likewise.
11787 (rint_downward_test_data): Likewise.
11788 (rint_test_downward): Likewise.
11789 (rint_upward_test_data): Likewise.
11790 (rint_test_upward): Likewise.
11791 (main): Don't call removed functions.
11793 2014-03-14 Roland McGrath <roland@hack.frob.com>
11795 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11796 "Compiled on ..." crapola. It is anti-useful.
11798 2014-03-14 Joseph Myers <joseph@codesourcery.com>
11800 * scripts/evaluate-test.sh: Handle fourth argument to determine
11801 whether test run should stop on failure.
11802 * Makeconfig (stop-on-test-failure): New variable.
11803 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11804 $(stop-on-test-failure).
11805 * Makefile (tests): Give a summary of results from testing and
11806 exit with failure status if they include an ERROR or FAIL.
11807 (xtests): Likewise.
11808 * manual/install.texi (Configuring and compiling): Mention
11809 stop-on-test-failure=y.
11810 * INSTALL: Regenerated.
11812 2014-03-14 Roland McGrath <roland@hack.frob.com>
11814 * scripts/versionlist.awk: New file.
11815 * Makerules [$(build-shared) = yes]
11816 (postclean-generated): Add Versions.def, not Versions.def.v and
11818 ($(common-objpfx)Versions.def.v.i): Target removed.
11819 ($(common-objpfx)Versions.def): New target.
11820 ($(common-objpfx)Versions.all): Depend on that rather that
11821 $(common-objpfx)Versions.def.v.
11822 * Versions.def: File removed.
11824 * Makeconfig (+gccwarn): Add -Wundef.
11825 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11826 a dl-sysdep.h breaking its contract.
11827 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11828 * include/stackinfo.h: New file.
11829 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11830 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11831 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11832 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11833 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11834 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11835 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11836 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11837 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11838 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11839 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11840 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11841 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11842 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11843 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11845 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11848 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11850 * math/libm-test.inc (round_test_data): Add more tests.
11853 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11855 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11858 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11860 * math/libm-test.inc (ceil_test_data): Add more tests.
11862 * math/libm-test.inc (trunc_test_data): Add more tests related to
11865 2014-03-14 Roland McGrath <roland@hack.frob.com>
11867 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11868 with #if rather than #ifdef.
11869 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11871 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11873 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11874 first. Disable AVX-512 GCC support if assembler doesn't support
11876 * sysdeps/x86_64/configure: Regenerated.
11878 2014-03-13 Carlos O'Donell <carlos@redhat.com>
11880 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11881 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11882 (__old_pthread_attr_setstack): Likewise.
11883 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11884 [!_STACK_GROWS_DOWN]: Likewise.
11886 2014-03-13 Mike Frysinger <vapier@gentoo.org>
11888 * config.make.in (have-bash2): Delete.
11889 * configure.ac (libc_cv_have_bash2): Delete.
11890 * configure: Regenerate.
11891 * elf/Makefile (common-ldd-rewrite): Rename to ...
11892 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
11893 (sh-ldd-rewrite): Delete.
11894 (bash-ldd-rewrite): Delete.
11895 (have-bash2): Delete checks.
11896 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11899 * config.make.in (have-ksh): Delete.
11901 * configure.ac (libc_cv_have_ksh): Delete.
11902 * configure: Regenerate.
11904 * elf/Makefile: Delete $(have-ksh) check.
11905 ($(objpfx)sotruss): Change KSH to BASH.
11906 * elf/sotruss.ksh: Rename to ...
11907 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
11908 function style to match POSIX. Drop ksh vim mode setting.
11910 * manual/time.texi (Specifying the Time Zone with TZ): Change
11911 Tuesday to Thursday.
11913 * debug/tst-longjmp_chk2.c: Update header comment.
11914 (stackoverflow_handler): Add comment. Call assert on pass value.
11916 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
11919 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11920 (HAVE_AVX512_ASM_SUPPORT): Likewise.
11921 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11922 (La_x86_64_vector): Add zmm.
11923 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11924 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11925 ($(objpfx)tst-audit10): New target.
11926 ($(objpfx)tst-audit10.out): Likewise.
11927 (tst-audit10-ENV): New.
11928 (AVX512-CFLAGS): Likewise.
11929 (CFLAGS-tst-audit10.c): Likewise.
11930 (CFLAGS-tst-auditmod10a.c): Likewise.
11931 (CFLAGS-tst-auditmod10b.c): Likewise.
11932 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11933 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11934 * sysdeps/x86_64/configure: Regenerated.
11935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11936 AVX-512 zmm register support.
11937 (_dl_x86_64_save_sse): Likewise.
11938 (_dl_x86_64_restore_sse): Likewise.
11939 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11940 size vector registers.
11941 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11942 (ZMM_SIZE): Likewise.
11943 * sysdeps/x86_64/tst-audit10.c: New file.
11944 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11945 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11947 2014-03-13 Roland McGrath <roland@hack.frob.com>
11949 * configure.ac (HAVE_EHDR_START): New check.
11950 * configure: Regenerated.
11951 * config.h.in (HAVE_EHDR_START): New #undef.
11952 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11953 assuming the lowest-addressed segment maps the start of the file.
11955 2014-03-13 Joseph Myers <joseph@codesourcery.com>
11957 * INSTALL: Regenerated.
11959 2014-03-13 Will Newton <will.newton@linaro.org>
11961 * manual/setjmp.texi (System V contexts): Improve
11962 clarity and grammar of documentation.
11964 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11967 * elf/Makefile (tests): Add tst-pie2.
11968 (tests-pie): Add tst-pie2.
11969 * elf/tst-pie2.c: New file.
11970 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11972 * elf/rtld.c (map_doit): Load executable as lt_executable.
11973 (dl_main): Likewise.
11975 2014-03-12 Joseph Myers <joseph@codesourcery.com>
11978 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11979 (__ASSUME_PSELECT): Undefine.
11981 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11984 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11985 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11987 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11988 selector for static builds.
11990 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11993 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11996 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11998 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11999 IFUNC selector for static builds.
12001 2014-03-11 Joseph Myers <joseph@codesourcery.com>
12003 * sysdeps/mips/math_private.h [__mips_hard_float]
12004 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12005 libc_feresetround_mips_ctx.
12006 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12007 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12008 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12011 * math/s_nextafter.c (__nextafter): Do not return value from
12012 overflowing computation.
12013 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12014 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12015 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12017 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12019 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12020 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12022 2014-03-11 Roland McGrath <roland@hack.frob.com>
12024 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12025 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12026 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12027 the new mov targetting sp.
12029 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12032 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12033 Define it for static builds as well.
12034 (NO_BZERO_IMPL): Likewise.
12036 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12038 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12039 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12040 multiarch strspn for PPC64.
12041 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12042 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12044 (__libc_ifunc_impl_list): Likewise.
12045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12046 multiarch optimizations
12047 * string/strspn.c (strspn): Using macro to redefine symbol name.
12049 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12050 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12052 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12053 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12054 multiarch strncat for PPC64.
12055 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12056 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12058 (__libc_ifunc_impl_list): Likewise.
12059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12060 multiarch optimizations
12062 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12065 * nscd/nscd.service: Make service type forking.
12067 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12069 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12070 sign in non default rounding modes.
12071 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12073 2014-03-08 Joseph Myers <joseph@codesourcery.com>
12075 * math/libm-test.inc (ALL_RM_TEST): New macro.
12076 (ceil_test): Use ALL_RM_TEST.
12077 (cimag_test): Likewise.
12078 (conj_test): Likewise.
12079 (copysign_test): Likewise.
12080 (cproj_test): Likewise.
12081 (creal_test): Likewise.
12082 (fabs_test): Likewise.
12083 (floor_test): Likewise.
12084 (fmax_test): Likewise.
12085 (fmin_test): Likewise.
12086 (fmod_test): Likewise.
12087 (fpclassify_test): Likewise.
12088 (frexp_test): Likewise.
12089 (ilogb_test): Likewise.
12090 (isfinite_test): Likewise.
12091 (finite_test): Likewise.
12092 (isgreater_test): Likewise.
12093 (isgreaterequal_test): Likewise.
12094 (isinf_test): Likewise.
12095 (isless_test): Likewise.
12096 (islessequal_test): Likewise.
12097 (islessgreater_test): Likewise.
12098 (isnan_test): Likewise.
12099 (isnormal_test): Likewise.
12100 (issignaling_test): Likewise.
12101 (isunordered_test): Likewise.
12102 (logb_test): Likewise.
12103 (logb_downward_test_data): Remove.
12104 (logb_test_downward): Likewise.
12105 (lround_test): Use ALL_RM_TEST.
12106 (llround_test): Likewise.
12107 (modf_test): Likewise.
12108 (nexttoward_test): Likewise.
12109 (remainder_test): Likewise.
12110 (drem_test): Likewise.
12111 (remainder_tonearest_test_data): Likewise.
12112 (remainder_test_tonearest): Likewise.
12113 (drem_test_tonearest): Likewise.
12114 (remainder_towardzero_test_data): Likewise.
12115 (remainder_test_towardzero): Likewise.
12116 (drem_test_towardzero): Likewise.
12117 (remainder_downward_test_data): Likewise.
12118 (remainder_test_downward): Likewise.
12119 (drem_test_downward): Likewise.
12120 (remainder_upward_test_data): Likewise.
12121 (remainder_test_upward): Likewise.
12122 (drem_test_upward): Likewise.
12123 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12124 (round_test): Use ALL_RM_TEST.
12125 (signbit_test): Likewise.
12126 (trunc_test): Likewise.
12127 (significand_test): Likewise.
12128 (main): Don't call removed functions.
12130 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12133 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12134 || __USE_XOPEN2K8].
12135 (ILL_ILLOPN): Likewise.
12136 (ILL_ILLADR): Likewise.
12137 (ILL_ILLTRP): Likewise.
12138 (ILL_PRVOPC): Likewise.
12139 (ILL_PRVREG): Likewise.
12140 (ILL_COPROC): Likewise.
12141 (ILL_BADSTK): Likewise.
12142 (FPE_INTDIV): Likewise.
12143 (FPE_INTOVF): Likewise.
12144 (FPE_FLTDIV): Likewise.
12145 (FPE_FLTOVF): Likewise.
12146 (FPE_FLTUND): Likewise.
12147 (FPE_FLTRES): Likewise.
12148 (FPE_FLTINV): Likewise.
12149 (FPE_FLTSUB): Likewise.
12150 (SEGV_MAPERR): Likewise.
12151 (SEGV_ACCERR): Likewise.
12152 (BUS_ADRALN): Likewise.
12153 (BUS_ADRERR): Likewise.
12154 (BUS_OBJERR): Likewise.
12155 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12156 (TRAP_TRACE): Likewise.
12157 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12159 (CLD_KILLED): Likewise.
12160 (CLD_DUMPED): Likewise.
12161 (CLD_TRAPPED): Likewise.
12162 (CLD_STOPPED): Likewise.
12163 (CLD_CONTINUED): Likewise.
12164 (POLL_IN): Likewise.
12165 (POLL_OUT): Likewise.
12166 (POLL_MSG): Likewise.
12167 (POLL_ERR): Likewise.
12168 (POLL_PRI): Likewise.
12169 (POLL_HUP): Likewise.
12170 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12172 (ILL_ILLOPN): Likewise.
12173 (ILL_ILLADR): Likewise.
12174 (ILL_ILLTRP): Likewise.
12175 (ILL_PRVOPC): Likewise.
12176 (ILL_PRVREG): Likewise.
12177 (ILL_COPROC): Likewise.
12178 (ILL_BADSTK): Likewise.
12179 (FPE_INTDIV): Likewise.
12180 (FPE_INTOVF): Likewise.
12181 (FPE_FLTDIV): Likewise.
12182 (FPE_FLTOVF): Likewise.
12183 (FPE_FLTUND): Likewise.
12184 (FPE_FLTRES): Likewise.
12185 (FPE_FLTINV): Likewise.
12186 (FPE_FLTSUB): Likewise.
12187 (SEGV_MAPERR): Likewise.
12188 (SEGV_ACCERR): Likewise.
12189 (BUS_ADRALN): Likewise.
12190 (BUS_ADRERR): Likewise.
12191 (BUS_OBJERR): Likewise.
12192 (BUS_MCEERR_AR): Likewise.
12193 (BUS_MCEERR_AO): Likewise.
12194 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12195 (TRAP_TRACE): Likewise.
12196 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12198 (CLD_KILLED): Likewise.
12199 (CLD_DUMPED): Likewise.
12200 (CLD_TRAPPED): Likewise.
12201 (CLD_STOPPED): Likewise.
12202 (CLD_CONTINUED): Likewise.
12203 (POLL_IN): Likewise.
12204 (POLL_OUT): Likewise.
12205 (POLL_MSG): Likewise.
12206 (POLL_ERR): Likewise.
12207 (POLL_PRI): Likewise.
12208 (POLL_HUP): Likewise.
12209 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12210 (ILL_ILLOPN): Likewise.
12211 (ILL_ILLADR): Likewise.
12212 (ILL_ILLTRP): Likewise.
12213 (ILL_PRVOPC): Likewise.
12214 (ILL_PRVREG): Likewise.
12215 (ILL_COPROC): Likewise.
12216 (ILL_BADSTK): Likewise.
12217 (FPE_INTDIV): Likewise.
12218 (FPE_INTOVF): Likewise.
12219 (FPE_FLTDIV): Likewise.
12220 (FPE_FLTOVF): Likewise.
12221 (FPE_FLTUND): Likewise.
12222 (FPE_FLTRES): Likewise.
12223 (FPE_FLTINV): Likewise.
12224 (FPE_FLTSUB): Likewise.
12225 (SEGV_MAPERR): Likewise.
12226 (SEGV_ACCERR): Likewise.
12227 (BUS_ADRALN): Likewise.
12228 (BUS_ADRERR): Likewise.
12229 (BUS_OBJERR): Likewise.
12230 (BUS_MCEERR_AR): Likewise.
12231 (BUS_MCEERR_AO): Likewise.
12232 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12233 (TRAP_TRACE): Likewise.
12234 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12236 (CLD_KILLED): Likewise.
12237 (CLD_DUMPED): Likewise.
12238 (CLD_TRAPPED): Likewise.
12239 (CLD_STOPPED): Likewise.
12240 (CLD_CONTINUED): Likewise.
12241 (POLL_IN): Likewise.
12242 (POLL_OUT): Likewise.
12243 (POLL_MSG): Likewise.
12244 (POLL_ERR): Likewise.
12245 (POLL_PRI): Likewise.
12246 (POLL_HUP): Likewise.
12247 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12249 (ILL_ILLOPN): Likewise.
12250 (ILL_ILLADR): Likewise.
12251 (ILL_ILLTRP): Likewise.
12252 (ILL_PRVOPC): Likewise.
12253 (ILL_PRVREG): Likewise.
12254 (ILL_COPROC): Likewise.
12255 (ILL_BADSTK): Likewise.
12256 (ILL_BADIADDR): Likewise.
12257 (ILL_BREAK): Likewise.
12258 (FPE_INTDIV): Likewise.
12259 (FPE_INTOVF): Likewise.
12260 (FPE_FLTDIV): Likewise.
12261 (FPE_FLTOVF): Likewise.
12262 (FPE_FLTUND): Likewise.
12263 (FPE_FLTRES): Likewise.
12264 (FPE_FLTINV): Likewise.
12265 (FPE_FLTSUB): Likewise.
12266 (FPE_DECOVF): Likewise.
12267 (FPE_DECDIV): Likewise.
12268 (FPE_DECERR): Likewise.
12269 (FPE_INVASC): Likewise.
12270 (FPE_INVDEC): Likewise.
12271 (SEGV_MAPERR): Likewise.
12272 (SEGV_ACCERR): Likewise.
12273 (SEGV_PSTKOVF): Likewise.
12274 (BUS_ADRALN): Likewise.
12275 (BUS_ADRERR): Likewise.
12276 (BUS_OBJERR): Likewise.
12277 (BUS_MCEERR_AR): Likewise.
12278 (BUS_MCEERR_AO): Likewise.
12279 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12280 (TRAP_TRACE): Likewise.
12281 (TRAP_BRANCH): Likewise.
12282 (TRAP_HWBKPT): Likewise.
12283 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12285 (CLD_KILLED): Likewise.
12286 (CLD_DUMPED): Likewise.
12287 (CLD_TRAPPED): Likewise.
12288 (CLD_STOPPED): Likewise.
12289 (CLD_CONTINUED): Likewise.
12290 (POLL_IN): Likewise.
12291 (POLL_OUT): Likewise.
12292 (POLL_MSG): Likewise.
12293 (POLL_ERR): Likewise.
12294 (POLL_PRI): Likewise.
12295 (POLL_HUP): Likewise.
12296 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12297 (ILL_ILLOPN): Likewise.
12298 (ILL_ILLADR): Likewise.
12299 (ILL_ILLTRP): Likewise.
12300 (ILL_PRVOPC): Likewise.
12301 (ILL_PRVREG): Likewise.
12302 (ILL_COPROC): Likewise.
12303 (ILL_BADSTK): Likewise.
12304 (FPE_INTDIV): Likewise.
12305 (FPE_INTOVF): Likewise.
12306 (FPE_FLTDIV): Likewise.
12307 (FPE_FLTOVF): Likewise.
12308 (FPE_FLTUND): Likewise.
12309 (FPE_FLTRES): Likewise.
12310 (FPE_FLTINV): Likewise.
12311 (FPE_FLTSUB): Likewise.
12312 (SEGV_MAPERR): Likewise.
12313 (SEGV_ACCERR): Likewise.
12314 (BUS_ADRALN): Likewise.
12315 (BUS_ADRERR): Likewise.
12316 (BUS_OBJERR): Likewise.
12317 (BUS_MCEERR_AR): Likewise.
12318 (BUS_MCEERR_AO): Likewise.
12319 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12320 (TRAP_TRACE): Likewise.
12321 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12323 (CLD_KILLED): Likewise.
12324 (CLD_DUMPED): Likewise.
12325 (CLD_TRAPPED): Likewise.
12326 (CLD_STOPPED): Likewise.
12327 (CLD_CONTINUED): Likewise.
12328 (POLL_IN): Likewise.
12329 (POLL_OUT): Likewise.
12330 (POLL_MSG): Likewise.
12331 (POLL_ERR): Likewise.
12332 (POLL_PRI): Likewise.
12333 (POLL_HUP): Likewise.
12334 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12335 (ILL_ILLOPN): Likewise.
12336 (ILL_ILLADR): Likewise.
12337 (ILL_ILLTRP): Likewise.
12338 (ILL_PRVOPC): Likewise.
12339 (ILL_PRVREG): Likewise.
12340 (ILL_COPROC): Likewise.
12341 (ILL_BADSTK): Likewise.
12342 (FPE_INTDIV): Likewise.
12343 (FPE_INTOVF): Likewise.
12344 (FPE_FLTDIV): Likewise.
12345 (FPE_FLTOVF): Likewise.
12346 (FPE_FLTUND): Likewise.
12347 (FPE_FLTRES): Likewise.
12348 (FPE_FLTINV): Likewise.
12349 (FPE_FLTSUB): Likewise.
12350 (SEGV_MAPERR): Likewise.
12351 (SEGV_ACCERR): Likewise.
12352 (BUS_ADRALN): Likewise.
12353 (BUS_ADRERR): Likewise.
12354 (BUS_OBJERR): Likewise.
12355 (BUS_MCEERR_AR): Likewise.
12356 (BUS_MCEERR_AO): Likewise.
12357 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12358 (TRAP_TRACE): Likewise.
12359 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12361 (CLD_KILLED): Likewise.
12362 (CLD_DUMPED): Likewise.
12363 (CLD_TRAPPED): Likewise.
12364 (CLD_STOPPED): Likewise.
12365 (CLD_CONTINUED): Likewise.
12366 (POLL_IN): Likewise.
12367 (POLL_OUT): Likewise.
12368 (POLL_MSG): Likewise.
12369 (POLL_ERR): Likewise.
12370 (POLL_PRI): Likewise.
12371 (POLL_HUP): Likewise.
12372 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12373 (ILL_ILLOPN): Likewise.
12374 (ILL_ILLADR): Likewise.
12375 (ILL_ILLTRP): Likewise.
12376 (ILL_PRVOPC): Likewise.
12377 (ILL_PRVREG): Likewise.
12378 (ILL_COPROC): Likewise.
12379 (ILL_BADSTK): Likewise.
12380 (FPE_INTDIV): Likewise.
12381 (FPE_INTOVF): Likewise.
12382 (FPE_FLTDIV): Likewise.
12383 (FPE_FLTOVF): Likewise.
12384 (FPE_FLTUND): Likewise.
12385 (FPE_FLTRES): Likewise.
12386 (FPE_FLTINV): Likewise.
12387 (FPE_FLTSUB): Likewise.
12388 (SEGV_MAPERR): Likewise.
12389 (SEGV_ACCERR): Likewise.
12390 (BUS_ADRALN): Likewise.
12391 (BUS_ADRERR): Likewise.
12392 (BUS_OBJERR): Likewise.
12393 (BUS_MCEERR_AR): Likewise.
12394 (BUS_MCEERR_AO): Likewise.
12395 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12396 (TRAP_TRACE): Likewise.
12397 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12399 (CLD_KILLED): Likewise.
12400 (CLD_DUMPED): Likewise.
12401 (CLD_TRAPPED): Likewise.
12402 (CLD_STOPPED): Likewise.
12403 (CLD_CONTINUED): Likewise.
12404 (POLL_IN): Likewise.
12405 (POLL_OUT): Likewise.
12406 (POLL_MSG): Likewise.
12407 (POLL_ERR): Likewise.
12408 (POLL_PRI): Likewise.
12409 (POLL_HUP): Likewise.
12410 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12411 (ILL_ILLOPN): Likewise.
12412 (ILL_ILLADR): Likewise.
12413 (ILL_ILLTRP): Likewise.
12414 (ILL_PRVOPC): Likewise.
12415 (ILL_PRVREG): Likewise.
12416 (ILL_COPROC): Likewise.
12417 (ILL_BADSTK): Likewise.
12418 (ILL_DBLFLT): Likewise.
12419 (ILL_HARDWALL): Likewise.
12420 (FPE_INTDIV): Likewise.
12421 (FPE_INTOVF): Likewise.
12422 (FPE_FLTDIV): Likewise.
12423 (FPE_FLTOVF): Likewise.
12424 (FPE_FLTUND): Likewise.
12425 (FPE_FLTRES): Likewise.
12426 (FPE_FLTINV): Likewise.
12427 (FPE_FLTSUB): Likewise.
12428 (SEGV_MAPERR): Likewise.
12429 (SEGV_ACCERR): Likewise.
12430 (BUS_ADRALN): Likewise.
12431 (BUS_ADRERR): Likewise.
12432 (BUS_OBJERR): Likewise.
12433 (BUS_MCEERR_AR): Likewise.
12434 (BUS_MCEERR_AO): Likewise.
12435 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12436 (TRAP_TRACE): Likewise.
12437 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12439 (CLD_KILLED): Likewise.
12440 (CLD_DUMPED): Likewise.
12441 (CLD_TRAPPED): Likewise.
12442 (CLD_STOPPED): Likewise.
12443 (CLD_CONTINUED): Likewise.
12444 (POLL_IN): Likewise.
12445 (POLL_OUT): Likewise.
12446 (POLL_MSG): Likewise.
12447 (POLL_ERR): Likewise.
12448 (POLL_PRI): Likewise.
12449 (POLL_HUP): Likewise.
12450 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12451 (ILL_ILLOPN): Likewise.
12452 (ILL_ILLADR): Likewise.
12453 (ILL_ILLTRP): Likewise.
12454 (ILL_PRVOPC): Likewise.
12455 (ILL_PRVREG): Likewise.
12456 (ILL_COPROC): Likewise.
12457 (ILL_BADSTK): Likewise.
12458 (FPE_INTDIV): Likewise.
12459 (FPE_INTOVF): Likewise.
12460 (FPE_FLTDIV): Likewise.
12461 (FPE_FLTOVF): Likewise.
12462 (FPE_FLTUND): Likewise.
12463 (FPE_FLTRES): Likewise.
12464 (FPE_FLTINV): Likewise.
12465 (FPE_FLTSUB): Likewise.
12466 (SEGV_MAPERR): Likewise.
12467 (SEGV_ACCERR): Likewise.
12468 (BUS_ADRALN): Likewise.
12469 (BUS_ADRERR): Likewise.
12470 (BUS_OBJERR): Likewise.
12471 (BUS_MCEERR_AR): Likewise.
12472 (BUS_MCEERR_AO): Likewise.
12473 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12474 (TRAP_TRACE): Likewise.
12475 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12477 (CLD_KILLED): Likewise.
12478 (CLD_DUMPED): Likewise.
12479 (CLD_TRAPPED): Likewise.
12480 (CLD_STOPPED): Likewise.
12481 (CLD_CONTINUED): Likewise.
12482 (POLL_IN): Likewise.
12483 (POLL_OUT): Likewise.
12484 (POLL_MSG): Likewise.
12485 (POLL_ERR): Likewise.
12486 (POLL_PRI): Likewise.
12487 (POLL_HUP): Likewise.
12488 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12489 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12492 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12493 before #include of <time.h>.
12494 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12495 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12496 (test-xfail-UNIX98/sched.h/conform): Likewise.
12498 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12500 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12501 error absence of trapping exception support.
12502 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12504 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12506 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12507 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12508 * timezone/Makefile (testdata): Move definition above include of
12510 (test-zones): New variable.
12511 (tests-special): Add zone files.
12512 (build-testdata): Use $(evaluate-test).
12514 * elf/Makefile (tests-special): Rename tests to end with .out.
12515 ($(objpfx)noload-mem): Likewise.
12516 ($(objpfx)tst-leaks1-mem): Likewise.
12517 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12518 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12519 $(objpfx)test-iconvconfig.out.
12520 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12521 set -e inside subshell and redirect output to file.
12522 * iconvdata/Makefile (generated): Rename tests to end with .out.
12524 (tests-special): Rename tests to end with .out.
12525 ($(objpfx)mtrace-tst-loading): Likewise.
12526 * intl/Makefile (generated): Likewise.
12527 (tests-special): Likewise.
12528 ($(objpfx)mtrace-tst-gettext): Likewise.
12529 * misc/Makefile (generated): Likewise.
12530 (tests-special): Likewise.
12531 ($(objpfx)tst-error1-mem): Likewise.
12532 * nptl/Makefile (tests-special): Likewise.
12533 ($(objpfx)tst-stack3-mem): Likewise.
12534 (generated): Likewise.
12535 * posix/Makefile (generated): Likewise.
12536 (tests-special): Likewise.
12537 (xtests-special): Likewise.
12538 ($(objpfx)tst-fnmatch-mem): Likewise.
12539 ($(objpfx)bug-regex2-mem): Likewise.
12540 ($(objpfx)bug-regex14-mem): Likewise.
12541 ($(objpfx)bug-regex21-mem): Likewise.
12542 ($(objpfx)bug-regex31-mem): Likewise.
12543 ($(objpfx)tst-vfork3-mem): Likewise.
12544 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12545 ($(objpfx)tst-pcre-mem): Likewise.
12546 ($(objpfx)tst-boost-mem): Likewise.
12547 ($(objpfx)bug-ga2-mem): Likewise.
12548 ($(objpfx)bug-glob2-mem): Likewise.
12549 * resolv/Makefile (generate): Likewise.
12550 (tests-special): Likewise.
12551 (xtests-special): Likewise.
12552 (generated): Likewise.
12553 ($(objpfx)mtrace-tst-leaks): Likewise.
12554 ($(objpfx)mtrace-tst-leaks2): Likewise.
12556 * scripts/merge-test-results.sh: New file.
12557 * Makefile (tests-special-notdir): New variable.
12558 (tests): Run merge-test-results.sh.
12559 (xtests): Likewise.
12560 * Rules (tests-special-notdir): New variable.
12561 (xtests-special-notdir): Likewise.
12562 (tests): Run merge-test-results.sh
12563 (xtests): Likewise.
12565 * Makeconfig (test-xfail-name): New variable.
12566 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12567 compute variable name for expected failures.
12568 * conform/Makefile (conformtest-headers-data): New variable.
12569 (conformtest-standards): Likewise.
12570 (conformtest-headers-ISO): Likewise.
12571 (conformtest-headers-ISO99): Likewise.
12572 (conformtest-headers-ISO11): Likewise.
12573 (conformtest-headers-POSIX): Likewise.
12574 (conformtest-headers-XPG3): Likewise.
12575 (conformtest-headers-XPG4): Likewise.
12576 (conformtest-headers-UNIX98): Likewise.
12577 (conformtest-headers-XOPEN2K): Likewise.
12578 (conformtest-headers-POSIX2008): Likewise.
12579 (conformtest-headers-XOPEN2K8): Likewise.
12580 (conformtest-header-list-base): Likewise.
12581 (conformtest-header-list-tests): Likewise.
12582 (conformtest-header-base): Likewise.
12583 (conformtest-header-tests): Likewise.
12584 (tests-special): Add $(conformtest-header-list-tests). If
12585 [$(fast-check) && !$(cross-compiling)], add
12586 $(conformtest-header-tests) instead of
12587 $(objpfx)run-conformtest.out.
12588 (generated): Add $(conformtest-header-list-base). If
12589 [$(fast-check) && !$(cross-compiling)], add
12590 $(conformtest-header-base). Remove previous setting.
12591 ($(conformtest-header-list-tests)): New target.
12592 (test-xfail-run-conformtest): Remove variable.
12593 ($(objpfx)run-conformtest.out): Remove target.
12594 (test-xfail-ISO11/complex.h/conform): New variable.
12595 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12596 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12597 (test-xfail-XPG3/varargs.h/conform): Likewise.
12598 (test-xfail-XPG4/varargs.h/conform): Likewise.
12599 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12600 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12601 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12602 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12603 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12604 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12605 (test-xfail-XPG3/ftw.h/conform): Likewise.
12606 (test-xfail-XPG3/grp.h/conform): Likewise.
12607 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12608 (test-xfail-XPG3/limits.h/conform): Likewise.
12609 (test-xfail-XPG3/pwd.h/conform): Likewise.
12610 (test-xfail-XPG3/search.h/conform): Likewise.
12611 (test-xfail-XPG3/signal.h/conform): Likewise.
12612 (test-xfail-XPG3/stdio.h/conform): Likewise.
12613 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12614 (test-xfail-XPG3/string.h/conform): Likewise.
12615 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12616 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12617 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12618 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12619 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12620 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12621 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12622 (test-xfail-XPG3/termios.h/conform): Likewise.
12623 (test-xfail-XPG3/time.h/conform): Likewise.
12624 (test-xfail-XPG3/unistd.h/conform): Likewise.
12625 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12626 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12627 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12628 (test-xfail-XPG4/netdb.h/conform): Likewise.
12629 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12630 (test-xfail-XPG4/signal.h/conform): Likewise.
12631 (test-xfail-XPG4/stdio.h/conform): Likewise.
12632 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12633 (test-xfail-XPG4/stropts.h/conform): Likewise.
12634 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12635 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12636 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12637 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12638 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12639 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12640 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12641 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12642 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12643 (test-xfail-XPG4/termios.h/conform): Likewise.
12644 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12645 (test-xfail-XPG4/unistd.h/conform): Likewise.
12646 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12647 (test-xfail-POSIX/sched.h/conform): Likewise.
12648 (test-xfail-POSIX/signal.h/conform): Likewise.
12649 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12650 (test-xfail-POSIX/tar.h/conform): Likewise.
12651 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12652 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12653 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12654 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12655 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12656 (test-xfail-UNIX98/sched.h/conform): Likewise.
12657 (test-xfail-UNIX98/signal.h/conform): Likewise.
12658 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12659 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12660 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12661 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12662 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12663 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12664 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12665 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12666 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12667 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12668 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12669 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12670 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12671 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12672 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12673 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12674 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12675 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12676 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12677 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12678 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12679 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12680 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12681 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12682 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12683 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12684 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12685 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12686 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12687 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12688 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12689 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12690 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12691 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12692 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12693 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12694 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12695 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12696 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12697 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12698 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12699 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12700 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12701 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12702 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12703 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12704 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12705 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12706 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12707 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12708 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12709 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12710 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12711 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12712 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12713 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12714 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12715 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12716 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12717 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12718 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12719 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12720 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12721 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12722 (conformtest-cc-flags): Likewise.
12723 ($(conformtest-header-tests): New target.
12724 * conform/check-header-lists.sh: New file.
12725 * conform/run-conformtest.sh: Remove.
12727 * conform/conformtest.pl: Allow ' and \ in values given for
12729 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12731 [POSIX] (sys/types.h): Likewise.
12732 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12734 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12736 * conform/data/signal.h-data (SIGIO): Remove expectation.
12737 [XPG3] (SIGBUS): Do not expect.
12738 [POSIX || XPG3] (SIGPOLL): Likewise.
12739 [POSIX || XPG3] (SIGPROF): Likewise.
12740 [POSIX || XPG3] (SIGSYS): Likewise.
12741 [XPG3] (SIGTRAP): Likewise.
12742 [POSIX || XPG3] (SIGURG): Likewise.
12743 [POSIX || XPG3] (SIGVTALRM): Likewise.
12744 [POSIX || XPG3] (SIGXCPU): Likewise.
12745 [POSIX || XPG3] (SIGXFSZ): Likewise.
12746 [POSIX] (SA_SIGINFO): Expect.
12747 [XPG3] (siginfo_t): Do not expect type or contents.
12748 [POSIX] (si_pid): Do not expect element.
12749 [POSIX] (si_uid): Likewise.
12750 [POSIX] (si_addr): Likewise.
12751 [POSIX] (si_status): Likewise.
12752 [POSIX] (si_band): Likewise.
12753 [XPG4] (si_value): Likewise.
12754 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12755 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12756 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12757 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12758 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12759 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12760 [POSIX || XPG3] (ILL_COPROC): Likewise.
12761 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12762 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12763 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12764 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12765 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12766 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12767 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12768 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12769 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12770 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12771 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12772 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12773 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12774 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12775 [POSIX || XPG3] (CLD_EXITED): Likewise.
12776 [POSIX || XPG3] (CLD_KILLED): Likewise.
12777 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12778 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12779 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12780 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12781 [POSIX || XPG3] (POLL_IN): Likewise.
12782 [POSIX || XPG3] (POLL_OUT): Likewise.
12783 [POSIX || XPG3] (POLL_MSG): Likewise.
12784 [POSIX || XPG3] (POLL_ERR): Likewise.
12785 [POSIX || XPG3] (POLL_PRI): Likewise.
12786 [POSIX || XPG3] (POLL_HUP): Likewise.
12787 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12788 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12789 (SIG*): Do not allow.
12790 [XPG3] (si_*): Likewise.
12791 [XPG3] (SI_*): Likewise.
12792 [XPG3 || XPG4] (sigev_*): Likewise.
12793 [XPG3 || XPG4] (SIGEV_*): Likewise.
12794 [XPG3 || XPG4] (sival_*): Likewise.
12795 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12796 [POSIX || XPG3] (BUS_*): Likewise.
12797 [POSIX || XPG3] (CLD_*): Likewise.
12798 [POSIX || XPG3] (FPE_*): Likewise.
12799 [POSIX || XPG3] (ILL_*): Likewise.
12800 [POSIX || XPG3] (POLL_*): Likewise.
12801 [POSIX || XPG3] (SEGV_*): Likewise.
12802 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12803 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12804 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12805 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12806 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12807 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12808 Specify type and value.
12809 (TVERSLEN): Likewise.
12810 (REGTYPE): Likewise.
12811 (AREGTYPE): Likewise.
12812 (LNKTYPE): Likewise.
12813 (SYMTYPE): Likewise.
12814 (CHRTYPE): Likewise.
12815 (BLKTYPE): Likewise.
12816 (DIRTYPE): Likewise.
12817 (FIFOTYPE): Likewise.
12818 (CONTTYPE): Likewise.
12822 (TUREAD): Likewise.
12823 (TUWRITE): Likewise.
12824 (TUEXEC): Likewise.
12825 (TGREAD): Likewise.
12826 (TGWRITE): Likewise.
12827 (TGEXEC): Likewise.
12828 (TOREAD): Likewise.
12829 (TOWRITE): Likewise.
12830 (TOEXEC): Likewise.
12831 [POSIX] (TSVTX): Expect constant.
12833 2014-03-06 Joseph Myers <joseph@codesourcery.com>
12835 * Makefile (tests): Change dependencies to ....
12836 (tests-special): ... additions to this variable.
12837 (tests): Depend on $(tests-special).
12838 * Makerules (check-abi-list): New variable.
12839 (check-abi): Depend on $(check-abi-list).
12840 [$(subdir) = elf] (tests-special): Add
12841 $(objpfx)check-abi-libc.out.
12842 [$(build-shared) = yes && subdir] (tests-special): Add
12844 [$(build-shared) = yes && subdir] (tests): Do not depend on
12846 * Rules (tests): Depend on $(tests-special).
12847 (xtests): Depend on $(xtests-special).
12848 * catgets/Makefile (tests): Change dependencies to ....
12849 (tests-special): ... additions to this variable.
12850 * conform/Makefile (tests): Change dependencies to ....
12851 (tests-special): ... additions to this variable.
12852 * elf/Makefile (tests): Change dependencies to ....
12853 (tests-special): ... additions to this variable.
12854 * grp/Makefile (tests): Change dependencies to ....
12855 (tests-special): ... additions to this variable.
12856 * iconv/Makefile (xtests): Change dependencies to ....
12857 (xtests-special): ... additions to this variable.
12858 * iconvdata/Makefile (tests): Change dependencies to ....
12859 (tests-special): ... additions to this variable.
12860 * intl/Makefile (tests): Change dependencies to ....
12861 (tests-special): ... additions to this variable. Also add
12862 $(objpfx)tst-gettext.out.
12863 * io/Makefile (tests): Change dependencies to ....
12864 (tests-special): ... additions to this variable.
12865 * libio/Makefile (tests): Change dependencies to ....
12866 (tests-special): ... additions to this variable.
12867 * malloc/Makefile (tests): Change dependencies to ....
12868 (tests-special): ... additions to this variable.
12869 * misc/Makefile (tests): Change dependencies to ....
12870 (tests-special): ... additions to this variable.
12871 * nptl/Makefile (tests): Change dependencies to ....
12872 (tests-special): ... additions to this variable.
12873 * nptl_db/Makefile (tests): Change dependencies to ....
12874 (tests-special): ... additions to this variable.
12875 * posix/Makefile (tests): Change dependencies to ....
12876 (tests-special): ... additions to this variable.
12877 (xtests): Change dependencies to ....
12878 (xtests-special): ... additions to this variable.
12879 * resolv/Makefile (tests): Change dependencies to ....
12880 (tests-special): ... additions to this variable.
12881 (xtests): Change dependencies to ....
12882 (xtests-special): ... additions to this variable.
12883 * stdio-common/Makefile (tests): Change dependencies to ....
12884 (tests-special): ... additions to this variable.
12885 (do-tst-unbputc): Remove target.
12886 (do-tst-printf): Likewise.
12887 * stdlib/Makefile (tests): Change dependencies to ....
12888 (tests-special): ... additions to this variable.
12889 * string/Makefile (tests): Change dependencies to ....
12890 (tests-special): ... additions to this variable.
12891 * sysdeps/x86/Makefile (tests): Change dependencies to ....
12892 (tests-special): ... additions to this variable.
12894 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12896 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12898 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12899 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12901 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12902 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12903 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12904 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12905 * conform/data/libgen.h-data [XPG3]: Likewise.
12906 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12907 * conform/data/ndbm.h-data [XPG3]: Likewise.
12908 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12909 * conform/data/netdb.h-data [XPG3]: Likewise.
12910 * conform/data/netinet/in.h-data [XPG3]: Likewise.
12911 * conform/data/poll.h-data [XPG3]: Likewise.
12912 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12913 * conform/data/strings.h-data [XPG3]: Likewise.
12914 * conform/data/stropts.h-data [XPG3]: Likewise.
12915 * conform/data/sys/mman.h-data [XPG3]: Likewise.
12916 * conform/data/sys/resource.h-data [XPG3]: Likewise.
12917 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12919 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12920 * conform/data/sys/time.h-data [XPG3]: Likewise.
12921 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12922 * conform/data/sys/uio.h-data [XPG3]: Likewise.
12923 * conform/data/sys/un.h-data [XPG3]: Likewise.
12924 * conform/data/syslog.h-data [XPG3]: Likewise.
12925 * conform/data/ucontext.h-data [XPG3]: Likewise.
12926 * conform/data/utmpx.h-data [XPG3]: Likewise.
12927 * conform/data/varargs.h-data [UNIX98]: Enable file.
12929 * manual/Makefile (INSTALL_INFO): Remove variable setting.
12931 * math/libm-test.inc (struct test_f_f_data): Move expected results
12932 into structure for each rounding mode.
12933 (struct test_ff_f_data): Likewise.
12934 (struct test_ff_f_data_nexttoward): Likewise.
12935 (struct test_fi_f_data): Likewise.
12936 (struct test_fl_f_data): Likewise.
12937 (struct test_if_f_data): Likewise.
12938 (struct test_fff_f_data): Likewise.
12939 (struct test_c_f_data): Likewise.
12940 (struct test_f_f1_data): Likewise.
12941 (struct test_fF_f1_data): Likewise.
12942 (struct test_ffI_f1_data): Likewise.
12943 (struct test_c_c_data): Likewise.
12944 (struct test_cc_c_data): Likewise.
12945 (struct test_f_i_data): Likewise.
12946 (struct test_ff_i_data): Likewise.
12947 (struct test_f_l_data): Likewise.
12948 (struct test_f_L_data): Likewise.
12949 (struct test_fFF_11_data): Likewise.
12951 (RM_FE_DOWNWARD): Likewise.
12952 (RM_FE_TONEAREST): Likewise.
12953 (RM_FE_TOWARDZERO): Likewise.
12954 (RM_FE_UPWARD): Likewise.
12955 (RUN_TEST_LOOP_f_f): Update references to expected results.
12956 (RUN_TEST_LOOP_2_f): Likewise.
12957 (RUN_TEST_LOOP_fff_f): Likewise.
12958 (RUN_TEST_LOOP_c_f): Likewise.
12959 (RUN_TEST_LOOP_f_f1): Likewise.
12960 (RUN_TEST_LOOP_fF_f1): Likewise.
12961 (RUN_TEST_LOOP_fI_f1): Likewise.
12962 (RUN_TEST_LOOP_ffI_f1): Likewise.
12963 (RUN_TEST_LOOP_c_c): Likewise.
12964 (RUN_TEST_LOOP_cc_c): Likewise.
12965 (RUN_TEST_LOOP_f_i): Likewise.
12966 (RUN_TEST_LOOP_f_i_tg): Likewise.
12967 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12968 (RUN_TEST_LOOP_f_b): Likewise.
12969 (RUN_TEST_LOOP_f_b_tg): Likewise.
12970 (RUN_TEST_LOOP_f_l): Likewise.
12971 (RUN_TEST_LOOP_f_L): Likewise.
12972 (RUN_TEST_LOOP_fFF_11): Likewise.
12973 * math/gen-libm-test.pl (parse_args): Output four copies of
12974 expected results for each test.
12976 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12977 (__ASSUME_UTIMES): Remove.
12978 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12979 (__ASSUME_UTIMES): Likewise.
12981 * math/gen-auto-libm-tests.c: Update comment on output format.
12982 (output_for_one_input_case): Generate before-rounding and
12983 after-rounding information as conditions on output flags not
12984 floating-point format.
12985 * math/auto-libm-test-out: Regenerated.
12986 * math/gen-libm-test.pl (cond_value): New function.
12987 (or_cond_value): Use cond_value.
12988 (generate_testfile): Handle conditional exceptions.
12990 2014-03-05 Joseph Myers <joseph@codesourcery.com>
12992 * math/libm-test.inc (max_valid_error): New variable.
12993 (init_max_error): Take new argument specifying whether function
12994 results are exactly determined. Set max_valid_error and bound
12995 other variables for errors based on this argument.
12996 (set_max_error): Do not record results above max_valid_error.
12997 (check_float_internal): Only accept errors of up to 0.5ulps if
12998 also at most max_valid_error.
12999 (START): Take new argument EXACT and pass it to init_max_error.
13000 (acos_test): Update call to START.
13001 (acos_test_tonearest): Likewise.
13002 (acos_test_towardzero): Likewise.
13003 (acos_test_downward): Likewise.
13004 (acos_test_upward): Likewise.
13005 (acosh_test): Likewise.
13006 (asin_test): Likewise.
13007 (asin_test_tonearest): Likewise.
13008 (asin_test_towardzero): Likewise.
13009 (asin_test_downward): Likewise.
13010 (asin_test_upward): Likewise.
13011 (asinh_test): Likewise.
13012 (atan_test): Likewise.
13013 (atanh_test): Likewise.
13014 (atan2_test): Likewise.
13015 (cabs_test): Likewise.
13016 (cacos_test): Likewise.
13017 (cacosh_test): Likewise.
13018 (carg_test): Likewise.
13019 (casin_test): Likewise.
13020 (casinh_test): Likewise.
13021 (catan_test): Likewise.
13022 (catanh_test): Likewise.
13023 (cbrt_test): Likewise.
13024 (ccos_test): Likewise.
13025 (ccosh_test): Likewise.
13026 (ceil_test): Likewise.
13027 (cexp_test): Likewise.
13028 (cimag_test): Likewise.
13029 (clog_test): Likewise.
13030 (clog10_test): Likewise.
13031 (conj_test): Likewise.
13032 (copysign_test): Likewise.
13033 (cos_test): Likewise.
13034 (cos_test_tonearest): Likewise.
13035 (cos_test_towardzero): Likewise.
13036 (cos_test_downward): Likewise.
13037 (cos_test_upward): Likewise.
13038 (cosh_test): Likewise.
13039 (cosh_test_tonearest): Likewise.
13040 (cosh_test_towardzero): Likewise.
13041 (cosh_test_downward): Likewise.
13042 (cosh_test_upward): Likewise.
13043 (cpow_test): Likewise.
13044 (cproj_test): Likewise.
13045 (creal_test): Likewise.
13046 (csin_test): Likewise.
13047 (csinh_test): Likewise.
13048 (csqrt_test): Likewise.
13049 (ctan_test): Likewise.
13050 (ctan_test_tonearest): Likewise.
13051 (ctan_test_towardzero): Likewise.
13052 (ctan_test_downward): Likewise.
13053 (ctan_test_upward): Likewise.
13054 (ctanh_test): Likewise.
13055 (ctanh_test_tonearest): Likewise.
13056 (ctanh_test_towardzero): Likewise.
13057 (ctanh_test_downward): Likewise.
13058 (ctanh_test_upward): Likewise.
13059 (erf_test): Likewise.
13060 (erfc_test): Likewise.
13061 (exp_test): Likewise.
13062 (exp_test_tonearest): Likewise.
13063 (exp_test_towardzero): Likewise.
13064 (exp_test_downward): Likewise.
13065 (exp_test_upward): Likewise.
13066 (exp10_test): Likewise.
13067 (exp10_test_tonearest): Likewise.
13068 (exp10_test_towardzero): Likewise.
13069 (exp10_test_downward): Likewise.
13070 (exp10_test_upward): Likewise.
13071 (pow10_test): Likewise.
13072 (exp2_test): Likewise.
13073 (expm1_test): Likewise.
13074 (expm1_test_tonearest): Likewise.
13075 (expm1_test_towardzero): Likewise.
13076 (expm1_test_downward): Likewise.
13077 (expm1_test_upward): Likewise.
13078 (fabs_test): Likewise.
13079 (fdim_test): Likewise.
13080 (floor_test): Likewise.
13081 (fma_test): Likewise.
13082 (fma_test_towardzero): Likewise.
13083 (fma_test_downward): Likewise.
13084 (fma_test_upward): Likewise.
13085 (fmax_test): Likewise.
13086 (fmin_test): Likewise.
13087 (fmod_test): Likewise.
13088 (fpclassify_test): Likewise.
13089 (frexp_test): Likewise.
13090 (hypot_test): Likewise.
13091 (ilogb_test): Likewise.
13092 (isfinite_test): Likewise.
13093 (finite_test): Likewise.
13094 (isgreater_test): Likewise.
13095 (isgreaterequal_test): Likewise.
13096 (isinf_test): Likewise.
13097 (isless_test): Likewise.
13098 (islessequal_test): Likewise.
13099 (islessgreater_test): Likewise.
13100 (isnan_test): Likewise.
13101 (isnormal_test): Likewise.
13102 (issignaling_test): Likewise.
13103 (isunordered_test): Likewise.
13104 (j0_test): Likewise.
13105 (j1_test): Likewise.
13106 (jn_test): Likewise.
13107 (ldexp_test): Likewise.
13108 (lgamma_test): Likewise.
13109 (gamma_test): Likewise.
13110 (lrint_test): Likewise.
13111 (lrint_test_tonearest): Likewise.
13112 (lrint_test_towardzero): Likewise.
13113 (lrint_test_downward): Likewise.
13114 (lrint_test_upward): Likewise.
13115 (llrint_test): Likewise.
13116 (llrint_test_tonearest): Likewise.
13117 (llrint_test_towardzero): Likewise.
13118 (llrint_test_downward): Likewise.
13119 (llrint_test_upward): Likewise.
13120 (log_test): Likewise.
13121 (log10_test): Likewise.
13122 (log1p_test): Likewise.
13123 (log2_test): Likewise.
13124 (logb_test): Likewise.
13125 (logb_test_downward): Likewise.
13126 (lround_test): Likewise.
13127 (llround_test): Likewise.
13128 (modf_test): Likewise.
13129 (nearbyint_test): Likewise.
13130 (nextafter_test): Likewise.
13131 (nexttoward_test): Likewise.
13132 (pow_test): Likewise.
13133 (pow_test_tonearest): Likewise.
13134 (pow_test_towardzero): Likewise.
13135 (pow_test_downward): Likewise.
13136 (pow_test_upward): Likewise.
13137 (remainder_test): Likewise.
13138 (drem_test): Likewise.
13139 (remainder_test_tonearest): Likewise.
13140 (drem_test_tonearest): Likewise.
13141 (remainder_test_towardzero): Likewise.
13142 (drem_test_towardzero): Likewise.
13143 (remainder_test_downward): Likewise.
13144 (drem_test_downward): Likewise.
13145 (remainder_test_upward): Likewise.
13146 (drem_test_upward): Likewise.
13147 (remquo_test): Likewise.
13148 (rint_test): Likewise.
13149 (rint_test_tonearest): Likewise.
13150 (rint_test_towardzero): Likewise.
13151 (rint_test_downward): Likewise.
13152 (rint_test_upward): Likewise.
13153 (round_test): Likewise.
13154 (scalb_test): Likewise.
13155 (scalbn_test): Likewise.
13156 (scalbln_test): Likewise.
13157 (signbit_test): Likewise.
13158 (sin_test): Likewise.
13159 (sin_test_tonearest): Likewise.
13160 (sin_test_towardzero): Likewise.
13161 (sin_test_downward): Likewise.
13162 (sin_test_upward): Likewise.
13163 (sincos_test): Likewise.
13164 (sinh_test): Likewise.
13165 (sinh_test_tonearest): Likewise.
13166 (sinh_test_towardzero): Likewise.
13167 (sinh_test_downward): Likewise.
13168 (sinh_test_upward): Likewise.
13169 (sqrt_test): Likewise.
13170 (sqrt_test_tonearest): Likewise.
13171 (sqrt_test_towardzero): Likewise.
13172 (sqrt_test_downward): Likewise.
13173 (sqrt_test_upward): Likewise.
13174 (tan_test): Likewise.
13175 (tan_test_tonearest): Likewise.
13176 (tan_test_towardzero): Likewise.
13177 (tan_test_downward): Likewise.
13178 (tan_test_upward): Likewise.
13179 (tanh_test): Likewise.
13180 (tgamma_test): Likewise.
13181 (trunc_test): Likewise.
13182 (y0_test): Likewise.
13183 (y1_test): Likewise.
13184 (yn_test): Likewise.
13185 (significand_test): Likewise.
13187 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13188 individual tests in comment.
13189 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13190 (prev_max_error): New variable.
13191 (prev_real_max_error): Likewise.
13192 (prev_imag_max_error): Likewise.
13193 (compare_ulp_data): Don't refer to test names in comment.
13194 (find_test_ulps): Remove function.
13195 (find_function_ulps): Likewise.
13196 (find_complex_function_ulps): Likewise.
13197 (init_max_error): Take function name as argument. Look up ulps
13199 (print_ulps): Remove function.
13200 (print_max_error): Use prev_max_error instead of calling
13201 find_function_ulps.
13202 (print_complex_max_error): Use prev_real_max_error and
13203 prev_imag_max_error instead of calling find_complex_function_ulps.
13204 (check_float_internal): Take max_ulp parameter instead of calling
13205 find_test_ulps. Don't call print_ulps.
13206 (check_float): Update call to check_float_internal.
13207 (check_complex): Update calls to check_float_internal.
13208 (START): Pass argument to init_max_error.
13209 * math/gen-libm-test.pl (%results): Don't include "kind"
13211 (parse_ulps): Don't handle ulps of individual tests.
13212 (print_ulps_file): Likewise.
13213 (output_ulps): Likewise.
13214 * math/README.libm-test: Update.
13215 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13217 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13218 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13219 * sysdeps/arm/libm-test-ulps: Likewise.
13220 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13221 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13222 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13223 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13224 * sysdeps/microblaze/libm-test-ulps: Likewise.
13225 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13226 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13227 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13228 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13229 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13230 * sysdeps/sh/libm-test-ulps: Likewise.
13231 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13232 * sysdeps/tile/libm-test-ulps: Likewise.
13233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13235 2014-03-04 Joseph Myers <joseph@codesourcery.com>
13237 * math/libm-test.inc (print_complex_max_error): Check separately
13238 whether real and imaginary errors are within allowed range and
13239 pass 0 to print_complex_function_ulps instead of value within
13242 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13244 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13246 (get_handles_fopen): Likewise.
13247 (do_write_test): Likewise.
13249 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13251 * libio/fileops.c (do_ftell): Use cached offset when
13253 * libio/iofwide.c (do_ftell_wide): Likewise.
13254 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13256 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13259 * libio/libioP.h (get_file_offset): New function.
13260 * libio/fileops.c (get_file_offset): Likewise.
13261 (do_ftell): Likewise.
13262 (_IO_new_file_seekoff): Split out ftell logic.
13263 * libio/wfileops.c (do_ftell_wide): Likewise.
13264 (_IO_wfile_seekoff): Split out ftell logic.
13265 * libio/tst-ftell-active-handler.c: New test case.
13266 * libio/Makefile (tests): Add it.
13268 2014-03-03 Roland McGrath <roland@hack.frob.com>
13270 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13271 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13273 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13276 * nscd/connections.c (nscd_init): Call do_exit.
13277 (start_threads): Call do_exit and notify_parent.
13278 (begin_drop_privileges): Call do_exit.
13279 (finish_drop_privileges): Likewise.
13280 * nscd/selinux.c (preserve_capabilities): Likewise.
13281 (install_real_capabilities): Likewise.
13282 (nscd_selinux_enabled): Likewise.
13283 (avc_create_thread): Likewise.
13284 (avc_alloc_lock): Likewise.
13285 (nscd_avc_init): Likewise.
13286 * nscd/nscd.c (parent_fd): New static variable.
13287 (main): Create a pipe between parent and child processes.
13288 Skip closing parent_fd.
13289 (monitor_child): New function.
13290 (do_exit): Likewise.
13291 (notify_parent): Likewise.
13292 * nscd/nscd.h (notify_parent): Likewise.
13293 (do_exit): Likewise.
13295 2014-03-03 Carlos O'Donell <carlos@redhat.com>
13297 * malloc/malloc.c (__libc_calloc): Revert last change.
13299 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13303 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13305 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13309 (__libc_ifunc_impl_list): Likewise.
13310 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13311 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13312 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13313 * string/strrchr.c: Define STRRCHR.
13315 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
13317 * benchtest/bench-strtok.c (simple_strtok): Delete.
13318 (strtok_string): Use as benchmark.
13319 * string/strtok (STRTOK): New macro.
13321 2014-02-28 Carlos O'Donell <carlos@redhat.com>
13323 * manual/threads.texi: Add header and standard comments to all
13326 * elf/dl-lookup.c (check_match): New function.
13327 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13328 (do_lookup_x): Remove nested function check_match. Use non-nested
13329 function check_match.
13331 2014-02-28 Roland McGrath <roland@hack.frob.com>
13333 * csu/Makefile (generated, before-compile): Use += rather than =.
13334 * catgets/Makefile (generated, generated-dirs): Likewise.
13335 * debug/Makefile (generated): Likewise.
13336 * dlfcn/Makefile (generated): Likewise.
13337 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13338 * iconvdata/Makefile (before-compile, generated): Likewise.
13339 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13340 * libio/Makefile (generated): Likewise.
13341 * malloc/Makefile (generated): Likewise.
13342 * manual/Makefile (generated, generated-dirs): Likewise.
13343 * misc/Makefile (generated): Likewise.
13344 * posix/Makefile (generated): Likewise.
13345 * resolv/Makefile (generated): Likewise.
13346 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13347 * timezone/Makefile (generated, generated-dirs): Likewise.
13349 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13351 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13354 power8 implementation.
13355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13356 file: POWER8 llround ifunc implementation.
13357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13358 (__lllround): Add POWER8 implementation.
13359 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13360 POWER8 llround implementation.
13362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13363 power8 implementation.
13364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13365 file: POWER8 llrint ifunc implementation.
13366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13367 Add POWER8 implementation.
13368 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13369 POWER8 llrint implementation.
13371 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13372 power8 implementation.
13373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13374 file: POWER8 finite ifunc implementation.
13375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13376 Add POWER8 implementation.
13377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13379 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13380 POWER8 finite implementation.
13381 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13384 power8 implementation.
13385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13386 file: POWER8 isinf ifunc implementation.
13387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13388 POWER8 implementation.
13389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13391 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13392 isinf implementation.
13393 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13395 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13396 (INIT_ARCH): Add hwcap2 initialization.
13397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13398 power8 implementation.
13399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13400 file: POWER8 isnan ifunc implementation.
13401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13402 POWER8 implementation.
13403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13405 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13406 isnan implementation.
13407 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13409 2014-02-27 Joey Ye <joey.ye@arm.com>
13411 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13412 (_FP_NANFRAC_Q): Set to zero.
13414 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13417 * math/auto-libm-test-in: New test inputs.
13418 * math/auto-libm-test-out: Regenerate.
13419 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13422 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13424 2014-02-27 Joseph Myers <joseph@codesourcery.com>
13426 * scripts/evaluate-test.sh: Take new argument indicating whether
13427 failure is expected.
13428 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13429 indicating whether failure is expected.
13430 * conform/Makefile (test-xfail-run-conformtest): New variable.
13431 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13433 * posix/Makefile (test-xfail-annexc): New variable.
13434 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13436 2014-02-26 Joseph Myers <joseph@codesourcery.com>
13438 * argp/Makefile: Include Makeconfig immediately after defining
13440 * assert/Makefile: Likewise.
13441 * benchtests/Makefile: Likewise.
13442 * catgets/Makefile: Likewise.
13443 * conform/Makefile: Likewise.
13444 * crypt/Makefile: Likewise.
13445 * csu/Makefile: Likewise.
13446 (all): Remove target.
13447 * ctype/Makefile: Include Makeconfig immediately after defining
13449 * debug/Makefile: Likewise.
13450 * dirent/Makefile: Likewise.
13451 * dlfcn/Makefile: Likewise.
13452 * gmon/Makefile: Likewise.
13453 * gnulib/Makefile: Likewise.
13454 * grp/Makefile: Likewise.
13455 * gshadow/Makefile: Likewise.
13456 * hesiod/Makefile: Likewise.
13457 * hurd/Makefile: Likewise.
13458 (all): Remove target.
13459 * iconvdata/Makefile: Include Makeconfig immediately after
13461 * inet/Makefile: Likewise.
13462 * intl/Makefile: Likewise.
13463 * io/Makefile: Likewise.
13464 * libio/Makefile: Likewise.
13465 (all): Remove target.
13466 * locale/Makefile: Include Makeconfig immediately after defining
13468 * login/Makefile: Likewise.
13469 * mach/Makefile: Likewise.
13470 (all): Remove target.
13471 * malloc/Makefile: Include Makeconfig immediately after defining
13473 (all): Remove target.
13474 * manual/Makefile: Include Makeconfig immediately after defining
13476 * math/Makefile: Likewise.
13477 * misc/Makefile: Likewise.
13478 * nis/Makefile: Likewise.
13479 * nss/Makefile: Likewise.
13480 * po/Makefile: Likewise.
13481 (all): Remove target.
13482 * posix/Makefile: Include Makeconfig immediately after defining
13484 * pwd/Makefile: Likewise.
13485 * resolv/Makefile: Likewise.
13486 * resource/Makefile: Likewise.
13487 * rt/Makefile: Likewise.
13488 * setjmp/Makefile: Likewise.
13489 * shadow/Makefile: Likewise.
13490 * signal/Makefile: Likewise.
13491 * socket/Makefile: Likewise.
13492 * soft-fp/Makefile: Likewise.
13493 * stdio-common/Makefile: Likewise.
13494 * stdlib/Makefile: Likewise.
13495 * streams/Makefile: Likewise.
13496 * string/Makefile: Likewise.
13497 * sunrpc/Makefile: Likewise.
13498 (all): Remove target.
13499 * sysvipc/Makefile: Include Makeconfig immediately after defining
13501 * termios/Makefile: Likewise.
13502 * time/Makefile: Likewise.
13503 * timezone/Makefile: Likewise.
13504 (all): Remove target.
13505 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13507 * wctype/Makefile: Likewise.
13509 2014-02-26 Steve Ellcey <sellcey@mips.com>
13511 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13512 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13513 (libc_feholdexcept_setround_mips): Ditto.
13514 (libc_feholdsetround): New.
13515 (libc_feholdsetroundf): New.
13516 (libc_feholdsetroundl): New.
13517 (libc_feupdateenv_test_mips): New.
13518 (libc_feupdateenv_test): New.
13519 (libc_feupdateenv_testf): New.
13520 (libc_feupdateenv_testl): New.
13521 (libc_feresetround): New.
13522 (libc_feresetroundf): New.
13523 (libc_feresetroundl): New.
13524 (libc_fetestexcept_mips): New.
13525 (libc_fetestexcept): New.
13526 (libc_fetestexceptf): New.
13527 (libc_fetestexceptl): New.
13528 (HAVE_RM_CTX): New.
13529 (libc_feholdexcept_setround_mips_ctx): New.
13530 (libc_feholdexcept_setround_ctx): New.
13531 (libc_feholdexcept_setroundf_ctx): New.
13532 (libc_feholdexcept_setroundl_ctx): New.
13533 (libc_fesetenv_mips_ctx): New.
13534 (libc_fesetenv_ctx): New.
13535 (libc_fesetenv_ctxf): New.
13536 (libc_fesetenv_ctxl): New.
13537 (libc_feupdateenv_mips_ctx): New.
13538 (libc_feupdateenv_ctx): New.
13539 (libc_feupdateenvf_ctx): New.
13540 (libc_feupdateenvl_ctx): New.
13541 (libc_feholdsetround_mips_ctx): New.
13542 (libc_feholdsetround_ctx): New.
13543 (libc_feholdsetroundf_ctx): New.
13544 (libc_feholdsetroundl_ctx): New.
13545 (libc_feresetround_mips_ctx): New.
13546 (libc_feresetround_ctx): New.
13547 (libc_feresetroundf_ctx): New.
13548 (libc_feresetroundl_ctx): New.
13550 2014-02-26 Carlos O'Donell <carlos@redhat.com>
13552 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13554 * manual/ipc.texi: New file.
13555 * manual/Makefile (chapters): Add ipc.
13556 * manual/job.texi: Add "Inter-Process Communication" to next.
13557 * manual/process.texi: Add "Inter-Process Communication" to prev.
13559 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13563 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
13565 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13567 * manual/arith.texi: Fix spaces after sentences.
13568 * manual/charset.texi: Likewise.
13569 * manual/errno.texi: Likewise.
13570 * manual/install.texi: Likewise.
13571 * manual/llio.texi: Likewise.
13572 * manual/locale.texi: Likewise.
13573 * manual/maint.texi: Likewise.
13574 * manual/math.texi: Likewise.
13575 * manual/memory.texi: Likewise.
13576 * manual/message.texi: Likewise.
13577 * manual/probes.texi: Likewise.
13578 * manual/resource.texi: Likewise.
13579 * manual/signal.texi: Likewise.
13580 * manual/socket.texi: Likewise.
13581 * manual/stdio.texi: Likewise.
13582 * manual/string.texi: Likewise.
13583 * manual/time.texi: Likewise.
13584 * manual/users.texi: Likewise.
13586 2014-02-25 Carlos O'Donell <carlos@redhat.com>
13589 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13590 _DEFAULT_SOURCE is defined.
13592 2014-02-25 Ulrich Drepper <drepper@gmail.com>
13593 Carlos O'Donell <carlos@redhat.com>
13596 * elf/dl-tls.c (_dl_count_modids): New function.
13597 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13598 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13599 audit library and increment generation counter.
13600 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13601 * elf/tst-audit9.c: New file.
13602 * elf/tst-auditmod9a.c: New file.
13603 * elf/tst-auditmod9b.c: New file.
13604 * elf/Makefile: Add rules to build and run tst-audit9.
13606 2014-02-25 Florian Weimer <fweimer@redhat.com>
13609 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13611 2014-02-25 Will Newton <will.newton@linaro.org>
13613 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13614 (__longjmp): Restore sp and lr before restoring callee
13615 saved registers. Add longjmp and longjmp_target
13616 SystemTap probe point.
13617 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13618 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13619 Define to zero to match jmpbuf layout.
13620 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13621 (__sigsetjmp): Save sp and lr before saving callee
13622 saved registers. Add setjmp SystemTap probe point.
13624 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13626 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13628 2014-02-24 Andreas Schwab <schwab@suse.de>
13631 * elf/pldd.c (wait_for_ptrace_stop): New function.
13632 (main): Call it after attaching.
13634 2014-02-22 Roland McGrath <roland@hack.frob.com>
13636 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13637 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13638 Versions files is now verboten.
13639 * hurd/Versions (libc: GLIBC_2.0):
13640 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13641 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13642 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13643 * mach/Versions: Likewise.
13645 * csu/Versions: Remove unused %include.
13646 * resolv/Versions: Likewise.
13648 2014-02-21 Joseph Myers <joseph@codesourcery.com>
13650 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13651 ($(objpfx)check-local-headers.out): Likewise.
13652 ($(objpfx)begin-end-check.out): Likewise.
13653 * Makerules (check-abi-%.out): Likewise.
13654 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13655 ($(objpfx)test2.cat): Likewise.
13656 ($(objpfx)de/libc.cat): Likewise.
13657 ($(objpfx)test-gencat.out): Likewise.
13658 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13659 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13660 ($(objpfx)noload-mem): Likewise.
13661 ($(objpfx)tst-pathopt.out): Likewise.
13662 ($(objpfx)tst-rtld-load-self.out): Likewise.
13663 ($(objpfx)tst-array1-cmp.out): Likewise.
13664 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13665 ($(objpfx)tst-array2-cmp.out): Likewise.
13666 ($(objpfx)tst-array3-cmp.out): Likewise.
13667 ($(objpfx)tst-array4-cmp.out): Likewise.
13668 ($(objpfx)tst-array5-cmp.out): Likewise.
13669 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13670 ($(objpfx)check-textrel.out): Likewise.
13671 ($(objpfx)check-execstack.out): Likewise.
13672 ($(objpfx)check-localplt.out): Likewise.
13673 ($(objpfx)order2-cmp.out): Likewise.
13674 ($(objpfx)tst-leaks1-mem): Likewise.
13675 ($(objpfx)tst-leaks1-static-mem): Likewise.
13676 ($(objpfx)tst-initorder-cmp.out): Likewise.
13677 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13678 ($(objpfx)tst-unused-dep.out): Likewise.
13679 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13680 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13681 * iconv/Makefile (test-iconvconfig): Likewise.
13682 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13683 ($(objpfx)iconv-test.out): Likewise.
13684 ($(objpfx)tst-tables.out): Likewise.
13685 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13686 ($(objpfx)tst-gettext.out): Likewise.
13687 ($(objpfx)tst-translit.out): Likewise.
13688 ($(objpfx)tst-gettext2.out): Likewise.
13689 ($(objpfx)tst-gettext4.out): Likewise.
13690 ($(objpfx)tst-gettext6.out): Likewise.
13691 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13692 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13693 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13694 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13695 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13696 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13697 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13698 ($(objpfx)wordexp-tst.out): Likewise.
13699 ($(objpfx)annexc.out): Likewise.
13700 ($(objpfx)tst-fnmatch-mem): Likewise.
13701 ($(objpfx)bug-regex2-mem): Likewise.
13702 ($(objpfx)bug-regex14-mem): Likewise.
13703 ($(objpfx)bug-regex21-mem): Likewise.
13704 ($(objpfx)bug-regex31-mem): Likewise.
13705 ($(objpfx)tst-vfork3-mem): Likewise.
13706 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13707 ($(objpfx)tst-pcre-mem): Likewise.
13708 ($(objpfx)tst-boost-mem): Likewise.
13709 ($(objpfx)tst-getconf.out): Likewise.
13710 ($(objpfx)bug-ga2-mem): Likewise.
13711 ($(objpfx)bug-glob2-mem): Likewise.
13712 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13713 ($(objpfx)mtrace-tst-leaks2): Likewise.
13714 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13715 ($(objpfx)tst-printf.out): Likewise.
13716 ($(objpfx)tst-setvbuf1.out): Likewise.
13717 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13718 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13719 ($(objpfx)tst-fmtmsg.out): Likewise.
13720 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13721 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13723 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13724 * bits/sigaction.h [__USE_MISC]: Likewise.
13725 * bits/waitstatus.h: Update #endif comments.
13726 * ctype/ctype.h: Likewise.
13727 * dirent/dirent.h: Likewise.
13728 [__USE_MISC]: Remove redundant conditionals.
13729 * grp/grp.h: Update #endif comments.
13730 [__USE_GNU]: Remove redundant conditionals.
13731 [__USE_MISC]: Likewise.
13732 * inet/netinet/in.h [__USE_GNU]: Likewise.
13733 * io/sys/stat.h [__USE_MISC]: Likewise.
13734 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13735 * libio/bits/stdio.h: Update #endif comments.
13736 [__USE_MISC]: Remove redundant conditionals.
13737 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13738 * libio/stdio.h: Update #endif comments.
13739 [__USE_MISC]: Remove redundant conditionals.
13740 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13741 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13742 * math/math.h: Update #else and #endif comments.
13743 [__USE_MISC]: Remove redundant conditionals.
13744 * misc/sys/uio.h: Update #endif comments.
13745 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13746 * posix/glob.h [__USE_MISC]: Likewise.
13747 * posix/sys/types.h: Update #endif comments.
13748 [__USE_MISC]: Remove redundant conditionals.
13749 * posix/sys/wait.h: Update #endif comments.
13750 [__USE_MISC]: Remove redundant conditionals.
13751 * posix/unistd.h: Update #endif comments.
13752 [__USE_MISC]: Remove redundant conditionals.
13753 * pwd/pwd.h [__USE_GNU]: Likewise.
13754 [__USE_MISC]: Likewise.
13755 * resolv/netdb.h [__USE_GNU]: Likewise.
13756 * signal/signal.h: Update #endif comments.
13757 [__USE_MISC]: Remove redundant conditionals.
13758 * stdlib/stdlib.h: Update #else and #endif comments.
13759 [__USE_MISC]: Remove redundant conditionals.
13760 [__USE_GNU]: Likewise.
13761 * string/bits/string2.h [__USE_MISC]: Likewise.
13762 * string/string.h: Update #endif comments.
13763 [__USE_MISC]: Remove redundant conditionals.
13764 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13766 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13767 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13768 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13770 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13772 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13774 [__USE_MISC]: Remove redundant conditionals.
13775 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13776 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13777 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13778 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13779 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13781 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13782 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13784 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13785 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13787 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13789 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13790 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13792 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13794 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13795 * sysdeps/x86/bits/string.h: Update #endif comments.
13796 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13798 * time/sys/time.h: Update #endif comments.
13799 * time/time.h: Likewise.
13800 [__USE_MISC]: Remove redundant conditionals.
13802 2014-02-21 Yury Gribov <y.gribov@samsung.com>
13805 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13807 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13809 * Versions.def (librt): Add GLIBC_2.17.
13811 2014-02-21 Adam Conrad <adconrad@0c3.net>
13813 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13814 synonym for _SYS_AUXV_H to allow direct inclusion.
13815 * sysdeps/sparc/bits/hwcap.h: Likewise.
13816 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13817 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13818 * sysdeps/sparc/sysdep.h: Likewise.
13820 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13822 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13824 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13826 * benchtests/bench-strrchr.c: Print length instead of position.
13828 2014-02-20 Joseph Myers <joseph@codesourcery.com>
13831 * sysdeps/unix/sysv/linux/kernel-features.h
13832 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13833 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13834 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13835 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13837 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13838 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13839 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13840 (__ASSUME_SENDMMSG): Define instead of using previous
13841 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13842 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13843 (__ASSUME_SENDMMSG_SYSCALL): Define.
13844 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13845 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13847 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13848 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13850 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13851 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13853 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13854 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13855 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13856 [__ASSUME_SENDMMSG]: Change conditionals to
13857 [__ASSUME_SENDMMSG_SOCKETCALL].
13858 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13859 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13861 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13862 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13864 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13865 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13866 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13867 [!__ASSUME_SENDMMSG]: Change conditional to
13868 [!__ASSUME_SENDMMSG_SOCKETCALL].
13869 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13870 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13874 * sysdeps/unix/sysv/linux/kernel-features.h
13875 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13876 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13877 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13878 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13879 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13880 [__i386__ || __sparc__]
13881 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13882 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13883 (__ASSUME_RECVMMSG): Define instead of using previous
13884 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13885 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13886 (__ASSUME_RECVMMSG_SYSCALL): Define.
13887 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13888 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13890 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13891 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13893 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13894 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13896 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13897 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13898 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13899 [__ASSUME_RECVMMSG]: Change condition to
13900 [__ASSUME_RECVMMSG_SOCKETCALL].
13901 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13902 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13904 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13905 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13906 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13908 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13909 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13910 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13911 [!__ASSUME_RECVMMSG]: Change condition to
13912 [!__ASSUME_RECVMMSG_SOCKETCALL].
13913 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13914 (__ASSUME_RECVMMSG_SYSCALL): Define.
13917 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13918 __powerpc__ || __s390__ || __sh__ || __sparc__]
13919 (__ASSUME_SOCKETCALL): Define.
13920 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13921 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13922 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13923 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13924 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13925 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13926 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13927 (__ASSUME_ACCEPT4): Define instead of using previous
13928 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13929 __powerpc__ || __sparc__ || __s390__)] condition.
13930 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13931 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13932 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13933 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13934 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13935 [!__ASSUME_ACCEPT4]: Change condition to
13936 [!__ASSUME_ACCEPT4_SOCKETCALL].
13937 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13938 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13939 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13940 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13941 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13942 __ASSUME_ACCEPT4_SYSCALL.
13943 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13944 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13945 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13946 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13947 __ASSUME_ACCEPT4_SYSCALL.
13948 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13949 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13950 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13951 [__ASSUME_ACCEPT4]: Change condition to
13952 [__ASSUME_ACCEPT4_SOCKETCALL].
13953 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13954 (__ASSUME_SOCKETCALL): Define.
13955 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13956 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13957 (__ASSUME_SOCKETCALL): Define.
13958 (__ASSUME_ACCEPT4): Remove.
13959 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13961 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13962 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13964 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13965 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13967 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13969 (HWCAP_ARM_LPAE): Likewise.
13970 (HWCAP_ARM_EVTSTRM): Likewise.
13971 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13972 Add vpfd32, lpae and evtstrm.
13973 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13976 2014-02-19 Joseph Myers <joseph@codesourcery.com>
13978 * math/auto-libm-test-in: Add tests of clog10.
13979 * math/auto-libm-test-out: Regenerated.
13980 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13981 * sysdeps/i386/fpu/libm-test-ulps: Update.
13982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13984 2014-02-18 Andreas Schwab <schwab@suse.de>
13987 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13988 Store non-zero if the second buffer was newly allocated.
13989 (send_dg): Likewise.
13990 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13991 to send_vc and send_dg.
13992 (res_nsend): Pass NULL for ansp2_malloced.
13993 * resolv/res_query.c (__libc_res_nquery): Add parameter
13994 answerp2_malloced and pass it down to __libc_res_nsend.
13995 (res_nquery): Pass additional NULL to __libc_res_nquery.
13996 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13997 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13998 second answer buffer if answerp2_malloced was set.
13999 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14000 (__libc_res_nquerydomain): Add parameter
14001 answerp2_malloced and pass it down to __libc_res_nquery.
14002 (res_nquerydomain): Pass additional NULL to
14003 __libc_res_nquerydomain.
14004 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14005 additional NULL to __libc_res_nsend and __libc_res_nquery.
14006 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14007 additional NULL to __libc_res_nsearch.
14008 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14009 parameter of __libc_res_nsearch to check for separately allocated
14011 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14013 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14014 additional NULL to __libc_res_nquery.
14015 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14016 __libc_res_nsearch.
14017 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14018 * include/resolv.h: Update prototypes of __libc_res_nquery,
14019 __libc_res_nsearch, __libc_res_nsend.
14021 2014-02-18 Joseph Myers <joseph@codesourcery.com>
14023 * math/auto-libm-test-in: Add tests of fma.
14024 * math/auto-libm-test-out: Regenerated.
14025 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14026 (fma_towardzero_test_data): Likewise.
14027 (fma_downward_test_data): Likewise.
14028 (fma_upward_test_data): Likewise.
14029 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14031 (rounding_modes): Add values for new field.
14032 (func_calc_method): Add value mpfr_fff_f.
14033 (func_calc_desc): Add mpfr_fff_f union field.
14034 (test_function): Add field exact_args.
14035 (FUNC): Add macro argument EXACT_ARGS.
14036 (FUNC_mpfr_f_f): Update call to FUNC.
14037 (FUNC_mpfr_f_f): Likewise.
14038 (FUNC_mpfr_ff_f): Likewise.
14039 (FUNC_mpfr_if_f): Likewise.
14040 (FUNC_mpc_c_f): Likewise.
14041 (FUNC_mpc_c_c): Likewise.
14042 (test_functions): Add fma. Update calls to FUNC.
14043 (handle_input_arg): Add argument exact_args.
14044 (add_test): Update call to handle_input_arg.
14045 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14046 (output_for_one_input_case): Update call to calc_generic_results.
14047 Recalculate exact zero results in each rounding mode.
14049 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14050 non-negative before setting low bit.
14051 * math/auto-libm-test-in: Mark one asin test possibly having
14052 spurious underflow.
14053 * math/auto-libm-test-out: Regenerated.
14054 * sysdeps/i386/fpu/libm-test-ulps: Update.
14055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14057 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14059 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14060 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14061 ports/sysdeps/unix/sysv/linux/microblaze.
14062 * README: Add missing listing for microblaze*-*-linux-gnu.
14064 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
14066 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14069 2014-02-16 Mike Frysinger <vapier@gentoo.org>
14071 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14072 * sysdeps/unix/sysv/linux/ia64: Move directory from
14073 ports/sysdeps/unix/sysv/linux/ia64.
14074 * README: Update listing for ia64-*-linux-gnu.
14076 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14077 Joseph Myers <joseph@codesourcery.com>
14079 * Makeconfig (test-name): New variable.
14080 (evaluate-test): Likewise.
14081 * Makerules (do-test-clean): Remove .test-result files.
14082 (common-mostlyclean): Likewise.
14083 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14084 * scripts/evaluate-test.sh: New file.
14086 2014-02-14 Joseph Myers <joseph@codesourcery.com>
14088 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14089 separate $(objpfx)tst-fopenloc-cmp.out and
14090 $(objpfx)tst-fopenloc-mem.out targets.
14091 (tests): Update dependencies.
14092 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14093 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14094 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14095 (tst-rxspencer-no-utf8-ARGS): New variable.
14096 (tst-rxspencer-no-utf8-ENV): Likewise.
14097 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14098 instead of $(objpfx)tst-rxspencer-mem.
14099 ($(objpfx)tst-rxspencer-mem): Change target to
14100 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14101 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14102 * posix/tst-rxspencer-no-utf8.c: New file.
14104 * elf/Makefile ($(objpfx)order.out): Remove rule.
14105 [$(run-built-tests) = yes] (tests): Depend on
14106 $(objpfx)order-cmp.out.
14107 ($(objpfx)order-cmp.out): New rule.
14108 [$(run-built-tests) = yes] (tests): Depend on
14109 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14110 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14111 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14112 $(objpfx)tst-array5-static-cmp.out.
14113 ($(objpfx)tst-array1.out): Remove rule.
14114 ($(objpfx)tst-array1-cmp.out): New rule.
14115 ($(objpfx)tst-array1-static.out): Remove rule.
14116 ($(objpfx)tst-array1-static-cmp.out): New rule.
14117 ($(objpfx)tst-array2.out): Remove rule.
14118 ($(objpfx)tst-array2-cmp.out): New rule.
14119 ($(objpfx)tst-array3.out): Remove rule.
14120 ($(objpfx)tst-array3-cmp.out): New rule.
14121 ($(objpfx)tst-array4.out): Remove rule.
14122 ($(objpfx)tst-array4-cmp.out): New rule.
14123 ($(objpfx)tst-array5.out): Remove rule.
14124 ($(objpfx)tst-array5-cmp.out): New rule.
14125 ($(objpfx)tst-array5-static.out): Remove rule.
14126 ($(objpfx)tst-array5-static-cmp.out): New rule.
14127 [$(run-built-tests) = yes] (tests): Depend on
14128 $(objpfx)order2-cmp.out.
14129 ($(objpfx)order2.out): Remove rule.
14130 ($(objpfx)order2-cmp.out): New rule.
14131 ($(objpfx)tst-initorder.out): Remove rule.
14132 [$(run-built-tests) = yes] (tests): Depend on
14133 $(objpfx)tst-initorder-cmp.out.
14134 ($(objpfx)tst-initorder-cmp.out): New rule.
14135 ($(objpfx)tst-initorder2.out): Remove rule.
14136 [$(run-built-tests) = yes] (tests): Depend on
14137 $(objpfx)tst-initorder2-cmp.out.
14138 ($(objpfx)tst-initorder2-cmp.out): New rule.
14139 [$(run-built-tests) = yes] (tests): Depend on
14140 $(objpfx)tst-unused-dep-cmp.out.
14141 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14142 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14143 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14144 on $(objpfx)tst-setvbuf1-cmp.out.
14145 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14146 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14147 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14148 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14149 ($(objpfx)tst-svc.out): Remove rule.
14150 ($(objpfx)tst-svc-cmp.out): New rule.
14152 2014-02-13 Joseph Myers <joseph@codesourcery.com>
14154 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14155 * ctype/ctype.h [__USE_MISC]: Likewise.
14156 * dirent/dirent.h [__USE_MISC]: Likewise.
14157 * grp/grp.h [__USE_MISC]: Likewise.
14158 * io/fcntl.h [__USE_MISC]: Likewise.
14159 * io/sys/stat.h [__USE_MISC]: Likewise.
14160 * libio/stdio.h [__USE_MISC]: Likewise.
14161 * posix/unistd.h [__USE_MISC]: Likewise.
14162 * pwd/pwd.h [__USE_MISC]: Likewise.
14163 * stdlib.h [__USE_MISC]: Likewise.
14164 * string/bits/string2.h [__USE_MISC]: Likewise.
14165 * string/string.h [__USE_MISC]: Likewise.
14166 * time/time.h [__USE_MISC]: Likewise.
14168 2014-02-13 Andreas Schwab <schwab@suse.de>
14171 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14172 second answer buffer if it was separately allocated.
14174 2014-02-12 Joseph Myers <joseph@codesourcery.com>
14176 * sysdeps/mips/math-tests.h: Include <features.h>.
14177 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14178 (ROUNDING_TESTS_long_double): Do not define.
14179 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14180 (EXCEPTION_TESTS_long_double): Likewise.
14181 * sysdeps/mips/mips64/libm-test-ulps: Update.
14183 * include/features.h (__USE_BSD): Remove macro definitions.
14184 (__USE_SVID): Likewise.
14185 (_BSD_SOURCE): Likewise.
14186 (_SVID_SOURCE): Likewise.
14187 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14188 from definition of _DEFAULT_SOURCE.
14189 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14191 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14192 * bits/mman.h [__USE_BSD]: Likewise.
14193 * bits/termios.h [__USE_BSD]: Likewise.
14194 * bits/waitstatus.h [__USE_BSD]: Likewise.
14195 * ctype/ctype.h [__USE_SVID]: Likewise.
14196 * dirent/dirent.h [__USE_BSD]: Likewise.
14197 * grp/grp.h [__USE_SVID]: Likewise.
14198 [__USE_BSD]: Likewise.
14199 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14200 * io/fcntl.h [__USE_BSD]: Likewise.
14201 * io/ftw.h [__USE_BSD]: Likewise.
14202 * io/sys/stat.h [__USE_BSD]: Likewise.
14203 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14204 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14205 * libio/stdio.h [__USE_SVID]: Likewise.
14206 [__USE_BSD]: Likewise.
14207 * math/math.h [__USE_SVID]: Likewise.
14208 [__USE_BSD]: Likewise.
14209 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14210 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14211 * misc/search.h [__USE_SVID]: Likewise.
14212 * misc/sys/mman.h [__USE_BSD]: Likewise.
14213 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14214 * misc/sys/uio.h [__USE_BSD]: Likewise.
14215 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14216 * posix/glob.h [__USE_BSD]: Likewise.
14217 * posix/regex.h [__USE_BSD]: Likewise.
14218 * posix/sys/types.h [__USE_BSD]: Likewise.
14219 [__USE_SVID]: Likewise.
14220 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14221 * posix/sys/wait.h [__USE_BSD]: Likewise.
14222 [__USE_SVID]: Likewise.
14223 * posix/unistd.h [__USE_BSD]: Likewise.
14224 [__USE_SVID]: Likewise.
14225 * pwd/pwd.h [__USE_SVID]: Likewise.
14226 * resolv/netdb.h [__USE_BSD]: Likewise.
14227 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14228 * signal/signal.h [__USE_BSD]: Likewise.
14229 [__USE_SVID]: Likewise.
14230 * socket/sys/socket.h [__USE_BSD]: Likewise.
14231 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14232 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14233 [__USE_SVID]: Likewise.
14234 * string/bits/string2.h [__USE_BSD]: Likewise.
14235 [__USE_SVID]: Likewise.
14236 * string/bits/string3.h [__USE_BSD]: Likewise.
14237 * string/endian.h [__USE_BSD]: Likewise.
14238 * string/string.h [__USE_SVID]: Likewise.
14239 [__USE_BSD]: Likewise.
14240 * string/strings.h [__USE_BSD]: Likewise.
14241 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14242 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14243 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14244 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14245 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14246 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14248 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14250 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14251 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14253 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14254 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14256 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14258 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14259 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14260 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14262 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14264 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14265 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14266 * termios/termios.h [__USE_BSD]: Likewise.
14267 * time/sys/time.h [__USE_BSD]: Likewise.
14268 * time/time.h [__USE_BSD]: Likewise.
14269 [__USE_SVID]: Likewise.
14271 * Makefile (subdir_targets): Remove subdir_lint.out.
14273 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14274 (do-tst-printf): Likewise.
14275 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14276 $(objpfx)tst-printf.out.
14278 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14280 * Makerules (check-abi-%): Change target to
14281 $(objpfx)check-abi-%.out.
14282 (check-abi target): Update dependencies.
14283 (check-abi-pattern variable): Redirect output of diff to $@.
14284 (check-abi variable): Likewise.
14285 * elf/Makefile (check-abi): Update dependencies.
14287 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14289 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14290 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14292 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14293 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14294 value has largest subnormal exponent.
14295 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14296 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14297 * sysdeps/aarch64/soft-fp/sfp-machine.h
14298 (_FP_TININESS_AFTER_ROUNDING): New macro.
14299 * sysdeps/alpha/soft-fp/sfp-machine.h
14300 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14301 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14303 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14304 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14305 * sysdeps/mips/soft-fp/sfp-machine.h
14306 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14307 * sysdeps/powerpc/soft-fp/sfp-machine.h
14308 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14309 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14311 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14312 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14313 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14314 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14315 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14318 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
14321 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14324 2014-02-12 Richard Henderson <rth@redhat.com>
14326 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14327 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14328 * sysdeps/unix/sysv/linux/alpha: Move directory from
14329 ports/sysdeps/unix/sysv/linux/alpha.
14330 * README: Update listing for alpha-*-linux-gnu.
14332 2014-02-11 Joseph Myers <joseph@codesourcery.com>
14334 * include/features.h: Update comment documenting feature test
14336 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14338 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14339 (_SVID_SOURCE): Likewise.
14340 (_DEFAULT_SOURCE): Update description of default features.
14341 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14343 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14344 (S_ISVTX): Likewise.
14345 * manual/math.texi (Mathematical Constants): Likewise.
14346 * manual/signal.texi (Interrupted Primitives): Likewise.
14347 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14348 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14349 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14350 Don't refer to _SVID_SOURCE in warning text.
14352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14354 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14356 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14357 * sysdeps/mips/dl-lookup.c: Remove.
14358 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14360 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14363 * math/auto-libm-test-in: Add testcase for expl.
14364 * math/auto-libm-test-out: Regenerate.
14365 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14366 calculation of unsafe.
14367 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14369 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14371 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14372 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14373 ports/sysdeps/unix/sysv/linux/aarch64.
14374 * README: Update listing for aarch64*-*-linux-gnu.
14376 2014-02-11 Will Newton <will.newton@linaro.org>
14378 * manual/probes.texi (Mathematical Function Probes): Use
14379 "triggered" instead of "hit".
14381 * manual/probes.texi (Internal Probes): Add documentation
14382 of setjmp, longjmp and longjmp_target probes.
14384 * include/stap-probe.h: Add comment about probe argument
14387 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14388 definition. (tr_where, tr_freehook, tr_mallochook,
14389 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14391 2014-02-11 David S. Miller <davem@davemloft.net>
14393 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14394 processing int_tests.
14396 2014-02-10 Joseph Myers <joseph@codesourcery.com>
14398 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14399 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14400 * sysdeps/unix/sysv/linux/mips: Move directory from
14401 ports/sysdeps/unix/sysv/linux/mips.
14402 * README: Update listing for mips-*-linux-gnu and
14403 mips64-*-linux-gnu.
14405 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14407 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14408 * sysdeps/unix/sysv/linux/m68k: Move directory from
14409 ports/sysdeps/unix/sysv/linux/m68k.
14410 * README: Update listing for m68k-*-linux-gnu.
14412 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14414 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14415 * sysdeps/unix/sysv/linux/generic: Move directory from
14416 ports/sysdeps/unix/sysv/linux/generic.
14417 * sysdeps/unix/sysv/linux/tile: Move directory from
14418 ports/sysdeps/unix/sysv/linux/tile.
14419 * README: Update listing for tile*-*-linux-gnu.
14421 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
14423 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14425 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14426 * catgets/open_catalog.c (__open_catalog): Likewise.
14427 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14428 * debug/confstr_chk.c: Likewise.
14429 * debug/fread_chk.c (__fread_chk): Likewise.
14430 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14431 * debug/getgroups_chk.c: Likewise.
14432 * debug/mbsnrtowcs_chk.c: Likewise.
14433 * debug/mbsrtowcs_chk.c: Likewise.
14434 * debug/mbstowcs_chk.c: Likewise.
14435 * debug/memcpy_chk.c: Likewise.
14436 * debug/memmove_chk.c: Likewise.
14437 * debug/mempcpy_chk.c: Likewise.
14438 * debug/memset_chk.c: Likewise.
14439 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14440 * debug/strcat_chk.c (__strcat_chk): Likewise.
14441 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14442 * debug/strncat_chk.c (__strncat_chk): Likewise.
14443 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14444 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14445 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14446 * debug/wcpncpy_chk.c: Likewise.
14447 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14448 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14449 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14450 * debug/wcsncpy_chk.c: Likewise.
14451 * debug/wcsnrtombs_chk.c: Likewise.
14452 * debug/wcsrtombs_chk.c: Likewise.
14453 * debug/wcstombs_chk.c: Likewise.
14454 * debug/wmemcpy_chk.c: Likewise.
14455 * debug/wmemmove_chk.c: Likewise.
14456 * debug/wmempcpy_chk.c: Likewise.
14457 * debug/wmemset_chk.c: Likewise.
14458 * dirent/scandirat.c (SCANDIRAT): Likewise.
14459 * dlfcn/dladdr1.c (dladdr1): Likewise.
14460 * dlfcn/dladdr.c (dladdr): Likewise.
14461 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14462 * dlfcn/dlerror.c (__dlerror): Likewise.
14463 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14464 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14465 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14466 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14467 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14468 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14469 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14470 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14472 * elf/dl-conflict.c: Likewise.
14473 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14474 * elf/dl-dst.h: Likewise.
14475 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14476 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14477 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14478 * elf/dl-init.c (call_init, _dl_init): Likewise.
14479 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14480 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14481 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14483 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14485 * elf/dl-minimal.c (__libc_memalign): Likewise.
14486 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14487 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14488 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14489 * elf/dl-sym.c (do_sym): Likewise.
14490 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14491 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14492 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14493 * elf/dl-writev.h (_dl_writev): Likewise.
14494 * elf/ldconfig.c (search_dir): Likewise.
14495 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14496 (dl_main): Likewise.
14497 * elf/setup-vdso.h (setup_vdso): Likewise.
14498 * grp/compat-initgroups.c (compat_call): Likewise.
14499 * grp/fgetgrent.c (fgetgrent): Likewise.
14500 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14501 * grp/putgrent.c (putgrent): Likewise.
14502 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14504 * hurd/hurdinit.c: Likewise.
14505 * iconvdata/8bit-gap.c (struct): Likewise.
14506 * iconvdata/ansi_x3.110.c : Likewise.
14507 * iconvdata/big5.c : Likewise.
14508 * iconvdata/big5hkscs.c : Likewise.
14509 * iconvdata/cp1255.c: Likewise.
14510 * iconvdata/cp1258.c : Likewise.
14511 * iconvdata/cp932.c : Likewise.
14512 * iconvdata/euc-cn.c: Likewise.
14513 * iconvdata/euc-jisx0213.c : Likewise.
14514 * iconvdata/euc-jp.c: Likewise.
14515 * iconvdata/euc-jp-ms.c : Likewise.
14516 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14517 * iconvdata/gb18030.c : Likewise.
14518 * iconvdata/gbbig5.c (const): Likewise.
14519 * iconvdata/gbgbk.c: Likewise.
14520 * iconvdata/gbk.c : Likewise.
14521 * iconvdata/ibm1364.c : Likewise.
14522 * iconvdata/ibm930.c : Likewise.
14523 * iconvdata/ibm932.c: Likewise.
14524 * iconvdata/ibm933.c : Likewise.
14525 * iconvdata/ibm935.c : Likewise.
14526 * iconvdata/ibm937.c : Likewise.
14527 * iconvdata/ibm939.c : Likewise.
14528 * iconvdata/ibm943.c: Likewise.
14529 * iconvdata/iso_11548-1.c: Likewise.
14530 * iconvdata/iso-2022-cn.c : Likewise.
14531 * iconvdata/iso-2022-cn-ext.c : Likewise.
14532 * iconvdata/iso-2022-jp-3.c: Likewise.
14533 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14534 * iconvdata/iso-2022-kr.c : Likewise.
14535 * iconvdata/iso646.c (gconv_end): Likewise.
14536 * iconvdata/iso_6937-2.c : Likewise.
14537 * iconvdata/iso_6937.c : Likewise.
14538 * iconvdata/iso8859-1.c: Likewise.
14539 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14540 * iconvdata/shift_jisx0213.c : Likewise.
14541 * iconvdata/sjis.c : Likewise.
14542 * iconvdata/t.61.c : Likewise.
14543 * iconvdata/tcvn5712-1.c : Likewise.
14544 * iconvdata/tscii.c: Likewise.
14545 * iconvdata/uhc.c : Likewise.
14546 * iconvdata/unicode.c (gconv_end): Likewise.
14547 * iconvdata/utf-16.c (gconv_end): Likewise.
14548 * iconvdata/utf-32.c (gconv_end): Likewise.
14549 * iconvdata/utf-7.c (base64): Likewise.
14550 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14551 * iconv/gconv_close.c (__gconv_close): Likewise.
14552 * iconv/gconv_open.c (__gconv_open): Likewise.
14553 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14554 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14555 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14556 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14557 (ucs4le_internal_loop_single): Likewise.
14558 * iconv/iconv.c (iconv): Likewise.
14559 * iconv/iconv_close.c: Likewise.
14560 * iconv/loop.c (SINGLE): Likewise.
14561 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14562 * include/atomic.h: Likewise.
14563 * inet/inet6_option.c (option_alloc): Likewise.
14564 * intl/bindtextdom.c (set_binding_values): Likewise.
14565 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14566 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14567 * intl/localealias.c (read_alias_file): Likewise.
14568 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14569 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14570 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14571 * libio/fmemopen.c (fmemopen): Likewise.
14572 * libio/iofgets.c (_IO_fgets): Likewise.
14573 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14574 * libio/iofgetws.c (fgetws): Likewise.
14575 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14576 * libio/iogetdelim.c (_IO_getdelim): Likewise.
14577 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14578 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14579 * locale/findlocale.c (_nl_find_locale): Likewise.
14580 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14581 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14583 * locale/setlocale.c (setlocale): Likewise.
14584 * login/programs/pt_chown.c (main): Likewise.
14585 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14586 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14587 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14588 (mmap, mmap64, mremap, munmap): Likewise.
14589 * math/e_exp2l.c: Likewise.
14590 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14591 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14592 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14593 * math/s_catan.c (__catan): Likewise.
14594 * math/s_catanf.c (__catanf): Likewise.
14595 * math/s_catanh.c (__catanh): Likewise.
14596 * math/s_catanhf.c (__catanhf): Likewise.
14597 * math/s_catanhl.c (__catanhl): Likewise.
14598 * math/s_catanl.c (__catanl): Likewise.
14599 * math/s_ccosh.c (__ccosh): Likewise.
14600 * math/s_ccoshf.c (__ccoshf): Likewise.
14601 * math/s_ccoshl.c (__ccoshl): Likewise.
14602 * math/s_cexp.c (__cexp): Likewise.
14603 * math/s_cexpf.c (__cexpf): Likewise.
14604 * math/s_cexpl.c (__cexpl): Likewise.
14605 * math/s_clog10.c (__clog10): Likewise.
14606 * math/s_clog10f.c (__clog10f): Likewise.
14607 * math/s_clog10l.c (__clog10l): Likewise.
14608 * math/s_clog.c (__clog): Likewise.
14609 * math/s_clogf.c (__clogf): Likewise.
14610 * math/s_clogl.c (__clogl): Likewise.
14611 * math/s_csin.c (__csin): Likewise.
14612 * math/s_csinf.c (__csinf): Likewise.
14613 * math/s_csinh.c (__csinh): Likewise.
14614 * math/s_csinhf.c (__csinhf): Likewise.
14615 * math/s_csinhl.c (__csinhl): Likewise.
14616 * math/s_csinl.c (__csinl): Likewise.
14617 * math/s_csqrt.c (__csqrt): Likewise.
14618 * math/s_csqrtf.c (__csqrtf): Likewise.
14619 * math/s_csqrtl.c (__csqrtl): Likewise.
14620 * math/s_ctan.c (__ctan): Likewise.
14621 * math/s_ctanf.c (__ctanf): Likewise.
14622 * math/s_ctanh.c (__ctanh): Likewise.
14623 * math/s_ctanhf.c (__ctanhf): Likewise.
14624 * math/s_ctanhl.c (__ctanhl): Likewise.
14625 * math/s_ctanl.c (__ctanl): Likewise.
14626 * math/w_pow.c: Likewise.
14627 * math/w_powf.c: Likewise.
14628 * math/w_powl.c: Likewise.
14629 * math/w_scalb.c (sysv_scalb): Likewise.
14630 * math/w_scalbf.c (sysv_scalbf): Likewise.
14631 * math/w_scalbl.c (sysv_scalbl): Likewise.
14632 * misc/error.c (error_tail): Likewise.
14633 * misc/pselect.c (__pselect): Likewise.
14634 * nis/nis_callback.c (__nis_create_callback): Likewise.
14635 * nis/nis_call.c (__nisfind_server): Likewise.
14636 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14637 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14638 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14639 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14640 * nis/nis_lookup.c (nis_lookup): Likewise.
14641 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14642 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14643 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14644 * nis/nis_xdr.c (xdr_endpoint): Likewise.
14645 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14646 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14647 * nis/nss_compat/compat-initgroups.c (add_group)
14648 (internal_getgrent_r): Likewise.
14649 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14650 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14651 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14652 (internal_getspnam_r): Likewise.
14653 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14654 (_nss_nis_getaliasbyname_r): Likewise.
14655 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14656 (_nss_nis_getntohost_r): Likewise.
14657 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14658 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14659 (_nss_nis_getgrgid_r): Likewise.
14660 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14661 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14662 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14663 (_nss_nis_gethostbyname4_r): Likewise.
14664 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14665 (initgroups_netid): Likewise.
14666 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14667 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14668 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14669 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14670 (_nss_nis_getprotobynumber_r): Likewise.
14671 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14672 (_nss_nis_getsecretkey): Likewise.
14673 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14674 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14675 (_nss_nis_getpwuid_r): Likewise.
14676 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14677 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14678 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14679 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14680 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14681 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14682 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14684 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14685 (_nss_nisplus_getntohost_r): Likewise.
14686 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14687 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14688 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14689 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14691 * nis/nss_nisplus/nisplus-initgroups.c
14692 (_nss_nisplus_initgroups_dyn): Likewise.
14693 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14694 (_nss_nisplus_getnetbyaddr_r): Likewise.
14695 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14696 (_nss_nisplus_getprotobynumber_r): Likewise.
14697 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14698 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14699 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14701 * nis/nss_nisplus/nisplus-service.c
14702 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14703 (_nss_nisplus_getservbyport_r): Likewise.
14704 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14705 (_nss_nisplus_getspnam_r): Likewise.
14706 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14708 * nscd/aicache.c (addhstaiX): Likewise.
14709 * nscd/cache.c (cache_search, prune_cache): Likewise.
14710 * nscd/connections.c (register_traced_file, send_ro_fd)
14711 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14712 (main_loop_epoll): Likewise.
14713 * nscd/grpcache.c (addgrbyX): Likewise.
14714 * nscd/hstcache.c (addhstbyX): Likewise.
14715 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14716 * nscd/mem.c (gc, mempool_alloc): Likewise.
14717 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14718 (addinnetgrX): Likewise.
14719 * nscd/nscd-client.h (__nscd_acquire_maplock)
14720 (__nscd_drop_map_ref): Likewise.
14721 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14722 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14723 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14725 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14726 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14727 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14728 (__nscd_get_map_ref): Likewise.
14729 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14730 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14732 * nscd/pwdcache.c (addpwbyX): Likewise.
14733 * nscd/selinux.c (preserve_capabilities): Likewise.
14734 * nscd/servicescache.c (addservbyX): Likewise.
14735 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14736 * posix/fnmatch.c (fnmatch): Likewise.
14737 * posix/getopt.c (_getopt_internal_r): Likewise.
14738 * posix/glob.c (glob, glob_in_dir): Likewise.
14739 * posix/wordexp.c (exec_comm_child): Likewise.
14740 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14741 (getanswer_r, gaih_getanswer_slice): Likewise.
14742 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14743 * resolv/res_init.c: Likewise.
14744 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14745 * resolv/res_query.c (__libc_res_nquery): Likewise.
14746 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14748 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14749 * stdio-common/perror.c (perror): Likewise.
14750 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14751 * stdio-common/tmpnam.c (tmpnam): Likewise.
14752 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14753 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14754 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14756 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14757 * stdlib/putenv.c (putenv): Likewise.
14758 * stdlib/setenv.c (__add_to_environ): Likewise.
14759 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14760 * stdlib/strtol_l.c (INTERNAL): Likewise.
14761 * string/memmem.c (memmem): Likewise.
14762 * string/strerror.c (strerror): Likewise.
14763 * string/strnlen.c (__strnlen): Likewise.
14764 * string/test-memmem.c (simple_memmem): Likewise.
14765 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14766 * sunrpc/pm_getport.c (__get_socket): Likewise.
14767 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14768 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14769 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14770 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14772 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14773 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14774 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14775 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14776 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14777 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14779 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14781 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14782 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14783 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14784 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14785 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14787 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14788 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14789 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14790 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14791 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14792 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14794 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14796 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14798 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14799 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14800 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14801 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14802 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14803 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14804 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14805 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14806 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14807 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14808 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14809 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14810 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14811 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14812 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14813 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14815 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14817 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14819 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14821 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14823 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14825 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14826 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14827 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14828 * sysdeps/posix/sleep.c: Likewise.
14829 * sysdeps/posix/tempname.c: Likewise.
14830 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14831 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14833 * sysdeps/powerpc/powerpc32/dl-machine.h
14834 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14835 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14836 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14837 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14838 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14840 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14841 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14842 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14843 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14844 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14845 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14846 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14847 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14848 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14849 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14850 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14851 (elf_machine_lazy_rel): Likewise.
14852 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14853 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14854 (elf_machine_lazy_rel): Likewise.
14855 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14856 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14857 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14858 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14859 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14860 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14861 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14862 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14864 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14865 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14866 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14867 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14868 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14869 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14870 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14871 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14872 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14873 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14874 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14876 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14877 (__posix_fallocate64_l64): Likewise.
14878 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14879 (posix_fallocate): Likewise.
14880 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14882 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14883 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14884 (getifaddrs_internal): Likewise.
14885 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14886 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14887 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14888 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14889 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14890 (__posix_fallocate64_l64): Likewise.
14891 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14893 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
14894 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14895 (__get_clockfreq): Likewise.
14896 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14897 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14898 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14899 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14900 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14901 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14902 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14903 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14905 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14906 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14907 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14908 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14909 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14910 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14911 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14913 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14914 (posix_fallocate): Likewise.
14915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14916 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14917 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
14918 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14919 (elf_machine_rela, elf_machine_rela_relative)
14920 (elf_machine_lazy_rel): Likewise.
14921 * time/asctime.c (asctime_internal): Likewise.
14922 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14923 * time/tzset.c (__tzset_parse_tz): Likewise.
14924 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14925 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14926 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14927 * wcsmbs/wcsmbsload.h: Likewise.
14930 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14932 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14933 (arena_get2): Remove THREAD_STATS conditionals.
14934 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14935 (__malloc_stats, int): Likewise.
14937 2014-02-08 Mike Frysinger <vapier@gentoo.org>
14939 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14940 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14942 * manual/setjmp.texi: Fix typos/grammar errors.
14944 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14945 Only return early when n is <= 0. Delete unused return statement.
14947 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14948 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14949 * debug/tst-longjmp_chk3.c: New file.
14951 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14952 (test_main): Replace code with set_fortify_handler call.
14953 * debug/test-strcpy_chk.c: Likewise.
14954 * debug/tst-chk1.c: Likewise.
14955 * debug/tst-longjmp_chk.c: Likewise.
14956 * test-skeleton.c: Include fcntl.h & paths.h
14957 (set_fortify_handler): Define.
14959 * debug/tst-longjmp_chk.c: Add header comment and include
14960 ../test-skeleton.c.
14961 (do_test): Mark static.
14962 (TEST_FUNCTION): Define.
14964 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14965 (IP_PMTUDISC_INTERFACE): Likewise.
14966 (IP_MULTICAST_IF): Likewise.
14967 (IP_MULTICAST_TTL): Likewise.
14968 (IP_MULTICAST_LOOP): Likewise.
14969 (IP_ADD_MEMBERSHIP): Likewise.
14970 (IP_DROP_MEMBERSHIP): Likewise.
14971 (IP_UNBLOCK_SOURCE): Likewise.
14972 (IP_BLOCK_SOURCE): Likewise.
14973 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14974 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14975 (IP_MSFILTER): Likewise.
14976 (MCAST_JOIN_GROUP): Likewise.
14977 (MCAST_BLOCK_SOURCE): Likewise.
14978 (MCAST_UNBLOCK_SOURCE): Likewise.
14979 (MCAST_LEAVE_GROUP): Likewise.
14980 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14981 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14982 (MCAST_MSFILTER): Likewise.
14983 (IP_MULTICAST_ALL): Likewise.
14984 (IP_UNICAST_IF): Likewise.
14986 * timezone/Makefile: Delete $(have-ksh) check.
14987 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14988 * timezone/tzselect.ksh: Add +x mode bits.
14990 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14991 (ANON_INODE_FS_MAGIC): Likewise.
14992 (BDEVFS_MAGIC): Likewise.
14993 (BINFMTFS_MAGIC): Likewise.
14994 (BTRFS_TEST_MAGIC): Likewise.
14995 (CRAMFS_MAGIC_WEND): Likewise.
14996 (DEBUGFS_MAGIC): Likewise.
14997 (ECRYPTFS_SUPER_MAGIC): Likewise.
14998 (EXT3_SUPER_MAGIC): Likewise.
14999 (EXT4_SUPER_MAGIC): Likewise.
15000 (FUTEXFS_SUPER_MAGIC): Likewise.
15001 (HOSTFS_SUPER_MAGIC): Likewise.
15002 (HUGETLBFS_MAGIC): Likewise.
15003 (MINIX3_SUPER_MAGIC): Likewise.
15004 (MTD_INODE_FS_MAGIC): Likewise.
15005 (NILFS_SUPER_MAGIC): Likewise.
15006 (OPENPROM_SUPER_MAGIC): Likewise.
15007 (PIPEFS_MAGIC): Likewise.
15008 (PSTOREFS_MAGIC): Likewise.
15009 (QNX6_SUPER_MAGIC): Likewise.
15010 (RAMFS_MAGIC): Likewise.
15011 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15012 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15013 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15014 (SECURITYFS_MAGIC): Likewise.
15015 (SELINUX_MAGIC): Likewise.
15016 (SMACK_MAGIC): Likewise.
15017 (SOCKFS_MAGIC): Likewise.
15018 (SQUASHFS_MAGIC): Likewise.
15019 (STACK_END_MAGIC): Likewise.
15020 (TMPFS_MAGIC): Likewise.
15021 (USBDEVICE_SUPER_MAGIC): Likewise.
15022 (V9FS_MAGIC): Likewise.
15023 (XENFS_SUPER_MAGIC): Likewise.
15024 (CRAMFS_MAGIC): Fix typo in comment.
15025 (EXT2_SUPER_MAGIC): Update comment.
15026 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15028 2014-02-08 Joseph Myers <joseph@codesourcery.com>
15030 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15031 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15032 * sysdeps/unix/sysv/linux/arm: Move directory from
15033 ports/sysdeps/unix/sysv/linux/arm.
15034 * README: Update listing for arm-*-linux-gnueabi.
15036 * README: Remove mention of am33.
15038 2014-02-07 Roland McGrath <roland@hack.frob.com>
15040 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15041 than the comma operator, to avoid "rhs of comma has no effect"
15043 (__sigfillset, __sigandset, __sigorset): Likewise.
15044 * include/signal.h (__sigemptyset): Likewise.
15045 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15047 2014-02-07 Allan McRae <allan@archlinux.org>
15049 * version.h (RELEASE): Set to "development".
15050 (VERSION): Set to "2.19.90"
15051 * NEWS: Add 2.20 section.
15053 2014-02-06 Carlos O'Donell <carlos@redhat.com>
15056 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15058 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15060 * manual/contrib.texi: Update entry for Carlos O'Donell,
15061 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15063 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
15065 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15067 * sysdeps/unix/sysv/linux/kernel-features.h
15068 [__LINUX_KERNEL_VERSION >= 0x020621]
15069 (__ASSUME_PROC_PID_TASK_COMM): Define.
15071 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15074 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15075 conversion when destination buffer does not have enough space.
15076 * libio/tst-ftell-partial-wide.c: New test case.
15077 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15079 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15080 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15081 Leonard and Allan McRae.
15083 2014-02-04 David S. Miller <davem@davemloft.net>
15085 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15088 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15117 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15119 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15120 * shlib-versions: Likewise.
15122 2014-02-04 Roland McGrath <roland@hack.frob.com>
15123 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15125 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15126 (abilist-pattern): New variable, set to %-le.abilist.
15128 * Makerules (abilist-pattern): New variable.
15129 (vpath): Use $(abilist-pattern) in place of %.abilist.
15130 (check-abi-% pattern rule): Likewise.
15131 (check-abi, update-abi): Likewise.
15133 2014-02-04 Eric Wong <normalperson@yhbt.net>
15135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15137 2014-02-03 Carlos O'Donell <carlos@redhat.com>
15139 * manual/startup.texi: Add next, previous, and top entries for
15140 the `Program Arguments' and `Environment Variables' nodes.
15142 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
15144 * manual/macros.texi: Add comments before MTASC-safety macros.
15146 * manual/users.texi: Document MTASC-safety properties.
15148 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15149 (pthread_getspecific, pthread_setspecific): Format with
15150 @deftypefun, and add @safety note.
15151 * manual/signal.texi: Move comments that analyze the above
15152 functions to their home place.
15154 2014-02-03 Allan McRae <allan@archlinux.org>
15156 * po/sl.po: Update Slovenian translation from translation project.
15158 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
15160 * manual/time.texi (timegm): Add missing blank after @c.
15161 Reported by Joseph Myers <joseph@codesourcery.com>.
15163 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
15165 * manual/check-safety.sh: New.
15166 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15168 * manual/terminal.texi: Document MTASC-safety properties.
15170 * manual/filesys.texi: Document MTASC-safety properties.
15172 * manual/errno.texi: Document MTASC-safety properties.
15174 * manual/intro.texi: Document safety identifiers and
15177 * manual/string.texi (wcstok): Fix prototype.
15178 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15180 * manual/time.texi: Document MTASC-safety properties.
15182 * manual/string.texi: Document MTASC-safety properties.
15184 * manual/threads.texi: Document MTASC-safety properties.
15186 * manual/stdio.texi: Document MTASC-safety properties.
15188 * manual/syslog.texi: Document MTASC-safety properties.
15190 * manual/sysinfo.texi: Document MTASC-safety properties.
15192 * manual/startup.texi: Document MTASC-safety properties.
15194 * manual/socket.texi: Document MTASC-safety properties.
15196 * manual/signal.texi: Document MTASC-safety properties.
15198 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
15200 * manual/setjmp.texi: Document MTASC-safety properties.
15202 * manual/search.texi: Document MTASC-safety properties.
15204 * manual/resource.texi: Document MTASC-safety properties.
15206 * manual/process.texi: Document MTASC-safety properties.
15208 * manual/platform.texi: Document MTASC-safety properties.
15210 * manual/pipe.texi: Document MTASC-safety properties.
15212 * manual/pattern.texi: Document MTASC-safety properties.
15214 * manual/message.texi: Document MTASC-safety properties.
15217 * manual/memory.texi: Document MTASC-safety properties.
15219 * manual/math.texi: Document MTASC-safety properties.
15221 * manual/locale.texi: Document MTASC-safety properties.
15223 * manual/llio.texi: Document MTASC-safety properties.
15225 * manual/libdl.texi: New.
15227 * manual/lang.texi: Document MTASC-safety properties.
15229 * manual/job.texi: Document MTASC-safety properties.
15231 * manual/getopt.texi: Document MTASC-safety properties.
15233 * manual/ctype.texi: Document MTASC-safety properties.
15235 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15238 * csu/libc-tls.c (static_map): Remove variable.
15239 (__libc_setup_tls): Use main executable's link map for TLS data.
15240 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15241 casing for LM_ID_BASE and GL(dl_nns).
15242 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15243 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15244 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15245 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15246 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15248 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15251 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
15253 * manual/debug.texi: Document MTASC-safety properties.
15255 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15258 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15259 of __x86_64__ when disabling x87 inline functions.
15261 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
15263 * manual/charset.texi: Document MTASC-safety properties.
15265 * manual/crypt.texi: Document MTASC-safety properties.
15267 * manual/conf.texi: Document MTASC-safety properties.
15269 * manual/arith.texi: Document MTASC-safety properties.
15271 * manual/argp.texi: Document MTASC-safety properties.
15273 * manual/macros.texi: Introduce macros to document multi
15274 thread, asynchronous signal and asynchronous cancellation
15276 * manual/intro.texi: Introduce the properties themselves.
15278 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15280 * sysdeps/sh/sh4/Makefile: New file.
15282 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15284 * math/gen-libm-test.pl ($srcdir): New variable.
15285 ($auto_input): Use it.
15287 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15290 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15291 access beyond array bounds when parsing netgroups file.
15293 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15294 the old buffer before realloc.
15296 2014-01-27 Allan McRae <allan@archlinux.org>
15298 * po/fr.po: Update French translation from translation project.
15300 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15302 * sysdeps/sh/libm-test-ulps: Regenerate.
15304 2014-01-24 David S. Miller <davem@davemloft.net>
15306 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15308 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15310 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15311 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15313 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15316 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15317 string pointers after reallocation.
15319 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15321 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15322 __SH4A__ instead of __SH_FPU_ANY__.
15324 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15326 * sysdeps/sh/fpu_control.h: New file.
15327 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15328 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15329 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15330 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15331 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15332 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15333 * sysdeps/sh/sys/ucontext.h: Remove.
15334 * sysdeps/sh/sys: Remove directory.
15336 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15338 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15339 s390/sys/ucontext.h.
15340 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15341 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15343 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15346 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15348 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15351 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15352 Adjust the vDSO correctly for internal calls.
15353 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15355 2014-01-20 Allan McRae <allan@archlinux.org>
15357 * po/ca.po: Update Catalan translation from translation project.
15359 2014-01-16 Mike Frysinger <vapier@gentoo.org>
15361 * sysdeps/s390/sotruss-lib.c: New file.
15363 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15366 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15367 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15368 local calls issues by not having a PLT stub required for IFUNC calls.
15369 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15371 2014-01-16 Joseph Myers <joseph@codesourcery.com>
15373 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15374 * math/test-fpucw-static.c: Likewise.
15376 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15379 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15381 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15383 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15384 implementation for powerpc.
15386 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
15389 * sysdeps/posix/system.c (__libc_system): Do not enable
15390 asynchronous cancellation.
15392 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15395 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15396 handling only for numbers special also in the IEEE case.
15398 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15400 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15402 2014-01-11 Allan McRae <allan@archlinux.org>
15404 * po/bg.po: Update Bulgarian translation from translation project.
15406 * po/de.po: Update German translation from translation project.
15408 2014-01-10 Roland McGrath <roland@hack.frob.com>
15410 * sysdeps/generic/gcc-compat.h: New file.
15412 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15414 * benchtests/asin-inputs: Correct slow inputs.
15415 * benchtests/acos-inputs: Likewise.
15417 2014-01-10 Allan McRae <allan@archlinux.org>
15419 * po:sv.po: Update Swedish translation from translation project.
15421 * po/vi.po: Update Vietnamese translation from translation project.
15423 * po/eo.po: Update Esperanto translation from translation project.
15425 * po/cs.po: Update Czech translation from translation project.
15427 * po/nl.po: Update Dutch translation from translation project.
15429 * po/pl.po: Update Polish translation from translation project.
15431 * po/ru.po: Update Russian translation from translation project.
15433 * po/uk.po: Update Ukrainian translation from translation project.
15435 2014-01-08 Brooks Moses <bmoses@google.com>
15437 * elf/dl-load.c: Fix comment typo.
15439 2014-01-08 Carlos O'Donell <carlos@redhat.com>
15441 * po/header.pot: Rename to...
15442 * po/pot.header: ... this.
15443 * po/Makefile: Use pot.header.
15445 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15446 Maxim Kuvyrkov <maxim@kugelworks.com>
15449 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15450 SRC and DEST against LEN.
15452 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15455 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15457 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15459 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15463 2014-01-08 Joseph Myers <joseph@codesourcery.com>
15466 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15467 for large positive arguments.
15469 2014-01-07 Joseph Myers <joseph@codesourcery.com>
15471 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15473 * math/auto-libm-test-in: Mark various tests with
15474 xfail-rounding:ldbl-128ibm.
15475 * math/auto-libm-test-out: Regenerated.
15478 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15479 Increase overflow threshold.
15481 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
15484 * stdio-common/vfprintf.c: Check for integer overflow.
15486 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15488 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15489 the first argument and return value of __tls_get_addr_internal.
15491 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15493 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15494 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15496 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15498 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15499 * sysdeps/s390/rtld-global-offsets.sym: New file.
15500 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15502 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15503 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15504 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15506 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15507 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15513 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15514 halfs of GPRs for high_gprs contexts.
15515 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15516 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15518 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15520 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15522 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15523 for high GPRs (uc_high_gprs) and for future extensions
15525 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15526 for future extensions (__reserved).
15527 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15529 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15530 SC_HIGHGPRS offset definition.
15531 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15532 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15534 * Versions.def: Add GLIBC_2.19 for libpthread.
15535 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15536 siglongjmp for libpthread with GLIBC_2.19 symver.
15537 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15538 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15539 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15540 * sysdeps/s390/__longjmp.c: New file.
15541 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15542 * sysdeps/s390/longjmp.c: New file.
15543 * sysdeps/s390/setjmp.S: New file.
15544 * sysdeps/s390/sigjmp.S: New file.
15545 * sysdeps/s390/v1-longjmp.c: New file.
15546 * sysdeps/s390/v1-setjmp.h: New file.
15547 * sysdeps/s390/v1-sigjmp.c: New file.
15548 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15549 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15550 GLIBC_2.19 version.
15551 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15552 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15553 versioned symbols for ____longjmp_chk.
15554 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15564 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15565 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15566 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15567 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15568 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15569 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15570 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15571 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15572 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15573 * sysdeps/s390/rtld-__longjmp.c: New file.
15574 * sysdeps/s390/rtld-setjmp.S: New file.
15576 2014-01-06 Joseph Myers <joseph@codesourcery.com>
15579 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15580 Return -__logl (x) for small positive arguments without evaluating
15583 2014-01-06 Mike Frysinger <vapier@gentoo.org>
15585 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15587 (__ptrace_peeksiginfo_args): ... this.
15588 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15589 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15590 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15592 2014-01-06 Allan McRae <allan@archlinux.org>
15594 * inet/netinet/in.h: Fix typo in comment.
15596 2014-01-05 Andreas Jaeger <aj@suse.de>
15598 * sysdeps/i386/fpu/libm-test-ulps: Update.
15600 2014-01-05 Allan McRae <allan@archlinux.org>
15602 * po/libc.pot: Regenerated.
15604 * malloc/memusagestat.c: Fix gettext call formatting.
15606 2014-01-04 Sami Kerola <kerolasa@iki.fi>
15608 * nscd/nscd.c: Improve usage() output.
15610 2014-01-04 Mike Frysinger <vapier@gentoo.org>
15612 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15613 * sysdeps/unix/sysv/linux/configure: Regenerated.
15614 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15615 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15617 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15620 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15621 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15623 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15625 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15626 extra tokens at end of #undef directive.
15627 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15628 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15629 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15631 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15633 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15635 * math/auto-libm-test-in: Mark various tests with
15636 xfail-rounding:ldbl-128ibm.
15637 * math/auto-libm-test-out: Regenerated.
15639 2014-01-02 Joseph Myers <joseph@codesourcery.com>
15642 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15643 numbers with subnormal high part when calculating exponent.
15646 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15650 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15652 (__ieee754_acoshl): Use __log1pl not __log1p.
15654 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
15656 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15657 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15658 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15659 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15660 (reused_arena, arena_get2): Convert to GNU style.
15661 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15662 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15663 (memalign_check, __malloc_set_state): Likewise.
15664 * malloc/mallocbug.c (main): Likewise.
15665 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15666 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15667 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15668 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15669 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15670 (__posix_memalign, malloc_info): Likewise.
15671 * malloc/malloc.h: Likewise.
15672 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15673 (mallochook, memalignhook, reallochook, mabort): Likewise.
15674 * malloc/mcheck.h: Likewise.
15675 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15676 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15677 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15678 * malloc/morecore.c (__default_morecore): Likewise.
15679 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15680 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15681 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15682 (print_and_abort): Likewise.
15683 * malloc/obstack.h: Likewise.
15684 * malloc/set-freeres.c (__libc_freeres): Likewise.
15685 * malloc/tst-mallocstate.c (main): Likewise.
15686 * malloc/tst-mtrace.c (main): Likewise.
15687 * malloc/tst-realloc.c (do_test): Likewise.
15689 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15692 * nscd/netgroupcache.c (do_notfound): New function.
15693 (addgetnetgrentX): Use it.
15696 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15697 NSS_STATUS_NOTFOUND.
15699 2014-01-01 Joseph Myers <joseph@codesourcery.com>
15701 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15704 2014-01-01 Allan McRae <allan@archlinux.org>
15706 * scripts/update-copyrights: Update configure input file suffix.
15708 * NEWS: Update copyright year.
15709 * catgets/gencat.c: Likewise.
15710 * csu/version.c: Likewise.
15711 * debug/catchsegv.sh: Likewise.
15712 * debug/pcprofiledump.c: Likewise.
15713 * debug/xtrace.sh: Likewise.
15714 * elf/ldconfig.c: Likewise.
15715 * elf/ldd.bash.in: Likewise.
15716 * elf/pldd.c: Likewise.
15717 * elf/sotruss.ksh: Likewise.
15718 * elf/sprof.c: Likewise.
15719 * iconv/iconv_prog.c: Likewise.
15720 * iconv/iconvconfig.c: Likewise.
15721 * locale/programs/locale.c: Likewise.
15722 * locale/programs/localedef.c: Likewise.
15723 * login/programs/pt_chown.c: Likewise.
15724 * malloc/memusage.sh: Likewise.
15725 * malloc/memusagestat.c: Likewise.
15726 * malloc/mtrace.pl: Likewise.
15727 * manual/libc.texinfo: Likewise.
15728 * nscd/nscd.c: Likewise.
15729 * nss/getent.c: Likewise.
15730 * nss/makedb.c: Likewise.
15731 * posix/getconf.c: Likewise.
15732 * scripts/test-installation.pl: Likewise.
15734 * All files with FSF copyright notices: Update copyright dates
15735 using scripts/update-copyrights.
15736 * intl/plural.c: Regenerated.
15737 * locale/programs/charmap-kw.h: Likewise.
15738 * locale/programs/locfile-kw.h: Likewise.
15740 2013-12-31 Mike Frysinger <vapier@gentoo.org>
15742 * sysdeps/unix/sysv/linux/configure: Regenerated.
15743 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15744 the linux/fanotify.h header.
15745 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15746 HAVE_LINUX_FANOTIFY_H is defined.
15748 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15750 * benchtests/cos-inputs: New inputs.
15751 * benchtests/sin-inputs: Likewise.
15753 * benchtests/atan-inputs: New inputs. Fix name of multiple
15754 precision fallback inputs.
15756 * benchtests/atanh-inputs: New inputs.
15757 * benchtests/tanh-inputs: Likewise.
15759 * benchtests/acosh-inputs: New inputs.
15760 * benchtests/asinh-inputs: Likewise.
15762 * benchtests/cosh-inputs: New inputs.
15763 * benchtests/sinh-inputs: Likewise.
15765 * benchtests/acos-inputs: Add more inputs.
15766 * benchtests/asin-inputs: Likewise.
15768 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
15771 * manual/arith.texi: Fix spelling.
15772 * manual/charset.texi: Likewise.
15773 * manual/errno.texi: Likewise.
15774 * manual/filesys.texi: Likewise.
15775 * manual/lang.texi: Likewise.
15776 * manual/llio.texi: Likewise.
15777 * manual/locale.texi: Likewise.
15778 * manual/message.texi: Likewise.
15779 * manual/resource.texi: Likewise.
15780 * manual/search.texi: Likewise.
15781 * manual/setjmp.texi: Likewise.
15782 * manual/stdio.texi: Likewise.
15783 * manual/string.texi: Likewise.
15784 * manual/sysinfo.texi: Likewise.
15785 * manual/time.texi: Likewise.
15787 2013-12-27 Carlos O'Donell <carlos@redhat.com>
15789 * po/sl.po: New file.
15791 2013-12-27 Mike Frysinger <vapier@gentoo.org>
15793 * .gitignore: Add core/.gdbinit/.gdb_history.
15795 2013-12-27 Allan McRae <allan@archlinux.org>
15798 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15799 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15801 2013-12-24 Brooks Moses <bmoses@google.com>
15803 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15804 all compilers that claim C++98 compliance, not just GCC.
15805 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15808 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15810 * NEWS: Restore accidentally deleted bug-fix entries.
15812 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15813 Ondřej Bílka <neleai@seznam.cz>
15816 * malloc/malloc.c (_int_free): Perform sanity check only if we
15819 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
15822 * manual/stdio.texi (String Input Conversions): Clarify that character
15823 classes are not supported.
15825 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15829 2013-12-22 Joseph Myers <joseph@codesourcery.com>
15832 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15833 Calculate results for small negative arguments directly rather
15834 than using reflection formula with special underflow handling.
15836 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15837 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15838 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15839 (fchflags): Likewise.
15840 (revoke): Likewise.
15841 (setlogin): Likewise.
15842 (sigaltstack): Likewise.
15844 (sigblock): Remove.
15845 (sigsetmask): Likewise.
15847 (waitpid): Likewise.
15848 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15849 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15851 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15852 * sysdeps/unix/bsd/Makefile: ... here.
15853 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15854 * sysdeps/unix/bsd/Versions: ... here.
15855 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15856 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15857 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15858 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15859 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15860 * sysdeps/unix/bsd/sigblock.c: ... here.
15861 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15862 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15863 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15864 * sysdeps/unix/bsd/sigvec.c: ... here.
15865 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15866 * sysdeps/unix/bsd/tcdrain.c: ... here.
15867 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15868 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15869 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15870 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15871 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15872 * sysdeps/unix/bsd/wait.c: ... here.
15873 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15874 * sysdeps/unix/bsd/wait3.c: ... here.
15875 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15876 * sysdeps/unix/bsd/waitpid.c: ... here.
15878 2013-12-21 Joseph Myers <joseph@codesourcery.com>
15881 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15882 round-to-nearest for [!USE_AS_EXPM1L].
15883 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15884 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
15885 more tests of exp and exp10. Expect some exp10 tests to miss
15886 exceptions or fail in directed rounding modes.
15887 * math/auto-libm-test-out: Regenerated.
15888 * math/libm-test.inc (exp10_tonearest_test_data): New array.
15889 (exp10_test_tonearest): New function.
15890 (exp10_towardzero_test_data): New array.
15891 (exp10_test_towardzero): New function.
15892 (exp10_downward_test_data): New array.
15893 (exp10_test_downward): New function.
15894 (exp10_upward_test_data): New array.
15895 (exp10_test_upward): New function.
15896 (main): Call the new functions.
15897 * sysdeps/i386/fpu/libm-test-ulps: Update.
15898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15900 2013-12-20 Joseph Myers <joseph@codesourcery.com>
15902 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15903 asinh, atan, atan2, atanh, cbrt, cos and cosh.
15904 * math/auto-libm-test-out: Regenerated.
15905 * math/libm-test.inc (acosh_test_data): Add more tests.
15906 (atanh_test_data): Likewise.
15907 (ceil_test_data): Likewise.
15908 (copysign_test_data): Likewise.
15909 * sysdeps/i386/fpu/libm-test-ulps: Update.
15910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15912 * timezone/checktab.awk: Update from tzcode 2013i.
15913 * timezone/private.h: Likewise.
15914 * timezone/scheck.c: Likewise.
15915 * timezone/tzfile.h: Likewise.
15916 * timezone/tzselect.ksh: Likewise.
15917 * timezone/zdump.c: Likewise.
15918 * timezone/zic.c: Likewise.
15920 * math/auto-libm-test-in: Add tests of cpow.
15921 * math/auto-libm-test-out: Regenerated.
15922 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
15923 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15925 (func_calc_desc): Add mpc_cc_c union field.
15926 (test_functions): Add cpow.
15927 (special_fill_2pi): New function.
15928 (special_real_inputs): Add 2pi.
15929 (calc_generic_results): Handle mpc_cc_c.
15930 * sysdeps/i386/fpu/libm-test-ulps: Update.
15931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15933 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15934 csqrt, ctan and ctanh.
15935 * math/auto-libm-test-out: Regenerated.
15936 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15937 (TEST_COND_x86): Likewise.
15938 (ccos_test_data): Use AUTO_TESTS_c_c.
15939 (ccosh_test_data): Likewise.
15940 (cexp_test_data): Likewise.
15941 (clog_test_data): Likewise.
15942 (csqrt_test_data): Likewise.
15943 (ctan_test_data): Likewise.
15944 (ctan_tonearest_test_data): Likewise.
15945 (ctan_towardzero_test_data): Likewise.
15946 (ctan_downward_test_data): Likewise.
15947 (ctan_upward_test_data): Likewise.
15948 (ctanh_test_data): Likewise.
15949 (ctanh_tonearest_test_data): Likewise.
15950 (ctanh_towardzero_test_data): Likewise.
15951 (ctanh_downward_test_data): Likewise.
15952 (ctanh_upward_test_data): Likewise.
15953 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15955 (func_calc_desc): Add mpc_c_c union field.
15956 (FUNC_mpc_c_c): New macro.
15957 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15958 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15960 (special_fill_min_subnorm_p120): New function.
15961 (special_real_inputs): Add min_subnorm_p120.
15962 (calc_generic_results): Handle mpc_c_c.
15963 * sysdeps/i386/fpu/libm-test-ulps: Update.
15964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15966 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15968 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15969 (do_sin_slow): New functions.
15970 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15971 (cslow2, csloww1, csloww2): Use the new functions.
15973 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15974 Use M to change sign of result instead of X. Assume X is
15976 (csloww1): Likewise.
15980 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15981 arguments A and DA.
15985 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15987 (sloww1): Don't adjust sign of DX.
15988 (csloww1): Likewise.
15989 (sloww2): Use X directly and don't adjust sign of DX.
15990 (csloww2): Likewise.
15992 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15994 * math/auto-libm-test-in: Add tests of cabs and carg.
15995 * math/auto-libm-test-out: Regenerated.
15996 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15997 (carg_test_data): Likewise.
15998 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16000 (func_calc_desc): Add mpc_c_f union field.
16001 (test_functions): Add cabs and carg.
16002 (calc_generic_results): Handle mpc_c_f.
16004 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16005 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16006 as a macro and a compat symbol.
16007 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16008 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16009 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16010 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16011 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16012 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16014 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16016 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16018 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16020 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16022 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16024 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16025 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16028 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16032 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16034 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16035 trailing whitespace removed.
16036 * scripts/config.guess: Update to version 2013-11-29.
16037 * scripts/config.sub: Update to version 2013-10-01.
16039 * math/auto-libm-test-in: Add tests of sincos.
16040 * math/auto-libm-test-out: Regenerated.
16041 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16042 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16044 (func_calc_desc): Add mpfr_f_11 union field.
16045 (test_functions): Add sincos.
16046 (calc_generic_results): Handle mpfr_f_11.
16047 * sysdeps/i386/fpu/libm-test-ulps: Update.
16048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16050 2013-12-19 Andreas Schwab <schwab@suse.de>
16052 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16054 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16055 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16056 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16058 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16060 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16061 * sysdeps/i386/fpu/libm-test-ulps: Update.
16062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16065 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16066 round-to-nearest mode when using frndint.
16067 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16068 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16069 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16071 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16073 * math/auto-libm-test-out: Regenerated.
16074 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16075 (TEST_COND_x86): Likewise.
16076 (expm1_tonearest_test_data): New array.
16077 (expm1_test_tonearest): New function.
16078 (expm1_towardzero_test_data): New array.
16079 (expm1_test_towardzero): New function.
16080 (expm1_downward_test_data): New array.
16081 (expm1_test_downward): New function.
16082 (expm1_upward_test_data): New array.
16083 (expm1_test_upward): New function.
16084 (main): Run the new test functions.
16085 * sysdeps/i386/fpu/libm-test-ulps: Update.
16086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16088 * include/features.h: Update comment documenting feature test
16089 macros. Mention _DEFAULT_SOURCE in comment.
16090 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16091 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16092 _BSD_SOURCE and _SVID_SOURCE.
16093 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16094 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16095 !_SVID_SOURCE]: Likewise.
16096 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16097 (__USE_POSIX_IMPLICITLY): Define.
16098 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16099 (_POSIX_SOURCE): Undefine and redefine.
16100 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16101 (_POSIX_C_SOURCE): Likewise.
16102 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16103 (Feature Test Macros): Update documentation of default features.
16105 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16107 * benchtests/Makefile: Add bench-strtok.
16108 * benchtests/bench-strtok.c: New file: strtok benchtest.
16110 2013-12-19 Allan McRae <allan@archlinux.org>
16112 * manual/install.texi: Suppress menu for plain text output.
16113 * INSTALL: Regenerated.
16115 2013-12-18 Brooks Moses <bmoses@google.com>
16118 * misc/getauxval.c: Include errno.h.
16119 (__getauxval): Set errno to ENOENT if the requested type is not
16121 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16122 don't declare with __attribute_const__.
16123 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16124 * manual/startup.texi: Document that getauxval sets errno.
16126 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16128 * math/auto-libm-test-in: Add tests of jn and yn.
16129 * math/auto-libm-test-out: Regenerated.
16130 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16131 (yn_test_data): Likewise.
16132 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16134 (func_calc_desc): Add mpfr_if_f union field.
16135 (FUNC_mpfr_if_f): New macro.
16136 (test_functions): Add jn and yn.
16137 (calc_generic_results): Assert type of second input for
16138 mpfr_ff_f. Handle mpfr_if_f.
16139 (output_for_one_input_case): Disable all checking for arguments
16140 fitting floating-point types in case of an integer argument.
16141 * sysdeps/i386/fpu/libm-test-ulps: Update.
16142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16145 Don't expect fegetround reference in libm.so.
16147 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16149 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16150 $(config-cflags-nofma).
16152 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16154 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16155 * math/auto-libm-test-out: Regenerated.
16158 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16159 to determine exponent and adjust argument to have exponent of -1.
16160 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16162 * math/auto-libm-test-out: Regenerated.
16163 * sysdeps/i386/fpu/libm-test-ulps: Update.
16164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16166 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
16168 * manual/probes.texi: Remove cases when per-thread arenas are
16171 2013-12-18 Andreas Schwab <schwab@suse.de>
16173 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16174 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16175 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16176 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16177 * sysdeps/i386/i686/multiarch/Makefile: Update.
16178 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16180 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16182 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16183 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16185 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16188 Support TZ transition times < 00:00:00.
16189 This is needed for version-3 tz-format files; it supports time
16190 stamps past 2037 for America/Godthab (the only entry in the tz
16191 database for which this change is relevant).
16192 * manual/time.texi (TZ Variable): Document transition times
16193 from -167:59:59 through -00:00:01.
16194 * time/tzset.c (tz_rule): Time of day is now signed.
16195 (__tzset_parse_tz): Parse negative time of day.
16197 Document TZ transition times >= 25:00:00.
16198 * manual/time.texi (TZ Variable): Document transition times from
16199 25:00:00 through 167:59:59. These are already supported, and this
16200 support will help with version-3 tz-format files.
16202 * manual/time.texi (TZ Variable): Modernize North America example
16203 to reflect current (i.e., 2007-and-later) daylight saving rules.
16205 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16207 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16209 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16210 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16211 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16213 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16214 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16215 * sysdeps/unix/bsd/clock.c: Likewise.
16216 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16217 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16218 * sysdeps/unix/bsd/init-posix.c: Likewise.
16219 * sysdeps/unix/bsd/poll.c: Likewise.
16220 * sysdeps/unix/bsd/ptsname.c: Likewise.
16221 * sysdeps/unix/bsd/seekdir.c: Likewise.
16222 * sysdeps/unix/bsd/setegid.c: Likewise.
16223 * sysdeps/unix/bsd/seteuid.c: Likewise.
16224 * sysdeps/unix/bsd/setgid.c: Likewise.
16225 * sysdeps/unix/bsd/setrgid.c: Likewise.
16226 * sysdeps/unix/bsd/setruid.c: Likewise.
16227 * sysdeps/unix/bsd/setsid.c: Likewise.
16228 * sysdeps/unix/bsd/setuid.c: Likewise.
16229 * sysdeps/unix/bsd/sigaction.c: Likewise.
16230 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16231 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16232 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16233 * sysdeps/unix/bsd/telldir.c: Likewise.
16234 * sysdeps/unix/bsd/times.c: Likewise.
16235 * sysdeps/unix/bsd/usleep.c: Likewise.
16237 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16238 ($(objpfx)libbsd-compat.a): Remove rule.
16240 * include/features.h (__FAVOR_BSD): Do not define.
16241 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16242 features conflicting with POSIX.
16243 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16244 (_BSD_SOURCE): Remove description of not being a subset of other
16245 feature test macros.
16246 * manual/job.texi (getpgrp): Do not document BSD version.
16247 (getpgid): Do not document by reference to BSD getpgrp.
16248 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16249 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16250 * signal/signal.h [__FAVOR_BSD]: Likewise.
16251 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16252 instead of making contents conditional on [__FAVOR_BSD].
16253 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16255 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16259 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16262 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16263 values below 2**-450, not 2**-500.
16264 * math/auto-libm-test-in: Don't allow spurious underflow from
16266 * math/auto-libm-test-out: Regenerated.
16270 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16271 values of ha and hb and sort them after adjusting subnormal
16273 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16275 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16276 values of ea and eb and sort them after adjusting subnormal
16278 * math/auto-libm-test-in: Do not expect some hypot tests of
16279 subnormals to fail. Add more hypot tests.
16280 * math/auto-libm-test-out: Regenerated.
16282 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16285 * sysdeps/sh/s_fma.c: New file.
16286 * sysdeps/sh/s_fmaf.c: New file.
16287 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16289 * sysdeps/sh/Implies: Add sh/soft-fp.
16291 2013-12-16 Roland McGrath <roland@hack.frob.com>
16293 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16294 level of indirection to members `objname', `errstring', `malloced'.
16295 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16296 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16297 it as the __longjmp argument (just pass 1 instead).
16298 (_dl_catch_error): Initialize C with argument pointers and address of
16299 volatile local ERRCODE rather than copying values out of C at return.
16301 2013-12-16 Joseph Myers <joseph@codesourcery.com>
16303 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16304 * math/auto-libm-test-out: Regenerated.
16305 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16306 (hypot_test_data): Likewise.
16307 (pow_test_data): Likewise.
16308 (pow_tonearest_test_data): Likewise.
16309 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16311 (func_calc_desc): Add mpfr_ff_f union field.
16312 (FUNC_mpfr_ff_f): New macro.
16313 (test_functions): Add atan2, hypot and pow.
16314 (special_fill_min): New function.
16315 (special_fill_minus_min): Likewise.
16316 (special_fill_min_subnorm): Likewise.
16317 (special_fill_minus_min_subnorm): Likewise.
16318 (special_real_inputs): Add min, -min, min_subnorm and
16320 (calc_generic_results): Handle mpfr_ff_f.
16321 * sysdeps/i386/fpu/libm-test-ulps: Update.
16322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16324 2013-12-16 Will Newton <will.newton@linaro.org>
16326 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16327 (Aligned Memory Blocks): Add documentation for aligned_alloc
16328 and suggest it as an alternative to posix_memalign.
16329 (Hooks for Malloc): Document __memalign_hook is also called
16330 for aligned_alloc. (Summary of Malloc): Add summary for
16331 aligned alloc. Document __memalign_hook is also called
16334 2013-12-16 Will Newton <will.newton@linaro.org>
16336 * manual/memory.texi (Malloc Examples): Clarify default
16337 alignment documentation. Suggest posix_memalign rather
16338 than memalign or valloc.
16339 (Aligned Memory Blocks): Remove suggestion to use memalign
16340 or valloc. Remove obsolete comment about BSD.
16341 Document memalign errno values and mark the function obsolete.
16342 Document posix_memalign returned error codes. Mark valloc
16343 as obsolete. (Hooks for Malloc): __memalign_hook is also
16344 called for posix_memalign and valloc.
16345 (Summary of Malloc): Add posix_memalign to function summary.
16346 __memalign_hook is also called for posix_memalign and valloc.
16348 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16350 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16354 (sloww): Use mynumber union. Expand ternary operator into
16355 if-else statements.
16356 (cslow): use mynumber union.
16358 2013-12-16 Allan McRae <allan@archlinux.org>
16360 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16361 * configure: Regenerated.
16363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16366 * configure.ac: Added --enable-maintainer-mode. Check for
16367 autoconf when enabled.
16368 * configure: Regenerated.
16370 * nscd/nscd.service: New file.
16371 * nscd/nscd.tmpfiles: New file.
16373 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
16376 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16377 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16378 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16379 (strstr): Add __strstr_sse2_unaligned ifunc.
16380 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16381 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16382 (strcasestr): Remove __strcasestr_sse42 ifunc.
16383 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16387 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16389 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16390 * sysdeps/sh/bits/fenv.h: ... here.
16391 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16393 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16395 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16398 hypotf multiarch implementations.
16399 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16400 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16401 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16402 multiarch hypot for PPC64.
16403 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16404 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16405 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16406 multiarch hypotf for PPC64.
16408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16409 modff multiarch implementations.
16410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16413 multiarch modf for PPC64.
16414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16417 multiarch modff for PPC64.
16419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16420 and logl multiarch implementations.
16421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16424 multiarch logb for PPC64.
16425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16428 multiarch logb for PPC64.
16429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16432 multiarch logb for PPC64.
16434 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16435 isinff multiarch implementation.
16436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16440 multiarch isinf for PPC64.
16441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16444 multiarch isinff for PPC64.
16446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16447 finitef multiarch implementation.
16448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16452 multiarch finite for PPC64.
16453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16456 multiarch finitef for PPC64.
16458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16459 lrint multiarch implementation.
16460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16464 multiarch llrint for PPC64.
16465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16466 multiarch lrint for PPC64.
16468 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16469 copysignf multiarch implementation.
16470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16475 multiarch copysign for PPC64.
16476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16477 multiarch copysignf for PPC64.
16479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16480 multiarch implementation.
16481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16489 multiarch llround for PPC64.
16490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16491 multiarch trunc for PPC64.
16492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16493 multiarch truncf for PPC64.
16495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16496 multiarch implementation.
16497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16505 multiarch llround for PPC64.
16506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16507 multiarch round for PPC64.
16508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16509 multiarch roundf for PPC64.
16511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16512 multiarch implementation.
16513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16521 multiarch llround for PPC64.
16522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16523 multiarch floor for PPC64.
16524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16525 multiarch floorf for PPC64.
16527 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16528 multiarch implementation.
16529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16537 multiarch llround for PPC64.
16538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16539 multiarch ceil for PPC64.
16540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16541 multiarch ceilf for PPC64.
16543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16544 multiarch implementation.
16545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16552 multiarch llround for PPC64.
16553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16554 multiarch lround for PPC64.
16556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16557 multiarch implementation.
16558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16565 multiarch isnan for PPC64.
16566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16567 multiarch isnanf for PPC64.
16569 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16570 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16571 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16572 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16573 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16576 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16577 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16578 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16582 multiarch implementations.
16583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16584 (__libc_ifunc_impl_list): Likewise.
16585 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16586 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16587 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16588 multiarch stpcpy for PPC64.
16590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16591 multiarch implementations.
16592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16593 (__libc_ifunc_impl_list): Likewise.
16594 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16595 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16596 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16597 multiarch strcpy for PPC64.
16599 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16600 redefine function name.
16601 (_wordcopy_fwd_dest_aligned): Likewise.
16602 (_wordcopy_bwd_aligned): Likewise.
16603 (_wordcopy_bwd_dest_aligned): Likewise.
16604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16605 multiarch implementations.
16606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16607 (__libc_ifunc_impl_list): Likewise.
16608 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16609 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16610 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16611 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16612 multiarch wcscpy for PPC64.
16614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16615 multiarch implementations.
16616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16617 (__libc_ifunc_impl_list): Likewise.
16618 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16619 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16620 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16621 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16622 multiarch wcscpy for PPC64.
16624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16625 multiarch implementations.
16626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16627 (__libc_ifunc_impl_list): Likewise.
16628 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16629 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16630 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16631 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16632 multiarch wcsrchr for PPC64.
16634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16635 multiarch implementations.
16636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16637 (__libc_ifunc_impl_list): Likewise.
16638 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16639 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16640 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16641 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16642 multiarch wcschr for PPC64.
16644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16645 multiarch implementations.
16646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16647 (__libc_ifunc_impl_list): Likewise.
16648 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16649 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16650 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16651 multiarch strchrnul for PPC64.
16653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16656 (__libc_ifunc_impl_list): Likewise.
16657 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16658 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16659 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16660 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16663 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16666 (__libc_ifunc_impl_list): Likewise.
16667 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16668 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16669 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16670 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16674 multiarch implementations.
16675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16676 (__libc_ifunc_impl_list): Likewise.
16677 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16678 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16679 strncasecmp for PPC64.
16680 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16681 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16682 multiarch strncasecmp_l for PPC64.
16684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16685 multiarch implementations.
16686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16687 (__libc_ifunc_impl_list): Likewise.
16688 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16689 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16690 multiarch strcasecmp for PPC64.
16691 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16693 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16694 multiarch strcasecmp_l for PPC64.
16696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16699 (__libc_ifunc_impl_list): Likewise.
16700 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16701 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16702 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16708 (__libc_ifunc_impl_list): Likewise.
16709 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16710 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16711 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16717 (__libc_ifunc_impl_list): Likewise.
16718 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16719 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16720 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16721 rawmemrchr for PPC64.
16723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16726 (__libc_ifunc_impl_list): Likewise.
16727 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16728 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16729 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16735 (__libc_ifunc_impl_list): Likewise.
16736 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16737 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16738 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16744 (__libc_ifunc_impl_list): Likewise.
16745 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16746 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16747 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16750 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16751 avoid cretion of __bzero symbol.
16752 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16754 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16756 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16759 multiarch implementations.
16760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16761 (__libc_ifunc_impl_list): Likewise.
16762 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16763 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16764 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16765 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16767 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16768 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16769 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16770 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16771 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16773 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16775 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16779 (__libc_ifunc_impl_list): Likewise.
16780 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16781 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16782 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16783 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16786 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16787 multiarch for POWER/PPC64.
16788 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16789 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16790 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16791 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16792 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16793 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16794 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16795 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16796 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16799 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16800 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16801 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16802 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16803 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16804 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16805 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16806 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16807 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16808 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16809 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16810 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16811 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16812 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16813 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16822 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16824 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16826 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16828 * benchtests/Makefile (bench): Add exp2 and log2.
16829 (LDLIBS-bench-exp2): Add -lm.
16830 (LDLIBS-bench-log2): Likewise.
16831 * benchtests/exp2-inputs: New inputs file.
16832 * benchtests/log2-inputs: New inputs file.
16833 * benchtests/log-inputs: Add new inputs.
16834 * benchtests/tan-inputs: Likewise.
16836 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16838 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16840 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16841 (csloww2): ... from here.
16843 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16844 instead of structures.
16845 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16846 (POLYNOMIAL): Likewise.
16847 (TAYLOR_SLOW): Likewise.
16853 (sloww1); Likewise.
16854 (sloww2): Likewise.
16855 (bsloww1): Likewise.
16856 (bsloww2): Likewise.
16857 (cslow2): Likewise.
16858 (csloww): Likewise.
16859 (csloww1): Likewise.
16860 (csloww2): Likewise.
16862 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
16864 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16865 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16866 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16867 * malloc/hooks.c (realloc_check): Likewise.
16869 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16870 * malloc/arena.c: Remove PER_THREAD conditional.
16871 [!PER_THREAD]: Remove code.
16872 (ptmalloc_unlock_all2): Likewise.
16873 (ptmalloc_init): Likewise.
16874 (_int_new_arena): Likewise.
16875 (arena_get2): Likewise.
16876 * malloc/hooks.c (__malloc_get_state): Likewise.
16877 (__malloc_set_state): Likewise.
16878 * malloc/malloc.c: Likewise.
16879 (struct malloc_state): Likewise.
16880 (struct malloc_par): Likewise.
16881 (__libc_realloc): Likewise.
16882 (__libc_mallopt): Likewise.
16884 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16886 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16888 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
16890 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16891 macro to a function. Check for zero perturb_byte.
16892 (_int_malloc, _int_free): Remove zero perturb_byte checks.
16894 * malloc/malloc.c: (force_reg): Remove.
16895 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16896 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
16897 force_reg by atomic_forced_read.
16898 * malloc/arena.c (ptmalloc_init): Likewise.
16899 * malloc/hooks.c (top_check): Likewise.
16901 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16905 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
16907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16909 2013-12-08 Joseph Myers <joseph@codesourcery.com>
16911 * math/auto-libm-test-in: Add tests of lgamma.
16912 * math/auto-libm-test-out: Regenerated.
16913 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16914 (M_LOG_2_SQRT_PIl): Likewise.
16915 (lgamma_test_data): Use AUTO_TESTS_f_f1.
16916 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16918 (func_calc_desc): Add mpfr_f_f1 union field.
16919 (ARGS1): New macro.
16927 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16928 (test_functions): Add lgamma.
16929 (calc_generic_results): Handle mpfr_f_f1.
16930 * sysdeps/i386/fpu/libm-test-ulps: Update.
16931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16933 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16935 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16936 __mpn_add_n for PowerPC64/POWER7.
16937 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16938 __mpn_sub_n for PowerPC64/POWER7.
16940 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16941 __mpn_addmul_1 for PowerPC64.
16942 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16943 __mpn_submul_1 for PowerPC64.
16944 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16946 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16949 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16952 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16954 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16956 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16958 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16959 add multiarch folders.
16960 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16961 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16962 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16963 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16964 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16965 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16966 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16967 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16968 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16969 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16970 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16979 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16985 multiarch __ieee754_hypot for PowerPC32.
16986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16991 multiarch __ieee754_hypotf for PowerPC32.
16993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16994 long_double_symbol only if __logbl is defined.
16995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16996 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16998 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16999 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17000 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17001 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17002 path for implementation.
17003 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17004 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17006 logb, and logbl multiarch implementations for PowerPC32.
17007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17012 multiarch logb for PowerPC32.
17013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17018 multiarch logbf for PowerPC32.
17019 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17023 multiarch logbl implementation for PowerPC32.
17025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17026 and modff multiarch implementations.
17027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17032 multiarch modf for PowerPC32.
17033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17038 multiarch modff for PowerPC32.
17040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17041 and lrintf multiarch implementations.
17042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17047 multiarch lrint for PowerPC32.
17048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17049 file: multiarch lrintf for PowerPC32.
17051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17052 and lroundf multiarch implementations.
17053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17060 multiarch lround for PowerPC32.
17061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17062 file: multiarch lroundf for PowerPC32.
17064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17065 copysign and copysignf multiarch implementations.
17066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17071 file: multiarch copysign for PowerPC32.
17072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17073 file: multiarch copysignf for PowerPC32.
17075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17076 and truncf multiarch implementations.
17077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17082 multiarch trunc for PowerPC32.
17083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17088 multiarch truncf for PowerPC32.
17090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17091 and roundf multiarch implementations.
17092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17097 multiarch round for PowerPC32.
17098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17103 multiarch roundf for PowerPC32.
17105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17106 and floorf multiarch implementations.
17107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17112 multiarch floor for PowerPC32.
17113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17118 multiarch floorf for PowerPC32.
17120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17121 and ceilf multiarch implementations.
17122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17127 multiarch ceil for PowerPC32.
17128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17133 multiarch ceilf for PowerPC32.
17135 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17137 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17138 FINITEF is defined.
17139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17140 and finitef multiarch implementations.
17141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17146 multiarch finite for PowerPC32.
17147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17150 file: multiarch finitef for PowerPC32.
17152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17153 and isinff multiarch implementations.
17154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17159 multiarch isinf for PowerPC32.
17160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17163 multiarch isinff for PowerPC32.
17165 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17166 alias when __isnan is defined.
17167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17168 and isnanf multiarch implementations.
17169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17178 multiarch isnan for PowerPC32.
17179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17184 multiarch isnanf for PowerPC32.
17186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17187 and sqrtf multiarch implementations.
17188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17193 multiarch sqrt for PowerPC32.
17194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17199 multiarch sqrtf for PowerPC32.
17201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17202 and llroundf multiarch implementations.
17203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17210 file: multiarch llround for PowerPC32.
17211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17212 file: multiarch llroundf for PowerPC32.
17214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17215 multiarch PowerPC32 fpu implementations.
17216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17221 multiarch llrint for PowerPC32.
17222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17231 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17233 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17235 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17237 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17238 multiarch wordcopy for PPC32.
17239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17242 (__libc_ifunc_impl_list): Likewise.
17243 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17244 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17245 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17246 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17247 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17248 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17250 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17253 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17258 multiarch wcscpy for PPC32.
17259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17262 (__libc_ifunc_impl_list): Likewise.
17263 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17264 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17265 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17266 sysdeps/powerpc/power6/wcscpy.c.
17268 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17271 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17273 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17275 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17276 multiarch wcsrchr for PPC32.
17277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17280 (__libc_ifunc_impl_list): Likewise.
17281 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17282 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17283 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17284 sysdeps/powerpc/power6/wcsrchr.c.
17286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17292 multiarch wcschr for PPc32.
17293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17296 (__libc_ifunc_impl_list): Likewise.
17297 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17298 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17299 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17300 sysdeps/powerpc/power6/wcschr.c.
17302 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17303 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17305 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17306 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17307 file: multiarch strchr for PPC32.
17308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17311 (__libc_ifunc_impl_list): Likewise.
17313 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17315 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17317 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17319 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17320 multiarch strchrnul for PPC32.
17321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17324 (__libc_ifunc_impl_list): Likewise.
17326 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17328 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17329 multiarch strncasecmp for PPC32.
17330 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17332 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17333 multiarch strncasecmp_l for PPC32.
17334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17335 strncasecmp multiarch objects.
17336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17337 (__libc_ifunc_impl_list): Likewise.
17339 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17341 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17342 multiarch strncasecmp for PPC32.
17343 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17345 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17346 multiarch strcasecmp_l for PPC32.
17347 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17349 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17350 (__libc_ifunc_impl_list): Likewise.
17352 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17354 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17356 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17357 multiarch strncmp for PPC32.
17358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17361 (__libc_ifunc_impl_list): Likewise.
17363 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17364 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17366 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17367 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17371 (__libc_ifunc_impl_list): Likewise.
17373 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17375 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17377 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17381 (__libc_ifunc_impl_list): Likewise.
17383 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17385 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17387 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17388 multiarch rawmemchr for PPC32.
17389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17392 (__libc_ifunc_impl_list): Likewise.
17394 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17396 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17398 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17399 file: memrchr multiarch for PPC32.
17400 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17402 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17403 (__libc_ifunc_impl_list): Likewise.
17405 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17406 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17408 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17409 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17410 multiarch memchr for PPC32.
17411 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17413 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17414 (__libc_ifunc_impl_list): Likewise.
17416 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17417 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17419 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17421 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17422 file: multiarch mempcpy for PPC32.
17423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17426 (__libc_ifunc_impl_list): Likewise.
17428 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17429 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17430 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17431 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17432 multiarch bzero for PPC32.
17433 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17435 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17437 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17438 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17439 file: multiarch memset for PPC32.
17440 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17442 memset multiarch objects.
17443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17444 (__libc_ifunc_impl_list): Likewise.
17446 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17448 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17451 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17452 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17454 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17455 (__libc_ifunc_impl_list): Likewise.
17457 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17459 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17461 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17463 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17465 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17466 multiarch memcpy for PPC32.
17467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17470 (__libc_ifunc_impl_list): Likewise.
17472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17473 support multiarch for POWER/PPC32.
17474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17476 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17478 Implies file to make multiarch folder appers before the fpu and
17479 default folder for power4 configuration.
17481 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17483 * scripts/bench.pl: Append volatile keyword to type.
17485 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17487 * sysdeps/sh/sotruss-lib.c: New file.
17488 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17490 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17494 2013-12-05 Joseph Myers <joseph@codesourcery.com>
17497 * math/w_tgamma.c: Include <errno.h>.
17498 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17499 * math/w_tgammaf.c: Include <errno.h>.
17500 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17501 * math/w_tgammal.c: Include <errno.h>.
17502 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17503 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17504 underflow. Add more tgamma tests.
17505 * math/auto-libm-test-out: Regenerated.
17506 * sysdeps/i386/fpu/libm-test-ulps: Update.
17507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17509 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17510 sin, sinh, tan, tanh, tgamma, y0 and y1.
17511 * math/auto-libm-test-out: Regenerated.
17512 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17513 (TEST_COND_x86): Likewise.
17514 (M_E2l): Remove macro.
17516 (M_2_SQRT_PIl): Likewise.
17517 (M_SQRT_PIl): Likewise.
17518 (M_1_DIV_El): Likewise.
17519 (log_test_data): Use AUTO_TESTS_f_f.
17520 (log10_test_data): Likewise.
17521 (log1p_test_data): Likewise.
17522 (log2_test_data): Likewise.
17523 (sin_test_data): Likewise.
17524 (sin_tonearest_test_data): Likewise.
17525 (sin_towardzero_test_data): Likewise.
17526 (sin_downward_test_data): Likewise.
17527 (sin_upward_test_data): Likewise.
17528 (sinh_test_data): Likewise.
17529 (sinh_tonearest_test_data): Likewise.
17530 (sinh_towardzero_test_data): Likewise.
17531 (sinh_downward_test_data): Likewise.
17532 (sinh_upward_test_data): Likewise.
17533 (tan_test_data): Likewise.
17534 (tan_tonearest_test_data): Likewise.
17535 (tan_towardzero_test_data): Likewise.
17536 (tan_downward_test_data): Likewise.
17537 (tan_upward_test_data): Likewise.
17538 (tanh_test_data): Likewise.
17539 (tgamma_test_data): Likewise.
17540 (y0_test_data): Likewise.
17541 (y1_test_data): Likewise.
17542 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17543 (special_real_inputs): Add pi/4.
17544 * sysdeps/i386/fpu/libm-test-ulps: Update.
17545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17547 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17549 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17550 "longjmp_target" static probes.
17551 (__longjmp): Rename to __longjmp_symbol.
17552 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17553 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17554 on which longjmp to generate.
17555 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17556 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17558 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17559 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17560 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17561 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17562 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17563 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17565 __longjmp_symbol based on which __longjmp to generate.
17566 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17568 (setjmp): Rename to setjmp_symbol.
17569 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17570 (_setjmp): Rename to _setjmp_symbol.
17571 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17572 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17573 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17574 which setjmp to generate.
17575 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17576 "longjmp_target" static probes.
17578 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17580 * benchtests/README: Add note about output arguments.
17581 * benchtests/bench-sincos.c: Remove file.
17582 * benchtests/sincos-inputs: New file.
17583 * scripts/bench.pl: Identify output arguments and define
17584 static variables for them.
17586 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17589 * Makefile (INSTALL): Add install-plain.texi as the primary
17591 * manual/install-plain.texi: New file.
17592 * manual/install.texi: Include node directive only for
17593 non-plaintext output.
17595 2013-12-04 Joseph Myers <joseph@codesourcery.com>
17597 * stdlib/longlong.h: Update from GCC.
17601 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17602 * math/w_j0f.c (y0f): Likewise.
17603 * math/w_j0l.c (__y0l): Likewise.
17604 * math/w_j1.c (y1): Likewise.
17605 * math/w_j1f.c (y1f): Likewise.
17606 * math/w_j1l.c (__y1l): Likewise
17607 * math/w_jn.c (yn): Likewise.
17608 * math/w_jnf.c (ynf): Likewise.
17609 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17610 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17611 value for Bessel function domain errors outside _SVID_ mode.
17612 Adjust sign of return value for yn (negative integer, 0).
17613 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17614 by zero in return for negative x and set sign appropriately for
17616 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17617 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17618 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17619 expectations in error cases.
17620 (y1_test_data): Likewise.
17621 (yn_test_data): Likewise.
17622 * sysdeps/i386/fpu/libm-test-ulps: Update.
17623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17625 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17627 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17628 "64" to "64-v1". Add "64-v2".
17629 (abi-64-options): Rename to ...
17630 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17631 (abi-64-condition): Rename to ...
17632 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17633 (abi-64-ld-soname): Rename to ...
17634 (abi-64-v1-ld-soname): ... this.
17635 (abi-64-v2-options): Define.
17636 (abi-64-v2-condition): Likewise.
17637 (abi-64-v2-ld-soname): Likewise.
17638 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17639 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17644 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17645 Alan Modra <amodra@gmail.com>
17647 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17648 New versions for use with the ELFv2 ABI.
17649 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17650 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17652 (struct La_ppc64v2_retval): Likewise.
17653 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17654 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17655 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17656 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17657 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17658 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17659 Do not save or restore CR.
17660 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17661 (_dl_profile_resolve): Do no save or restore CR. Support extended
17662 return values for ELFv2 ABI. Fix location of FPR return registers.
17663 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17664 updated values for _CALL_ELF == 2.
17665 (La_regs, La_retval, int_retval): Likewise.
17667 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17669 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17670 (FRAME_MIN_SIZE_PARM): Likewise.
17671 (FRAME_BACKCHAIN): Likewise.
17672 (FRAME_CR_SAVE): Likewise.
17673 (FRAME_LR_SAVE): Likewise.
17674 (FRAME_TOC_SAVE): Likewise.
17675 (FRAME_PARM_SAVE): Likewise.
17676 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17677 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17678 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17679 (call_mcount_parm_offset): New macro.
17680 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17681 (PROF): Use symbolic stack frame offsets.
17682 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17683 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17684 Redefine in terms of FRAME_MIN_SIZE.
17685 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17686 (_dl_profile_resolve): Likewise. Update comment.
17687 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17688 symbols stack frame offsets.
17689 (__sigsetjmp): Likewise.
17690 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17691 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17692 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17693 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17696 (FRAME_BACKCHAIN): Remove.
17697 (FRAME_CR_SAVE): Likewise.
17698 (FRAME_LR_SAVE): Likewise.
17699 (FRAME_COMPILER_DW): Likewise.
17700 (FRAME_LINKER_DW): Likewise.
17701 (FRAME_TOC_SAVE): Likewise.
17702 (FRAME_PARM_SAVE): Likewise.
17703 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17704 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17705 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17707 (CHECK_SP): Use symbolic stack frame offsets.
17708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17709 zone" instead of caller's parameter save area for temp storage.
17710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17711 Likewise. Also, use symbolic stack frame offsets.
17712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17713 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17714 our own stack frame instead of the caller's.
17715 (__socket): Use symbolic stack frame offsets.
17717 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17718 Alan Modra <amodra@gmail.com>
17720 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17722 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17723 (PPC64_LOCAL_ENTRY_OFFSET): Define.
17724 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17726 (elf_machine_fixup_plt): Call it.
17727 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17729 (elf_machine_rela): Update call to elf_machine_plt_conflict.
17730 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17731 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17732 r2 before calling target.
17734 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17735 Alan Modra <amodra@gmail.com>
17737 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17738 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17739 versions of macros to support ELFv2 ABI.
17740 (LOCALENTRY): New macro.
17741 (ENTRY, EALIGN): Use it.
17742 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17743 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17744 fall through into ENTRY entry point.
17745 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17746 Only define if _CALL_ELF != 2.
17748 (elf_machine_matches_host): Verify ABI version matches.
17749 (RTLD_START): Use LOCALENTRY.
17750 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17751 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17752 (PLT_ENTRY_WORDS): New macro.
17753 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17754 (elf_machine_runtime_setup): Support ELFv2 ABI.
17755 (elf_machine_fixup_plt): Likewise.
17756 (elf_machine_plt_conflict): Likewise.
17757 (resolve_ifunc): Likewise.
17758 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17759 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17762 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17764 (makecontext): Support ELFv2 ABI.
17765 * elf/elf.h (EF_PPC64_ABI): Define.
17767 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17769 * sysdeps/powerpc/powerpc64/sysdep.h
17770 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17771 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17772 (ENTRY) [ASSEMBLER]: ... but instead here ...
17773 (EALIGN) [ASSEMBLER]: ... and here.
17774 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17775 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17776 (ENTRY_2) [!ASSEMBLER]: Use it.
17777 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17778 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
17779 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17780 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17781 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17783 Use PPC64_LOAD_FUNCPTR.
17785 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17787 2013-12-04 Alan Modra <amodra@gmail.com>
17789 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17790 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17791 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17792 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17794 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17795 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17796 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17797 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17798 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17799 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17801 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17804 (__makecontext): Fix incorrect CFI when backtracing out of
17805 context created via makecontext.
17806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17807 (__setcontext): Fix incorrect CFI during switch to new context.
17808 (__novec_setcontext): Likewise.
17810 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17813 * time/strptime_l.c (__strptime_internal): Allow modifiers
17815 * time/tst-strptime.c (day_tests): Add testcase.
17817 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17819 * scripts/bench.pl: Skip over blank lines.
17821 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17824 * manual/time.texi (Calendar Time): Clarify what timezone functions
17827 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17831 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17833 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17835 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17836 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17837 * debug/memset_chk.c (__memset_chk): Likewise.
17838 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17839 * debug/strncpy_chk.c: Likewise.
17841 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17845 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17846 (__ieee754_exp): For possibly underflowing results, check size of
17847 result and force underflow exception if required.
17848 * math/auto-libm-test-in: Add more tests of exp.
17849 * math/auto-libm-test-out: Regenerated.
17850 * sysdeps/i386/fpu/libm-test-ulps: Update.
17851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17854 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17855 * math/w_exp2f.c (__exp2f): Likewise.
17856 * math/w_exp2l.c (__exp2l): Likewise.
17857 * math/auto-libm-test-in: Do not allow missing errno on exp2
17859 * math/auto-libm-test-out: Regenerated.
17861 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
17864 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17865 handle filename validation.
17866 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17869 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17872 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17873 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17874 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17876 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17877 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17878 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17879 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17880 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17881 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17882 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17883 * math/auto-libm-test-in: Don't allow missing errno from erfc.
17884 Add more erfc tests.
17885 * math/auto-libm-test-out: Regenerated.
17886 * sysdeps/i386/fpu/libm-test-ulps: Update.
17887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17889 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17890 exp2, expm1, j0 and j1.
17891 * math/auto-libm-test-out: Regenerated.
17892 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17893 (erfc_test_data): Likewise.
17894 (exp_test_data): Likewise.
17895 (exp_tonearest_test_data): Likewise.
17896 (exp_towardzero_test_data): Likewise.
17897 (exp_downward_test_data): Likewise.
17898 (exp_upward_test_data): Likewise.
17899 (exp10_test_data): Likewise.
17900 (exp2_test_data): Likewise.
17901 (expm1_test_data): Likewise.
17902 (j0_test_data): Likewise.
17903 (j1_test_data): Likewise.
17904 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17905 (input_flag_type): Add flag_xfail_rounding.
17906 (input_flags): Add xfail-rounding.
17907 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17908 (output_for_one_input_case): Handle flag_xfail_rounding.
17909 * sysdeps/i386/fpu/libm-test-ulps: Update.
17910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17912 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
17915 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17918 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17921 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17922 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17923 (STAP_PROBE0): New macro.
17924 (STAP_PROBE1): Likewise.
17925 (STAP_PROBE2): Likewise.
17926 (STAP_PROBE3): Likewise.
17927 (STAP_PROBE4): Likewise.
17929 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
17931 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17933 2013-12-02 Steve Ellcey <sellcey@mips.com>
17935 * benchtests/Makefile (bench): Add sqrt.
17936 (LDLIBS-bench-sqrt): New.
17937 * benchtests/sqrt-input: New.
17939 2013-12-02 Pavel Simerda <psimerda@redhat.com>
17941 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17942 (GAIH_EAI): Likewise.
17943 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17944 (gaih_inet): Likewise.
17945 (getaddrinfo): Don't use GAIH_EAI.
17947 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17948 (struct gaih): Remove definition.
17950 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17952 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17953 Use HERRNOP directly.
17955 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17959 2013-11-30 Joseph Myers <joseph@codesourcery.com>
17961 * math/gen-auto-libm-tests.c (test_functions): Add more
17962 single-argument functions.
17963 (special_fill_pi_2): New function.
17964 (special_fill_minus_pi_2): Likewise.
17965 (special_fill_pi_6): Likewise.
17966 (special_fill_minus_pi_6): Likewise.
17967 (special_fill_pi_3): Likewise.
17968 (special_fill_2pi_3): Likewise.
17969 (special_fill_e): Likewise.
17970 (special_fill_1_e): Likewise.
17971 (special_fill_e_minus_1): Likewise.
17972 (special_real_inputs): Add more special inputs.
17973 (output_for_one_input_case): Do not require ERANGE on underflow to
17974 zero if round-to-nearest result does not underflow to zero, unless
17975 exact results required.
17976 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17977 atan, atanh, cbrt, cos and cosh.
17978 * math/auto-libm-test-out: Regenerated.
17979 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17980 (acos_tonearest_test_data): Likewise.
17981 (acos_towardzero_test_data): Likewise.
17982 (acos_downward_test_data): Likewise.
17983 (acos_upward_test_data): Likewise.
17984 (acosh_test_data): Likewise.
17985 (asin_test_data): Likewise.
17986 (asin_tonearest_test_data): Likewise.
17987 (asin_towardzero_test_data): Likewise.
17988 (asin_upward_test_data): Likewise.
17989 (asinh_test_data): Likewise.
17990 (atan_test_data): Likewise.
17991 (atanh_test_data): Likewise.
17992 (cbrt_test_data): Likewise.
17993 (cos_test_data): Likewise.
17994 (cos_tonearest_test_data): Likewise.
17995 (cos_towardzero_test_data): Likewise.
17996 (cos_downward_test_data): Likewise.
17997 (cos_upward_test_data): Likewise.
17998 (cosh_test_data): Likewise.
17999 (cosh_tonearest_test_data): Likewise.
18000 (cosh_towardzero_test_data): Likewise.
18001 (cosh_downward_test_data): Likewise.
18002 (cosh_upward_test_data): Likewise.
18003 * sysdeps/i386/fpu/libm-test-ulps: Update.
18004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18006 2013-11-29 Joseph Myers <joseph@codesourcery.com>
18009 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18010 * math/w_exp10f.c (__exp10f): Likewise.
18011 * math/w_exp10l.c (__exp10l): Likewise.
18012 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18013 errno settings in existing tests.
18016 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18017 precision control set to double precision.
18018 * sysdeps/i386/fpu/w_sqrt.c: New file.
18019 * math/auto-libm-test-in: Add more tests.
18020 * math/auto-libm-test-out: Update.
18022 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18023 (sqrt_test_tonearest): New function.
18024 (sqrt_towardzero_test_data): New variable.
18025 (sqrt_test_towardzero): New function.
18026 (sqrt_downward_test_data): New variable.
18027 (sqrt_test_downward): New function.
18028 (sqrt_upward_test_data): New variable.
18029 (sqrt_test_upward): New function.
18030 (main): Call the new functions.
18032 * math/gen-auto-libm-tests.c: New file.
18033 * math/auto-libm-test-in: Likewise.
18034 * math/auto-libm-test-out: New generated file.
18035 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18037 (%beautify): Add generated representations of zero.
18038 (top level): Set $auto_input and call parse_auto_input.
18039 (beautify): Remove trailing "f" from hex float constants.
18040 (parse_args): Handle XFAIL_TEST.
18041 (convert_condition): New function.
18042 (or_value): Likewise.
18043 (or_cond_value): Likewise.
18044 (generate_testfile): Handle AUTO_TESTS_* lines.
18045 (parse_auto_input): New function.
18046 * math/libm-test.inc (XFAIL_TEST): New macro.
18047 (ERRNO_UNCHANGED): Update value.
18048 (ERRNO_EDOM): Likewise.
18049 (ERRNO_ERANGE): Likewise.
18050 (IGNORE_RESULT): Likewise.
18051 (TEST_COND_flt_32): New macro.
18052 (TEST_COND_dbl_64): Likewise.
18053 (TEST_COND_ldbl_96_intel): Likewise.
18054 (TEST_COND_ldbl_96_m68k): Likewise.
18055 (TEST_COND_ldbl_128): Likewise.
18056 (TEST_COND_ldbl_128ibm): Likewise.
18057 (TEST_COND_long32): Likewise.
18058 (TEST_COND_long64): Likewise.
18059 (TEST_COND_before_rounding): Likewise.
18060 (TEST_COND_after_rounding): Likewise.
18061 (enable_test): Handle XFAIL_TEST flag.
18062 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18063 with finite results.
18064 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18065 auto-libm-test-out.
18067 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18068 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18071 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18072 __tls_get_addr_internal instead of __tls_get_offset in order to
18073 avoid GOT pointer dependency. Make rtld export
18074 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18075 __tls_get_addr since we are a __tls_get_offset platform.
18076 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18077 GOT pointer being set up before.
18078 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18080 2013-11-28 Joseph Myers <joseph@codesourcery.com>
18082 * manual/math.texi (Errors in Math Functions): Document accuracy
18086 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18087 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18088 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18089 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18090 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18091 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18092 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18093 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18094 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18095 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18096 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18097 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18098 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18099 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18101 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18103 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18104 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18105 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18106 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18107 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18109 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18111 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18113 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18114 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18115 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18116 atomic-feupdateenv and flt-rounds.
18117 * sysdeps/powerpc/nofpu/Versions (libc): Add
18118 __atomic_feholdexcept, __atomic_feclearexcept,
18119 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18120 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18121 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18122 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18123 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18128 * manual/arith.texi (FP Exceptions): Document that exceptions may
18129 not be raised when matherr is used.
18130 (Math Error Reporting): Document overflow in directed rounding
18131 modes. Document that errno may not be set when finite values are
18132 returned on overflow. Document intent to set errno on underflow
18133 only for underflow to zero.
18136 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18137 round-to-nearest then adjust result for other rounding modes.
18138 * include/fenv.h (fegetround): Use libm_hidden_proto.
18139 * math/fegetround.c (fegetround): Use libm_hidden_def.
18140 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18141 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18142 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18143 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18145 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18146 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18147 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18148 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18150 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18153 * nss/Versions (libnss_files): Add
18154 _nss_files_gethostbyname3_r.
18155 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18157 (HOST_DB_LOOKUP): Remove macro.
18158 (_nss_files_gethostbyname_r): Implement function without the
18159 HOST_DB_LOOKUP macro.
18160 (_nss_files_gethostbyname2_r): Likewise.
18162 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
18164 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18166 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
18168 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18169 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18172 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18174 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18175 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18176 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18177 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18178 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18179 __fe_nomask_env_priv and attribute_hidden.
18180 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18181 (libc_feupdateenv_test_ppc): Likewise.
18182 (libc_feresetround_ppc): Likewise.
18183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18184 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18185 compat_symbol macro.
18186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18187 (__fe_nomask_env): Likewise.
18188 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18190 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18192 * string/Makefile: Remove ifunc tests.
18193 * string/test-string.h: Define TEST_IFUNC.
18194 * string/test-bcopy-ifunc.c: Remove.
18195 * string/test-bzero-ifunc.c: Likewise.
18196 * string/test-memccpy-ifunc.c: Likewise.
18197 * string/test-memchr-ifunc.c: Likewise.
18198 * string/test-memcmp-ifunc.c: Likewise.
18199 * string/test-memcpy-ifunc.c: Likewise.
18200 * string/test-memmem-ifunc.c: Likewise.
18201 * string/test-memmove-ifunc.c: Likewise.
18202 * string/test-mempcpy-ifunc.c: Likewise.
18203 * string/test-memrchr-ifunc.c: Likewise.
18204 * string/test-memset-ifunc.c: Likewise.
18205 * string/test-rawmemchr-ifunc.c: Likewise.
18206 * string/test-stpcpy-ifunc.c: Likewise.
18207 * string/test-stpncpy-ifunc.c: Likewise.
18208 * string/test-strcasecmp-ifunc.c: Likewise.
18209 * string/test-strcasestr-ifunc.c: Likewise.
18210 * string/test-strcat-ifunc.c: Likewise.
18211 * string/test-strchr-ifunc.c: Likewise.
18212 * string/test-strchrnul-ifunc.c: Likewise.
18213 * string/test-strcmp-ifunc.c: Likewise.
18214 * string/test-strcpy-ifunc.c: Likewise.
18215 * string/test-strcspn-ifunc.c: Likewise.
18216 * string/test-strlen-ifunc.c: Likewise.
18217 * string/test-strncasecmp-ifunc.c: Likewise.
18218 * string/test-strncat-ifunc.c: Likewise.
18219 * string/test-strncmp-ifunc.c: Likewise.
18220 * string/test-strncpy-ifunc.c: Likewise.
18221 * string/test-strnlen-ifunc.c: Likewise.
18222 * string/test-strpbrk-ifunc.c: Likewise.
18223 * string/test-strrchr-ifunc.c: Likewise.
18224 * string/test-strspn-ifunc.c: Likewise.
18225 * string/test-strstr-ifunc.c: Likewise.
18227 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18229 * benchtests/Makefile: Remove ifunc tests.
18230 * benchtests/bench-string.h: Define TEST_IFUNC.
18231 * benchtests/bench-bcopy-ifunc.c: Remove.
18232 * benchtests/bench-bzero-ifunc.c: Likewise.
18233 * benchtests/bench-memccpy-ifunc.c: Likewise.
18234 * benchtests/bench-memchr-ifunc.c: Likewise.
18235 * benchtests/bench-memcmp-ifunc.c: Likewise.
18236 * benchtests/bench-memcpy-ifunc.c: Likewise.
18237 * benchtests/bench-memmem-ifunc.c: Likewise.
18238 * benchtests/bench-memmove-ifunc.c: Likewise.
18239 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18240 * benchtests/bench-memrchr-ifunc.c: Likewise.
18241 * benchtests/bench-memset-ifunc.c: Likewise.
18242 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18243 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18244 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18245 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18246 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18247 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18248 * benchtests/bench-strcat-ifunc.c: Likewise.
18249 * benchtests/bench-strchr-ifunc.c: Likewise.
18250 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18251 * benchtests/bench-strcmp-ifunc.c: Likewise.
18252 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18253 * benchtests/bench-strcpy-ifunc.c: Likewise.
18254 * benchtests/bench-strcspn-ifunc.c: Likewise.
18255 * benchtests/bench-strlen-ifunc.c: Likewise.
18256 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18257 * benchtests/bench-strncat-ifunc.c: Likewise.
18258 * benchtests/bench-strncmp-ifunc.c: Likewise.
18259 * benchtests/bench-strncpy-ifunc.c: Likewise.
18260 * benchtests/bench-strnlen-ifunc.c: Likewise.
18261 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18262 * benchtests/bench-strrchr-ifunc.c: Likewise.
18263 * benchtests/bench-strsep-ifunc.c: Likewise.
18264 * benchtests/bench-strspn-ifunc.c: Likewise.
18265 * benchtests/bench-strstr-ifunc.c: Likewise.
18267 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18269 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18271 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18273 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18274 * rt/aio.h: Likewise.
18275 * sysdeps/gnu/bits/utmp.h: Likewise.
18276 * sysdeps/gnu/bits/utmpx.h: Likewise.
18277 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18278 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18279 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18280 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18281 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18282 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18283 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18284 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18285 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18286 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18287 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18288 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18289 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18291 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18292 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18293 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18294 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18295 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18296 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18297 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18298 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18299 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18300 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18301 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18303 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18304 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18305 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18306 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18307 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18308 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18309 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18310 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18311 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18312 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18313 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18314 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18315 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18316 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18317 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18318 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18320 2013-11-25 Carlos O'Donell <carlos@redhat.com>
18323 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18324 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18326 2013-11-25 Joseph Myers <joseph@codesourcery.com>
18328 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18329 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18332 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18334 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18335 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18336 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18337 (__fesetround): Remove define.
18338 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18339 rounding and exceptions handling.
18340 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18341 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18342 (__fe_nomask_env): Likewise.
18343 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18344 __fegetround instead of fegetround.
18345 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18346 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18348 2013-11-21 Roland McGrath <roland@hack.frob.com>
18350 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18353 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18355 2013-11-21 Meador Inge <meadori@codesourcery.com>
18358 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18359 (encrypt_r): Likewise.
18360 * malloc/obstack.h (obstack_free): Likewise.
18361 * posix/unistd.h (encrypt): Likewise.
18363 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18365 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18366 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18367 DL_CALL_DT_FINI() that call the functions directly.
18368 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18369 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18370 * elf/dl-fini.c: Likewise.
18372 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
18374 * malloc/hooks.c (memalign_check): Add alignment rounding.
18375 * malloc/malloc.c (_mid_memalign): New function.
18376 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18377 Implement by calling _mid_memalign.
18378 * manual/probes.texi (Memory Allocation Probes): Remove
18379 memory_valloc_retry and memory_pvalloc_retry.
18381 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18383 * locale/programs/locarchive.c (open_archive): Add const
18384 qualifier to ARCHIVEFNAME and copy default fname to
18388 * libio/tst-widetext.input: Rename Oriya to Odia.
18389 * locale/iso-639.def: Likewise.
18391 * manual/probes.texi (Mathematical Function Probes): Add
18392 documentation for sin, cos, asin and acos probes.
18393 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18394 (__sin32): Add slowasin probe.
18395 (__cos32): Add slowacos probe.
18396 (__mpsin): Add slowsin probe.
18397 (__mpcos): Add slowcos probe.
18399 2013-11-19 Joseph Myers <joseph@codesourcery.com>
18402 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18403 thread-local __sim_exceptions_thread and global
18404 __sim_exceptions_global.
18405 (__sim_disabled_exceptions): Change to thread-local
18406 __sim_disabled_exceptions_thread and global
18407 __sim_disabled_exceptions_global.
18408 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18409 and global __sim_round_mode_global.
18410 (__simulate_exceptions): Use thread-local floating-point state and
18411 set global state from it as needed.
18412 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18413 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18414 __sim_round_mode_thread.
18415 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18416 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18417 and global __sim_exceptions_global.
18418 (__sim_disabled_exceptions): Change to thread-local
18419 __sim_disabled_exceptions_thread and global
18420 __sim_disabled_exceptions_global.
18421 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18422 and global __sim_round_mode_global.
18423 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18424 (SIM_SET_GLOBAL): Likewise.
18425 * sysdeps/powerpc/soft-fp/sfp-machine.h
18426 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18427 __sim_round_mode_thread.
18428 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18429 __sim_disabled_exceptions_thread.
18430 (__sim_exceptions): Change to __sim_exceptions_thread.
18431 (__sim_disabled_exceptions): Change to
18432 __sim_disabled_exceptions_thread.
18433 (__sim_round_mode): Change to __sim_round_mode_thread.
18434 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18435 thread-local floating-point state and set global state from it as
18437 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18438 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18439 (__sim_disabled_exceptions): Remove extern declaration.
18440 (feenableexcept): Use thread-local floating-point state and set
18441 global state from it as needed.
18442 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18443 extern declaration.
18444 (__sim_disabled_exceptions): Likewise.
18445 (__sim_round_mode): Likewise.
18446 (__fegetenv): Use thread-local floating-point state.
18447 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18448 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18449 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18450 floating-point state and set global state from it as needed.
18451 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18452 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18453 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18455 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18456 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18458 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18459 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18460 Use __sim_round_mode_thread.
18461 * math/test-fenv-tls.c: New file.
18462 * math/Makefile (tests): Add test-fenv-tls.
18463 ($(objpfx)test-fenv-tls): Depend on
18464 $(common-objpfx)nptl/libpthread.so.
18466 2013-11-19 Andreas Schwab <schwab@suse.de>
18468 * locale/programs/locale.c (show_info): Decode wordarray elements.
18469 * locale/categories.def (LC_MONETARY): Add element for
18470 _NL_MONETARY_CRNCYSTR.
18471 * locale/C-monetary.c (conversion_rate): New variable.
18472 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18475 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18477 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18478 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18480 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18482 * elf/Makefile (tst-auxv): New test.
18483 * elf/tst-auxv.c: New
18484 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18486 2013-11-18 Joseph Myers <joseph@codesourcery.com>
18488 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18489 (hidden_proto): Caller changed.
18490 (hidden_tls_proto): New macro.
18491 (libc_hidden_tls_proto): Likewise.
18492 (rtld_hidden_tls_proto): Likewise.
18493 (libm_hidden_tls_proto): Likewise.
18494 (libresolv_hidden_tls_proto): Likewise.
18495 (librt_hidden_tls_proto): Likewise.
18496 (libdl_hidden_tls_proto): Likewise.
18497 (libnss_files_hidden_tls_proto): Likewise.
18498 (libnsl_hidden_tls_proto): Likewise.
18499 (libnss_nisplus_hidden_tls_proto): Likewise.
18500 (libutil_hidden_tls_proto): Likewise.
18502 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
18505 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18506 (decompose_rpath): Defer expansion to fillin_rpath.
18507 (_dl_init_paths): Pass linkmap to fillin_rpath.
18509 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18511 * benchtests/Makefile: Add strsep.
18512 * benchtests/bench-strsep.c: New file: strsep benchtest.
18513 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18515 2013-11-18 Andreas Schwab <schwab@suse.de>
18517 * locale/programs/locale.c (show_info) [case byte]: Check for
18518 '\377' instead of '\177'.
18519 * locale/C-monetary.c (not_available): Always use "\377".
18520 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18521 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18522 detect unavailable sign_posn locale elements.
18523 * locale/localeconv.c (__localeconv): For grouping and
18524 mon_grouping handle "\177" and "\377" like no grouping.
18525 (INT_ELEM): New macro. Use it to set all numeric members.
18526 * locale/programs/ld-monetary.c (monetary_read)
18527 <tok_mon_grouping>: Normalize single -1 to the empty string.
18528 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18531 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18534 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18535 when we match (nil).
18536 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18538 2013-11-16 Joseph Myers <joseph@codesourcery.com>
18540 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18541 (NO_TEST_INLINE): Update value.
18542 (ERRNO_UNCHANGED): Likewise.
18543 (ERRNO_EDOM): Likewise.
18544 (ERRNO_ERANGE): Likewise.
18545 (IGNORE_RESULT): Likewise.
18546 (check_float_internal): Check signs of NaN results if
18547 TEST_NAN_SIGN used.
18548 (check_complex): Pass TEST_NAN_SIGN flag through to second
18549 check_float_internal call.
18550 (copysign_test_data): Add tests with quiet NaNs as second
18551 argument. Use TEST_NAN_SIGN.
18552 (fabs_test_data): Add test of negative quiet NaN argument. Use
18554 (signbit_test_data): Add tests of quiet NaN argument.
18555 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18557 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18559 (parse_args): Handle function results specified as IGNORE.
18560 * math/libm-test.inc (IGNORE_RESULT): New macro.
18561 (check_float_internal): Do not check numerical result if flag
18563 (check_complex): Pass through IGNORE_RESULT to second
18564 check_float_internal call.
18565 (check_int): Do not check numerical result if flag IGNORE_RESULT
18567 (check_long): Likewise.
18568 (check_bool): Likewise.
18569 (check_longlong): Likewise.
18570 (lrint_test_data): Add tests of infinite and NaN arguments.
18571 (lrint_tonearest_test_data): Likewise.
18572 (lrint_towardzero_test_data): Likewise.
18573 (lrint_downward_test_data): Likewise.
18574 (lrint_upward_test_data): Likewise.
18575 (llrint_test_data): Likewise.
18576 (llrint_tonearest_test_data): Likewise.
18577 (llrint_towardzero_test_data): Likewise.
18578 (llrint_downward_test_data): Likewise.
18579 (llrint_upward_test_data): Likewise.
18580 (lround_test_data): Likewise.
18581 (llround_test_data): Likewise.
18583 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18584 (ERRNO_UNCHANGED): Update value.
18585 (ERRNO_EDOM): Likewise.
18586 (ERRNO_ERANGE): Likewise.
18587 (NO_TEST_INLINE_FLOAT): New macro.
18588 (NO_TEST_INLINE_DOUBLE): Likewise.
18589 (enable_test): New function.
18590 (RUN_TEST_f_f): Check enable_test before running test.
18591 (RUN_TEST_2_f): Likewise.
18592 (RUN_TEST_fff_f): Likewise.
18593 (RUN_TEST_c_f): Likewise.
18594 (RUN_TEST_f_f1): Likewise.
18595 (RUN_TEST_fF_f1): Likewise.
18596 (RUN_TEST_fI_f1): Likewise.
18597 (RUN_TEST_ffI_f1): Likewise.
18598 (RUN_TEST_c_c): Likewise.
18599 (RUN_TEST_cc_c): Likewise.
18600 (RUN_TEST_f_i): Likewise.
18601 (RUN_TEST_f_i_tg): Likewise.
18602 (RUN_TEST_ff_i_tg): Likewise.
18603 (RUN_TEST_f_b): Likewise.
18604 (RUN_TEST_f_b_tg): Likewise.
18605 (RUN_TEST_f_l): Likewise.
18606 (RUN_TEST_f_L): Likewise.
18607 (RUN_TEST_fFF_11): Likewise.
18608 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18610 (cosh_test_data): Likewise.
18611 (exp_test_data): Likewise.
18612 (expm1_test_data): Likewise.
18613 (hypot_test_data): Likewise.
18614 (pow_test_data): Likewise.
18615 (sinh_test_data): Likewise.
18616 (tanh_test_data): Likewise.
18617 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18620 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18621 tests with quiet NaN input and output.
18622 (acosh_test_data): Likewise.
18623 (asin_test_data): Likewise.
18624 (asinh_test_data): Likewise.
18625 (atan_test_data): Likewise.
18626 (atanh_test_data): Likewise.
18627 (atan2_test_data): Likewise.
18628 (cbrt_test_data): Likewise.
18629 (cos_test_data): Likewise.
18630 (cosh_test_data): Likewise.
18631 (erf_test_data): Likewise.
18632 (erfc_test_data): Likewise.
18633 (exp_test_data): Likewise.
18634 (exp10_test_data): Likewise.
18635 (exp2_test_data): Likewise.
18636 (expm1_test_data): Likewise.
18637 (hypot_test_data): Likewise.
18638 (j0_test_data): Likewise.
18639 (j1_test_data): Likewise.
18640 (jn_test_data): Likewise.
18641 (lgamma_test_data): Likewise.
18642 (log_test_data): Likewise.
18643 (log10_test_data): Likewise.
18644 (log1p_test_data): Likewise.
18645 (log2_test_data): Likewise.
18646 (pow_test_data): Likewise.
18647 (scalb_test_data): Likewise.
18648 (sin_test_data): Likewise.
18649 (sincos_test_data): Likewise.
18650 (sinh_test_data): Likewise.
18651 (tan_test_data): Likewise.
18652 (tanh_test_data): Likewise.
18653 (tgamma_test_data): Likewise.
18654 (y0_test_data): Likewise.
18655 (y1_test_data): Likewise.
18656 (yn_test_data): Likewise.
18659 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18660 argument being NaN and avoid computations with second argument in
18662 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18663 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18664 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18666 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18668 * locale/iso-639.def: Add Chitwani Tharu (the).
18670 2013-11-14 Andreas Schwab <schwab@suse.de>
18672 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18673 word instead of empty string.
18675 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18678 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18680 (__fe_nomask_env): Likewise.
18682 2013-11-13 Steve Ellcey <sellcey@mips.com>
18684 * benchtests/bench-timing.h: Include time.h.
18686 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18689 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18691 * sysdeps/unix/sysv/linux/configure: Regenerated.
18693 2013-11-13 Joseph Myers <joseph@codesourcery.com>
18696 * stdlib/strtod_l.c (round_and_return): Do not consider
18697 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18698 exponent one less than half the least subnormal exponent.
18699 * stdlib/test-strtod-round-data: Add more tests.
18700 * stdlib/tst-strtod-round.c (tests): Regenerated.
18702 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18705 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18706 (__fe_mask_env): Likewise.
18707 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18708 libm_hidden_proto and add function prototype.
18709 (__fe_mask_env): Add function prototype.
18710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18711 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18713 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18715 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18717 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18719 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18720 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18722 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18724 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18725 of htab_find_slot().
18727 2013-11-11 David S. Miller <davem@davemloft.net>
18730 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18731 symbol in the non-vis3 case in static builds.
18732 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18733 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18734 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18735 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18737 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18740 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18743 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18745 * benchtests/Makefile: Add bench-strtod.
18746 * benchtests/bench-strtod.c: New file: strtod benchtest
18748 2013-11-11 Andreas Schwab <schwab@suse.de>
18751 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18752 terminating NUL in key length.
18754 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18756 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18757 Add artificial ODP entry for vDSO symbol for PPC64.
18758 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18759 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18761 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18764 * nss/getent.c (services_keys): Recognize services starting with digit.
18766 2013-11-06 David S. Miller <davem@davemloft.net>
18769 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18770 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18772 2013-11-06 Will Newton <will.newton@linaro.org>
18774 * manual/memory.texi (Malloc Examples): Remove register
18775 keyword from examples.
18777 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
18779 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18781 2013-11-04 Joseph Myers <joseph@codesourcery.com>
18784 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18785 depending on [__GCC_IEC_559 > 0].
18786 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18787 depending on [__GCC_IEC_559_COMPLEX > 0].
18789 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
18791 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18794 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
18796 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18798 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
18801 * malloc/malloc (malloc_info): Do not handle first bin as
18804 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
18806 * locale/iso-639.def: Add Central Nahuatl (nhn).
18808 2013-11-01 Bruno Haible <bruno@clisp.org>
18811 * manual/math.texi (BSD Random): Specify range upper bound as
18814 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
18816 * locale/iso-639.def: Add Meadow Mari (mhr).
18818 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
18820 [BZ #14752], [BZ #15763]
18821 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18823 * rt/tst_shm.c: Add test for escaping directory.
18825 2013-10-31 Andreas Schwab <schwab@suse.de>
18828 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18829 followed by 'x' as part of digit sequence.
18830 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18832 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18835 * configure.ac: allow GNU Make 4.0 and greater.
18836 * configure: Regenerated.
18838 2013-10-30 Will Newton <will.newton@linaro.org>
18841 * malloc/hooks.c (memalign_check): Limit alignment to the
18842 maximum representable power of two.
18843 * malloc/malloc.c (__libc_memalign): Likewise.
18844 * malloc/tst-memalign.c (do_test): Add test for very
18845 large alignment values.
18846 * malloc/tst-posix_memalign.c (do_test): Likewise.
18848 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18851 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18852 (munmap_chunk): Likewise.
18853 (mremap_chunk): Likewise.
18855 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18858 * stdlib/div.c (div): Remove obsolete code.
18859 * stdlib/ldiv.c (ldiv): Likewise.
18860 * stdlib/lldiv.c (lldiv): Likewise.
18862 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18865 * nss/nss_files/files-XXX.c (get_contents_ret): New
18867 (get_contents): New function.
18868 (internal_getent): Use it. Expand size of LINEBUFLEN.
18870 2013-10-30 Mike Frysinger <vapier@gentoo.org>
18872 * configure.in: Moved to ...
18873 * configure.ac: ... here. Change reference to configure.in
18875 * sysdeps/arm/preconfigure.ac: ... here.
18876 configure.in to configure.ac.
18877 * sysdeps/gnu/configure.in: Moved to ...
18878 * sysdeps/gnu/configure.ac: ... here.
18879 * sysdeps/i386/configure.in: Moved to ...
18880 * sysdeps/i386/configure.ac: ... here.
18881 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18882 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18883 * sysdeps/mach/configure.in: Moved to ...
18884 * sysdeps/mach/configure.ac: ... here.
18885 * sysdeps/mach/hurd/configure.in: Moved to ...
18886 * sysdeps/mach/hurd/configure.ac: ... here.
18887 * sysdeps/powerpc/configure.in: Moved to ...
18888 * sysdeps/powerpc/configure.ac: ... here.
18889 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18890 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18891 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18892 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18893 * sysdeps/s390/s390-32/configure.in: Moved to ...
18894 * sysdeps/s390/s390-32/configure.ac: ... here.
18895 * sysdeps/s390/s390-64/configure.in: Moved to ...
18896 * sysdeps/s390/s390-64/configure.ac: ... here.
18897 * sysdeps/sh/configure.in: Moved to ...
18898 * sysdeps/sh/configure.ac: ... here.
18899 * sysdeps/sparc/configure.in: Moved to ...
18900 * sysdeps/sparc/configure.ac: ... here.
18901 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18902 * sysdeps/unix/sysv/linux/configure.ac: ... here.
18903 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18904 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18905 * sysdeps/x86_64/configure.in: Moved to ...
18906 * sysdeps/x86_64/configure.ac: ... here.
18907 * sysdeps/x86_64/preconfigure.in: Moved to ...
18908 * sysdeps/x86_64/preconfigure.ac: ... here.
18909 * aclocal.m4: Change reference to configure.in to configure.ac.
18910 * config.h.in: Likewise.
18911 * manual/install.texi: Likewise.
18912 * manual/maint.texi: Likewise.
18913 * Makefile: Likewise.
18914 * malloc/Makefile: Likewise.
18915 * nscd/Makefile: Likewise.
18916 * Makeconfig: Change reference to configure.in and
18917 preconfigure.in to configure.ac and preconfigure.ac
18919 * INSTALL: Regenerated.
18920 * configure: Likewise.
18921 * sysdeps/gnu/configure: Likewise.
18922 * sysdeps/i386/configure: Likewise.
18923 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18924 * sysdeps/mach/configure: Likewise.
18925 * sysdeps/mach/hurd/configure: Likewise.
18926 * sysdeps/powerpc/configure: Likewise.
18927 * sysdeps/powerpc/powerpc32/configure: Likewise.
18928 * sysdeps/powerpc/powerpc64/configure: Likewise.
18929 * sysdeps/s390/s390-32/configure: Likewise.
18930 * sysdeps/s390/s390-64/configure: Likewise.
18931 * sysdeps/sh/configure: Likewise.
18932 * sysdeps/sparc/configure: Likewise.
18933 * sysdeps/unix/sysv/linux/configure: Likewise.
18934 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18935 * sysdeps/x86_64/configure: Likewise.
18936 * sysdeps/x86_64/preconfigure: Likewise.
18938 2013-10-29 Andreas Schwab <schwab@suse.de>
18940 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18942 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18944 * benchtests/pow-inputs: Add new inputs.
18946 * benchtests/exp-inputs: Add new inputs.
18948 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18949 conditional check for return value.
18950 (__cos32): Likewise.
18952 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18954 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18955 to provide a boost for large inputs with word alignment.
18956 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18957 implementation based on optimized PPC64 strcpy.
18958 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18959 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18960 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18961 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18963 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18966 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18968 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18971 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18972 * time/tst-strptime.c (day_tests): Add testcase.
18974 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18977 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18979 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18982 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18983 MAP_FAILED on error.
18985 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18988 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18989 heap for large requests.
18991 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18994 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18995 result if the result has no associated interface.
18996 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18997 interface for all 127.X.Y.Z addresses.
18999 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
19001 * locale/iso-639.def: Add Ligurian (lij)
19003 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
19006 * sunrpc/rpc_main.c: Document rpcgen -5.
19008 2013-10-19 Michael Stahl <mstahl@redhat.com>
19010 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19012 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19015 * posix/glob.c: Match only directories when trailing slash is present.
19016 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19017 (main): Add testcase.
19019 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19022 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19024 2013-10-18 Carlos O'Donell <carlos@redhat.com>
19026 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19027 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19028 AUTH_DES and cindex for FIPS 140-2.
19029 (DES Encryption): Add cindex FIPS 46-3.
19031 * locale/locarchive.h (struct locarhandle): Add fname.
19032 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19033 if an optional argument was specified to --list-archive,
19035 * locale/programs/locarchive.c (show_archive_content): Take new
19036 argument fname and pass it via ah.fname to open_archive.
19037 * locale/programs/localedef.h: Update decl.
19038 (open_archive): If AH->fname is non-null, open that file
19039 rather than the default file name, and don't ignore ENOENT.
19040 (create_archive): Set AH.fname to NULL.
19041 (delete_locales_from_archive): Likewise.
19042 (add_locales_to_archive): Likewise.
19043 * locale/programs/locfile.c (write_all_categories): Likewise.
19045 2013-10-18 Joseph Myers <joseph@codesourcery.com>
19046 Aldy Hernandez <aldyh@redhat.com>
19048 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19049 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19050 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19051 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19052 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19053 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19054 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19055 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19056 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19057 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19058 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19059 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19060 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19061 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19062 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19064 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19066 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19068 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19070 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19071 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19073 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19074 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19075 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19076 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19078 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19079 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19080 * sysdeps/powerpc/preconfigure: Likewise.
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19083 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19084 Replace contents of file by #include of <fenv_libc.h>.
19085 * sysdeps/powerpc/soft-fp/sfp-machine.h
19086 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19088 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19089 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19094 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19095 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19096 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19097 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19099 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19101 Allow copysignl PLT reference to be missing.
19103 2013-10-18 Richard Sandiford <richard@codesourcery.com>
19104 Joseph Myers <joseph@codesourcery.com
19107 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19109 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19111 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19113 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19114 * elf/tst-tls1.c: Likewise.
19115 * elf/tst-tls10.h: Likewise.
19116 * elf/tst-tls14.c: Likewise.
19117 * elf/tst-tls2.c: Likewise.
19118 * elf/tst-tls3.c: Likewise.
19119 * elf/tst-tls4.c: Likewise.
19120 * elf/tst-tls5.c: Likewise.
19121 * elf/tst-tls6.c: Likewise.
19122 * elf/tst-tls7.c: Likewise.
19123 * elf/tst-tls8.c: Likewise.
19124 * elf/tst-tls9.c: Likewise.
19125 * elf/tst-tlsmod1.c: Likewise.
19126 * elf/tst-tlsmod13.c: Likewise.
19127 * elf/tst-tlsmod13a.c: Likewise.
19128 * elf/tst-tlsmod14a.c: Likewise.
19129 * elf/tst-tlsmod16a.c: Likewise.
19130 * elf/tst-tlsmod16b.c: Likewise.
19131 * elf/tst-tlsmod2.c: Likewise.
19132 * elf/tst-tlsmod3.c: Likewise.
19133 * elf/tst-tlsmod4.c: Likewise.
19134 * elf/tst-tlsmod5.c: Likewise.
19135 * elf/tst-tlsmod6.c: Likewise.
19137 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
19140 * malloc/malloc.c: remove checks for statistics.
19142 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19145 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19146 * inet/tst-network.c: Add testcase.
19148 2013-10-17 Andreas Schwab <schwab@suse.de>
19151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19152 to determine canonical name.
19154 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19156 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19157 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19159 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19161 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19162 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19163 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19164 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19165 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19166 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19167 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19168 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19169 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19170 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19171 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19173 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19174 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19175 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19176 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19177 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19178 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19179 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19180 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19181 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19182 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19183 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19184 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19186 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19189 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19190 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19192 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19197 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19199 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19201 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19202 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19204 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19206 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19208 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19209 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19210 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19211 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19212 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19213 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19215 2013-10-17 Joseph Myers <joseph@codesourcery.com>
19218 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19219 make result into a quiet NaN.
19221 2013-10-16 Joseph Myers <joseph@codesourcery.com>
19223 * soft-fp/adddf3.c: Fix horizontal whitespace.
19224 * soft-fp/addsf3.c: Likewise.
19225 * soft-fp/addtf3.c: Likewise.
19226 * soft-fp/divdf3.c: Likewise.
19227 * soft-fp/divsf3.c: Likewise.
19228 * soft-fp/divtf3.c: Likewise.
19229 * soft-fp/double.h: Likewise.
19230 * soft-fp/eqdf2.c: Likewise.
19231 * soft-fp/eqsf2.c: Likewise.
19232 * soft-fp/eqtf2.c: Likewise.
19233 * soft-fp/extenddftf2.c: Likewise.
19234 * soft-fp/extended.h: Likewise.
19235 * soft-fp/extendsfdf2.c: Likewise.
19236 * soft-fp/extendsftf2.c: Likewise.
19237 * soft-fp/extendxftf2.c: Likewise.
19238 * soft-fp/fixdfdi.c: Likewise.
19239 * soft-fp/fixdfsi.c: Likewise.
19240 * soft-fp/fixdfti.c: Likewise.
19241 * soft-fp/fixsfdi.c: Likewise.
19242 * soft-fp/fixsfsi.c: Likewise.
19243 * soft-fp/fixsfti.c: Likewise.
19244 * soft-fp/fixtfdi.c: Likewise.
19245 * soft-fp/fixtfsi.c: Likewise.
19246 * soft-fp/fixtfti.c: Likewise.
19247 * soft-fp/fixunsdfdi.c: Likewise.
19248 * soft-fp/fixunsdfsi.c: Likewise.
19249 * soft-fp/fixunsdfti.c: Likewise.
19250 * soft-fp/fixunssfdi.c: Likewise.
19251 * soft-fp/fixunssfsi.c: Likewise.
19252 * soft-fp/fixunssfti.c: Likewise.
19253 * soft-fp/fixunstfdi.c: Likewise.
19254 * soft-fp/fixunstfsi.c: Likewise.
19255 * soft-fp/fixunstfti.c: Likewise.
19256 * soft-fp/floatdidf.c: Likewise.
19257 * soft-fp/floatdisf.c: Likewise.
19258 * soft-fp/floatditf.c: Likewise.
19259 * soft-fp/floatsidf.c: Likewise.
19260 * soft-fp/floatsisf.c: Likewise.
19261 * soft-fp/floatsitf.c: Likewise.
19262 * soft-fp/floattidf.c: Likewise.
19263 * soft-fp/floattisf.c: Likewise.
19264 * soft-fp/floattitf.c: Likewise.
19265 * soft-fp/floatundidf.c: Likewise.
19266 * soft-fp/floatundisf.c: Likewise.
19267 * soft-fp/floatunditf.c: Likewise.
19268 * soft-fp/floatunsidf.c: Likewise.
19269 * soft-fp/floatunsisf.c: Likewise.
19270 * soft-fp/floatunsitf.c: Likewise.
19271 * soft-fp/floatuntidf.c: Likewise.
19272 * soft-fp/floatuntisf.c: Likewise.
19273 * soft-fp/floatuntitf.c: Likewise.
19274 * soft-fp/fmadf4.c: Likewise.
19275 * soft-fp/fmasf4.c: Likewise.
19276 * soft-fp/fmatf4.c: Likewise.
19277 * soft-fp/gedf2.c: Likewise.
19278 * soft-fp/gesf2.c: Likewise.
19279 * soft-fp/getf2.c: Likewise.
19280 * soft-fp/ledf2.c: Likewise.
19281 * soft-fp/lesf2.c: Likewise.
19282 * soft-fp/letf2.c: Likewise.
19283 * soft-fp/muldf3.c: Likewise.
19284 * soft-fp/mulsf3.c: Likewise.
19285 * soft-fp/multf3.c: Likewise.
19286 * soft-fp/negdf2.c: Likewise.
19287 * soft-fp/negsf2.c: Likewise.
19288 * soft-fp/negtf2.c: Likewise.
19289 * soft-fp/op-1.h: Likewise.
19290 * soft-fp/op-2.h: Likewise.
19291 * soft-fp/op-4.h: Likewise.
19292 * soft-fp/op-8.h: Likewise.
19293 * soft-fp/op-common.h: Likewise.
19294 * soft-fp/quad.h: Likewise.
19295 * soft-fp/single.h: Likewise.
19296 * soft-fp/soft-fp.h: Likewise.
19297 * soft-fp/sqrtdf2.c: Likewise.
19298 * soft-fp/sqrtsf2.c: Likewise.
19299 * soft-fp/sqrttf2.c: Likewise.
19300 * soft-fp/subdf3.c: Likewise.
19301 * soft-fp/subsf3.c: Likewise.
19302 * soft-fp/subtf3.c: Likewise.
19303 * soft-fp/truncdfsf2.c: Likewise.
19304 * soft-fp/trunctfdf2.c: Likewise.
19305 * soft-fp/trunctfsf2.c: Likewise.
19306 * soft-fp/trunctfxf2.c: Likewise.
19307 * soft-fp/unorddf2.c: Likewise.
19308 * soft-fp/unordsf2.c: Likewise.
19309 * soft-fp/unordtf2.c: Likewise.
19311 2013-10-15 Joseph Myers <joseph@codesourcery.com>
19313 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19314 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19316 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
19318 * elf/dl-libc.c: Clear initfini list after freeing.
19320 2013-10-14 Joseph Myers <joseph@codesourcery.com>
19322 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19323 * soft-fp/addsf3.c: Likewise.
19324 * soft-fp/addtf3.c: Likewise.
19325 * soft-fp/divdf3.c: Likewise.
19326 * soft-fp/divsf3.c: Likewise.
19327 * soft-fp/divtf3.c: Likewise.
19328 * soft-fp/double.h: Likewise.
19329 * soft-fp/eqdf2.c: Likewise.
19330 * soft-fp/eqsf2.c: Likewise.
19331 * soft-fp/eqtf2.c: Likewise.
19332 * soft-fp/extenddftf2.c: Likewise.
19333 * soft-fp/extended.h: Likewise.
19334 * soft-fp/extendsfdf2.c: Likewise.
19335 * soft-fp/extendsftf2.c: Likewise.
19336 * soft-fp/extendxftf2.c: Likewise.
19337 * soft-fp/fixdfdi.c: Likewise.
19338 * soft-fp/fixdfsi.c: Likewise.
19339 * soft-fp/fixdfti.c: Likewise.
19340 * soft-fp/fixsfdi.c: Likewise.
19341 * soft-fp/fixsfsi.c: Likewise.
19342 * soft-fp/fixsfti.c: Likewise.
19343 * soft-fp/fixtfdi.c: Likewise.
19344 * soft-fp/fixtfsi.c: Likewise.
19345 * soft-fp/fixtfti.c: Likewise.
19346 * soft-fp/fixunsdfdi.c: Likewise.
19347 * soft-fp/fixunsdfsi.c: Likewise.
19348 * soft-fp/fixunsdfti.c: Likewise.
19349 * soft-fp/fixunssfdi.c: Likewise.
19350 * soft-fp/fixunssfsi.c: Likewise.
19351 * soft-fp/fixunssfti.c: Likewise.
19352 * soft-fp/fixunstfdi.c: Likewise.
19353 * soft-fp/fixunstfsi.c: Likewise.
19354 * soft-fp/fixunstfti.c: Likewise.
19355 * soft-fp/floatdidf.c: Likewise.
19356 * soft-fp/floatdisf.c: Likewise.
19357 * soft-fp/floatditf.c: Likewise.
19358 * soft-fp/floatsidf.c: Likewise.
19359 * soft-fp/floatsisf.c: Likewise.
19360 * soft-fp/floatsitf.c: Likewise.
19361 * soft-fp/floattidf.c: Likewise.
19362 * soft-fp/floattisf.c: Likewise.
19363 * soft-fp/floattitf.c: Likewise.
19364 * soft-fp/floatundidf.c: Likewise.
19365 * soft-fp/floatundisf.c: Likewise.
19366 * soft-fp/floatunsidf.c: Likewise.
19367 * soft-fp/floatunsisf.c: Likewise.
19368 * soft-fp/floatuntidf.c: Likewise.
19369 * soft-fp/floatuntisf.c: Likewise.
19370 * soft-fp/floatuntitf.c: Likewise.
19371 * soft-fp/fmadf4.c: Likewise.
19372 * soft-fp/fmasf4.c: Likewise.
19373 * soft-fp/fmatf4.c: Likewise.
19374 * soft-fp/gedf2.c: Likewise.
19375 * soft-fp/gesf2.c: Likewise.
19376 * soft-fp/getf2.c: Likewise.
19377 * soft-fp/ledf2.c: Likewise.
19378 * soft-fp/lesf2.c: Likewise.
19379 * soft-fp/letf2.c: Likewise.
19380 * soft-fp/muldf3.c: Likewise.
19381 * soft-fp/mulsf3.c: Likewise.
19382 * soft-fp/multf3.c: Likewise.
19383 * soft-fp/negdf2.c: Likewise.
19384 * soft-fp/negsf2.c: Likewise.
19385 * soft-fp/negtf2.c: Likewise.
19386 * soft-fp/op-1.h: Likewise.
19387 * soft-fp/op-2.h: Likewise.
19388 * soft-fp/op-4.h: Likewise.
19389 * soft-fp/op-8.h: Likewise.
19390 * soft-fp/op-common.h: Likewise.
19391 * soft-fp/quad.h: Likewise.
19392 * soft-fp/single.h: Likewise.
19393 * soft-fp/soft-fp.h: Likewise.
19394 * soft-fp/sqrtdf2.c: Likewise.
19395 * soft-fp/sqrtsf2.c: Likewise.
19396 * soft-fp/sqrttf2.c: Likewise.
19397 * soft-fp/subdf3.c: Likewise.
19398 * soft-fp/subsf3.c: Likewise.
19399 * soft-fp/subtf3.c: Likewise.
19400 * soft-fp/truncdfsf2.c: Likewise.
19401 * soft-fp/trunctfdf2.c: Likewise.
19402 * soft-fp/trunctfsf2.c: Likewise.
19403 * soft-fp/trunctfxf2.c: Likewise.
19404 * soft-fp/unorddf2.c: Likewise.
19405 * soft-fp/unordsf2.c: Likewise.
19406 * soft-fp/unordtf2.c: Likewise.
19408 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
19411 * misc/error.c (error_tail): Fix possible buffer overflow.
19413 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19416 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19419 2013-10-14 P. J. McDermott <pj@pehjota.net>
19422 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19423 testing pipefail option.
19425 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19427 * soft-fp/double.h: Indent preprocessor directives inside #if.
19428 * soft-fp/extended.h: Likewise.
19429 * soft-fp/op-2.h: Likewise.
19430 * soft-fp/op-4.h: Likewise.
19431 * soft-fp/op-common.h: Likewise.
19432 * soft-fp/quad.h: Likewise.
19433 * soft-fp/single.h: Likewise.
19434 * soft-fp/soft-fp.h: Likewise.
19436 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19438 * iconv/iconv_prog.c: Fix typos.
19439 * stdio-common/psiginfo-data.h: Likewise.
19441 2013-10-12 Reuben Thomas <rrt@sc3d.org>
19444 * locale/setlocale.c: Fix typo.
19446 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19449 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19450 signaling NaN arguments.
19451 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19452 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19455 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19456 unordered operands.
19457 * soft-fp/gesf2.c (__gesf2): Likewise.
19458 * soft-fp/getf2.c (__getf2): Likewise.
19459 * soft-fp/ledf2.c (__ledf2): Likewise.
19460 * soft-fp/lesf2.c (__lesf2): Likewise.
19461 * soft-fp/letf2.c (__letf2): Likewise.
19463 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19464 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19465 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19466 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19467 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19468 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19469 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19470 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19471 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19472 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19473 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19474 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19475 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19476 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19477 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19478 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19479 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19480 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19481 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19482 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19483 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19484 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19485 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19486 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19487 * soft-fp/floattidf.c (__floattidf): Likewise.
19488 * soft-fp/floattisf.c (__floattisf): Likewise.
19489 * soft-fp/floattitf.c (__floattitf): Likewise.
19490 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19491 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19492 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19493 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19494 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19495 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19496 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19497 * soft-fp/gesf2.c (__gesf2): Likewise.
19498 * soft-fp/getf2.c (__getf2): Likewise.
19499 * soft-fp/ledf2.c (__ledf2): Likewise.
19500 * soft-fp/lesf2.c (__lesf2): Likewise.
19501 * soft-fp/letf2.c (__letf2): Likewise.
19503 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19504 Undefine and redefine.
19505 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19506 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19507 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19508 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19509 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19510 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19511 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19512 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19513 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19514 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19515 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19516 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19517 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19518 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19519 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19522 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19523 without decrementing exponent if mantissa >= that for the
19524 denominator, not >.
19525 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19526 denominator, not >. Decrement exponent in < case instead of
19527 incrementing in >= case.
19528 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19529 without decrementing exponent if mantissa >= that for the
19530 denominator, not >.
19532 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19533 computing saturated result for unsigned overflow.
19535 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19536 Jeff Law <law@redhat.com>
19538 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19539 (atan2Mp): Add systemtap probe marker.
19540 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19541 (__ieee754_log): Add systemtap probe marker.
19542 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19543 (atanMp): Add systemtap probe marker.
19544 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19545 (tanMp): Add systemtap probe marker.
19546 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19547 (__slowexp): Add systemtap probe marker.
19548 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19549 (__slowpow): Add systemtap probe marker.
19550 * manual/probes.texi: Document probes.
19552 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
19555 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19557 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19559 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19560 written to buffer but not flushed.
19561 * libio/iofwrite_u.c: Likewise.
19562 * libio/iopadn.c: Return bytes returned even if EOF was
19564 * libio/iowpadn.c: Likewise.
19565 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19566 if _IO_padn does not write the whole buffer.
19567 [!COMPILE_WPRINTF] (PAD): Likewise.
19569 2013-10-10 David S. Miller <davem@davemloft.net>
19571 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19574 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19576 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19577 instead of FSF address.
19578 * soft-fp/fixdfti.c: Likewise.
19579 * soft-fp/fixsfti.c: Likewise.
19580 * soft-fp/fixtfti.c: Likewise.
19581 * soft-fp/fixunsdfti.c: Likewise.
19582 * soft-fp/fixunssfti.c: Likewise.
19583 * soft-fp/fixunstfti.c: Likewise.
19584 * soft-fp/floattidf.c: Likewise.
19585 * soft-fp/floattisf.c: Likewise.
19586 * soft-fp/floattitf.c: Likewise.
19587 * soft-fp/floatuntidf.c: Likewise.
19588 * soft-fp/floatuntisf.c: Likewise.
19589 * soft-fp/floatuntitf.c: Likewise.
19590 * soft-fp/trunctfxf2.c: Likewise.
19592 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19593 * soft-fp/fixdfti.c: Likewise.
19594 * soft-fp/fixsfti.c: Likewise.
19595 * soft-fp/fixtfti.c: Likewise.
19596 * soft-fp/fixunsdfti.c: Likewise.
19597 * soft-fp/fixunssfti.c: Likewise.
19598 * soft-fp/fixunstfti.c: Likewise.
19599 * soft-fp/floattidf.c: Likewise.
19600 * soft-fp/floattisf.c: Likewise.
19601 * soft-fp/floattitf.c: Likewise.
19602 * soft-fp/floatuntidf.c: Likewise.
19603 * soft-fp/floatuntisf.c: Likewise.
19604 * soft-fp/floatuntitf.c: Likewise.
19605 * soft-fp/trunctfxf2.c: Likewise.
19607 2013-10-10 David S. Miller <davem@davemloft.net>
19609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19611 2013-10-10 Joseph Myers <joseph@codsourcery.com>
19613 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19614 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19615 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19616 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19617 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19618 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19619 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19621 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19622 for NaNs before doing comparisons on argument.
19623 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19626 2013-10-10 Will Newton <will.newton@linaro.org>
19628 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19629 passed to _int_memalign does not overflow.
19631 2013-10-10 Torvald Riegel <triegel@redhat.com>
19633 * scripts/bench.pl: Add include-sources directive.
19634 * benchtests/README: Update documentation.
19636 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19638 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19639 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19640 instead of FP_INIT_ROUNDMODE.
19641 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19642 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19645 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19646 copy class of input value.
19647 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19648 not handle exceptions.
19649 * soft-fp/negsf2.c (__negsf2): Likewise.
19650 * soft-fp/negtf2.c (__negtf2): Likewise.
19651 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19653 2013-10-09 Joseph Myers <joseph@codesourcery.com>
19655 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19656 semicolon. From Linux kernel.
19658 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19660 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19662 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19665 * manual/socket.texi: Added statement about buffer
19666 for gethostbyname2_r.
19668 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
19670 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19671 Use .p2align directive instead, throughout.
19672 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19673 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19674 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19675 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19676 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19677 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19678 * sysdeps/x86_64/strchr.S: Likewise.
19679 * sysdeps/x86_64/strrchr.S: Likewise.
19681 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19683 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19685 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19687 * sysdeps/generic/math_private.h (__mpsin1): Remove
19689 (__mpcos1): Likewise.
19690 (__mpsin): New argument __range_reduce.
19691 (__mpcos): Likewise.
19692 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19693 (slow): Use __mpsin and __mpcos.
19697 (sloww1): Likewise.
19698 (sloww2): Likewise.
19699 (bsloww): Likewise.
19700 (bsloww1): Likewise.
19701 (bsloww2): Likewise.
19702 (cslow2): Likewise.
19703 (csloww): Likewise.
19704 (csloww1): Likewise.
19705 (csloww2): Likewise.
19706 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19707 range_reduce. Merge in __mpsin1.
19708 (__mpcos): Likewise.
19709 (__mpsin1): Remove.
19710 (__mpcos1): Likewise.
19712 2013-10-07 Joseph Myers <joseph@codesourcery.com>
19714 * locale/loadlocale.c (_nl_intern_locale_data): Use
19716 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19717 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19718 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19719 obstack data is appropriately aligned.
19720 (obstack_int32_grow_fast): Likewise.
19721 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19722 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19723 (add_locale_uint32_array): Likewise.
19725 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19727 * benchtests/Makefile: Remove ARGLIST and RET variables.
19728 ($(objpfx)bench-%.c): Pass only function name to the script.
19729 * benchtests/README: Update documentation.
19730 * benchtests/acos-inputs: Add new directives.
19731 * benchtests/acosh-inputs: Likewise.
19732 * benchtests/asin-inputs: Likewise.
19733 * benchtests/asinh-inputs: Likewise.
19734 * benchtests/atan-inputs: Likewise.
19735 * benchtests/atanh-inputs: Likewise.
19736 * benchtests/cos-inputs: Likewise.
19737 * benchtests/cosh-inputs: Likewise.
19738 * benchtests/exp-inputs: Likewise.
19739 * benchtests/log-inputs: Likewise.
19740 * benchtests/pow-inputs: Likewise.
19741 * benchtests/rint-inputs: Likewise.
19742 * benchtests/sin-inputs: Likewise.
19743 * benchtests/sinh-inputs: Likewise.
19744 * benchtests/tan-inputs: Likewise.
19745 * benchtests/tanh-inputs: Likewise.
19746 * scripts/bench.pl: Add support for new directives.
19748 2013-10-07 Alan Modra <amodra@gmail.com>
19750 * README: Fix careless merge.
19752 2013-10-05 Alan Modra <amodra@gmail.com>
19754 * NEWS: Mention powerpc64le support and bugs fixed.
19755 * README: Both big-endian and little-endian powerpc64 supported.
19757 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19759 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19760 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19761 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19762 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19764 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19766 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19769 2013-10-04 Joseph Myers <joseph@codesourcery.com>
19771 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19772 Move -mhard-float appending from
19773 ports/sysdeps/powerpc/powerpc32/Makefile.
19774 [$(with-fp) = yes] (ASFLAGS): Likewise.
19775 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19776 * sysdeps/powerpc/nofpu: Move directory from
19777 ports/sysdeps/powerpc/nofpu.
19778 * sysdeps/powerpc/soft-fp: Move directory from
19779 ports/sysdeps/powerpc/soft-fp.
19780 * sysdeps/powerpc/powerpc32/405: Move directory from
19781 ports/sysdeps/powerpc/powerpc32/405.
19782 * sysdeps/powerpc/powerpc32/440: Move directory from
19783 ports/sysdeps/powerpc/powerpc32/440.
19784 * sysdeps/powerpc/powerpc32/464: Move directory from
19785 ports/sysdeps/powerpc/powerpc32/464.
19786 * sysdeps/powerpc/powerpc32/476: Move directory from
19787 ports/sysdeps/powerpc/powerpc32/476.
19788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19789 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19791 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19793 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19795 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19797 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19798 * README: Update for powerpc-*-linux-gnu software floating point
19801 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19802 case to powerpc/powerpc32*.
19803 * sysdeps/unix/sysv/linux/configure: Regenerated.
19805 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19806 (_FPU_MASK_OM): Define as 0x04.
19807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19815 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19818 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19821 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19822 and setcontext_e500.
19824 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19826 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19828 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19830 * manual/threads.texi (Default Thread Attributes): Fix typo.
19832 2013-10-04 Will Newton <will.newton@linaro.org>
19834 * malloc/Makefile: Add tst-memalign.
19835 * malloc/tst-memalign.c: New file.
19837 * malloc/tst-posix_memalign.c: Add comments.
19838 (do_test): Add comments and call free on all potentially
19839 allocated pointers. Add space after cast.
19841 * malloc/tst-pvalloc.c: Add comments.
19842 (do_test): Add comments and call free on all potentially
19843 allocated pointers. Remove duplicate check for NULL pointer.
19844 Add space after cast.
19846 * malloc/tst-valloc.c: Add comments.
19847 (do_test): Add comments and call free on all potentially
19848 allocated pointers. Remove duplicate check for NULL pointer.
19849 Add space after cast.
19851 2013-10-04 Alan Modra <amodra@gmail.com>
19853 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19854 Use stdint types in rather than __attribute__((mode())).
19855 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19857 2013-10-04 Alan Modra <amodra@gmail.com>
19859 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19860 Correct handling of unaligned relocs for little-endian.
19861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19863 2013-10-04 Alan Modra <amodra@gmail.com>
19865 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19866 * configure: Regenerate.
19867 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19868 * shlib-versions: Likewise.
19870 2013-10-04 Alan Modra <amodra@gmail.com>
19872 * string/tester.c (test_memrchr): Increment reported test cycle.
19874 2013-10-04 Alan Modra <amodra@gmail.com>
19876 * string/test-memcpy.c (do_one_test): When reporting errors, print
19877 string address and don't overrun end of string.
19879 2013-10-04 Alan Modra <amodra@gmail.com>
19881 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19882 insrdi. Make better use of reg selection to speed exit slightly.
19883 Schedule entry path a little better. Remove useless "are we done"
19884 checks on entry to main loop. Handle wrapping around zero address.
19885 Correct main loop count. Handle single left-over word from main
19886 loop inline rather than by using loop_small. Remove extra word
19887 case in loop_small caused by wrong loop count. Add little-endian
19889 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19890 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
19892 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19893 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19894 support. Avoid rlwimi.
19895 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19897 2013-10-04 Alan Modra <amodra@gmail.com>
19899 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
19900 insrdi. Formatting.
19901 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19902 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19903 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19904 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19905 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19906 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19908 2013-10-04 Alan Modra <amodra@gmail.com>
19910 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19911 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19912 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19913 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19914 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19915 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19916 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19917 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19918 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
19919 use of regs. Use power7 mtocrf. Tidy function tails.
19921 2013-10-04 Alan Modra <amodra@gmail.com>
19923 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19924 Formatting. Consistently use rXXX register defines or rN defines.
19925 Use early exit labels that avoid restoring unused non-volatile regs.
19926 Make cr field use more consistent with rWORDn compares. Rename
19927 regs used as shift registers for unaligned loop, using rN defines
19928 for short lifetime/multiple use regs.
19929 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19930 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
19931 addi 1,1,64 to pop stack frame. Simplify return value code.
19932 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19934 2013-10-04 Alan Modra <amodra@gmail.com>
19936 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19937 support. Correct typos, formatting. Optimize tail. Use insrdi
19938 rather than rlwimi.
19939 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19940 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19941 little-endian support. Correct typos.
19942 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19943 rather than rlwimi.
19944 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19945 in loop and entry code to keep "and." results.
19946 (strchr): Add little-endian support. Comment. Move cntlzd
19948 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19950 2013-10-04 Alan Modra <amodra@gmail.com>
19952 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19953 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19954 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19955 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19957 2013-10-04 Alan Modra <amodra@gmail.com>
19959 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19960 (rTMP): Define as r11.
19961 (strcmp): Add little-endian support. Optimise tail.
19962 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19963 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19964 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19965 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19966 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19967 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19968 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19970 2013-10-04 Alan Modra <amodra@gmail.com>
19972 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19973 little-endian support. Remove unnecessary "are we done" tests.
19974 Handle "s" wrapping around zero and extremely large "size".
19975 Correct main loop count. Handle single left-over word from main
19976 loop inline rather than by using small_loop. Correct comments.
19977 Delete "zero" tail, use "end_max" instead.
19978 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19980 2013-10-04 Alan Modra <amodra@gmail.com>
19982 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19983 support. Don't branch over align.
19984 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19985 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19986 support. Rearrange tmp reg use to suit. Comment.
19987 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19989 2013-10-04 Alan Modra <amodra@gmail.com>
19991 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19993 2013-10-04 Alan Modra <amodra@gmail.com>
19995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19996 conditional form of branch and link when obtaining pc.
19997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19999 2013-10-04 Alan Modra <amodra@gmail.com>
20001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20006 2013-10-04 Alan Modra <amodra@gmail.com>
20008 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20009 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20010 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20011 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20012 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20013 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20014 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20015 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20016 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20017 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20019 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20020 Alistair Popple <alistair@ozlabs.au.ibm.com>
20021 Alan Modra <amodra@gmail.com>
20024 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20025 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20026 _dl_hwcap access for little-endian.
20027 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20028 destroy vmx regs when saving unaligned.
20029 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20030 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20031 destroy vmx regs when saving unaligned.
20033 2013-10-04 Alan Modra <amodra@gmail.com>
20035 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20036 Don't use a union to pack hi/low value.
20038 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20040 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20042 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20043 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20044 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20045 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20046 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20048 2013-10-04 Alan Modra <amodra@gmail.com>
20050 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20051 constants to usual value for .cst8 section, and remove redundant
20053 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20054 constant for 0x1p52. Load little-endian words of double from
20055 correct stack offsets.
20057 2013-10-04 Alan Modra <amodra@gmail.com>
20059 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20060 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20061 words of double from correct stack offsets.
20062 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20063 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20064 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20065 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20066 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20067 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20068 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20069 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20070 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20071 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20072 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20073 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20074 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20075 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20076 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20077 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20078 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20080 2013-10-04 Alan Modra <amodra@gmail.com>
20082 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20083 64-bit int/double union.
20084 (_FPU_SETCW): Likewise.
20085 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20086 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20088 2013-10-04 Alan Modra <amodra@gmail.com>
20090 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20091 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20093 2013-10-04 Alan Modra <amodra@gmail.com>
20095 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20096 use vector int constants.
20097 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20099 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20101 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20102 array with long long.
20103 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20104 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20105 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20106 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20107 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20108 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20109 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20110 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20111 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20112 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20113 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20114 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20115 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20117 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20119 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20120 (__signbit): Likewise. Correct for little-endian.
20121 (__signbitl): Call __signbit.
20122 (lrint): Correct for little-endian.
20123 (lrintf): Call lrint.
20125 2013-10-04 Alan Modra <amodra@gmail.com>
20127 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20128 union 32-bit int array member with 64-bit int array.
20129 (t515, tm256): Double rather than long double.
20130 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20132 2013-10-04 Alan Modra <amodra@gmail.com>
20134 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20136 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20137 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20138 version of math_ldbl.h.
20140 2013-10-04 Alan Modra <amodra@gmail.com>
20142 [BZ #15734], [BZ #15735]
20143 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20144 all uses of ieee875 long double macros and unions. Simplify test
20145 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20146 ldbl_extract_mantissa value for ix,iy exponents. Properly
20147 normalize after ldbl_extract_mantissa, and don't add hidden bit
20148 already handled. Don't treat low word of ieee854 mantissa like
20149 low word of IBM long double and mask off bit when testing for
20151 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20152 all uses of ieee875 long double macros and unions. Simplify tests
20153 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20154 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20155 two1022, instead use their values. Recognise that tests for large
20156 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20157 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20158 Rewrite all uses of ieee875 long double macros and unions. Simplify
20159 test for 0.0L and nan. Correct negation.
20160 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20161 ieee875 long double macros and unions. Correct output for large
20162 magnitude x. Correct absolute value calculation.
20163 (__erfcl): Likewise.
20164 * math/libm-test.inc: Add tests for errors discovered in IBM long
20165 double versions of fmodl, remainderl, erfl and erfcl.
20167 2013-10-04 Alan Modra <amodra@gmail.com>
20169 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20170 all uses of ieee854 long double macros and unions. Simplify tests
20171 for long doubles that are fully specified by the high double.
20172 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20174 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20175 Remove dead code too.
20176 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20177 (__ieee754_ynl): Likewise.
20178 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20179 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20180 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20181 Remove dead code too.
20182 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20183 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20184 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20185 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20187 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20189 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20190 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20191 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20192 Comment on variable precision.
20193 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20194 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20196 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20197 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20198 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20199 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20200 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20202 2013-10-04 Alan Modra <amodra@gmail.com>
20204 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20205 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20206 all uses of ieee854 long double macros and unions.
20207 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20208 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20209 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20210 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20211 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20212 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20214 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20215 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20216 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20217 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20218 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20219 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20220 Simplify sign and nan test too.
20221 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20222 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20223 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20224 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20226 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20227 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20229 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20230 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20231 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20232 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20233 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20236 2013-10-04 Alan Modra <amodra@gmail.com>
20238 * stdio-common/printf_size.c (__printf_size): Don't use
20239 union ieee854_long_double in fpnum union.
20240 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20241 signbit macro to retrieve sign from long double.
20242 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20243 retrieve sign from long double.
20244 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20245 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20246 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20247 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20248 * math/test-misc.c (main): Don't use union ieee854_long_double.
20250 2013-10-04 Alan Modra <amodra@gmail.com>
20253 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20254 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20255 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20256 calculation. Remove unnecessary test for denormal exponent.
20257 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20258 Correct handling of denormals. Avoid undefined shift behaviour.
20259 Correct normalisation of low mantissa when low double is denormal.
20260 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20261 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20262 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20263 Correct normalisation of low mantissa. Test for overflow of high
20264 mantissa and normalise.
20265 (ldbl_nearbyint): Use more readable constant for two52.
20266 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20267 (__mpn_construct_long_double): Fix test for overflow of high
20268 mantissa and correct normalisation. Avoid undefined shift.
20270 2013-10-04 Alan Modra <amodra@gmail.com>
20272 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20273 (union ibm_extended_long_double): Define as an array of ieee754_double.
20274 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20275 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20276 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20277 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20278 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20279 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20280 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20281 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20282 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20283 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20284 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20286 2013-10-03 Joseph Myers <joseph@codesourcery.com>
20288 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20289 page size instead of calling getpagesize.
20291 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20292 (LOCFILE_ALIGN_MASK): Likewise.
20293 (LOCFILE_ALIGN_UP): Likewise.
20294 (LOCFILE_ALIGNED_P): Likewise.
20295 * locale/programs/ld-collate.c (collate_output): Use the new
20296 macros instead of __alignof__ (int32_t).
20297 * locale/weight.h (findidx): Likewise.
20299 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
20302 * manual/string.texi: Fix strncat and wcsncat.
20304 2013-10-03 Brooks Moses <bmoses@google.com>
20307 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20308 * Makerules: ...here, and adjust associated comments.
20310 2013-10-02 Will Newton <will.newton@linaro.org>
20312 * malloc/Makefile: Add tst-pvalloc.
20313 * malloc/tst-pvalloc.c: New file.
20315 2013-10-02 Will Newton <will.newton@linaro.org>
20317 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20318 improve test coverage.
20320 2013-10-02 Will Newton <will.newton@linaro.org>
20322 * malloc/Makefile: Add tst-posix_memalign.
20323 * malloc/tst-posix_memalign.c: New file.
20325 2013-10-01 Eric Blake <eblake@redhat.com>
20327 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20328 Use __THROWNL rather than __THROW on static functions.
20330 2013-09-30 Petr Machata <pmachata@redhat.com>
20332 * elf/elf.h (R_AARCH64_ABS16): New macro.
20333 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20334 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20335 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20336 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20337 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20338 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20339 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20340 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20341 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20342 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20343 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20344 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20345 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20346 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20347 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20348 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20349 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20350 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20351 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20352 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20353 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20354 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20355 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20356 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20357 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20358 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20359 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20360 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20361 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20362 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20363 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20364 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20365 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20366 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20367 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20368 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20369 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20370 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20371 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20372 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20373 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20374 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20375 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20376 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20377 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20378 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20379 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20380 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20381 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20382 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20383 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20384 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20385 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20386 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20387 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20388 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20389 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20390 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20391 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20392 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20393 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20394 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20395 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20396 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20397 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20398 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20399 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20400 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20401 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20402 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20403 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20404 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20405 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20406 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20407 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20408 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20409 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20410 (R_AARCH64_TLSDESC_LDR): Likewise.
20411 (R_AARCH64_TLSDESC_ADD): Likewise.
20412 (R_AARCH64_TLSDESC_CALL): Likewise.
20414 2013-09-30 Andreas Schwab <schwab@suse.de>
20417 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20418 the nss database lookup.
20419 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20422 2013-09-28 Mike Frysinger <vapier@gentoo.org>
20424 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20426 2013-09-28 P. J. McDermott <pj@pehjota.net>
20428 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20429 ${Bash-specific parameter/pattern/string} parameter expansion.
20430 * sysdeps/unix/make-syscalls.sh: Likewise.
20432 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20434 * sysdeps/sh/stackguard-macros.h: New file.
20436 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
20438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20440 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20441 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20442 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20443 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20445 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20447 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20448 Fix thread ID register.
20450 2013-09-25 Joseph Myers <joseph@codesourcery.com>
20452 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20453 [POSIX || UNIX98]: Require rather than permitting all symbols from
20455 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20456 element of struct sched_param.
20457 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20458 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20459 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20460 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20463 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20465 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20466 argument calculation.
20468 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20470 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20472 [POSIX] (pthread_attr_t): Do not require type.
20473 [POSIX] (pthread_cond_t): Likewise.
20474 [POSIX] (pthread_condattr_t): Likewise.
20475 [POSIX] (pthread_key_t): Likewise.
20476 [POSIX] (pthread_mutex_t): Likewise.
20477 [POSIX] (pthread_mutexattr_t): Likewise.
20478 [POSIX] (pthread_once_t): Likewise.
20479 [POSIX] (pthread_t): Likewise.
20480 [POSIX-based standards] (pthread_atfork): Expect function.
20482 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20483 Richard Sandiford <richard@codesourcery.com>
20485 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20486 (swap_endianness_p): New extern variable.
20487 (set_big_endian): New inline function.
20488 (maybe_swap_uint32): Likewise.
20489 (maybe_swap_uint32_array): Likewise.
20490 (maybe_swap_uint32_obstack): Likewise.
20491 * locale/programs/locfile.c: Include <stdbool.h>.
20492 (swap_endianness_p): New variable.
20493 (add_locale_uint32): Call maybe_swap_uint32.
20494 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20495 (write_locale_data): Call maybe_swap_uint32_array.
20496 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20498 (obstack_int32_grow_fast): Likewise.
20499 (output_weightwc): Call maybe_swap_uint32_obstack.
20500 (collate_output): Likewise.
20501 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20502 (OPT_LITTLE_ENDIAN): Likewise.
20503 (options): Add --little-endian and --big-endian options.
20504 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20505 * locale/programs/locarchive.c: Include "locfile.h".
20509 (create_archive): Use the new macros to access fields of
20510 structures directly mapped from or written to locale archives.
20511 (oldlocrecentcmp): Likewise.
20512 (enlarge_archive): Likewise.
20513 (insert_name): Likewise.
20514 (add_alias): Likewise.
20515 (add_locale): Likewise.
20516 (delete_locales_from_archive): Likewise.
20517 (show_archive_content): Likewise.
20518 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20521 2013-09-24 Roland McGrath <roland@hack.frob.com>
20523 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20524 http://www.gnu.org/doc/freemanuals.texi.
20525 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20527 2013-09-24 Will Newton <will.newton@linaro.org>
20529 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20532 2013-09-23 Joseph Myers <joseph@codesourcery.com>
20534 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20537 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20539 * manual/threads.texi (POSIX Threads): Fix a typo.
20541 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20544 * string/tst-strcoll-overflow.c: New test case.
20545 * string/Makefile (xtests): Add tst-strcoll-overflow.
20546 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20547 cache if string sizes may cause integer overflow.
20550 * string/strcoll_l.c (coll_seq): New members rule, idx,
20551 save_idx and back_us.
20552 (get_next_seq_nocache): New function.
20553 (do_compare_nocache): New function.
20554 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20557 2013-09-23 Carlos O'Donell <carlos@redhat.com>
20560 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20561 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20562 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20565 * elf/Makefile (tests): Add tst-ptrguard1.
20566 (tests-static): Add tst-ptrguard1-static.
20567 (tst-ptrguard1-ARGS): Define.
20568 (tst-ptrguard1-static-ARGS): Define.
20569 * elf/tst-ptrguard1.c: New file.
20570 * elf/tst-ptrguard1-static.c: New file.
20571 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20572 * sysdeps/i386/stackguard-macros.h: Likewise.
20573 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20574 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20575 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20576 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20577 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20578 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20580 2013-09-23 Hector Marco <hecmargi@upv.es>
20581 Ismael Ripoll <iripoll@disca.upv.es>
20582 Carlos O'Donell <carlos@redhat.com>
20585 * sysdeps/generic/stackguard-macros.h: Define
20586 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20587 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20588 Define __pointer_chk_guard_local.
20589 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20590 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20592 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20595 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20597 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20599 * include/string.h (__ffs): Declare as hidden.
20600 * string/ffs.c (__ffs): Define as hidden.
20601 * sysdeps/i386/ffs.c (__ffs): Likewise.
20602 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20603 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20604 * sysdeps/s390/ffs.c (__ffs): Likewise.
20605 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20607 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
20609 * NEWS: Mention malloc probes.
20611 * malloc/arena.c (new_heap): New memory_heap_new probe.
20612 (grow_heap): New memory_heap_more probe.
20613 (shrink_heap): New memory_heap_less probe.
20614 (heap_trim): New memory_heap_free probe.
20615 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20616 (systrim): New memory_sbrk_less probe.
20617 * manual/probes.texi: Document them.
20619 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20620 * manual/probes.texi: Document it.
20622 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20623 (__libc_realloc): Add memory_realloc_retry probe.
20624 (__libc_memalign): Add memory_memalign_retry probe.
20625 (__libc_valloc): Add memory_valloc_retry probe.
20626 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20627 (__libc_calloc): Add memory_calloc_retry probe.
20628 * manual/probes.texi: Document them.
20630 * malloc/arena.c (get_free_list): Add probe
20631 memory_arena_reuse_free_list.
20632 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20633 and memory_arena_reuse.
20634 (arena_get2) [!PER_THREAD]: Likewise.
20635 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20636 memory_arena_reuse_realloc.
20637 * manual/probes.texi: Document them.
20639 * malloc/malloc.c (__libc_free): Add
20640 memory_mallopt_free_dyn_thresholds probe.
20641 (__libc_mallopt): Add multiple memory_mallopt probes.
20642 * manual/probes.texi: Document them.
20644 * malloc/malloc.c: Include stap-probe.h.
20645 (__libc_mallopt): Add memory_mallopt probe.
20646 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20647 * manual/probes.texi: New.
20648 * manual/Makefile (chapters): Add probes.
20649 * manual/threads.texi: Set next node.
20651 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
20653 [BZ #15963, #13985]
20654 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20655 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20656 Add `Chinese' to `nan' entry name.
20658 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20660 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20661 (POLYNOMIAL): Likewise.
20662 (TAYLOR_SINCOS): Likewise.
20663 (TAYLOR_SLOW): Likewise.
20664 (__sin): Use TAYLOR_SINCOS.
20666 (slow): Use TAYLOR_SLOW.
20668 (bsloww): Likewise.
20669 (csloww): Likewise.
20671 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20673 * stdlib/strtod_l.c: Fix buffer overrun.
20675 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20677 * benchtests/Makefile (bench): Add sincos.
20678 * benchtests/bench-sincos.c: New file.
20680 * math/libm-test.inc (cos_test_data): New test inputs.
20681 (sin_test_data): Likewise.
20683 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20689 (sloww1): Likewise.
20690 (sloww2): Likewise.
20691 (bsloww1): Likewise.
20692 (bsloww2): Likewise.
20693 (cslow2): Likewise.
20694 (csloww1): Likewise.
20695 (csloww2): Likewise.
20697 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20702 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20706 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20708 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20709 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20710 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20711 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20712 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20713 * elf/cache.c (print_entry): Handle the new cache flags.
20715 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20716 Aldy Hernandez <aldyh@redhat.com>
20718 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20719 Change condition to [_SOFT_FLOAT].
20720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20732 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20735 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20738 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20740 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20741 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20742 (__longjmp): Use LOAD_GP to load saved GPRs.
20743 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20744 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20745 (__sigsetjmp): Use SAVE_GP to save GPRs.
20747 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20748 Do not append -msoft-float.
20749 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20751 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20753 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20755 2013-09-17 Joseph Myers <joseph@codesourcery.com>
20758 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20759 (_FPU_GETCW): Use initial "__" on variable and field names but not
20760 on macro parameter name.
20761 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20762 parentheses around reference to macro parameter.
20764 2013-09-13 Richard Sandiford <richard@codesourcery.com>
20766 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20768 (ctype_startup): Use uint32_t in cast and sizeof for
20771 2013-09-11 Jia Liu <proljc@gmail.com>
20773 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20775 [__FreeBSD__]: Likewise.
20777 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
20779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20780 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20781 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20782 (strchr): Remove __strchr_sse42 ifunc selection.
20783 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20784 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20786 2013-09-11 Will Newton <will.newton@linaro.org>
20788 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20789 parameter to RES. Remove hardcoded 1000 value.
20790 * benchtests/bench-skeleton.c (main): Pass RES parameter
20791 to TIMING_INIT and multiply result by 1000.
20793 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20797 2013-09-11 Andreas Schwab <schwab@suse.de>
20799 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20801 (O_TMPFILE) [__USE_GNU]: Define.
20802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20805 2013-09-11 Will Newton <will.newton@linaro.org>
20808 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20811 2013-09-11 Will Newton <will.newton@linaro.org>
20814 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20817 2013-09-11 Will Newton <will.newton@linaro.org>
20820 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20823 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
20825 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20826 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20827 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20828 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20829 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20831 2013-09-10 Allan McRae <allan@archlinux.org>
20834 * manual/arith.texi (Parsing of Floats): Clarify
20838 * manual/install.texi (Running make install): Mention
20840 * INSTALL: Regenerated.
20842 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20844 * csu/init-first.c (_init): Remove the !SHARED condition around
20845 FPU control word initialization.
20846 * elf/dl-support.c (_dl_fpu_control): New variable.
20847 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20848 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20849 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20850 * math/test-fpucw-static.c: New file.
20851 * math/test-fpucw-ieee.c: New file.
20852 * math/test-fpucw-ieee-static.c: New file.
20853 * math/Makefile (tests): Add `test-fpucw-ieee' and
20855 (tests-static): New variable.
20856 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20858 [($(build-shared),yes)]
20859 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20861 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20864 2013-09-09 Allan McRae <allan@archlinux.org>
20867 * manual/string.texi (Collation Functions): Fix typo in
20869 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20872 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20875 * libio/memstream.c (open_memstream): Fix memory leak.
20876 * libio/wmemstream.c (open_wmemstream): Likewise.
20879 * nscd/netgroupcache.c: Fix nesting of ifdefs.
20881 2013-09-09 Will Newton <will.newton@linaro.org>
20883 * malloc/Makefile: Add tst-realloc to tests.
20884 * malloc/tst-realloc.c: New file.
20886 2013-09-09 Allan McRae <allan@archlinux.org>
20889 * COPYING: Update from GNU website to fix FSF address.
20890 * COPYING.LIB: Likewise.
20892 2013-09-06 David S. Miller <davem@davemloft.net>
20894 * po/zh_TW.po: Update Chinese (traditional) translation from
20895 translation project.
20897 2013-09-06 Richard Sandiford <richard@codesourcery.com>
20898 Joseph Myers <joseph@codesourcery.com>
20900 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20902 (obstack_chunk_alloc): New macro.
20903 (obstack_chunk_free): Likewise.
20904 (record_offset): New function.
20905 (init_locale_data): Likewise.
20906 (align_locale_data): Likewise.
20907 (add_locale_empty): Likewise.
20908 (add_locale_raw_data): Likewise.
20909 (add_locale_raw_obstack): Likewise.
20910 (add_locale_string): Likewise.
20911 (add_locale_wstring): Likewise.
20912 (add_locale_uint32): Likewise.
20913 (add_locale_uint32_array): Likewise.
20914 (add_locale_char): Likewise.
20915 (start_locale_structure): Likewise.
20916 (end_locale_structure): Likewise.
20917 (start_locale_prelude): Likewise.
20918 (end_locale_prelude): Likewise.
20919 (write_locale_data): Take locale_file structure rather than an
20921 * locale/programs/locfile.h: Include "obstack.h".
20922 (struct locale_file): Change to store locale file contents instead
20924 (init_locale_data): New prototype.
20925 (align_locale_data): Likewise.
20926 (add_locale_empty): Likewise.
20927 (add_locale_raw_data): Likewise.
20928 (add_locale_raw_obstack): Likewise.
20929 (add_locale_string): Likewise.
20930 (add_locale_wstring): Likewise.
20931 (add_locale_uint32): Likewise.
20932 (add_locale_uint32_array): Likewise.
20933 (add_locale_char): Likewise.
20934 (start_locale_structure): Likewise.
20935 (end_locale_structure): Likewise.
20936 (start_locale_prelude): Likewise.
20937 (end_locale_prelude): Likewise.
20938 (write_locale_data): Update prototype.
20939 * locale/programs/3level.h (struct TABLE): Remove result field.
20940 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20941 Use new locale_file interface.
20942 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20943 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20944 * locale/programs/ld-address.c (address_output): Use new
20945 locale_file interface.
20946 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20948 (collate_finish): Don't call collseq_table_finalize.
20949 (collate_output): Use new locale_file interface.
20950 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20952 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20953 (TABLE): Move defines earlier in file.
20954 (ELEMENT): Likewise.
20955 (DEFAULT): Likewise.
20956 (wctrans_table_add): Move macro and inline function earlier in
20958 (struct wctype_table): Move type earlier in file.
20959 (add_locale_wctype_table): New static prototype.
20960 (struct locale_ctype_t): Use logical types instead of struct iovec
20961 pointers for members.
20962 (ctype_output): Use new locale_file interface.
20963 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20964 new locale_file interface.
20965 (allocate_arrays): Update for use of new locale_file interface.
20966 * locale/programs/ld-identification.c (identification_output): Use
20967 new locale_file interface.
20968 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20969 * locale/programs/ld-messages.c (messages_output): Likewise.
20970 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20971 * locale/programs/ld-name.c (name_output): Likewise.
20972 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20973 * locale/programs/ld-paper.c (paper_output): Likewise.
20974 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20975 * locale/programs/ld-time.c (time_output): Likewise.
20977 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20979 * benchtests/Makefile: Add memrchr benchmark.
20980 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20981 benchmark as memrchr.
20982 * benchtests/bench-memrchr-ifunc.c: New file.
20983 * benchtests/bench-memrchr.c: New file.
20985 2013-09-06 Will Newton <will.newton@linaro.org>
20987 * benchtests/Makefile (string-bench): Add memcpy.
20989 2013-09-05 Carlos O'Donell <carlos@redhat.com>
20990 Cong Wang <amwang@redhat.com>
20993 * sysdeps/unix/sysv/linux/bits/in.h
20994 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20995 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20996 before __USE_KERNEL_IPV6_DEFS uses.
20997 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20999 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21000 sockaddr_in6, or ipv6_mreq.
21002 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21004 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21005 memory access for final bytes in some large inputs.
21006 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21008 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21010 * string/test-memrchr.c: New file.
21011 * string/test-memrchr-ifunc.c: New file.
21012 * string/Makefile: Add new memrchr testcase.
21014 2013-09-05 Mike Frysinger <vapier@gentoo.org>
21016 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21017 fanotify_init returns EPERM.
21019 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21021 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21023 (top level): Treat second token from macro or constant entries for
21024 allowed headers as allowed.
21025 * include/complex.h: Condition internal declarations on
21027 * include/fenv.h: Condition include of <stdbool.h> and internal
21028 declarations on [!_ISOMAC].
21030 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21033 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21035 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21037 * configure.in (--enable-versioning): Remove configure option.
21038 (libc_cv_asm_symver_directive): Remove configure test.
21039 (libc_cv_ld_version_script_option): Likewise.
21040 (VERSIONING): Remove variable and AC_SUBST.
21041 (DO_VERSIONING): Remove AC_DEFINE.
21042 * configure: Regenerated.
21043 * config.h.in (DO_VERSIONING): Remove macro.
21044 * Makerules [$(versioning) = yes]: Change conditionals to
21045 [$(build-shared) = yes].
21046 * config.make.in (versioning): Remove variable.
21047 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21048 [$(build-shared) = yes].
21049 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21050 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21051 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21052 [$(build-shared) = yes].
21053 * extra-lib.mk [$(versioning) = yes]: Likewise.
21054 * hurd/Makefile [$(versioning) = yes]: Likewise.
21055 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21057 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21059 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21060 [SHARED && !NO_HIDDEN].
21061 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21063 [SHARED && DO_VERSIONING]: Likewise..
21064 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21065 [$(build-shared) = yes].
21066 * manual/install.texi (--disable-versioning): Remove
21068 * INSTALL: Regenerated.
21069 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21071 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21072 [$(build-shared) = yes].
21073 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21074 * sysdeps/i386/i686/multiarch/strstr-c.c
21075 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21076 [SHARED && !NO_HIDDEN].
21077 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21078 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21079 * sysdeps/powerpc/powerpc32/dl-machine.c
21080 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21081 * sysdeps/powerpc/powerpc32/sysdep.h
21082 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21083 to [SHARED && PIC && !NO_HIDDEN].
21084 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21085 conditional to [SHARED].
21087 2013-09-04 Will Newton <will.newton@linaro.org>
21089 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21090 * benchtests/bench-string.h: Include bench-timing.h instead
21091 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21092 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21093 call to HP_TIMING_DIFF_INIT.
21094 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21095 instead of hp-timing.h macros.
21096 * benchtests/bench-memchr.c: Likewise.
21097 * benchtests/bench-memcmp.c: Likewise.
21098 * benchtests/bench-memcpy.c: Likewise.
21099 * benchtests/bench-memmem.c: Likewise.
21100 * benchtests/bench-memmove.c: Likewise.
21101 * benchtests/bench-memset.c: Likewise.
21102 * benchtests/bench-rawmemchr.c: Likewise.
21103 * benchtests/bench-strcasecmp.c: Likewise.
21104 * benchtests/bench-strcasestr.c: Likewise.
21105 * benchtests/bench-strcat.c: Likewise.
21106 * benchtests/bench-strchr.c: Likewise.
21107 * benchtests/bench-strcmp.c: Likewise.
21108 * benchtests/bench-strcpy.c: Likewise.
21109 * benchtests/bench-strcpy_chk.c: Likewise.
21110 * benchtests/bench-strlen.c: Likewise.
21111 * benchtests/bench-strncasecmp.c: Likewise.
21112 * benchtests/bench-strncat.c: Likewise.
21113 * benchtests/bench-strncmp.c: Likewise.
21114 * benchtests/bench-strncpy.c: Likewise.
21115 * benchtests/bench-strnlen.c: Likewise.
21116 * benchtests/bench-strpbrk.c: Likewise.
21117 * benchtests/bench-strrchr.c: Likewise.
21118 * benchtests/bench-strspn.c: Likewise.
21119 * benchtests/bench-strstr.c: Likewise.
21121 2013-09-04 Will Newton <will.newton@linaro.org>
21123 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21125 2013-09-03 Joseph Myers <joseph@codesourcery.com>
21128 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21129 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21130 * math/libm-test.inc (lgamma_test_data): Add more tests.
21131 * sysdeps/i386/fpu/libm-test-ulps: Update.
21132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21134 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
21136 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21137 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21140 Add strcmp-sse2-unaligned
21141 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21143 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21145 * Versions.def (libc): Add GLIBC_2.19.
21147 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21149 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21150 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21152 2013-09-02 Joseph Myers <joseph@codesourcery.com>
21155 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21156 intermediate calculations in recurrence.
21157 (__ieee754_ynf): Likewise.
21158 * math/libm-test.inc (jn_test_data): Do not allow spurious
21159 underflow exception. Add more tests.
21160 (yn_test_data): Add more tests.
21161 * sysdeps/i386/fpu/libm-test-ulps: Update.
21162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21164 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
21166 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21168 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21170 * csu/init-first.c: Fix then/than typos.
21171 * locale/programs/ld-collate.c: Likewise.
21172 * locale/programs/linereader.h: Likewise.
21173 * manual/charset.texi: Likewise.
21174 * manual/filesys.texi: Likewise.
21175 * manual/stdio.texi: Likewise.
21176 * manual/string.texi: Likewise.
21177 * stdlib/fmtmsg.c: Likewise.
21178 * sysdeps/i386/stpncpy.S: Likewise.
21179 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21180 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21181 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21182 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21184 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21186 * elf/dl-open.c: Fix typos.
21187 * iconvdata/gbbig5.c: Likewise.
21188 * iconvdata/iso-2022-jp.c: Likewise.
21189 * iconv/gconv_int.h: Likewise.
21190 * iconv/loop.c: Likewise.
21191 * nis/rpcsvc/nis.h: Likewise.
21192 * resolv/ns_name.c: Likewise.
21193 * stdio-common/vfscanf.c: Likewise.
21194 * streams/stropts.h: Likewise.
21195 * sunrpc/rpc_thread.c: Likewise.
21196 * sysdeps/i386/strpbrk.S: Likewise.
21197 * sysdeps/ieee754/k_standard.c: Likewise.
21198 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21200 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21201 * sysdeps/mach/hurd/profil.c: Likewise.
21202 * sysdeps/s390/dl-procinfo.h: Likewise.
21203 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21204 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21205 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21206 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21207 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21209 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21211 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21212 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21214 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21216 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21217 aix specific files.
21218 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21219 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21220 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21221 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21222 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21223 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21224 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21225 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21227 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21228 Roland McGrath <roland@hack.frob.com>
21230 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21231 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21233 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21235 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21236 __executable_start symbol instead of _start.
21238 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21240 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21241 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21243 * sysdeps/gnu/ldsodefs.h: ... this new file.
21245 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21246 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21247 instead of ELFOSABI_LINUX.
21249 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21250 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21251 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21252 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21254 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21255 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21256 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21258 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21259 (ibm_extended_long_double): Add ieee_nan member.
21260 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21261 (do_test): New function.
21263 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21265 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21266 functions, renamed from truncdfsf_test, trunctfsf_test,
21268 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21270 (do_test): Run all these.
21272 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21274 * argp/argp-help.c: Fix typos.
21275 * argp/argp-parse.c: Likewise.
21276 * debug/backtracesyms.c: Likewise.
21277 * elf/elf.h: Likewise.
21278 * malloc/malloc.c: Likewise.
21279 * nis/nis_print.c: Likewise.
21280 * resolv/res_comp.c: Likewise.
21281 * stdlib/stdlib.h: Likewise.
21282 * sunrpc/clnt_tcp.c: Likewise.
21283 * sunrpc/clnt_udp.c: Likewise.
21284 * sunrpc/clnt_unix.c: Likewise.
21285 * sysdeps/unix/bsd/ptsname.c: Likewise.
21286 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21287 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21294 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21296 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21298 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21301 2013-08-27 Mike Frysinger <vapier@gentoo.org>
21304 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21305 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21306 ($(objpfx)bug-dl-leaf): New rule.
21307 ($(objpfx)bug-dl-leaf.so): Likewise.
21308 ($(objpfx)bug-dl-leaf.out): Likewise.
21309 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21310 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21311 * dlfcn/bug-dl-leaf.c: New test.
21312 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21313 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21314 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21315 (dlclose): Likewise.
21316 (dlmopen): Likewise.
21318 2013-08-27 Roland McGrath <roland@hack.frob.com>
21320 * include/netdb.h [!_ISOMAC]:
21321 Don't include <tls.h>.
21322 (h_errno, __libc_h_errno): Move declaration and macros out of
21325 * include/resolv.h [_RESOLV_H_]:
21326 Don't include <tls.h>.
21327 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21328 * resolv/res_libc.c: Don't include <tls.h>.
21329 (_res): Use __attribute__ ((nocommon)) in place of
21330 __attribute__ ((section (".bss"))).
21332 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21333 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21335 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21337 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21338 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21340 * resolv/res_mkquery.c: Include <sys/time.h>.
21342 * inet/ifreq.c: Moved to ...
21343 * sysdeps/unix/ifreq.c: ... here.
21344 * inet/ifreq.c: New file, true stub version.
21346 * socket/sa_len.c: New file.
21347 * socket/Makefile (aux): Add it.
21348 * sysdeps/unix/sysv/linux/Makefile
21349 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21350 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21351 and #include <socket/sa_len.c>.
21352 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21353 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21355 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21356 * bits/socket.h: ... here.
21358 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21359 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21360 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21362 2013-08-27 Andreas Schwab <schwab@suse.de>
21365 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21366 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21367 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21368 * string/test-strcasecmp.c (test_main): Run tests in several
21370 * string/test-strncasecmp.c (test_main): Likewise.
21372 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21373 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21374 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21375 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21376 (__strncasecmp_ssse3) [PIC]: Likewise.
21378 2013-08-26 Roland McGrath <roland@hack.frob.com>
21380 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21382 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21383 instead of explicitly declaring xdecrypt.
21384 * nis/nss_nis/nis-publickey.c: Likewise.
21386 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21389 * nscd/aicache.c: Include res_hconf.h.
21390 (addhstaiX): Initialize res_hconf.
21392 2013-08-26 Andreas Schwab <schwab@suse.de>
21394 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21395 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21397 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21399 * nscd/aicache.c (addhstaiX): Fix indentation.
21401 2013-08-25 Mike Frysinger <vapier@gentoo.org>
21403 * configure.ac: Quote $build_pt_chown test.
21404 * configure: Regenerated.
21406 2013-08-23 Joseph Myers <joseph@codesourcery.com>
21409 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21410 * math/s_cexpf.c (__cexpf): Likewise.
21411 * math/s_cexpl.c (__cexpl): Likewise.
21412 * math/libm-test.inc (cexp_test_data): Correct expected return
21413 value for NaN + i0. Add another test.
21415 2013-08-22 David S. Miller <davem@davemloft.net>
21417 * po/ca.po: Update Catalan translation from translation project.
21418 * po/uk.po: Add Ukrainian translations from translation project.
21420 2013-08-21 Joseph Myers <joseph@codesourcery.com>
21423 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21424 is infinite, not alongside NaN test.
21425 * math/s_fdimf.c (__fdimf): Likewise.
21426 * math/s_fdiml.c (__fdiml): Likewise.
21427 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21428 errno is unchanged.
21430 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
21432 * argp/argp-help.c: Fix typos.
21433 * crypt/speeds.c: Likewise.
21434 * csu/check_fds.c: Likewise.
21435 * elf/dl-load.c: Likewise.
21436 * elf/dl-open.c: Likewise.
21437 * elf/reldep3.c: Likewise.
21438 * elf/reldep.c: Likewise.
21439 * elf/sprof.c: Likewise.
21440 * iconv/iconv_charmap.c: Likewise.
21441 * iconv/skeleton.c: Likewise.
21442 * iconv/strtab.c: Likewise.
21443 * io/lockf64.c: Likewise.
21444 * libio/libioP.h: Likewise.
21445 * resolv/gai_notify.c: Likewise.
21446 * resolv/ns_name.c: Likewise.
21447 * resolv/ns_samedomain.c: Likewise.
21448 * resolv/res_send.c: Likewise.
21449 * stdlib/random.c: Likewise.
21450 * sunrpc/rpc/xdr.h: Likewise.
21451 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21452 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21453 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21454 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21455 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21456 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21457 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21458 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21459 * sysdeps/mach/hurd/check_fds.c: Likewise.
21460 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21461 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21462 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21463 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21464 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21465 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21466 * sysdeps/pthread/aio_notify.c: Likewise.
21467 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21468 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21469 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21470 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21471 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21473 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21475 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21476 version if bit_Slow_SSE4_2 is set.
21477 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21478 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21480 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21483 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21484 trampoline stack frame information.
21485 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21486 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21487 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21488 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21489 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21490 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21491 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21492 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21494 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21495 interrupting a syscall and set with option SA_SIGINFO.
21497 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21500 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21501 argument is infinite.
21502 * math/s_cprojf.c (__cprojf): Likewise.
21503 * math/s_cprojl.c (__cprojl): Likewise.
21504 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21505 * math/libm-test.inc (cproj_test_data): Add more tests.
21507 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21509 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21510 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21511 size. Use __ffs to determine corresponding shift.
21513 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21514 Roland McGrath <roland@hack.frob.com>
21516 * Makefile (INSTALL): Remove trailing blank lines from output of
21519 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21521 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21522 Align 32 bit compat elf_greg to 8 bytes.
21524 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21526 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21528 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21530 * string/strcoll_l.c (coll_seq): New structure.
21531 (get_next_seq_cached): New function.
21532 (get_next_seq): New function.
21533 (do_compare): New function.
21534 (STRCOLL): Use GNU style definition. Simplify implementation
21535 by using get_next_seq, get_next_seq_cached and do_compare.
21537 2013-08-16 Florian Weimer <fweimer@redhat.com>
21541 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21543 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21545 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21546 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21547 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21549 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21550 GETDENTS_64BIT_ALIGNED.
21551 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21552 * manual/filesys.texi (Reading/Closing Directory): Document
21553 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21555 * manual/conf.texi (Limits for Files): Add portability note to
21556 NAME_MAX, PATH_MAX.
21557 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21559 2013-08-13 Andreas Schwab <schwab@suse.de>
21562 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21564 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21565 LDBL_MAX_EXP >= 16384]: Add tests for it.
21567 2013-08-12 David S. Miller <davem@davemloft.net>
21569 * version.h (RELEASE): Set to "development".
21570 (VERSION): Set to "2.18.90".
21571 * NEWS: Add 2.19 section.
21573 2013-08-03 David S. Miller <davem@davemloft.net>
21575 * po/ko.po: Update Korean translation from translation project.
21577 2013-08-01 David S. Miller <davem@davemloft.net>
21579 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21580 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21583 2013-07-30 David S. Miller <davem@davemloft.net>
21585 * po/fr.po: Update French translation from translation project.
21587 2013-07-28 David S. Miller <davem@davemloft.net>
21589 * po/cs.po: Update Czech translation from translation project.
21591 * po/sv.po: Update Swedish translation from translation project.
21593 2013-07-27 David S. Miller <davem@davemloft.net>
21595 * po/eo.po: Update Esperanto translation from translation project.
21597 * po/vi.po: Update Vietnamese translation from translation project.
21599 * po/de.po: Update German translation from translation project.
21601 2013-07-26 David S. Miller <davem@davemloft.net>
21603 * po/bg.po: Update Bulgarian translation from translation project.
21605 * po/nl.po: Update Dutch translation from translation project.
21606 * po/pl.po: Update Polish translation from translation project.
21607 * po/ru.po: Update Russian translation from translation project.
21609 2013-07-24 David S. Miller <davem@davemloft.net>
21611 * po/libc.pot: Update.
21613 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21615 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21616 variable page size.
21617 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21618 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21619 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21621 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21623 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21625 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21626 Andreas Schwab <schwab@suse.de>
21627 Roland McGrath <roland@hack.frob.com>
21628 Joseph Myers <joseph@codesourcery.com>
21629 Carlos O'Donell <carlos@redhat.com>
21632 * config.h.in: Define HAVE_PT_CHOWN.
21633 * config.make.in (build-pt-chown): New variable.
21634 * configure.in (--enable-pt_chown): New configure option.
21635 * configure: Regenerate.
21636 * login/Makefile: Include Makeconfig. Build pt_chown only if
21637 build-pt-chown is enabled.
21638 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21639 pt_chown to fix pty ownership.
21640 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21642 * manual/install.texi (Configuring and compiling): Mention
21643 --enable-pt_chown. Add @findex for grantpt.
21644 * INSTALL: Regenerate.
21646 2013-07-20 David S. Miller <davem@davemloft.net>
21648 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21649 difference between 32-bit and 64-bit.
21651 2013-07-15 Carlos O'Donell <carlos@redhat.com>
21654 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21655 Avoid system header dependency with -ffreestanding.
21656 ($(objpfx)bits/syscall%d): Likewise.
21658 2013-07-13 David S. Miller <davem@davemloft.net>
21660 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21661 underflows from atanl/atan2l due to bug 15319.
21662 (casinh_test_data): Likewise.
21664 2013-07-07 David S. Miller <davem@davemloft.net>
21666 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21668 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21670 * sysdeps/i386/fpu/libm-test-ulps: Update.
21671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21673 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21675 * configure.in (--enable-lock-elision): Fix message text.
21676 * INSTALL: Regenerate.
21677 * configure: Regenerate.
21679 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21683 2013-07-03 Andreas Jaeger <aj@suse.de>
21685 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21687 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21688 (ptrace_peeksiginfo_args): Add.
21689 (__ptrace_peeksiginfo_flags): Add.
21690 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21691 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21692 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21694 2013-07-03 Allan McRae <allan@archlinux.org>
21696 * sysdeps/i386/fpu/libm-test-ulps: Update.
21698 2013-07-02 David S. Miller <davem@davemloft.net>
21700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21702 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21706 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21708 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21711 2013-07-02 Andi Kleen <ak@linux.intel.com>
21713 * config.h.in (ENABLE_LOCK_ELISION): Add.
21714 * configure.in (--enable-lock-elision): Add option.
21715 * manual/install.texi: Document --enable lock elision.
21716 * configure: Regenerate
21717 * INSTALL: Regenerate.
21719 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21721 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21722 SSE4.2 strcasecmp for libc.a.
21723 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21725 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21728 * soft-fp/op-common.h (_FP_FMA): New macro.
21729 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21730 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21731 (_FP_MUL_MEAT_1_imm): ... here.
21732 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21733 (_FP_MUL_MEAT_1_wide): ... here.
21734 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21735 (_FP_MUL_MEAT_1_hard): ... here.
21736 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21737 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21738 (_FP_MUL_MEAT_2_wide): ... here.
21739 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21740 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21741 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21742 (_FP_MUL_MEAT_2_gmp): ... here.
21743 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21744 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21745 (_FP_MUL_MEAT_4_wide): ... here.
21746 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21747 (_FP_MUL_MEAT_4_gmp): ... here.
21748 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21749 (_FP_WFRACBITS_DW_S): Likewise.
21750 (_FP_WFRACXBITS_DW_S): Likewise.
21751 (_FP_HIGHBIT_DW_S): Likewise.
21752 (FP_FMA_S): Likewise.
21753 (_FP_FRAC_HIGH_DW_S): Likewise.
21754 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21755 (_FP_WFRACBITS_DW_D): Likewise.
21756 (_FP_WFRACXBITS_DW_D): Likewise.
21757 (_FP_HIGHBIT_DW_D): Likewise.
21758 (FP_FMA_D): Likewise.
21759 (_FP_FRAC_HIGH_DW_D): Likewise.
21760 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21761 (_FP_WFRACBITS_DW_E): Likewise.
21762 (_FP_WFRACXBITS_DW_E): Likewise.
21763 (_FP_HIGHBIT_DW_E): Likewise.
21764 (FP_FMA_E): Likewise.
21765 (_FP_FRAC_HIGH_DW_E): Likewise.
21766 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21767 (_FP_WFRACBITS_DW_Q): Likewise.
21768 (_FP_WFRACXBITS_DW_Q): Likewise.
21769 (_FP_HIGHBIT_DW_Q): Likewise.
21770 (FP_FMA_Q): Likewise.
21771 (_FP_FRAC_HIGH_DW_Q): Likewise.
21772 * soft-fp/fmasf4.c: New file.
21773 * soft-fp/fmadf4.c: Likewise.
21774 * soft-fp/fmatf4.c: Likewise.
21776 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21779 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21781 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21783 (index_Slow_SSE4_2): Likewise.
21784 (index_Prefer_PMINUB_for_stringop): Likewise.
21785 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21786 bit_Slow_SSE4_2 is set.
21787 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21788 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21790 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21792 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21793 rtld_global._dl_hwcap2.
21794 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21796 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21797 POWER8 feature descriptions defined in _dl_hwcap2.
21798 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21799 string handling for POWER8 feature bits.
21800 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21801 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21802 _dl_powerpc_cap_flags.
21803 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21804 * sysdeps/powerpc/rtld-global-offsets.sym
21805 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21806 _dl_hwcap2 in the rtld_global_ro structure.
21808 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21810 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21811 hardware capabilities in support of AT_HWCAP2.
21812 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21813 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21815 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21816 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21817 explicitly the unknown a_type display mechanism is used.
21818 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21819 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21821 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21822 to macro prototype for AT_HWCAP2 support.
21823 * sysdeps/i386/dl-procinfo.h: Likewise.
21824 * sysdeps/s390/dl-procinfo.h: Likewise.
21825 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21826 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21827 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21828 return -1 for unknown a_type display fallback.
21829 * sysdeps/sparc/dl-procinfo.h: Likewise.
21830 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21831 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21833 2013-06-28 Joseph Myers <joseph@codesourcery.com>
21835 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21836 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21838 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21841 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21842 mprotect making __stack_prot writable.
21844 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21845 Joseph Myers <joseph@codesourcery.com>
21847 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21848 as being properly aligned.
21850 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21852 * dlfcn/modstatic5.c: New file.
21853 * dlfcn/tststatic5.c: New file.
21854 * dlfcn/Makefile (tests): Add tststatic5.
21855 (tests-static): Likewise.
21856 (modules-names): Add modstatic5.
21857 (tststatic5-ENV): New variable.
21858 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21861 * elf/dl-support.c (_dl_main_map): New variable.
21862 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21863 (_dl_nns, _dl_load_adds): Set to 1.
21864 (_dl_initial_searchlist): Refer to _dl_main_map.
21865 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21866 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21867 call to _dl_get_origin.
21868 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21870 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21871 * dlfcn/modstatic3.c: New file.
21872 * dlfcn/tststatic3.c: New file.
21873 * dlfcn/tststatic4.c: New file.
21874 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21875 (tests-static): Likewise.
21876 (modules-names): Add modstatic3.
21877 (tststatic3-ENV, tststatic4-ENV): New variables.
21878 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21879 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21881 2013-06-26 Joseph Myers <joseph@codesourcery.com>
21883 * configure.in (CC): Require GCC version 4.4 or later.
21884 * configure: Regenerated.
21885 * manual/install.texi (Tools for Compilation): Update GCC version
21887 * INSTALL: Regenerated.
21889 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21892 * string/test-memcmp.c (check2): New.
21893 (main): Call check2.
21895 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21897 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
21900 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21902 (dl_open_worker) [!SHARED]: ... here.
21904 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21906 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21908 2013-06-25 Richard Henderson <rth@redhat.com>
21910 * locale/programs/locarchive.c: Include <libc-internal.h>
21912 2013-06-25 Joseph Myers <joseph@codesourcery.com>
21914 * manual/texinfo.tex: Update to version 2013-06-21.17, with
21915 trailing whitespace removed.
21917 2013-06-24 Mike Frysinger <vapier@gentoo.org>
21920 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21921 * locale/programs/locarchive.c: Include libc-mmap.h.
21922 (prepare_address_space): Take two new outputs (the mmap base and len).
21923 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
21925 (create_archive): Declare new mmap base and len values for
21926 prepare_address_space, and store the result in ah.
21927 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21928 (enlarge_archive): If ah->mmap_base is not NULL, use that and
21929 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21930 Declare new mmap base and len values for
21931 prepare_address_space, and store the result in new_ah.
21932 (open_archive): Declare new mmap base and len values for
21933 prepare_address_space, and store the result in ah.
21934 (close_archive): If ah->mmap_base is not NULL, use that and
21935 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21936 * sysdeps/generic/libc-mmap.h: New file.
21938 2013-06-24 Mike Frysinger <vapier@gentoo.org>
21940 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21941 (ALIGN_UP): Likewise.
21942 (PTR_ALIGN_DOWN): Likewise.
21943 (PTR_ALIGN_UP): Likewise.
21945 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21947 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21948 entry mapped to PPC_PLATFORM_POWER8.
21949 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21951 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21952 (_dl_string_platform): Add case for exporting platform position for
21954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21955 search path to sysdeps/powerpc/powerpc32/power8 directory.
21956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21957 search path to sysdeps/powerpc/powerpc64/power8 directory.
21958 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21959 power7 directories.
21960 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21961 power7 directories.
21963 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21965 * INSTALL: Regenerate.
21967 * nscd/connections.c (nscd_init): Fix comment.
21969 2013-06-22 Joseph Myers <joseph@codesourcery.com>
21971 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21974 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21975 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21977 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21979 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21981 (DL_DST_REQ_STATIC): Remove macro.
21983 2013-06-21 Joseph Myers <joseph@codesourcery.com>
21986 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21987 with a shift of 0 bits.
21989 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21991 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21994 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21997 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21999 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22001 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22002 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22003 accepts -fno-tree-loop-distribute-patterns.
22004 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22005 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22007 * string/memset.c (memset): Likewise.
22008 * string/test-memmove.c (simple_memmove): Disable loop transformation
22010 * string/test-memset.c (simple_memset): Likewise.
22011 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22012 * benchtests/bench-memset.c (simple_memset): Likewise.
22013 * configure: Regenerated.
22015 2013-06-20 Joseph Myers <joseph@codesourcery.com>
22017 * math/test-misc.c (main): Ignore fesetround failure when failures
22018 of subsequent rounding tests would be ignored.
22021 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22022 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22023 * math/fegetenv.c (__fegetenv): Return 0.
22024 * math/fegetexcept.c (fegetexcept): Return 0.
22025 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22027 * math/feholdexcpt.c (feholdexcept): Return 0.
22028 * math/fesetenv.c (__fesetenv): Return 0.
22029 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22030 argument FE_TONEAREST.
22031 * math/feupdateenv.c (__feupdateenv): Return 0.
22032 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22034 2013-06-18 Roland McGrath <roland@hack.frob.com>
22036 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22037 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22038 ($(objpfx)rtld-%.os rules): Use them.
22040 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22042 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22045 2013-06-17 Roland McGrath <roland@hack.frob.com>
22047 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22048 length of target pattern, then descending length of dependency pattern.
22049 * configure.in (AWK): Require gawk 3.1.2 or newer.
22050 * manual/install.texi (Tools for Compilation): Say that we do.
22051 * configure: Regenerated.
22053 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22054 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22055 * scripts/sysd-rules.awk: ... this new script.
22056 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22057 than a glob-style pattern.
22059 2013-06-17 Joseph Myers <joseph@codesourcery.com>
22061 * math/test-misc.c (main): Do not treat incorrectly rounded
22062 conversions as failure unless ROUNDING_TESTS passes.
22064 2013-06-15 Joseph Myers <joseph@codesourcery.com>
22067 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22068 restore exception state around main square root computation, then
22069 check for inexactness explicitly.
22071 * math/libm-test.inc (fma_test_data): Add another test.
22073 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22075 * manual/threads.texi (Non-POSIX Extensions): New document
22076 node. Document pthread_getattr_default_np and
22077 pthread_setattr_default_np.
22079 * Versions.def (libpthread): Add GLIBC_2.18.
22080 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22089 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22100 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22103 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22105 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22106 H.J. Lu <hjl.tools@gmail.com>
22109 * sysdeps/x86_64/rtld-memset.c: Remove file.
22110 * sysdeps/x86_64/rtld-memset.S: New file.
22112 2013-06-14 Joseph Myers <joseph@codesourcery.com>
22114 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22115 (test_in_one_mode): Take arguments for whether the rounding mode
22116 is supported for each floating-point type.
22117 (do_test): Pass new arguments to test_in_one_mode using
22120 2013-06-13 Roland McGrath <roland@hack.frob.com>
22122 * posix/tst-waitid.c (do_test): Distinguish different instances of
22123 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22124 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22125 before entering the kernel for waitpid.
22127 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22129 * NEWS: Fix note on clock function precision. Text by Roland
22132 2013-06-13 Roland McGrath <roland@hack.frob.com>
22134 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22135 it into place only when and if the sanity check passes.
22137 2013-06-13 Joseph Myers <joseph@codesourcery.com>
22139 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22140 output for whether conversion result is exact. Take argument
22141 indicating whether type is IBM long double.
22142 (round_for_all): Change need_exact field to ibm_ld.
22143 * stdlib/tst-strtod-round.c (struct exactness): New type.
22144 (struct test): Change bool ld_ok field to struct exactness exact.
22145 (TEST): Update all definitions for change to field.
22146 (tests): Regenerate array contents.
22147 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22148 field value. Check for IBM long double here.
22149 (do_test): Update calls to test_in_one_mode.
22151 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22154 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22155 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22157 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22160 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22161 generated by the compiler on loop optimizations.
22162 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22163 general definitions.
22165 2013-06-12 Joseph Myers <joseph@codesourcery.com>
22167 * math/bug-nextafter.c: Include <math-tests.h>.
22168 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22170 * math/bug-nexttoward.c: Include <math-tests.h>.
22171 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22173 * math/test-misc.c: Include <math-tests.h>.
22174 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22177 2013-06-12 Andreas Jaeger <aj@suse.de>
22179 * po/ia.po: Update Interlingua translation from translation
22182 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22184 * include/fenv.h: Include stdbool.h.
22185 (struct rm_ctx): New structure.
22186 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22188 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22189 (SET_RESTORE_ROUNDF): Likewise.
22190 (SET_RESTORE_ROUNDL): Likewise.
22191 (SET_RESTORE_ROUND_NOEX): Likewise.
22192 (SET_RESTORE_ROUND_NOEXF): Likewise.
22193 (SET_RESTORE_ROUND_NOEXL): Likewise.
22194 (SET_RESTORE_ROUND_53BIT): Likewise.
22195 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22196 (libc_feresetround_noexf_ctx): Likewise.
22197 (libc_feresetround_noexl_ctx): Likewise.
22198 (libc_feholdsetround_53bit_ctx): Likewise.
22199 (libc_feresetround_53bit_ctx): Likewise.
22200 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22201 (libc_feholdexcept_setround_sse_ctx): New function.
22202 (libc_fesetenv_sse_ctx): Likewise.
22203 (libc_feupdateenv_sse_ctx): Likewise.
22204 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22205 (libc_feholdexcept_setround_387_ctx): Likewise.
22206 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22207 (libc_feholdsetround_387_prec_ctx): Likewise.
22208 (libc_feholdsetround_387_ctx): Likewise.
22209 (libc_feholdsetround_387_53bit_ctx): Likewise.
22210 (libc_feholdsetround_sse_ctx): Likewise.
22211 (libc_feresetround_sse_ctx): Likewise.
22212 (libc_feresetround_387_ctx): Likewise.
22213 (libc_feupdateenv_387_ctx): Likewise.
22214 (libc_feholdexcept_setroundf_ctx): Define macro.
22215 (libc_fesetenvf_ctx): Likewise.
22216 (libc_feupdateenvf_ctx): Likewise.
22217 (libc_feholdsetroundf_ctx): Likewise.
22218 (libc_feresetroundf_ctx): Likewise.
22219 (libc_feholdexcept_setround_ctx): Likewise.
22220 (libc_fesetenv_ctx): Likewise.
22221 (libc_feupdateenv_ctx): Likewise.
22222 (libc_feholdsetround_ctx): Likewise.
22223 (libc_feresetround_ctx): Likewise.
22224 (libc_feholdexcept_setroundl_ctx): Likewise.
22225 (libc_feupdateenvl_ctx): Likewise.
22226 (libc_feholdsetroundl_ctx): Likewise.
22227 (libc_feresetroundl_ctx): Likewise.
22228 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22229 (libc_feresetround_53bit_ctx): Likewise.
22231 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22233 * locale/iso-639.def: Convert to UTF-8.
22235 2013-06-11 Joseph Myers <joseph@codesourcery.com>
22237 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22238 (EXCEPTION_TESTS_double): Likewise.
22239 (EXCEPTION_TESTS_long_double): Likewise.
22240 (EXCEPTION_TESTS): Likewise.
22241 * math/libm-test.inc (test_exceptions): Only test exceptions if
22242 EXCEPTION_TESTS (FLOAT).
22244 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22246 * benchtests/Makefile (string-bench): Add strcpy_chk and
22248 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22249 * benchtests/bench-stpcpy_chk.c: New file.
22250 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22251 * benchtests/bench-strcpy_chk.c: New file.
22252 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22254 (do_test): Likewise.
22256 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22258 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22259 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22260 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22261 with tabs where appropriate.
22262 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22264 [PPC_PLATFORM_PPC440]: Likewise.
22265 [PPC_PLATFORM_PPC464]: Likewise.
22266 [PPC_PLATFORM_PPC476]: Likewise.
22267 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22268 ppc464, and ppc476 platform strings merging from ports/
22271 2013-06-11 Andreas Schwab <schwab@suse.de>
22274 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22275 (from_ucs4_idx): Regenerate.
22276 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22277 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22278 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22279 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22280 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22281 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22282 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22283 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22284 from FROM_LOOP and TO_LOOP specific macros.
22285 (BODY): Handle combining characters.
22286 * iconvdata/BIG5HKSCS.irreversible: Update.
22287 * iconvdata/BIG5HKSCS.precomposed: New file.
22288 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22290 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22292 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22294 * include/sys/time.h: Fix indentation and add copyright header.
22296 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22297 (do_test): Likewise.
22298 * string/test-memchr.c (do_one_test): Likewise.
22299 (do_test): Likewise.
22300 * string/test-memcmp.c (do_one_test): Likewise.
22301 (do_test): Likewise.
22302 * string/test-memcpy.c (do_one_test): Likewise.
22303 (do_test): Likewise.
22304 * string/test-memmem.c (do_one_test): Likewise.
22305 (do_test): Likewise.
22306 (do_random_tests): Likewise.
22307 * string/test-memmove.c (do_one_test): Likewise.
22308 (do_test): Likewise.
22309 * string/test-memset.c (do_one_test): Likewise.
22310 (do_test): Likewise.
22311 * string/test-rawmemchr.c (do_one_test): Likewise.
22312 (do_test): Likewise.
22313 * string/test-strcasecmp.c (do_one_test): Likewise.
22314 (do_test): Likewise.
22315 * string/test-strcasestr.c (do_one_test): Likewise.
22316 (do_test): Likewise.
22317 * string/test-strcat.c (do_one_test): Likewise.
22318 (do_test): Likewise.
22319 * string/test-strchr.c (do_one_test): Likewise.
22320 (do_test): Likewise.
22321 * string/test-strcmp.c (do_one_test): Likewise.
22322 (do_test): Likewise.
22323 * string/test-strcpy.c (do_one_test): Likewise.
22324 (do_test): Likewise.
22325 * string/test-string.h: Likewise.
22326 (test_init): Likewise.
22327 * string/test-strlen.c (do_one_test): Likewise.
22328 (do_test): Likewise.
22329 * string/test-strncasecmp.c (do_one_test): Likewise.
22330 (do_test): Likewise.
22331 * string/test-strncat.c (do_one_test): Likewise.
22332 (do_test): Likewise.
22333 * string/test-strncmp.c (do_one_test): Likewise.
22334 (do_test_limit): Likewise.
22335 (do_test): Likewise.
22336 * string/test-strncpy.c (do_one_test): Likewise.
22337 (do_test): Likewise.
22338 * string/test-strnlen.c (do_one_test): Likewise.
22339 (do_test): Likewise.
22340 * string/test-strpbrk.c (do_one_test): Likewise.
22341 (do_test): Likewise.
22342 * string/test-strrchr.c (do_one_test): Likewise.
22343 (do_test): Likewise.
22344 * string/test-strspn.c (do_one_test): Likewise.
22345 (do_test): Likewise.
22346 * string/test-strstr.c (do_one_test): Likewise.
22347 (do_test): Likewise.
22349 * benchtests/Makefile (string-bench): Add string benchmarks.
22350 * benchtests/bench-bcopy-ifunc.c: New file.
22351 * benchtests/bench-bcopy.c: New file.
22352 * benchtests/bench-bzero-ifunc.c: New file.
22353 * benchtests/bench-bzero.c: New file.
22354 * benchtests/bench-memccpy-ifunc.c: New file.
22355 * benchtests/bench-memccpy.c: New file.
22356 * benchtests/bench-memchr-ifunc.c: New file.
22357 * benchtests/bench-memchr.c: New file.
22358 * benchtests/bench-memcmp-ifunc.c: New file.
22359 * benchtests/bench-memcmp.c: New file.
22360 * benchtests/bench-memmem-ifunc.c: New file.
22361 * benchtests/bench-memmem.c: New file.
22362 * benchtests/bench-memmove-ifunc.c: New file.
22363 * benchtests/bench-memmove.c: New file.
22364 * benchtests/bench-mempcpy-ifunc.c: New file.
22365 * benchtests/bench-mempcpy.c: New file.
22366 * benchtests/bench-memset-ifunc.c: New file.
22367 * benchtests/bench-memset.c: New file.
22368 * benchtests/bench-rawmemchr-ifunc.c: New file.
22369 * benchtests/bench-rawmemchr.c: New file.
22370 * benchtests/bench-stpcpy-ifunc.c: New file.
22371 * benchtests/bench-stpcpy.c: New file.
22372 * benchtests/bench-stpncpy-ifunc.c: New file.
22373 * benchtests/bench-stpncpy.c: New file.
22374 * benchtests/bench-strcasecmp-ifunc.c: New file.
22375 * benchtests/bench-strcasecmp.c: New file.
22376 * benchtests/bench-strcasestr-ifunc.c: New file.
22377 * benchtests/bench-strcasestr.c: New file.
22378 * benchtests/bench-strcat-ifunc.c: New file.
22379 * benchtests/bench-strcat.c: New file.
22380 * benchtests/bench-strchr-ifunc.c: New file.
22381 * benchtests/bench-strchr.c: New file.
22382 * benchtests/bench-strchrnul-ifunc.c: New file.
22383 * benchtests/bench-strchrnul.c: New file.
22384 * benchtests/bench-strcmp-ifunc.c: New file.
22385 * benchtests/bench-strcmp.c: New file.
22386 * benchtests/bench-strcpy-ifunc.c: New file.
22387 * benchtests/bench-strcpy.c: New file.
22388 * benchtests/bench-strcspn-ifunc.c: New file.
22389 * benchtests/bench-strcspn.c: New file.
22390 * benchtests/bench-strlen-ifunc.c: New file.
22391 * benchtests/bench-strlen.c: New file.
22392 * benchtests/bench-strncasecmp-ifunc.c: New file.
22393 * benchtests/bench-strncasecmp.c: New file.
22394 * benchtests/bench-strncat-ifunc.c: New file.
22395 * benchtests/bench-strncat.c: New file.
22396 * benchtests/bench-strncmp-ifunc.c: New file.
22397 * benchtests/bench-strncmp.c: New file.
22398 * benchtests/bench-strncpy-ifunc.c: New file.
22399 * benchtests/bench-strncpy.c: New file.
22400 * benchtests/bench-strnlen-ifunc.c: New file.
22401 * benchtests/bench-strnlen.c: New file.
22402 * benchtests/bench-strpbrk-ifunc.c: New file.
22403 * benchtests/bench-strpbrk.c: New file.
22404 * benchtests/bench-strrchr-ifunc.c: New file.
22405 * benchtests/bench-strrchr.c: New file.
22406 * benchtests/bench-strspn-ifunc.c: New file.
22407 * benchtests/bench-strspn.c: New file.
22408 * benchtests/bench-strstr-ifunc.c: New file.
22409 * benchtests/bench-strstr.c: New file.
22411 * benchtests/Makefile: Disable parallel execution of targets.
22412 (string-bench): Add memcpy.
22413 (benchset): New variable to store a list of benchmark sets.
22414 (bench-func): Renamed from bench.
22415 (bench-set): New target.
22416 (bench): Depend on bench-func and bench-set.
22417 * benchtests/README: Add section on benchmark sets.
22418 * benchtests/bench-memcpy-ifunc.c: New file.
22419 * benchtests/bench-memcpy.c: New file.
22420 * benchtests/bench-string.h: New file.
22422 2013-06-11 Andreas Schwab <schwab@suse.de>
22425 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22426 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22427 values in the triple.
22428 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22429 terminator in the group key.
22431 2013-06-11 Andreas Jaeger <aj@suse.de>
22433 * po/zh_TW.po: Update Chinese (traditional) translation from
22434 translation project.
22436 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22438 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22439 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22440 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22441 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22442 (clock_getcpuclockid): Likewise.
22443 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22444 Add weak_alias and libc_hidden_def.
22445 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22446 * rt/clock_gettime.c (clock_gettime): Rename to
22447 __clock_gettime. Add weak_alias and libc_hidden_def.
22448 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22449 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22450 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22451 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22452 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22454 * rt/clock_settime.c (clock_settime): Rename to
22455 __clock_settime. Add weak_alias and libc_hidden_def.
22456 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22458 2013-06-10 Joseph Myers <joseph@codesourcery.com>
22460 * mach/err_boot.sub: Remove trailing whitespace.
22461 * mach/err_ipc.sub: Likewise.
22462 * mach/err_mach.sub: Likewise.
22464 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22465 (ROUNDING_TESTS_double): Likewise.
22466 (ROUNDING_TESTS_long_double): Likewise.
22467 (ROUNDING_TESTS): Likewise.
22468 * math/libm-test.inc: Include <math-tests.h>.
22469 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22470 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22471 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22472 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22474 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22476 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22479 2013-06-08 Joseph Myers <joseph@codesourcery.com>
22481 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22482 otherwise empty TRANS lines.
22483 * sysdeps/gnu/errlist.c: Regenerated.
22485 * catgets/gencat.c (error_print): Use (void) in function
22487 * crypt/crypt_util.c (__init_des): Likewise.
22488 * crypt/speeds.c (Stop): Likewise.
22490 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22491 * inet/ruserpass.c (token): Likewise.
22492 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22493 * intl/localealias.c (extend_alias_table): Likewise.
22494 * intl/plural-exp.c (init_germanic_plural): Likewise.
22495 * libio/fcloseall.c (__fcloseall): Likewise.
22496 * libio/genops.c (_IO_flush_all): Likewise.
22497 (_IO_flush_all_linebuffered): Likewise.
22498 (_IO_cleanup): Likewise.
22499 (_IO_iter_begin): Likewise.
22500 (_IO_iter_end): Likewise.
22501 (_IO_list_lock): Likewise.
22502 (_IO_list_unlock): Likewise.
22503 (_IO_list_resetlock): Likewise.
22504 * libio/getchar.c (getchar): Likewise.
22505 * libio/getchar_u.c (getchar_unlocked): Likewise.
22506 * libio/getwchar.c (getwchar): Likewise.
22507 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22508 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22509 * login/getpt.c (__getpt): Likewise.
22510 * login/tst-utmp.c (main): Likewise.
22511 * malloc/hooks.c (__malloc_check_init): Likewise.
22512 * malloc/malloc.c (__malloc_stats): Likewise.
22513 * malloc/mtrace.c (tr_break): Likewise.
22514 (mtrace): Likewise.
22515 (muntrace): Likewise.
22516 * misc/fstab.c (endfsent): Likewise.
22517 * misc/getclktck.c (__getclktck): Likewise.
22518 * misc/getdtsz.c (__getdtablesize): Likewise.
22519 * misc/gethostid.c (gethostid): Likewise.
22520 * misc/getpagesize.c (__getpagesize): Likewise.
22521 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22522 (__get_nprocs): Likewise.
22523 (__get_phys_pages): Likewise.
22524 (__get_avphys_pages): Likewise.
22525 * misc/getttyent.c (getttyent): Likewise.
22526 (setttyent): Likewise.
22527 (endttyent): Likewise.
22528 * misc/getusershell.c (getusershell): Likewise.
22529 (endusershell): Likewise.
22530 (setusershell): Likewise.
22531 (initshells): Likewise.
22532 * misc/hsearch.c (__hdestroy): Likewise.
22533 * misc/sync.c (sync): Likewise.
22534 * misc/syslog.c (closelog_internal): Likewise.
22535 (closelog): Likewise.
22536 * misc/ttyslot.c (ttyslot): Likewise.
22537 * misc/vhangup.c (vhangup): Likewise.
22538 * posix/fork.c (__fork): Likewise.
22539 * posix/getegid.c (__getegid): Likewise.
22540 * posix/geteuid.c (__geteuid): Likewise.
22541 * posix/getgid.c (__getgid): Likewise.
22542 * posix/getpid.c (__getpid): Likewise.
22543 * posix/getppid.c (__getppid): Likewise.
22544 * posix/getuid.c (__getuid): Likewise.
22545 * posix/pause.c (pause): Likewise.
22546 * posix/setpgrp.c (setpgrp): Likewise.
22547 * posix/setsid.c (__setsid): Likewise.
22548 * posix/test-vfork.c (noop): Likewise.
22549 * resolv/gethnamaddr.c (_endhtent): Likewise.
22550 (_gethtent): Likewise.
22551 (ht_endhostent): Likewise.
22552 (gethostent): Likewise.
22553 (dns_service): Likewise.
22554 * stdlib/drand48.c (drand48): Likewise.
22555 * stdlib/lrand48.c (lrand48): Likewise.
22556 * stdlib/mrand48.c (mrand48): Likewise.
22557 * stdlib/rand.c (rand): Likewise.
22558 * stdlib/random.c (__random): Likewise.
22559 * stdlib/setenv.c (clearenv): Likewise.
22560 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22561 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22562 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22563 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22564 (__get_nprocs): Likewise.
22565 (__get_phys_pages): Likewise.
22566 (__get_avphys_pages): Likewise.
22567 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22568 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22569 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22570 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22571 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22572 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22573 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22574 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22575 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22576 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22577 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22578 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22579 * sysdeps/posix/clock.c (clock): Likewise.
22580 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22581 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22582 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22583 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22584 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22585 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22586 (__get_nprocs_conf): Likewise.
22587 (__get_phys_pages): Likewise.
22588 (__get_avphys_pages): Likewise.
22589 * time/clock.c (clock): Likewise.
22590 * time/tzset.c (__tzname_max): Likewise.
22592 2013-06-07 Joseph Myers <joseph@codesourcery.com>
22594 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22595 (__bswap_32): Do not use "register".
22596 * crypt/crypt.c (_ufc_doit_r): Likewise.
22597 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22598 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22599 * gmon/gmon.c (__monstartup): Likewise.
22600 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22601 * hurd/hurdmalloc.c (more_memory): Likewise.
22602 (malloc): Likewise.
22604 (realloc): Likewise.
22605 (malloc_fork_prepare): Likewise.
22606 (malloc_fork_parent): Likewise.
22607 (malloc_fork_child): Likewise.
22608 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22609 (_svcauth_des): Likewise.
22610 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22611 * inet/inet_net.c (inet_network): Likewise.
22612 * inet/inet_netof.c (inet_netof): Likewise.
22613 * inet/rcmd.c (__validuser2_sa): Likewise.
22614 * io/fts.c (fts_open): Likewise.
22615 (fts_load): Likewise.
22616 (fts_close): Likewise.
22617 (fts_read): Likewise.
22618 (fts_children): Likewise.
22619 (fts_build): Likewise.
22620 (fts_stat): Likewise.
22621 (fts_sort): Likewise.
22622 (fts_alloc): Likewise.
22623 (fts_lfree): Likewise.
22624 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22625 (_IO_file_xsgetn): Likewise.
22626 (_IO_file_xsgetn_mmap): Likewise.
22627 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22628 (_IO_cookie_write): Likewise.
22629 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22630 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22631 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22632 * malloc/obstack.c (_obstack_begin): Likewise.
22633 (_obstack_begin_1): Likewise.
22634 (_obstack_newchunk): Likewise.
22635 (_obstack_allocated_p): Likewise.
22636 (obstack_free): Likewise.
22637 (_obstack_memory_used): Likewise.
22638 * misc/getttyent.c (getttynam): Likewise.
22639 (getttyent): Likewise.
22642 * misc/getusershell.c (initshells): Likewise.
22643 * misc/syslog.c (__vsyslog_chk): Likewise.
22644 * misc/ttyslot.c (ttyslot): Likewise.
22645 * nis/nis_hash.c (__nis_hash): Likewise.
22646 * posix/fnmatch_loop.c (FCT): Likewise.
22647 * posix/getconf.c (print_all): Likewise.
22649 * posix/getopt.c (exchange): Likewise.
22650 * posix/glob.c (globfree): Likewise.
22651 (prefix_array): Likewise.
22652 (__glob_pattern_type): Likewise.
22653 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22654 (NS_GET32): Likewise.
22655 (NS_PUT16): Likewise.
22656 (NS_PUT32): Likewise.
22657 * resolv/gethnamaddr.c (getanswer): Likewise.
22658 (gethostbyname2): Likewise.
22659 (gethostbyaddr): Likewise.
22660 (_gethtent): Likewise.
22661 (_gethtbyname2): Likewise.
22662 (_gethtbyaddr): Likewise.
22663 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22664 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22665 * resolv/res_init.c (__res_vinit): Likewise.
22666 (net_mask): Likewise.
22667 * resolv/res_mkquery.c (outchar): Likewise.
22669 * stdio-common/printf_fp.c (outchar): Likewise.
22671 * stdio-common/printf_fphex.c (outchar): Likewise.
22673 * stdio-common/printf_size.c (outchar): Likewise.
22675 * stdio-common/test_rdwr.c (main): Likewise.
22676 * stdio-common/tfformat.c (matches): Likewise.
22677 * stdio-common/vfprintf.c (outchar): Likewise.
22678 (printf_unknown): Likewise.
22679 (buffered_vfprintf): Likewise.
22680 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22681 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22682 (ReadFile): Likewise.
22683 * stdlib/qsort.c (SWAP): Likewise.
22684 (_quicksort): Likewise.
22685 * stdlib/setenv.c (__add_to_environ): Likewise.
22686 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22687 * stdlib/strtol_l.c (__strtol_l): Likewise.
22688 * stdlib/tst-strtod.c (main): Likewise.
22689 * stdlib/tst-strtol.c (main): Likewise.
22690 * stdlib/tst-strtoll.c (main): Likewise.
22691 * string/bits/string2.h (__strcmp_cc): Likewise.
22692 (__strcmp_cg): Likewise.
22693 (__strcspn_c1): Likewise.
22694 (__strcspn_c2): Likewise.
22695 (__strcspn_c3): Likewise.
22696 (__strspn_c1): Likewise.
22697 (__strspn_c2): Likewise.
22698 (__strspn_c3): Likewise.
22699 (__strsep_1c): Likewise.
22700 (__strsep_2c): Likewise.
22701 (__strsep_3c): Likewise.
22702 * string/memccpy.c (__memccpy): Likewise.
22703 * string/stpcpy.c (__stpcpy): Likewise.
22704 * string/strcmp.c (strcmp): Likewise.
22705 * string/strrchr.c (strrchr): Likewise.
22706 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22708 * sysdeps/mach/hurd/getcwd.c
22709 (_hurd_canonicalize_directory_name_internal): Likewise.
22710 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22711 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22712 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22713 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22714 Likewise, in both definitions.
22715 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22717 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22718 64] (__bswap_64): Likewise.
22719 * time/test_time.c (main): Likewise.
22720 * time/tzfile.c (__tzfile_read): Likewise.
22721 (__tzfile_compute): Likewise.
22722 * time/tzset.c (__tzset_parse_tz): Likewise.
22723 (tzset_internal): Likewise.
22724 (compute_change): Likewise.
22725 * wcsmbs/wcscat.c (__wcscat): Likewise.
22726 * wcsmbs/wcschr.c (wcschr): Likewise.
22727 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22728 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22729 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22730 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22731 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22732 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22733 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22734 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22735 * wcsmbs/wmemset.c (wmemset): Likewise.
22737 2013-06-06 Joseph Myers <joseph@codesourcery.com>
22739 * scripts/config.guess: Update to version 2013-05-16.
22740 * scripts/config.sub: Update to version 2013-04-24.
22741 * scripts/install-sh: Update to version 2011-11-20.07.
22742 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22743 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22745 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
22747 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22748 * elf/sln.c: Likewise.
22749 * hurd/hurd/ioctl.h: Likewise.
22750 * hurd/hurdmalloc.c: Likewise.
22751 * hurd/xattr.c: Likewise.
22752 * include/shlib-compat.h: Likewise.
22753 * inet/ruserpass.c: Likewise.
22754 * libio/iofgets_u.c: Likewise.
22755 * libio/iofgetws_u.c: Likewise.
22756 * locale/programs/ld-identification.c: Likewise.
22757 * locale/programs/ld-time.c: Likewise.
22758 * mach/msg-destroy.c: Likewise.
22759 * nss/nss_files/files-netgrp.c: Likewise.
22760 * resolv/res_data.c: Likewise.
22761 * soft-fp/op-1.h: Likewise.
22762 * soft-fp/op-2.h: Likewise.
22763 * soft-fp/op-4.h: Likewise.
22764 * soft-fp/op-common.h: Likewise.
22765 * stdio-common/printf_fphex.c: Likewise.
22766 * stdlib/strtod_l.c: Likewise.
22767 * sunrpc/rpc/clnt.h: Likewise.
22768 * sysdeps/generic/framestate.c: Likewise.
22769 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22770 * sysdeps/i386/bsd-setjmp.S: Likewise.
22771 * sysdeps/i386/__longjmp.S: Likewise.
22772 * sysdeps/i386/setjmp.S: Likewise.
22773 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22774 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22775 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22776 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22777 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22778 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22779 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22780 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22781 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22782 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22783 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22784 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22786 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22787 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22788 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22789 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22790 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22791 * sysdeps/ieee754/support.c: Likewise.
22792 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22793 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22794 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22795 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22796 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22797 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22798 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22799 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22800 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22801 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22802 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22803 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22804 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22805 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22806 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22807 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22808 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22811 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
22813 * posix/transbug.c: Remove executable mode.
22815 2013-06-05 Joseph Myers <joseph@codesourcery.com>
22817 * crypt/speeds.c: Remove trailing whitespace.
22818 * dlfcn/default.c: Likewise.
22819 * elf/ifuncdep2.c: Likewise.
22820 * elf/ifuncmain1.c: Likewise.
22821 * elf/ifuncmain1vis.c: Likewise.
22822 * elf/testobj.h: Likewise.
22823 * elf/tst-stackguard1.c: Likewise.
22824 * gmon/sys/gmon.h: Likewise.
22825 * hurd/hurdmsg.c: Likewise.
22826 * hurd/new-fd.c: Likewise.
22827 * hurd/ports-get.c: Likewise.
22828 * iconvdata/ibm1008_420.c: Likewise.
22829 * inet/tst-getni1.c: Likewise.
22830 * inet/tst-getni2.c: Likewise.
22831 * libio/ioungetc.c: Likewise.
22832 * libio/wfiledoalloc.c: Likewise.
22833 * manual/libm-err-tab.pl: Likewise.
22834 * math/w_dremf.c: Likewise.
22835 * misc/ftruncate.c: Likewise.
22836 * posix/bug-glob2.c: Likewise.
22837 * posix/tst-pcre.c: Likewise.
22838 * posix/wait4.c: Likewise.
22839 * resolv/README: Likewise.
22840 * resolv/res_debug.h: Likewise.
22841 * resolv/tst-inet_ntop.c: Likewise.
22842 * setjmp/bug269-setjmp.c: Likewise.
22843 * soft-fp/extended.h: Likewise.
22844 * soft-fp/op-1.h: Likewise.
22845 * soft-fp/op-2.h: Likewise.
22846 * soft-fp/op-4.h: Likewise.
22847 * soft-fp/op-8.h: Likewise.
22848 * soft-fp/testit.c: Likewise.
22849 * stdio-common/bug16.c: Likewise.
22850 * stdlib/random.c: Likewise.
22851 * sunrpc/rpcsvc/rquota.x: Likewise.
22852 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22853 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22854 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22855 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22856 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22857 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22858 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22859 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22860 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22861 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22862 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22863 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22864 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22865 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22866 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22868 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22869 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22870 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22871 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22872 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22873 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22874 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22875 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22876 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22877 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22878 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22879 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22880 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22881 * sysdeps/ieee754/s_lib_version.c: Likewise.
22882 * sysdeps/mach/hurd/check_fds.c: Likewise.
22883 * sysdeps/mach/hurd/getsockname.c: Likewise.
22884 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22885 * sysdeps/mach/hurd/recvfrom.c: Likewise.
22886 * sysdeps/powerpc/bits/link.h: Likewise.
22887 * sysdeps/powerpc/dl-procinfo.c: Likewise.
22888 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22889 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22890 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22891 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22892 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22893 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22894 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22895 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22896 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22897 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22898 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22899 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22900 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22901 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22902 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22903 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22904 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22906 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22907 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22908 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22909 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22910 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22911 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22912 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22913 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22914 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22915 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22916 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22917 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22918 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22919 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22920 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22921 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22922 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22923 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22924 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22925 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22926 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22927 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22928 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22929 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22930 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22931 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22932 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22933 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22934 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22935 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22936 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22937 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22939 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22940 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22941 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22942 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22943 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22944 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22945 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22946 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22947 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22948 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22949 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22950 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22951 * sysdeps/powerpc/sysdep.h: Likewise.
22952 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22953 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22954 * sysdeps/sh/dl-trampoline.S: Likewise.
22955 * sysdeps/sh/memset.S: Likewise.
22956 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22957 * sysdeps/sh/strlen.S: Likewise.
22958 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22959 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22960 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22961 * sysdeps/sparc/sparc32/rem.S: Likewise.
22962 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22963 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22964 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22965 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22966 * sysdeps/sparc/sparc32/urem.S: Likewise.
22967 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22968 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22969 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22970 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22971 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22972 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22973 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22974 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22975 * sysdeps/unix/bsd/times.c: Likewise.
22976 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22977 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22981 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22982 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22983 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22984 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22985 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22986 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22987 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22988 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22989 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22990 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22991 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22992 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22993 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22994 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22995 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22996 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22997 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22998 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22999 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23000 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23001 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23002 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23003 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23004 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23005 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23006 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23007 * sysdeps/x86_64/strcspn.S: Likewise.
23009 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23011 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23012 generated file. Regenerate properly from gen-translit.pl.
23013 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23014 locale/C-translit.h.
23016 2013-06-05 Andreas Schwab <schwab@suse.de>
23019 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23020 week as 6 instead of -1.
23021 * time/tst-strptime.c (day_tests): Add test case.
23023 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23025 * sysdeps/generic/math_private.h
23026 (libc_feholdexcept_setround_53bit): Replace with
23027 libc_feholdsetround_53bit.
23028 (libc_feupdateenv_53bit): Replace with
23029 libc_feresetround_53bit.
23030 (SET_RESTORE_ROUND_53BIT): Adjust.
23032 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23034 * string/test-strchrnul.c: Add copyright header.
23036 * posix/tst-getaddrinfo4.c: Increase test timeout.
23038 2013-06-03 Carlos O'Donell <carlos@redhat.com>
23041 * math/libm-test.inc (MAX_EXP): Remove
23043 (ulp): Use MIN_EXP - MANT_DIG.
23044 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23046 2013-05-31 Carlos O'Donell <carlos@redhat.com>
23048 * po/be.po: Revert last change.
23049 * po/zh_CN.po: Likewise.
23050 * po/header.pot: Likewise.
23052 2013-05-31 Joseph Myers <joseph@codesourcery.com>
23054 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23055 link-libc-deps to empty as target-specific variable.
23056 * Makerules (link-libc-args): New variable.
23057 (libc-for-link): Likewise.
23058 (link-libc-deps): Likewise.
23059 (lib%.so): Depend on $(link-libc-deps). Link with
23061 (build-module): Link with $(link-libc-args).
23062 (build-module-asneeded): Likewise.
23063 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23065 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23066 target-specific variable.
23067 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23068 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23069 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23071 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23073 ($(objpfx)libpcprofile.so): Likewise.
23074 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23076 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23077 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23078 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23080 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23081 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23082 * login/Makefile ($(objpfx)libutil.so): Likewise.
23083 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23084 * math/Makefile ($(objpfx)libm.so): Likewise.
23085 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23086 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23087 variable instead of depending directly on libc.
23088 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23089 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23091 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23093 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23094 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23095 ($(objpfx)libanl.so): Likewise.
23096 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23098 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23100 * sysdeps/i386/fpu/Makefile: Remove file.
23101 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23102 ($(objpfx)libm.so): Remove dependency on ld.so.
23104 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
23107 * nis/yp_xdr.c (XDRMAXNAME): Define.
23108 (XDRMAXRECORD): Define.
23109 (xdr_domainname): Use XDRMAXNAME.
23110 (xdr_mapname): Likewise.
23111 (xdr_peername): Likewise.
23112 (xdr_keydat): Use XDRMAXRECORD.
23113 (xdr_valdat): Likewise.
23115 2013-05-30 Jeff Law <law@redhat.com>
23118 * manual/errno.texi (ESTALE): Update to account for more than
23119 just NFS file systems.
23120 * sysdeps/gnu/errlist.c: Regenerated.
23122 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23125 * elf/Makefile (tests): Add tst-null-argv.
23126 (modules-names): Add tst-null-argv-lib.
23127 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23128 (tst-null-argv-ENV): Set environment for tst-null-argv.
23129 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23130 (RTLD_PROGNAME): New macro.
23131 * elf/tst-null-argv.c: New test case.
23132 * elf/tst-null-argv-lib.c: Library for test case.
23133 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23134 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23135 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23136 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23137 * elf/dl-init.c (call_init): Likewise.
23138 (_dl_init): Likewise.
23139 * elf/dl-load.c (print_search_path): Likewise.
23140 (_dl_map_object): Likewise.
23141 * elf/dl-lookup.c (do_lookup_x): Likewise.
23142 (add_dependency): Likewise.
23143 (_dl_lookup_symbol_x): Likewise.
23144 (_dl_debug_bindings): Likewise.
23145 * elf/dl-open.c (_dl_show_scope): Likewise.
23146 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23147 * elf/dl-version.c (match_symbol): Likewise.
23148 (_dl_check_map_versions): Likewise.
23149 * elf/rtld.c (dl_main): Likewise.
23150 (print_unresolved): Use RTLD_PROGNAME.
23151 (print_missing_version): Likewise.
23152 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23153 (elf_machine_rela): Likewise.
23154 * sysdeps/powerpc/powerpc32/dl-machine.c
23155 (__process_machine_rela): Likewise.
23156 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23158 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23160 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23162 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23163 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23165 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23167 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23169 2013-05-28 Carlos O'Donell <carlos@redhat.com>
23171 * po/be.po: Add descriptive title.
23172 * po/zh_CN.po: Likewise.
23173 * po/header.pot: Likewise.
23175 2013-05-28 Mike Frysinger <vapier@gentoo.org>
23177 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23179 (enlarge_archive): Likewise.
23181 2013-05-28 Ben North <ben@redfrontdoor.org>
23183 * manual/arith.texi (frexp): It is the magnitude of the return
23184 value which lies in [0.5, 1), not the return value itself.
23186 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23190 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23192 * stdio-common/bug26.c (main): Correct fscanf template.
23194 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23195 declare _dl_skip_args.
23197 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23200 * manual/platform.texi: Add missing @end deftypefun.
23202 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23205 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23206 bit of mantissa of 2^16382.
23207 * math/libm-test.inc (hypot_test_data): Add more tests.
23209 * math/libm-test.inc: Add drem and pow10 to list of tested
23211 (pow10_test): New function.
23212 (drem_test): Likewise.
23213 (drem_test_tonearest): Likewise.
23214 (drem_test_towardzero): Likewise.
23215 (drem_test_downward): Likewise.
23216 (drem_test_upward): Likewise.
23217 (main): Call the new functions.
23219 * math/libm-test.inc (finite_test_data): Remove.
23220 (finite_test): Run tests from isfinite_test_data.
23221 (gamma_test_data): Remove.
23222 (gamma_test): Run tests from lgamma_test_data.
23223 * sysdeps/i386/fpu/libm-test-ulps: Update.
23224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23226 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23228 * manual/platform.texi: Add PowerPC PPR function set documentation.
23229 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23232 2013-05-24 Carlos O'Donell <carlos@redhat.com>
23234 * math/libm-test.inc (MAX_EXP): Define.
23236 (ulp): New function.
23237 (check_float_internal): Use ULPDIFF.
23238 (cpow_test): Disable failing test.
23239 (check_ulp): Test ulp() implemetnation.
23240 (main): Call check_ulp before starting tests.
23242 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23244 * math/gen-libm-test.pl (generate_testfile): Do not handle
23245 START_DATA and END_DATA.
23246 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23248 (acos_tonearest_test_data): Likewise.
23249 (acos_towardzero_test_data): Likewise.
23250 (acos_downward_test_data): Likewise.
23251 (acos_upward_test_data): Likewise.
23252 (acosh_test_data): Likewise.
23253 (asin_test_data): Likewise.
23254 (asin_tonearest_test_data): Likewise.
23255 (asin_towardzero_test_data): Likewise.
23256 (asin_downward_test_data): Likewise.
23257 (asin_upward_test_data): Likewise.
23258 (asinh_test_data): Likewise.
23259 (atan_test_data): Likewise.
23260 (atanh_test_data): Likewise.
23261 (atan2_test_data): Likewise.
23262 (cabs_test_data): Likewise.
23263 (cacos_test_data): Likewise.
23264 (cacosh_test_data): Likewise.
23265 (carg_test_data): Likewise.
23266 (casin_test_data): Likewise.
23267 (casinh_test_data): Likewise.
23268 (catan_test_data): Likewise.
23269 (catanh_test_data): Likewise.
23270 (cbrt_test_data): Likewise.
23271 (ccos_test_data): Likewise.
23272 (ccosh_test_data): Likewise.
23273 (ceil_test_data): Likewise.
23274 (cexp_test_data): Likewise.
23275 (cimag_test_data): Likewise.
23276 (clog_test_data): Likewise.
23277 (clog10_test_data): Likewise.
23278 (conj_test_data): Likewise.
23279 (copysign_test_data): Likewise.
23280 (cos_test_data): Likewise.
23281 (cos_tonearest_test_data): Likewise.
23282 (cos_towardzero_test_data): Likewise.
23283 (cos_downward_test_data): Likewise.
23284 (cos_upward_test_data): Likewise.
23285 (cosh_test_data): Likewise.
23286 (cosh_tonearest_test_data): Likewise.
23287 (cosh_towardzero_test_data): Likewise.
23288 (cosh_downward_test_data): Likewise.
23289 (cosh_upward_test_data): Likewise.
23290 (cpow_test_data): Likewise.
23291 (cproj_test_data): Likewise.
23292 (creal_test_data): Likewise.
23293 (csin_test_data): Likewise.
23294 (csinh_test_data): Likewise.
23295 (csqrt_test_data): Likewise.
23296 (ctan_test_data): Likewise.
23297 (ctan_tonearest_test_data): Likewise.
23298 (ctan_towardzero_test_data): Likewise.
23299 (ctan_downward_test_data): Likewise.
23300 (ctan_upward_test_data): Likewise.
23301 (ctanh_test_data): Likewise.
23302 (ctanh_tonearest_test_data): Likewise.
23303 (ctanh_towardzero_test_data): Likewise.
23304 (ctanh_downward_test_data): Likewise.
23305 (ctanh_upward_test_data): Likewise.
23306 (erf_test_data): Likewise.
23307 (erfc_test_data): Likewise.
23308 (exp_test_data): Likewise.
23309 (exp_tonearest_test_data): Likewise.
23310 (exp_towardzero_test_data): Likewise.
23311 (exp_downward_test_data): Likewise.
23312 (exp_upward_test_data): Likewise.
23313 (exp10_test_data): Likewise.
23314 (exp2_test_data): Likewise.
23315 (expm1_test_data): Likewise.
23316 (fabs_test_data): Likewise.
23317 (fdim_test_data): Likewise.
23318 (finite_test_data): Likewise.
23319 (floor_test_data): Likewise.
23320 (fma_test_data): Likewise.
23321 (fma_towardzero_test_data): Likewise.
23322 (fma_downward_test_data): Likewise.
23323 (fma_upward_test_data): Likewise.
23324 (fmax_test_data): Likewise.
23325 (fmin_test_data): Likewise.
23326 (fmod_test_data): Likewise.
23327 (fpclassify_test_data): Likewise.
23328 (frexp_test_data): Likewise.
23329 (gamma_test_data): Likewise.
23330 (hypot_test_data): Likewise.
23331 (ilogb_test_data): Likewise.
23332 (isfinite_test_data): Likewise.
23333 (isgreater_test_data): Likewise.
23334 (isgreaterequal_test_data): Likewise.
23335 (isinf_test_data): Likewise.
23336 (isless_test_data): Likewise.
23337 (islessequal_test_data): Likewise.
23338 (islessgreater_test_data): Likewise.
23339 (isnan_test_data): Likewise.
23340 (isnormal_test_data): Likewise.
23341 (issignaling_test_data): Likewise.
23342 (isunordered_test_data): Likewise.
23343 (j0_test_data): Likewise.
23344 (j1_test_data): Likewise.
23345 (jn_test_data): Likewise.
23346 (ldexp_test_data): Likewise.
23347 (lgamma_test_data): Likewise.
23348 (lrint_test_data): Likewise.
23349 (lrint_tonearest_test_data): Likewise.
23350 (lrint_towardzero_test_data): Likewise.
23351 (lrint_downward_test_data): Likewise.
23352 (lrint_upward_test_data): Likewise.
23353 (llrint_test_data): Likewise.
23354 (llrint_tonearest_test_data): Likewise.
23355 (llrint_towardzero_test_data): Likewise.
23356 (llrint_downward_test_data): Likewise.
23357 (llrint_upward_test_data): Likewise.
23358 (log_test_data): Likewise.
23359 (log10_test_data): Likewise.
23360 (log1p_test_data): Likewise.
23361 (log2_test_data): Likewise.
23362 (logb_test_data): Likewise.
23363 (logb_downward_test_data): Likewise.
23364 (lround_test_data): Likewise.
23365 (llround_test_data): Likewise.
23366 (modf_test_data): Likewise.
23367 (nearbyint_test_data): Likewise.
23368 (nextafter_test_data): Likewise.
23369 (nexttoward_test_data): Likewise.
23370 (pow_test_data): Likewise.
23371 (pow_tonearest_test_data): Likewise.
23372 (pow_towardzero_test_data): Likewise.
23373 (pow_downward_test_data): Likewise.
23374 (pow_upward_test_data): Likewise.
23375 (remainder_test_data): Likewise.
23376 (remainder_tonearest_test_data): Likewise.
23377 (remainder_towardzero_test_data): Likewise.
23378 (remainder_downward_test_data): Likewise.
23379 (remainder_upward_test_data): Likewise.
23380 (remquo_test_data): Likewise.
23381 (rint_test_data): Likewise.
23382 (rint_tonearest_test_data): Likewise.
23383 (rint_towardzero_test_data): Likewise.
23384 (rint_downward_test_data): Likewise.
23385 (rint_upward_test_data): Likewise.
23386 (round_test_data): Likewise.
23387 (scalb_test_data): Likewise.
23388 (scalbn_test_data): Likewise.
23389 (scalbln_test_data): Likewise.
23390 (signbit_test_data): Likewise.
23391 (sin_test_data): Likewise.
23392 (sin_tonearest_test_data): Likewise.
23393 (sin_towardzero_test_data): Likewise.
23394 (sin_downward_test_data): Likewise.
23395 (sin_upward_test_data): Likewise.
23396 (sincos_test_data): Likewise.
23397 (sinh_test_data): Likewise.
23398 (sinh_tonearest_test_data): Likewise.
23399 (sinh_towardzero_test_data): Likewise.
23400 (sinh_downward_test_data): Likewise.
23401 (sinh_upward_test_data): Likewise.
23402 (sqrt_test_data): Likewise.
23403 (tan_test_data): Likewise.
23404 (tan_tonearest_test_data): Likewise.
23405 (tan_towardzero_test_data): Likewise.
23406 (tan_downward_test_data): Likewise.
23407 (tan_upward_test_data): Likewise.
23408 (tanh_test_data): Likewise.
23409 (tgamma_test_data): Likewise.
23410 (trunc_test_data): Likewise.
23411 (y0_test_data): Likewise.
23412 (y1_test_data): Likewise.
23413 (yn_test_data): Likewise.
23414 (significand_test_data): Likewise.
23416 * math/gen-libm-test.pl (@functions): Remove variable.
23417 (generate_testfile): Don't handle START and END lines.
23418 * math/libm-test.inc (START): New macro.
23420 (END_COMPLEX): Likewise.
23421 (acos_test): Use END macro without arguments.
23422 (acos_test_tonearest): Likewise.
23423 (acos_test_towardzero): Likewise.
23424 (acos_test_downward): Likewise.
23425 (acos_test_upward): Likewise.
23426 (acosh_test): Likewise.
23427 (asin_test): Likewise.
23428 (asin_test_tonearest): Likewise.
23429 (asin_test_towardzero): Likewise.
23430 (asin_test_downward): Likewise.
23431 (asin_test_upward): Likewise.
23432 (asinh_test): Likewise.
23433 (atan_test): Likewise.
23434 (atanh_test): Likewise.
23435 (atan2_test): Likewise.
23436 (cabs_test): Likewise.
23437 (cacos_test): Use END_COMPLEX macro without arguments.
23438 (cacosh_test): Likewise.
23439 (carg_test): Use END macro without arguments.
23440 (casin_test): Use END_COMPLEX macro without arguments.
23441 (casinh_test): Likewise.
23442 (catan_test): Likewise.
23443 (catanh_test): Likewise.
23444 (cbrt_test): Use END macro without arguments.
23445 (ccos_test): Use END_COMPLEX macro without arguments.
23446 (ccosh_test): Likewise.
23447 (ceil_test): Use END macro without arguments.
23448 (cexp_test): Use END_COMPLEX macro without arguments.
23449 (cimag_test): Use END macro without arguments.
23450 (clog_test): Use END_COMPLEX macro without arguments.
23451 (clog10_test): Likewise.
23452 (conj_test): Likewise.
23453 (copysign_test): Use END macro without arguments.
23454 (cos_test): Likewise.
23455 (cos_test_tonearest): Likewise.
23456 (cos_test_towardzero): Likewise.
23457 (cos_test_downward): Likewise.
23458 (cos_test_upward): Likewise.
23459 (cosh_test): Likewise.
23460 (cosh_test_tonearest): Likewise.
23461 (cosh_test_towardzero): Likewise.
23462 (cosh_test_downward): Likewise.
23463 (cosh_test_upward): Likewise.
23464 (cpow_test): Use END_COMPLEX macro without arguments.
23465 (cproj_test): Likewise.
23466 (creal_test): Use END macro without arguments.
23467 (csin_test): Use END_COMPLEX macro without arguments.
23468 (csinh_test): Likewise.
23469 (csqrt_test): Likewise.
23470 (ctan_test): Likewise.
23471 (ctan_test_tonearest): Likewise.
23472 (ctan_test_towardzero): Likewise.
23473 (ctan_test_downward): Likewise.
23474 (ctan_test_upward): Likewise.
23475 (ctanh_test): Likewise.
23476 (ctanh_test_tonearest): Likewise.
23477 (ctanh_test_towardzero): Likewise.
23478 (ctanh_test_downward): Likewise.
23479 (ctanh_test_upward): Likewise.
23480 (erf_test): Use END macro without arguments.
23481 (erfc_test): Likewise.
23482 (exp_test): Likewise.
23483 (exp_test_tonearest): Likewise.
23484 (exp_test_towardzero): Likewise.
23485 (exp_test_downward): Likewise.
23486 (exp_test_upward): Likewise.
23487 (exp10_test): Likewise.
23488 (exp2_test): Likewise.
23489 (expm1_test): Likewise.
23490 (fabs_test): Likewise.
23491 (fdim_test): Likewise.
23492 (finite_test): Likewise.
23493 (floor_test): Likewise.
23494 (fma_test): Likewise.
23495 (fma_test_towardzero): Likewise.
23496 (fma_test_downward): Likewise.
23497 (fma_test_upward): Likewise.
23498 (fmax_test): Likewise.
23499 (fmin_test): Likewise.
23500 (fmod_test): Likewise.
23501 (fpclassify_test): Likewise.
23502 (frexp_test): Likewise.
23503 (gamma_test): Likewise.
23504 (hypot_test): Likewise.
23505 (ilogb_test): Likewise.
23506 (isfinite_test): Likewise.
23507 (isgreater_test): Likewise.
23508 (isgreaterequal_test): Likewise.
23509 (isinf_test): Likewise.
23510 (isless_test): Likewise.
23511 (islessequal_test): Likewise.
23512 (islessgreater_test): Likewise.
23513 (isnan_test): Likewise.
23514 (isnormal_test): Likewise.
23515 (issignaling_test): Likewise.
23516 (isunordered_test): Likewise.
23517 (j0_test): Likewise.
23518 (j1_test): Likewise.
23519 (jn_test): Likewise.
23520 (ldexp_test): Likewise.
23521 (lgamma_test): Likewise.
23522 (lrint_test): Likewise.
23523 (lrint_test_tonearest): Likewise.
23524 (lrint_test_towardzero): Likewise.
23525 (lrint_test_downward): Likewise.
23526 (lrint_test_upward): Likewise.
23527 (llrint_test): Likewise.
23528 (llrint_test_tonearest): Likewise.
23529 (llrint_test_towardzero): Likewise.
23530 (llrint_test_downward): Likewise.
23531 (llrint_test_upward): Likewise.
23532 (log_test): Likewise.
23533 (log10_test): Likewise.
23534 (log1p_test): Likewise.
23535 (log2_test): Likewise.
23536 (logb_test): Likewise.
23537 (logb_test_downward): Likewise.
23538 (lround_test): Likewise.
23539 (llround_test): Likewise.
23540 (modf_test): Likewise.
23541 (nearbyint_test): Likewise.
23542 (nextafter_test): Likewise.
23543 (nexttoward_test): Likewise.
23544 (pow_test): Likewise.
23545 (pow_test_tonearest): Likewise.
23546 (pow_test_towardzero): Likewise.
23547 (pow_test_downward): Likewise.
23548 (pow_test_upward): Likewise.
23549 (remainder_test): Likewise.
23550 (remainder_test_tonearest): Likewise.
23551 (remainder_test_towardzero): Likewise.
23552 (remainder_test_downward): Likewise.
23553 (remainder_test_upward): Likewise.
23554 (remquo_test): Likewise.
23555 (rint_test): Likewise.
23556 (rint_test_tonearest): Likewise.
23557 (rint_test_towardzero): Likewise.
23558 (rint_test_downward): Likewise.
23559 (rint_test_upward): Likewise.
23560 (round_test): Likewise.
23561 (scalb_test): Likewise.
23562 (scalbn_test): Likewise.
23563 (scalbln_test): Likewise.
23564 (signbit_test): Likewise.
23565 (sin_test): Likewise.
23566 (sin_test_tonearest): Likewise.
23567 (sin_test_towardzero): Likewise.
23568 (sin_test_downward): Likewise.
23569 (sin_test_upward): Likewise.
23570 (sincos_test): Likewise.
23571 (sinh_test): Likewise.
23572 (sinh_test_tonearest): Likewise.
23573 (sinh_test_towardzero): Likewise.
23574 (sinh_test_downward): Likewise.
23575 (sinh_test_upward): Likewise.
23576 (sqrt_test): Likewise.
23577 (tan_test): Likewise.
23578 (tan_test_tonearest): Likewise.
23579 (tan_test_towardzero): Likewise.
23580 (tan_test_downward): Likewise.
23581 (tan_test_upward): Likewise.
23582 (tanh_test): Likewise.
23583 (tgamma_test): Likewise.
23584 (trunc_test): Likewise.
23585 (y0_test): Likewise.
23586 (y1_test): Likewise.
23587 (yn_test): Likewise.
23588 (significand_test): Likewise.
23590 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
23593 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23595 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23598 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23599 __ppc_mdoio and __ppc_mdoom.
23600 * manual/platform.texi: Document new functions __ppc_yield,
23601 __ppc_mdoio and __ppc_mdoom.
23603 2013-05-22 Carlos O'Donell <carlos@redhat.com>
23605 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23606 (main): Mention "tls" pseudo-hwcap is legacy.
23607 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23609 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23611 * math/gen-libm-test.pl (parse_args): Output only string of
23612 arguments as text for test name, not full call or descriptions of
23613 tests for extra outputs.
23614 (generate_testfile): Do not pass function name to parse_args.
23615 Generate this_func variable from START.
23616 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23618 (struct test_ff_f_data): Likewise.
23619 (test_ff_f_data_nexttoward): Likewise.
23620 (struct test_fi_f_data): Likewise.
23621 (struct test_fl_f_data): Likewise.
23622 (struct test_if_f_data): Likewise.
23623 (struct test_fff_f_data): Likewise.
23624 (struct test_c_f_data): Likewise.
23625 (struct test_f_f1_data): Likewise. Remove field extra_name.
23626 (struct test_fF_f1_data): Likewise.
23627 (struct test_ffI_f1_data): Likewise.
23628 (struct test_c_c_data): Rename test_name field to arg_str.
23629 (struct test_cc_c_data): Likewise.
23630 (struct test_f_i_data): Likewise.
23631 (struct test_ff_i_data): Likewise.
23632 (struct test_f_l_data): Likewise.
23633 (struct test_f_L_data): Likewise.
23634 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23636 (COMMON_TEST_SETUP): New macro.
23637 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23638 (COMMON_TEST_CLEANUP): Likewise.
23639 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23640 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23642 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23643 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23645 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23646 (RUN_TEST_fff_f): Take argument string. Call new setup and
23648 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23649 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23651 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23652 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23654 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23655 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23657 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23658 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23660 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23661 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23663 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23664 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23666 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23667 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23669 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23670 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23672 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23673 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23675 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23676 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23678 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23679 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23681 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23682 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23684 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23685 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23687 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23688 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23690 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23691 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23693 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23695 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23697 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23698 to _sifields.sigfault.
23699 (si_addr_lsb): Define new macro.
23700 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23701 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23702 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23704 2013-05-03 Carlos O'Donell <carlos at redhat.com>
23707 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23709 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23711 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23712 loading the domain.
23714 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23716 * math/gen-libm-test.pl (parse_args): Do not include expected
23717 result in test name.
23718 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23719 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23720 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23721 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23722 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23725 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23727 * benchtests/Makefile: Sort function entries.
23729 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23730 tanh, asinh, acosh, atanh.
23731 * benchtests/acos-inputs: New file.
23732 * benchtests/acosh-inputs: New file.
23733 * benchtests/asin-inputs: New file.
23734 * benchtests/asinh-inputs: New file.
23735 * benchtests/atanh-inputs: New file.
23736 * benchtests/cosh-inputs: New file.
23737 * benchtests/log-inputs: New file.
23738 * benchtests/sinh-inputs: New file.
23739 * benchtests/tanh-inputs: New file.
23741 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23744 * posix/tst-getaddrinfo4.c: New test.
23745 * posix/Makefile (tests): Add it.
23747 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23750 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23751 when no services were used.
23752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23753 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23755 2013-05-21 Andreas Schwab <schwab@suse.de>
23758 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23759 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23761 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23762 redundant variable declarations and reallocation of buffer when
23763 parsing as IPv6 address. Always set NSS status when called from
23764 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23765 buffer too small. Correct computation of needed size.
23766 * nss/Makefile (tests): Add test-digits-dots.
23767 * nss/test-digits-dots.c: New test.
23769 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23771 * benchtests/Makefile: Remove instructions for adding
23773 * benchtests/README: New file to explain how to execute and
23774 enhance the benchmark tests.
23776 2013-05-21 Andreas Schwab <schwab@suse.de>
23779 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23780 * setjmp/tst-sigsetjmp.c: New test.
23782 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23784 * sysdeps/x86_64/memset.S (memset): New implementation.
23785 (__bzero): Likewise.
23786 (__memset_tail): New function.
23788 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23790 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23791 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23792 __memcpy_sse2_unaligned ifunc selection.
23793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23794 Add memcpy-sse2-unaligned.S.
23795 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23796 Add: __memcpy_sse2_unaligned.
23798 2013-05-19 Joseph Myers <joseph@codesourcery.com>
23801 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23802 math_force_eval before restoring floating-point envrionment.
23803 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23804 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23806 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23808 (__nearbyintl): Use math_force_eval before restoring
23809 floating-point environment.
23810 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23812 * math/gen-libm-test.pl (special_functions): Remove.
23813 (parse_args): Don't handle TEST_extra. Handle functions with no
23815 * math/libm-test.inc (struct test_sincos_data): Replace with
23816 struct test_fFF_11_data.
23817 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23818 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23819 (sincos_test_data): Change element type to struct
23820 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23821 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23822 RUN_TEST_LOOP_sincos.
23823 * math/README.libm-test: Don't mention special handling of
23824 individual functions.
23825 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23826 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23827 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23828 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23829 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23832 * math/gen-libm-test.pl (get_variable): Remove function.
23833 (parse_args): Don't show pointer parameters to call in test
23834 names. Use "extra output N" in test names for extra outputs
23835 rather than naming variables.
23837 2013-05-18 Joseph Myers <joseph@codesourcery.com>
23840 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23841 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23842 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23844 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23846 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23849 * math/gen-libm-test.pl (@tests): Remove variable.
23850 ($count): Likewise.
23851 (new_test): Remove function.
23852 (show_exceptions): New function.
23853 (special_functions): Use show_exceptions instead of new_test.
23854 (parse_args): Likewise.
23855 (generate_testfile): Pass only function name in generated call to
23856 print_max_error or print_complex_max_error.
23857 (get_ulps): Do not handle complex tests specially.
23858 (output_test): Rename to ...
23859 (get_all_ulps_for_test): ... this. Return a string rather than
23860 printing to a file. Require ulps to be present.
23861 (output_ulps): Generate arrays rather than #defines.
23862 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23863 (struct ulp_data): New type.
23864 (BUILD_COMPLEX_ULP): Remove macro.
23865 (compare_ulp_data): New function.
23866 (find_ulps): Likewise.
23867 (find_test_ulps): Likewise.
23868 (find_function_ulps): Likewise.
23869 (find_complex_function_ulps): Likewise.
23870 (print_max_error): Determine allowed ulps using
23871 find_function_ulps.
23872 (print_complex_max_error): Determine allowed ulps using
23873 find_complex_function_ulps.
23874 (check_float_internal): Determine max ulps using find_test_ulps.
23875 (check_float): Do not take max_ulp parameter. Update call to
23876 check_float_internal.
23877 (check_complex): Likewise.
23878 (check_int): Do not take max_ulp parameter.
23879 (check_long): Likewise.
23880 (check_bool): Likewise.
23881 (check_longlong): Likewise.
23882 (struct test_f_f_data): Remove max_ulp field.
23883 (struct test_ff_f_data): Likewise.
23884 (struct test_ff_f_data_nexttoward): Likewise.
23885 (struct test_fi_f_data): Likewise.
23886 (struct test_fl_f_data): Likewise.
23887 (struct test_if_f_data): Likewise.
23888 (struct test_fff_f_data): Likewise.
23889 (struct test_c_f_data): Likewise.
23890 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23891 (struct test_fF_f1_data): Likewise.
23892 (struct test_ffI_f1_data): Likewise.
23893 (struct test_c_c_data): Remove max_ulp field.
23894 (struct test_cc_c_data): Likewise.
23895 (struct test_f_i_data): Likewise.
23896 (struct test_ff_i_data): Likewise.
23897 (struct test_f_l_data): Likewise.
23898 (struct test_f_L_data): Likewise.
23899 (struct test_sincos_data): Likewise.
23900 (RUN_TEST_f_f): Do not handle ulps.
23901 (RUN_TEST_LOOP_f_f): Likewise.
23902 (RUN_TEST_2_f): Likewise.
23903 (RUN_TEST_LOOP_2_f): Likewise.
23904 (RUN_TEST_fff_f): Likewise.
23905 (RUN_TEST_LOOP_fff_f): Likewise.
23906 (RUN_TEST_c_f): Likewise.
23907 (RUN_TEST_LOOP_c_f): Likewise.
23908 (RUN_TEST_f_f1): Likewise.
23909 (RUN_TEST_LOOP_f_f1): Likewise.
23910 (RUN_TEST_fF_f1): Likewise.
23911 (RUN_TEST_LOOP_fF_f1): Likewise.
23912 (RUN_TEST_fI_f1): Likewise.
23913 (RUN_TEST_LOOP_fI_f1): Likewise.
23914 (RUN_TEST_ffI_f1): Likewise.
23915 (RUN_TEST_LOOP_ffI_f1): Likewise.
23916 (RUN_TEST_c_c): Likewise.
23917 (RUN_TEST_LOOP_c_c): Likewise.
23918 (RUN_TEST_cc_c): Likewise.
23919 (RUN_TEST_LOOP_cc_c): Likewise.
23920 (RUN_TEST_f_i): Likewise.
23921 (RUN_TEST_LOOP_f_i): Likewise.
23922 (RUN_TEST_f_i_tg): Likewise.
23923 (RUN_TEST_LOOP_f_i_tg): Likewise.
23924 (RUN_TEST_ff_i_tg): Likewise.
23925 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23926 (RUN_TEST_f_b): Likewise.
23927 (RUN_TEST_LOOP_f_b): Likewise.
23928 (RUN_TEST_f_b_tg): Likewise.
23929 (RUN_TEST_LOOP_f_b_tg): Likewise.
23930 (RUN_TEST_f_l): Likewise.
23931 (RUN_TEST_LOOP_f_l): Likewise.
23932 (RUN_TEST_f_L): Likewise.
23933 (RUN_TEST_LOOP_f_L): Likewise.
23934 (RUN_TEST_sincos): Likewise.
23935 (RUN_TEST_LOOP_sincos): Likewise.
23937 2013-05-17 Joseph Myers <joseph@codesourcery.com>
23941 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23942 main case of finite arguments, set rounding mode to FE_TONEAREST
23943 and discard exceptions.
23944 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23946 (remainder_tonearest_test_data): New variable.
23947 (remainder_test_tonearest): New function.
23948 (remainder_towardzero_test_data): New variable.
23949 (remainder_test_towardzero): New function.
23950 (remainder_downward_test_data): New variable.
23951 (remainder_test_downward): New function.
23952 (remainder_upward_test_data): New variable.
23953 (remainder_test_upward): New function.
23954 (main): Call the new test functions.
23956 * math/libm-test.inc (struct test_f_f1_data): Remove field
23958 (struct test_fF_f1_data): Likewise.
23959 (struct test_ffI_f1_data): Likewise.
23960 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23961 based on value of EXTRA_EXPECTED.
23962 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23963 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23964 EXTRA_VAR based on value of EXTRA_EXPECTED.
23965 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23966 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23967 EXTRA_VAR based on value of EXTRA_EXPECTED.
23968 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23969 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23970 EXTRA_VAR based on value of EXTRA_EXPECTED.
23971 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23972 * math/gen-libm-test.pl (parse_args): Don't output initializers
23973 for extra output values.
23975 * math/libm-test.inc (check_int): Expect result to be exactly
23976 equal to expected value and do not handle ulps.
23977 (check_long): Likewise.
23978 (check_longlong): Likewise.
23980 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23982 (cimag_test_data): Likewise.
23983 (conj_test_data): Likewise.
23984 (copysign_test_data): Likewise.
23985 (cproj_test_data): Likewise.
23986 (creal_test_data): Likewise.
23987 (fabs_test_data): Likewise.
23988 (fdim_test_data): Likewise.
23989 (finite_test_data): Likewise.
23990 (floor_test_data): Likewise.
23991 (fmax_test_data): Likewise.
23992 (fmin_test_data): Likewise.
23993 (fmod_test_data): Likewise.
23994 (fpclassify_test_data): Likewise.
23995 (frexp_test_data): Likewise.
23996 (ilogb_test_data): Likewise.
23997 (isfinite_test_data): Likewise.
23998 (isgreater_test_data): Likewise.
23999 (isgreaterequal_test_data): Likewise.
24000 (isinf_test_data): Likewise.
24001 (isless_test_data): Likewise.
24002 (islessequal_test_data): Likewise.
24003 (islessgreater_test_data): Likewise.
24004 (isnan_test_data): Likewise.
24005 (isnormal_test_data): Likewise.
24006 (issignaling_test_data): Likewise.
24007 (isunordered_test_data): Likewise.
24008 (ldexp_test_data): Likewise.
24009 (lrint_test_data): Likewise.
24010 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24011 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24012 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24013 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24014 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24015 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24017 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24018 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24019 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24020 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24022 (lrint_downward_test_data): Test for "inexact" exceptions.
24023 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24024 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24025 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24027 (lrint_upward_test_data): Test for "inexact" exceptions.
24028 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24030 (llrint_test_data): Test for "inexact" exceptions.
24031 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24032 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24033 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24034 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24035 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24036 (llrint_downward_test_data): Test for "inexact" exceptions.
24037 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24038 (llrint_upward_test_data): Test for "inexact" exceptions.
24039 (logb_test_data): Likewise.
24040 (logb_downward_test_data): Likewise.
24041 (nextafter_test_data): Likewise.
24042 (nexttoward_test_data): Likewise.
24043 (remainder_test_data): Likewise.
24044 (remquo_test_data): Likewise.
24045 (scalbn_test_data): Likewise.
24046 (scalbln_test_data): Likewise.
24047 (signbit_test_data): Likewise.
24048 (sqrt_test_data): Likewise.
24049 (significand_test_data): Likewise.
24051 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24054 * benchtests/bench-modf.c (struct args): Mark arg0 as
24056 * scripts/bench.pl: Mark members of struct args as volatile.
24058 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24061 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24062 negative infinity on POWER6 or lower.
24063 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24065 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24068 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24069 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24070 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24071 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24072 (_FP_SETQNAN): New macro.
24073 (_FP_SETQNAN_SEMIRAW): Likewise.
24074 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24075 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24076 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24077 (FP_EXTEND): Use _FP_FRAC_SNANP.
24078 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24079 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24081 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24083 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24086 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24088 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24089 with DIVIDE_BY_ZERO_EXCEPTION.
24090 (gamma_test_data): Likewise.
24091 (lgamma_test_data): Likewise.
24092 (log_test_data): Likewise.
24093 (log10_test_data): Likewise.
24094 (log2_test_data): Likewise.
24095 (tgamma_test_data): Likewise.
24097 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24098 (acos_test_tonearest): Likewise.
24099 (acos_test_towardzero): Likewise.
24100 (acos_test_downward): Likewise.
24101 (acos_test_upward): Likewise.
24102 (acosh_test): Likewise.
24103 (asin_test): Likewise.
24104 (asin_test_tonearest): Likewise.
24105 (asin_test_towardzero): Likewise.
24106 (asin_test_downward): Likewise.
24107 (asin_test_upward): Likewise.
24108 (asinh_test): Likewise.
24109 (atan_test): Likewise.
24110 (atanh_test): Likewise.
24111 (atan2_test): Likewise.
24112 (cabs_test): Likewise.
24113 (cacos_test): Likewise.
24114 (cacosh_test): Likewise.
24115 (casin_test): Likewise.
24116 (casinh_test): Likewise.
24117 (catan_test): Likewise.
24118 (catanh_test): Likewise.
24119 (cbrt_test): Likewise.
24120 (ccos_test): Likewise.
24121 (ccosh_test): Likewise.
24122 (cexp_test): Likewise.
24123 (clog_test): Likewise.
24124 (clog10_test): Likewise.
24125 (cos_test): Likewise.
24126 (cos_test_tonearest): Likewise.
24127 (cos_test_towardzero): Likewise.
24128 (cos_test_downward): Likewise.
24129 (cos_test_upward): Likewise.
24130 (cosh_test): Likewise.
24131 (cosh_test_tonearest): Likewise.
24132 (cosh_test_towardzero): Likewise.
24133 (cosh_test_downward): Likewise.
24134 (cosh_test_upward): Likewise.
24135 (cpow_test): Likewise.
24136 (csin_test): Likewise.
24137 (csinh_test): Likewise.
24138 (csqrt_test): Likewise.
24139 (ctan_test): Likewise.
24140 (ctan_test_tonearest): Likewise.
24141 (ctan_test_towardzero): Likewise.
24142 (ctan_test_downward): Likewise.
24143 (ctan_test_upward): Likewise.
24144 (ctanh_test): Likewise.
24145 (ctanh_test_tonearest): Likewise.
24146 (ctanh_test_towardzero): Likewise.
24147 (ctanh_test_downward): Likewise.
24148 (ctanh_test_upward): Likewise.
24149 (erf_test): Likewise.
24150 (erfc_test): Likewise.
24151 (exp_test): Likewise.
24152 (exp_test_tonearest): Likewise.
24153 (exp_test_towardzero): Likewise.
24154 (exp_test_downward): Likewise.
24155 (exp_test_upward): Likewise.
24156 (exp10_test): Likewise.
24157 (exp2_test): Likewise.
24158 (expm1_test): Likewise.
24159 (fmod_test): Likewise.
24160 (gamma_test): Likewise.
24161 (hypot_test): Likewise.
24162 (j0_test): Likewise.
24163 (j1_test): Likewise.
24164 (jn_test): Likewise.
24165 (lgamma_test): Likewise.
24166 (log_test): Likewise.
24167 (log10_test): Likewise.
24168 (log1p_test): Likewise.
24169 (log2_test): Likewise.
24170 (logb_test_downward): Likewise.
24171 (pow_test): Likewise.
24172 (pow_test_tonearest): Likewise.
24173 (pow_test_towardzero): Likewise.
24174 (pow_test_downward): Likewise.
24175 (pow_test_upward): Likewise.
24176 (remainder_test): Likewise.
24177 (remquo_test): Likewise.
24178 (sin_test): Likewise.
24179 (sin_test_tonearest): Likewise.
24180 (sin_test_towardzero): Likewise.
24181 (sin_test_downward): Likewise.
24182 (sin_test_upward): Likewise.
24183 (sincos_test): Likewise.
24184 (sinh_test): Likewise.
24185 (sinh_test_tonearest): Likewise.
24186 (sinh_test_towardzero): Likewise.
24187 (sinh_test_downward): Likewise.
24188 (sinh_test_upward): Likewise.
24189 (sqrt_test): Likewise.
24190 (tan_test): Likewise.
24191 (tan_test_tonearest): Likewise.
24192 (tan_test_towardzero): Likewise.
24193 (tan_test_downward): Likewise.
24194 (tan_test_upward): Likewise.
24195 (tanh_test): Likewise.
24196 (tgamma_test): Likewise.
24197 (y0_test): Likewise.
24198 (y1_test): Likewise.
24199 (yn_test): Likewise.
24201 * math/gen-libm-test.pl (adjust_arg): Remove function.
24202 (special_function): Remove argument $in_func. Only handle
24203 generating output for tables of tests, not inside functions.
24204 (parse_args): Likewise.
24205 (generate_testfile): Remove variable $in_func. Update call to
24207 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24208 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24209 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24210 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24211 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24212 (MAX_VALUE_INIT): Rename macro to max_value.
24213 (MIN_VALUE_INIT): Rename macro to min_value.
24214 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24215 (plus_zero): Remove variable.
24216 (minus_zero): Likewise.
24217 (plus_infty): Likewise.
24218 (minus_infty): Likewise.
24219 (qnan_value): Likewise.
24220 (max_value): Likewise.
24221 (min_value): Likewise.
24222 (min_subnorm_value): Likewise.
24224 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24226 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24227 uint64_t or uint32_t usage.
24228 * crypt/sha256-block.c: Likewise.
24229 * crypt/sha256-crypt.c: Likewise.
24230 * crypt/sha256.c: Likewise.
24231 * crypt/sha512-block.c: Likewise.
24232 * crypt/sha512-crypt.c: Likewise.
24233 * crypt/sha512.c: Likewise.
24234 * debug/backtrace-tst.c: Likewise.
24235 * debug/pcprofiledump.c: Likewise.
24236 * elf/cache.c: Likewise.
24237 * elf/dl-cache.c: Likewise.
24238 * elf/dl-misc.c: Likewise.
24239 * elf/dl-profile.c: Likewise.
24240 * elf/dl-support.c: Likewise.
24241 * elf/ldconfig.c: Likewise.
24242 * elf/sprof.c: Likewise.
24243 * iconv/dummy-repertoire.c: Likewise.
24244 * iconv/iconv_charmap.c: Likewise.
24245 * iconv/skeleton.c: Likewise.
24246 * iconvdata/8bit-generic.c: Likewise.
24247 * iconvdata/cp737.h: Likewise.
24248 * iconvdata/cp775.h: Likewise.
24249 * iconvdata/ibm1008.h: Likewise.
24250 * iconvdata/ibm1025.h: Likewise.
24251 * iconvdata/ibm1046.h: Likewise.
24252 * iconvdata/ibm1097.h: Likewise.
24253 * iconvdata/ibm1112.h: Likewise.
24254 * iconvdata/ibm1122.h: Likewise.
24255 * iconvdata/ibm1123.h: Likewise.
24256 * iconvdata/ibm1124.h: Likewise.
24257 * iconvdata/ibm1129.h: Likewise.
24258 * iconvdata/ibm1130.h: Likewise.
24259 * iconvdata/ibm1132.h: Likewise.
24260 * iconvdata/ibm1133.h: Likewise.
24261 * iconvdata/ibm1137.h: Likewise.
24262 * iconvdata/ibm1140.h: Likewise.
24263 * iconvdata/ibm1141.h: Likewise.
24264 * iconvdata/ibm1142.h: Likewise.
24265 * iconvdata/ibm1143.h: Likewise.
24266 * iconvdata/ibm1144.h: Likewise.
24267 * iconvdata/ibm1145.h: Likewise.
24268 * iconvdata/ibm1146.h: Likewise.
24269 * iconvdata/ibm1147.h: Likewise.
24270 * iconvdata/ibm1148.h: Likewise.
24271 * iconvdata/ibm1149.h: Likewise.
24272 * iconvdata/ibm1153.h: Likewise.
24273 * iconvdata/ibm1154.h: Likewise.
24274 * iconvdata/ibm1155.h: Likewise.
24275 * iconvdata/ibm1156.h: Likewise.
24276 * iconvdata/ibm1157.h: Likewise.
24277 * iconvdata/ibm1158.h: Likewise.
24278 * iconvdata/ibm1160.h: Likewise.
24279 * iconvdata/ibm1161.h: Likewise.
24280 * iconvdata/ibm1162.h: Likewise.
24281 * iconvdata/ibm1163.h: Likewise.
24282 * iconvdata/ibm1164.h: Likewise.
24283 * iconvdata/ibm1166.h: Likewise.
24284 * iconvdata/ibm1167.h: Likewise.
24285 * iconvdata/ibm12712.h: Likewise.
24286 * iconvdata/ibm1390.h: Likewise.
24287 * iconvdata/ibm1399.h: Likewise.
24288 * iconvdata/ibm16804.h: Likewise.
24289 * iconvdata/ibm4517.h: Likewise.
24290 * iconvdata/ibm4899.h: Likewise.
24291 * iconvdata/ibm4909.h: Likewise.
24292 * iconvdata/ibm4971.h: Likewise.
24293 * iconvdata/ibm5347.h: Likewise.
24294 * iconvdata/ibm803.h: Likewise.
24295 * iconvdata/ibm856.h: Likewise.
24296 * iconvdata/ibm901.h: Likewise.
24297 * iconvdata/ibm902.h: Likewise.
24298 * iconvdata/ibm9030.h: Likewise.
24299 * iconvdata/ibm9066.h: Likewise.
24300 * iconvdata/ibm921.h: Likewise.
24301 * iconvdata/ibm922.h: Likewise.
24302 * iconvdata/ibm9448.h: Likewise.
24303 * iconvdata/isiri-3342.h: Likewise.
24304 * iconvdata/jis0201.h: Likewise.
24305 * include/link.h: Likewise.
24306 * include/netdb.h: Likewise.
24307 * inet/check_native.c: Likewise.
24308 * inet/check_pf.c: Likewise.
24309 * inet/getipv4sourcefilter.c: Likewise.
24310 * inet/getnameinfo.c: Likewise.
24311 * inet/getsourcefilter.c: Likewise.
24312 * inet/htonl.c: Likewise.
24313 * inet/setipv4sourcefilter.c: Likewise.
24314 * inet/setsourcefilter.c: Likewise.
24315 * inet/test-inet6_opt.c: Likewise.
24316 * inet/tst-network.c: Likewise.
24317 * locale/C-collate.c: Likewise.
24318 * locale/C-ctype.c: Likewise.
24319 * locale/C-time.c: Likewise.
24320 * locale/C-translit.h: Likewise.
24321 * locale/loadarchive.c: Likewise.
24322 * locale/programs/3level.h: Likewise.
24323 * locale/programs/charmap.c: Likewise.
24324 * locale/programs/charmap.h: Likewise.
24325 * locale/programs/ld-address.c: Likewise.
24326 * locale/programs/ld-collate.c: Likewise.
24327 * locale/programs/ld-ctype.c: Likewise.
24328 * locale/programs/ld-identification.c: Likewise.
24329 * locale/programs/ld-measurement.c: Likewise.
24330 * locale/programs/ld-messages.c: Likewise.
24331 * locale/programs/ld-monetary.c: Likewise.
24332 * locale/programs/ld-name.c: Likewise.
24333 * locale/programs/ld-numeric.c: Likewise.
24334 * locale/programs/ld-paper.c: Likewise.
24335 * locale/programs/ld-telephone.c: Likewise.
24336 * locale/programs/ld-time.c: Likewise.
24337 * locale/programs/linereader.c: Likewise.
24338 * locale/programs/locale.c: Likewise.
24339 * locale/programs/locarchive.c: Likewise.
24340 * locale/programs/locfile.h: Likewise.
24341 * locale/programs/repertoire.c: Likewise.
24342 * locale/programs/simple-hash.c: Likewise.
24343 * locale/programs/simple-hash.h: Likewise.
24344 * malloc/memusage.c: Likewise.
24345 * malloc/memusagestat.c: Likewise.
24346 * nis/nis_defaults.c: Likewise.
24347 * nis/nis_hash.c: Likewise.
24348 * nis/nis_print.c: Likewise.
24349 * nis/nis_xdr.c: Likewise.
24350 * nscd/connections.c: Likewise.
24351 * nscd/hstcache.c: Likewise.
24352 * nscd/nscd_gethst_r.c: Likewise.
24353 * nscd/nscd_getserv_r.c: Likewise.
24354 * nscd/nscd_helper.c: Likewise.
24355 * nscd/servicescache.c: Likewise.
24356 * nss/makedb.c: Likewise.
24357 * nss/nss_db/db-XXX.c: Likewise.
24358 * nss/nss_db/db-initgroups.c: Likewise.
24359 * nss/nss_db/db-netgrp.c: Likewise.
24360 * nss/nss_files/files-network.c: Likewise.
24361 * nss/nss_files/files-parse.c: Likewise.
24362 * posix/bug-regex5.c: Likewise.
24363 * posix/fnmatch_loop.c: Likewise.
24364 * posix/regcomp.c: Likewise.
24365 * posix/regexec.c: Likewise.
24366 * posix/tst-rfc3484-2.c: Likewise.
24367 * posix/tst-rfc3484-3.c: Likewise.
24368 * posix/tst-rfc3484.c: Likewise.
24369 * resolv/nss_dns/dns-canon.c: Likewise.
24370 * resolv/nss_dns/dns-network.c: Likewise.
24371 * resolv/res_init.c: Likewise.
24372 * resolv/res_mkquery.c: Likewise.
24373 * resolv/tst-aton.c: Likewise.
24374 * stdlib/cxa_atexit.c: Likewise.
24375 * stdlib/cxa_finalize.c: Likewise.
24376 * stdlib/gen-fpioconst.c: Likewise.
24377 * stdlib/strtol_l.c: Likewise.
24378 * string/tst-endian.c: Likewise.
24379 * sunrpc/auth_des.c: Likewise.
24380 * sunrpc/clnt_udp.c: Likewise.
24381 * sunrpc/rtime.c: Likewise.
24382 * sunrpc/svcauth_des.c: Likewise.
24383 * sunrpc/xdr.c: Likewise.
24384 * sunrpc/xdr_intXX_t.c: Likewise.
24385 * sunrpc/xdr_rec.c: Likewise.
24386 * sysdeps/generic/ldconfig.h: Likewise.
24387 * sysdeps/generic/ldsodefs.h: Likewise.
24388 * sysdeps/generic/memusage.h: Likewise.
24389 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24390 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24391 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24392 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24393 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24395 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24396 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24397 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24398 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24399 * sysdeps/posix/getaddrinfo.c: Likewise.
24400 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24401 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24402 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24403 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24404 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24405 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24406 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24407 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24408 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24409 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24410 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24411 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24412 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24413 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24414 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24415 * sysdeps/x86_64/dl-tls.h: Likewise.
24416 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24417 * time/alt_digit.c: Likewise.
24418 * time/era.c: Likewise.
24419 * wcsmbs/tst-c16c32-1.c: Likewise.
24421 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24423 * math/libm-test.inc (struct test_sincos_data): New type.
24424 (RUN_TEST_LOOP_sincos): New macro.
24425 (sincos_test_data): New variable.
24426 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24428 2013-05-16 Richard Henderson <rth@redhat.com>
24430 * math/atest-exp2.c (LIMB64): New macro.
24431 (CONSTSZ): New macro.
24432 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24434 (print_mpn_fp): ... to function scope.
24435 (read_mpn_hex): Remove.
24436 (get_log2): Remove.
24437 (exp2_mpn): Use mp_log2.
24438 (main): Use mp_exp1.
24440 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24442 * math/libm-test.inc: Remove comment about not testing "inexact"
24444 (INEXACT_EXCEPTION): New macro.
24445 (NO_INEXACT_EXCEPTION): Likewise.
24446 (INVALID_EXCEPTION_OK): Update value.
24447 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24448 (OVERFLOW_EXCEPTION_OK): Likewise.
24449 (UNDERFLOW_EXCEPTION_OK): Likewise.
24450 (IGNORE_ZERO_INF_SIGN): Likewise.
24451 (ERRNO_UNCHANGED): Likewise.
24452 (ERRNO_EDOM): Likewise.
24453 (ERRNO_ERANGE): Likewise.
24454 (test_exceptions): Handle testing "inexact" exceptions.
24455 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24456 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24457 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24458 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24460 (rint_towardzero_test_data): Likewise.
24461 (rint_downward_test_data): Likewise.
24462 (rint_upward_test_data): Likewise.
24464 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24465 with OVERFLOW_EXCEPTION.
24466 (exp10_test_data): Likewise.
24467 (exp2_test_data): Likewise.
24468 (expm1_test_data): Likewise.
24469 (lgamma_test_data): Likewise.
24470 (pow_test_data): Likewise.
24471 (tgamma_test_data): Likewise.
24472 (yn_test_data): Remove duplicate test of overflow.
24474 * math/libm-test.inc (struct test_cc_c_data): New type.
24475 (RUN_TEST_LOOP_cc_c): New macro.
24476 (cpow_test_data): New variable.
24477 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24479 * math/libm-test.inc (struct test_f_L_data): New type.
24480 (RUN_TEST_LOOP_f_L): New macro.
24481 (llrint_test_data): New variable.
24482 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24483 (llrint_tonearest_test_data): New variable.
24484 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24485 (llrint_towardzero_test_data): New variable.
24486 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24487 (llrint_downward_test_data): New variable.
24488 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24489 (llrint_upward_test_data): New variable.
24490 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24491 (llround_test_data): New variable.
24492 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24494 2013-05-13 Peter Collingbourne <pcc@google.com>
24496 * math/atest-exp2.c (get_log2): Remove const attribute.
24498 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24500 * math/libm-test.inc (struct test_f_l_data): New type.
24501 (RUN_TEST_LOOP_f_l): New macro.
24502 (lrint_test_data): New variable.
24503 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24504 (lrint_tonearest_test_data): New variable.
24505 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24506 (lrint_towardzero_test_data): New variable.
24507 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24508 (lrint_downward_test_data): New variable.
24509 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24510 (lrint_upward_test_data): New variable.
24511 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24512 (lround_test_data): New variable.
24513 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24515 2013-05-15 Peter Collingbourne <pcc@google.com>
24517 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24518 (EXTRACT_WORDS64) Use where appropriate.
24519 (INSERT_WORDS64) Likewise.
24521 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24522 constraints with x constraints.
24523 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24525 * malloc/obstack.c (_obstack_compat): Add initializer.
24527 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24529 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24530 si_trapno and add si_addr_lsb to _sifields.sigfault.
24531 (si_trapno): Remove macro.
24532 (si_addr_lsb): Define new macro.
24533 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24535 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24537 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24538 instead of TEST_f_l.
24539 (llrint_test_tonearest): Likewise.
24540 (llrint_test_towardzero): Likewise.
24541 (llrint_test_downward): Likewise.
24542 (llrint_test_upward): Likewise.
24543 (llround_test): Likewise.
24545 * math/libm-test.inc (struct test_f_i_data): Add comment.
24546 (RUN_TEST_LOOP_f_b): New macro.
24547 (RUN_TEST_LOOP_f_b_tg): Likewise.
24548 (finite_test_data): New variable.
24549 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24550 (isfinite_test_data): New variable.
24551 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24552 (isinf_test_data): New variable.
24553 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24554 (isnan_test_data): New variable.
24555 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24556 (isnormal_test_data): New variable.
24557 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24558 (issignaling_test_data): New variable.
24559 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24560 (signbit_test_data): New variable.
24561 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24563 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24564 with INVALID_EXCEPTION.
24565 (acosh_test_data): Likewise.
24566 (asin_test_data): Likewise.
24567 (atanh_test_data): Likewise.
24568 (fmod_test_data): Likewise.
24569 (log_test_data): Likewise.
24570 (log10_test_data): Likewise.
24571 (log2_test_data): Likewise.
24572 (pow_test_data): Likewise.
24573 (sqrt_test_data): Likewise.
24574 (y0_test_data): Likewise.
24575 (y1_test_data): Likewise.
24576 (yn_test_data): Likewise.
24578 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24581 * math/libm-test.inc (struct test_ff_i_data): New type.
24582 (RUN_TEST_LOOP_ff_i_tg): New macro.
24583 (isgreater_test_data): New variable.
24584 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24585 (isgreaterequal_test_data): New variable.
24586 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24587 (isless_test_data): New variable.
24588 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24589 (islessequal_test_data): New variable.
24590 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24591 (islessgreater_test_data): New variable.
24592 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24593 (isunordered_test_data): New variable.
24594 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24596 2013-05-14 David S. Miller <davem@davemloft.net>
24598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24600 2013-05-14 Joseph Myers <joseph@codesourcery.com>
24602 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24604 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24606 (struct test_f_i_data): Change type of max_ulp to int.
24608 * math/libm-test.inc (test_ffI_f1_data): New type.
24609 (RUN_TEST_LOOP_ffI_f1): New macro.
24610 (remquo_test_data): New variable.
24611 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24613 * setjmp/tst-setjmp-fp.c: New file.
24614 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24615 (link-libm): New variable.
24616 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24618 * math/libm-test.inc (struct test_f_i_data): New type.
24619 (RUN_TEST_LOOP_f_i): New macro.
24620 (RUN_TEST_LOOP_f_i_tg): Likewise.
24621 (fpclassify_test_data): New variable.
24622 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24623 (ilogb_test_data): New variable.
24624 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24626 * math/libm-test.inc (scalbln_test): Correct function name in END
24629 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24630 (RUN_TEST_LOOP_fI_f1): New macro.
24631 (frexp_test_data): New variable.
24632 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24634 * math/libm-test.inc (struct test_fF_f1_data): New type.
24635 (RUN_TEST_LOOP_fF_f1): New macro.
24636 (modf_test_data): New variable.
24637 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24639 * math/libm-test.inc (struct test_f_f1_data): New type.
24640 (RUN_TEST_LOOP_f_f1): New macro.
24641 (gamma_test_data): New variable.
24642 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24643 (lgamma_test_data): New variable.
24644 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24646 2013-05-13 Carlos O'Donell <carlos@redhat.com>
24648 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24649 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24650 (main): Comment "tls" pseudo-hwcap.
24652 2013-05-13 Joseph Myers <joseph@codesourcery.com>
24654 * math/libm-test.inc (struct test_fl_f_data): New type.
24655 (RUN_TEST_LOOP_fl_f): New variable.
24656 (scalbln_test_data): New variable.
24657 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24659 * math/libm-test.inc (struct test_fi_f_data): New type.
24660 (RUN_TEST_LOOP_fi_f): New macro.
24661 (ldexp_test_data): New variable.
24662 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24663 (scalbn_test_data): New variable.
24664 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24666 * math/libm-test.inc (struct test_c_f_data): New type.
24667 (RUN_TEST_LOOP_c_f): New macro.
24668 (cabs_test_data): New variable.
24669 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24670 (carg_test_data): New variable.
24671 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24672 (cimag_test_data): New variable.
24673 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24674 (creal_test_data): New variable.
24675 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24677 * math/libm-test.inc (struct test_if_f_data): New type.
24678 (RUN_TEST_LOOP_if_f): New macro.
24679 (jn_test_data): New variable.
24680 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24681 (yn_test_data): New variable.
24682 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24684 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24686 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24688 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24689 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24691 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24693 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24694 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24695 (bench-deps): Add bench-timing.h.
24696 * benchtests-bench-skeleton.c: Include bench-timing.h.
24697 (main): Use TIMING_* macros instead of clock_gettime.
24698 * benchtests/bench-timing.h: New file.
24701 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24702 Renamed from _LIB_VERSION.
24703 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24705 2013-05-12 Joseph Myers <joseph@codesourcery.com>
24707 * math/libm-test.inc (struct test_fff_f_data): New type.
24708 (RUN_TEST_LOOP_fff_f): New macro.
24709 (fma_test_data): New variable.
24710 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24711 (fma_towardzero_test_data): New variable.
24712 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24713 (fma_downward_test_data): New variable.
24714 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24715 (fma_upward_test_data): New variable.
24716 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24718 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24719 (struct test_c_c_data): New type.
24720 (RUN_TEST_LOOP_c_c): New macro.
24721 (cacos_test_data): New variable.
24722 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24723 (cacosh_test_data): New variable.
24724 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24725 (casin_test_data): New variable.
24726 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24727 (casinh_test_data): New variable.
24728 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24729 (catan_test_data): New variable.
24730 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24731 (catanh_test_data): New variable.
24732 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24733 (ccos_test_data): New variable.
24734 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24735 (ccosh_test_data): New variable.
24736 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24737 (cexp_test_data): New variable.
24738 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24739 (clog_test_data): New variable.
24740 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24741 (clog10_test_data): New variable.
24742 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24743 (conj_test_data): New variable.
24744 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24745 (cproj_test_data): New variable.
24746 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24747 (csin_test_data): New variable.
24748 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24749 (csinh_test_data): New variable.
24750 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24751 (csqrt_test_data): New variable.
24752 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24753 (ctan_test_data): New variable.
24754 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24755 (ctan_tonearest_test_data): New variable.
24756 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24757 (ctan_towardzero_test_data): New variable.
24758 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24759 (ctan_downward_test_data): New variable.
24760 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24761 (ctan_upward_test_data): New variable.
24762 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24763 (ctanh_test_data): New variable.
24764 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24765 (ctanh_tonearest_test_data): New variable.
24766 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24767 (ctanh_towardzero_test_data): New variable.
24768 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24769 (ctanh_downward_test_data): New variable.
24770 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24771 (ctanh_upward_test_data): New variable.
24772 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24773 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24776 * math/libm-test.inc (struct test_ff_f_data): New type.
24777 (struct test_ff_f_data_nexttoward): Likewise.
24778 (RUN_TEST_LOOP_2_f): New macro.
24779 (RUN_TEST_LOOP_ff_f): Likewise.
24780 (atan2_test_data): New variable.
24781 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24782 (copysign_test_data): New variable.
24783 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24784 (fdim_test_data): New variable.
24785 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24786 (fmax_test_data): New variable.
24787 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24788 (fmin_test_data): New variable.
24789 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24790 (fmod_test_data): New variable.
24791 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24792 (hypot_test_data): New variable.
24793 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24794 (nextafter_test_data): New variable.
24795 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24796 (nexttoward_test_data): New variable.
24797 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24798 (pow_test_data): New variable.
24799 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24800 (pow_tonearest_test_data): New variable.
24801 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24802 (pow_towardzero_test_data): New variable.
24803 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24804 (pow_downward_test_data): New variable.
24805 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24806 (pow_upward_test_data): New variable.
24807 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24808 (remainder_test_data): New variable.
24809 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24810 (scalb_test_data): New variable.
24811 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24812 * sysdeps/i386/fpu/libm-test-ulps: Update.
24814 2013-05-11 Joseph Myers <joseph@codesourcery.com>
24816 * math/libm-test.inc (fma_test): Use max_value instead of local
24818 (nextafter_test): Likewise.
24820 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24821 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24822 (acos_downward_test_data): New variable.
24823 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24824 (acos_upward_test_data): New variable.
24825 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24826 (acosh_test_data): New variable.
24827 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24828 (asin_test_data): New variable.
24829 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24830 (asin_tonearest_test_data): New variable.
24831 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24832 (asin_towardzero_test_data): New variable.
24833 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24834 (asin_downward_test_data): New variable.
24835 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24836 (asin_upward_test_data): New variable.
24837 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24838 (asinh_test_data): New variable.
24839 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24840 (atan_test_data): New variable.
24841 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24842 (atanh_test_data): New variable.
24843 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24844 (cbrt_test_data): New variable.
24845 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24846 (ceil_test_data): New variable.
24847 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24848 (cos_test_data): New variable.
24849 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24850 (cos_tonearest_test_data): New variable.
24851 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24852 (cos_towardzero_test_data): New variable.
24853 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24854 (cos_downward_test_data): New variable.
24855 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24856 (cos_upward_test_data): New variable.
24857 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24858 (cosh_test_data): New variable.
24859 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24860 (cosh_tonearest_test_data): New variable.
24861 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24862 (cosh_towardzero_test_data): New variable.
24863 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24864 (cosh_downward_test_data): New variable.
24865 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24866 (cosh_upward_test_data): New variable.
24867 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24868 (erf_test_data): New variable.
24869 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24870 (erfc_test_data): New variable.
24871 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24872 (exp_test_data): New variable.
24873 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24874 (exp_tonearest_test_data): New variable.
24875 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24876 (exp_towardzero_test_data): New variable.
24877 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24878 (exp_downward_test_data): New variable.
24879 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24880 (exp_upward_test_data): New variable.
24881 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24882 (exp10_test_data): New variable.
24883 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24884 (exp2_test_data): New variable.
24885 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24886 (expm1_test_data): New variable.
24887 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24888 (fabs_test_data): New variable.
24889 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24890 (floor_test_data): New variable.
24891 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24892 (j0_test_data): New variable.
24893 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24894 (j1_test_data): New variable.
24895 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24896 (log_test_data): New variable.
24897 (log_test): Run tests with RUN_TEST_LOOP_f_f.
24898 (log10_test_data): New variable.
24899 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24900 (log1p_test_data): New variable.
24901 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24902 (log2_test_data): New variable.
24903 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24904 (logb_test_data): New variable.
24905 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24906 (logb_downward_test_data): New variable.
24907 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24908 (nearbyint_test_data): New variable.
24909 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24910 (rint_test_data): New variable.
24911 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24912 (rint_tonearest_test_data): New variable.
24913 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24914 (rint_towardzero_test_data): New variable.
24915 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24916 (rint_downward_test_data): New variable.
24917 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24918 (rint_upward_test_data): New variable.
24919 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24920 (round_test_data): New variable.
24921 (round_test): Run tests with RUN_TEST_LOOP_f_f.
24922 (sin_test_data): New variable.
24923 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24924 (sin_tonearest_test_data): New variable.
24925 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24926 (sin_towardzero_test_data): New variable.
24927 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24928 (sin_downward_test_data): New variable.
24929 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24930 (sin_upward_test_data): New variable.
24931 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24932 (sinh_test_data): New variable.
24933 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24934 (sinh_tonearest_test_data): New variable.
24935 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24936 (sinh_towardzero_test_data): New variable.
24937 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24938 (sinh_downward_test_data): New variable.
24939 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24940 (sinh_upward_test_data): New variable.
24941 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24942 (sqrt_test_data): New variable.
24943 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24944 (tan_test_data): New variable.
24945 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24946 (tan_tonearest_test_data): New variable.
24947 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24948 (tan_towardzero_test_data): New variable.
24949 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24950 (tan_downward_test_data): New variable.
24951 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24952 (tan_upward_test_data): New variable.
24953 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24954 (tanh_test_data): New variable.
24955 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24956 (tgamma_test_data): New variable.
24957 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24958 (trunc_test_data): New variable.
24959 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24960 (y0_test_data): New variable.
24961 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24962 (y1_test_data): New variable.
24963 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24964 (significand_test_data): New variable.
24965 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24967 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24970 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24972 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24974 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24976 2013-05-10 Andreas Jaeger <aj@suse.de>
24979 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24980 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24982 2013-05-10 Joseph Myers <joseph@codesourcery.com>
24984 * math/gen-libm-test.pl (adjust_arg): New function.
24985 (special_functions): Handle generating output in both functions
24987 (parse_args): Likewise.
24988 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24989 $in_func argument to parse_args.
24990 * math/libm-test.inc (struct test_f_f_data): New type.
24991 (IF_ROUND_INIT_): New macro.
24992 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24993 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24994 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24995 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24996 (ROUND_RESTORE_): Likewise.
24997 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24998 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24999 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25000 (ROUND_RESTORE_FE_UPWARD): Likewise.
25001 (RUN_TEST_LOOP_f_f): New macro.
25002 (acos_test_data): New variable.
25003 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25004 (acos_tonearest_test_data): New variable.
25005 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25007 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25009 * benchtests/bench-skeleton.c (startup): Fix coding style.
25011 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25014 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25015 negative infinity argument.
25016 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25017 negative infinity argument.
25018 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25019 negative infinity argument.
25020 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25023 2013-05-10 Florian Weimer <fweimer@redhat.com>
25025 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25026 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25027 * iconv/iconv_prog.c (main): Likewise.
25028 * locale/programs/charmap-dir.c (charmap_readdir)
25029 (fopen_uncompressed): Likewise.
25030 * locale/programs/locfile.c (siblings_uncached)
25031 (write_locale_data): Use lstat64 instead of lstat.
25032 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25035 2013-05-10 Andreas Jaeger <aj@suse.de>
25038 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25040 Include <locale.h>.
25042 2013-05-09 Carlos O'Donell <carlos@redhat.com>
25044 * elf/dl-close.c (_dl_close_worker): Add comments.
25046 2013-05-09 Joseph Myers <joseph@codesourcery.com>
25049 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25051 (__ieee754_rem_pio2l): Update comments.
25054 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25056 (__ieee754_rem_pio2l): Update comments.
25058 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25059 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25061 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25064 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25065 (M_PI_34_LOG10El): Likewise.
25066 (M_PI2_LOG10El): Likewise.
25067 (M_PI4_LOG10El): Likewise.
25068 (M_PI_LOG10El): Likewise.
25070 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25074 2013-05-08 Joseph Myers <joseph@codesourcery.com>
25076 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25077 (MINUS_ZERO_INIT): Likewise.
25078 (PLUS_INFTY_INIT): Likewise.
25079 (MINUS_INFTY_INIT): Likewise.
25080 (QNAN_VALUE_INIT): Likewise.
25081 (MAX_VALUE_INIT): Likewise.
25082 (MIN_VALUE_INIT): Likewise.
25083 (MIN_SUBNORM_VALUE_INIT): Likewise.
25084 (plus_zero): Initialize with PLUS_ZERO_INIT.
25085 (minus_zero): Initialize with MINUS_ZERO_INIT.
25086 (plus_infty): Initialize with PLUS_INFTY_INIT.
25087 (minus_infty): Initialize with MINUS_INFTY_INIT.
25088 (qnan_value): Initialize with QNAN_VALUE_INIT.
25089 (max_value): Initialize with MAX_VALUE_INIT.
25090 (min_value): Initialize with MIN_VALUE_INIT.
25091 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25093 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25094 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25095 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25096 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25098 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25099 (RUN_TEST_2_f): Likewise.
25100 (RUN_TEST_ff_f): Likewise.
25101 (RUN_TEST_fi_f): Likewise.
25102 (RUN_TEST_fl_f): Likewise.
25103 (RUN_TEST_fff_f): Likewise.
25104 (RUN_TEST_c_f): Likewise.
25105 (RUN_TEST_f_f1): Likewise.
25106 (RUN_TEST_fF_f1): Likewise.
25107 (RUN_TEST_fI_f1): Likewise.
25108 (RUN_TEST_ffI_f1): Likewise.
25109 (RUN_TEST_c_c): Likewise.
25110 (RUN_TEST_cc_c): Likewise.
25111 (RUN_TEST_f_i): Likewise.
25112 (RUN_TEST_f_i_tg): Likewise.
25113 (RUN_TEST_ff_i_tg): Likewise.
25114 (RUN_TEST_f_b): Likewise.
25115 (RUN_TEST_f_b_tg): Likewise.
25116 (RUN_TEST_f_l): Likewise.
25117 (RUN_TEST_f_L): Likewise.
25118 (RUN_TEST_sincos): Likewise.
25119 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25120 whether to show exceptions. Do not include ");\n" in return
25122 (special_functions): Output call to RUN_TEST_sincos instead of
25123 check_float calls. Update calls to new_test.
25124 (parse_args): Output call to single RUN_TEST_* macro instead of
25125 check_* calls and other assignments. Update calls to new_test.
25131 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25132 input to result for tgamma overflow.
25133 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25134 (gamma_coeff): New variable.
25135 (NCOEFF): New macro.
25136 (gamma_positive): New function.
25137 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25138 underflow here. Use gamma_positive instead of exp (lgamma) for
25140 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25141 (gamma_coeff): New variable.
25142 (NCOEFF): New macro.
25143 (gammaf_positive): New function.
25144 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25145 underflow here. Use gamma_positive instead of exp (lgamma) for
25147 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25148 (gamma_coeff): New variable.
25149 (NCOEFF): New macro.
25150 (gammal_positive): New function.
25151 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25152 underflow here. Use gamma_positive instead of exp (lgamma) for
25154 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25155 (gamma_coeff): New variable.
25156 (NCOEFF): New macro.
25157 (gammal_positive): New function.
25158 (__ieee754_gammal_r): Handle positive infinity, overflow and
25159 underflow here. Handle NaN the same as positive infinity. Remove
25160 check x < 0xffffffff for negative integers. Use gamma_positive
25161 instead of exp (lgamma) for other arguments.
25162 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25163 (gamma_coeff): New variable.
25164 (NCOEFF): New macro.
25165 (gammal_positive): New function.
25166 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25167 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25168 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25169 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25170 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25171 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25172 * sysdeps/generic/math_private.h (__gamma_productf): New
25174 (__gamma_product): Likewise.
25175 (__gamma_productl): Likewise.
25176 * math/Makefile (libm-calls): Add gamma_product.
25177 * math/libm-test.inc (tgamma_test): Add more tests.
25178 * sysdeps/i386/fpu/libm-test-ulps: Update.
25179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25181 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
25183 * benchtests/bench-skeleton.c (main): Preheat CPU.
25185 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25187 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25189 2013-05-07 Roland McGrath <roland@hack.frob.com>
25191 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25192 and _dl_skip_args_internal.
25194 2013-05-07 Carlos O'Donell <carlos@redhat.com>
25196 * manual/message.texi (Message Translation): Talk about users.
25197 Message to key mapping impacts design.
25199 2013-05-06 Roland McGrath <roland@hack.frob.com>
25201 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25203 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25205 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25206 * sysdeps/wordsize-64/glob64.c: ... here.
25208 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25209 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25212 * debug/getlogin_r_chk.c: Moved to ...
25213 * login/getlogin_r_chk.c: ... here.
25214 * debug/Makefile (routines): Move getlogin_r_chk to ...
25215 * login/Makefile (routines): ... here.
25216 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25217 * login/Versions (libc: GLIBC_2.4): ... here.
25219 * io/poll.c (__poll): Renamed from poll.
25220 Add libc_hidden_def.
25221 (poll): Define as weak alias.
25223 * debug/ptsname_r_chk.c: Moved to ...
25224 * login/ptsname_r_chk.c: ... here.
25225 * debug/Makefile (routines): Move ptsname_r_chk to ...
25226 * login/Makefile (routines): ... here.
25227 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25228 * login/Versions (libc: GLIBC_2.4): ... here.
25230 * posix/getlogin.c: Moved to ...
25231 * login/getlogin.c: ... here.
25232 * posix/getlogin_r.c: Moved to ...
25233 * login/getlogin_r.c: ... here.
25234 * posix/getlogin_r.c: Moved to ...
25235 * login/getlogin_r.c: ... here.
25236 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25237 * login/Makefile (routines): ... here.
25238 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25239 * login/Versions (libc: GLIBC_2.0): ... here.
25241 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25242 (setrlimit): Define as weak alias.
25244 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25245 Call __ names for open, ftruncate, and close.
25246 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25247 (truncate): Define as weak alias.
25249 2013-05-06 Joseph Myers <joseph@codesourcery.com>
25251 * math/gen-libm-test.pl (parse_args): Initialize x before each
25252 test of frexp, modf and remquo.
25254 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25255 test signgam value.
25257 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25261 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25263 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25265 2013-05-06 Roland McGrath <roland@hack.frob.com>
25267 * elf/dl-writev.h: New file.
25268 * elf/dl-misc.c: Include it.
25269 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25270 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25272 2013-05-04 Joseph Myers <joseph@codesourcery.com>
25274 * math/libm-test.inc (noXFails): Remove variable.
25275 (noXPasses): Likewise.
25276 (BUILD_COMPLEX_INT): Remove macro.
25277 (print_screen): Remove xfail argument.
25278 (print_screen_max_error): Likewise.
25279 (update_stats): Likewise.
25280 (print_max_error): Likewise. Update calls to other affected
25282 (print_complex_max_error): Likewise.
25283 (test_single_exception): Update calls to print_screen.
25284 (test_single_errno): Likewise.
25285 (check_float_internal): Remove xfail argument. Update calls to
25286 other affected functions.
25287 (check_float): Likewise.
25288 (check_complex): Likewise.
25289 (check_int): Likewise.
25290 (check_long): Likewise.
25291 (check_bool): Likewise.
25292 (check_longlong): Likewise.
25293 (main): Don't print noXFails and noXPasses.
25294 * math/gen-libm-test.pl (top level): Don't mention expected
25295 failure handling in comment.
25296 (new_test): Don't handle expected failures.
25297 (parse_args): Don't mention expected failure handling in comment.
25298 (generate_testfile): Don't handle expected failures.
25299 (parse_ulps): Likewise.
25300 (print_ulps_file): Likewise.
25301 (get_failure): Remove function.
25302 (output_test): Don't handle expected failures.
25303 * make/README.libm-test: Don't mention expected failure handling.
25305 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25306 (minus_zero): Likewise.
25307 (plus_infty): Likewise.
25308 (minus_infty): Likewise.
25309 (qnan_value): Likewise.
25310 (max_value): Likewise.
25311 (min_value): Likewise.
25312 (min_subnorm_value): Likewise.
25313 (initialize): Do not initialize those variables dynamically.
25315 2013-05-03 Roland McGrath <roland@hack.frob.com>
25317 * io/open.c (__open_2): Moved to ...
25318 * io/open_2.c: ... this new file.
25319 * io/open64.c (__open64_2): Moved to ...
25320 * io/open64_2.c: ... this new file.
25321 * io/openat.c (__openat_2): Moved to ...
25322 * io/openat_2.c: ... this new file.
25323 * io/openat64.c (__openat64_2): Moved to ...
25324 * io/openat64_2.c: ... this new file.
25325 * io/Makefile (routines): Add them.
25326 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25327 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25328 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25329 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25330 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25331 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25332 (__openat64): Add hidden_ver.
25333 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25334 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25336 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25337 Separately conditionalize setting of GLRO(dl_sysinfo) so
25338 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25339 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25341 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25343 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25344 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25346 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25347 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25348 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25349 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25350 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25352 2013-05-03 Joseph Myers <joseph@codesourcery.com>
25354 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25355 test signgam value.
25357 * math/libm-test.inc (hypot_test): Do not use
25358 IGNORE_ZERO_INF_SIGN.
25360 2013-05-03 Andreas Jaeger <aj@suse.de>
25362 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25364 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25365 (PF_MAX): Adjust for VSOCK change.
25367 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25371 2013-05-02 Carlos O'Donell <carlos@redhat.com>
25374 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25375 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25376 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25378 2013-05-02 David S. Miller <davem@davemloft.net>
25380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25382 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
25384 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25386 2013-05-01 Roland McGrath <roland@hack.frob.com>
25388 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25390 2013-05-01 Richard Smith <richard@metafoo.co.uk>
25393 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25394 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25395 Use __attribute__ ((__gnu_inline__)).
25396 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25397 Don't use __attribute__ ((__gnu_inline__)).
25399 2013-05-01 Joseph Myers <joseph@codesourcery.com>
25402 * math/s_catan.c (__catan): Handle small real or imaginary part of
25403 input specially to avoid spurious underflow.
25404 * math/s_catanf.c (__catanf): Likewise.
25405 * math/s_catanh.c (__catanh): Likewise.
25406 * math/s_catanhf.c (__catanhf): Likewise.
25407 * math/s_catanhl.c (__catanhl): Likewise.
25408 * math/s_catanl.c (__catanl): Likewise.
25409 * math/libm-test.inc (catan_test): Add more tests.
25410 (catanh_test): Likewise.
25411 * sysdeps/i386/fpu/libm-test-ulps: Update.
25412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25414 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25418 2013-04-30 Joseph Myers <joseph@codesourcery.com>
25421 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25422 accurately for denominator in atan2.
25423 * math/s_catanf.c (__catanf): Likewise.
25424 * math/s_catanh.c (__catanh): Likewise.
25425 * math/s_catanhf.c (__catanhf): Likewise.
25426 * math/s_catanhl.c (__catanhl): Likewise.
25427 * math/s_catanl.c (__catanl): Likewise.
25428 * math/libm-test.inc (catan_test): Add more tests.
25429 (catanh_test): Likewise.
25430 * sysdeps/i386/fpu/libm-test-ulps: Update.
25431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25433 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25435 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25437 * benchtests/Makefile (bench): Remove slow benchmarks.
25438 * benchtests/atan-inputs: Add slow benchmark inputs.
25439 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25440 (BENCH_FUNC): Accept variant offset.
25442 * benchtests/bench-skeleton.c (main): Run benchmark for each
25444 * benchtests/cos-inputs: Add slow benchmark inputs.
25445 * benchtests/exp-inputs: Likewise.
25446 * benchtests/pow-inputs: Likewise.
25447 * benchtests/sin-inputs: Likewise.
25448 * benchtests/slowatan-inputs: Remove.
25449 * benchtests/slowatan.c: Remove.
25450 * benchtests/slowcos-inputs: Remove.
25451 * benchtests/slowcos.c: Remove.
25452 * benchtests/slowexp-inputs: Remove.
25453 * benchtests/slowexp.c: Remove.
25454 * benchtests/slowpow-inputs: Remove.
25455 * benchtests/slowpow.c: Remove.
25456 * benchtests/slowsin-inputs: Remove.
25457 * benchtests/slowsin.c: Remove.
25458 * benchtests/slowtan-inputs: Remove.
25459 * benchtests/slowtan.c: Remove.
25460 * benchtests/tan-inputs: Add slow benchmark inputs.
25461 * scripts/bench.pl: Parse comments and directives.
25463 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25465 ($(objpfx)bench-%.c): Remove *-ITER.
25466 * benchtests/bench-modf.c: Remove definition of ITER.
25467 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25468 (main): Loop for DURATION seconds instead of fixed number of
25470 * scripts/bench.pl: Don't expect iterations in parameters.
25472 2013-04-29 Roland McGrath <roland@hack.frob.com>
25474 * io/fchdir.c (__fchdir): Renamed from fchdir.
25475 (fchdir): Define as weak alias.
25477 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25479 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25480 (ERRNO_EDOM): Likewise.
25481 (ERRNO_ERANGE): Likewise.
25482 (noErrnoTests): New variable.
25483 (init_max_error): Set errno to 0.
25484 (test_single_errno): New function.
25485 (test_errno): Likewise.
25486 (check_float_internal): Call test_errno. Set errno to 0.
25487 (check_complex): Refer to errno tests in comment.
25488 (check_int): Call test_errno. Set errno to 0.
25489 (check_long): Likewise.
25490 (check_bool): Likewise.
25491 (check_longlong): Likewise.
25492 (cos_test): Use ERRNO_* flags for errno tests instead of
25494 (expm1_test): Likewise.
25495 (fmod_test): Likewise.
25496 (ilogb_test): Likewise.
25497 (lgamma_test): Likewise.
25498 (pow_test): Likewise.
25499 (remainder_test): Likewise.
25500 (sin_test): Likewise.
25501 (tan_test): Likewise.
25502 (yn_test): Likewise.
25503 (initialize): Set errno to 0.
25504 (main): Print number of errno tests.
25505 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25507 2013-04-29 Andreas Jaeger <aj@suse.de>
25510 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25514 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25515 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25519 * stdlib/random.c (__initstate): Return NULL if
25523 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25524 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25527 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25531 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25533 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25534 of individual tests.
25535 (casin_test): Likewise.
25536 (casinh_test): Likewise.
25538 2013-04-27 Joseph Myers <joseph@codesourcery.com>
25541 * math/s_catan.c (__catan): Handle arguments with large real or
25542 imaginary part separately without squaring.
25543 * math/s_catanf.c (__catanf): Likewise.
25544 * math/s_catanh.c (__catanh): Likewise.
25545 * math/s_catanhf.c (__catanhf): Likewise.
25546 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25548 (__catanhl): Handle arguments with large real or imaginary part
25549 separately without squaring.
25550 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25552 (__catanl): Handle arguments with large real or imaginary part
25553 separately without squaring.
25554 * math/libm-test.inc (catan_test): Add more tests.
25555 (catanh_test): Likewise.
25556 * sysdeps/i386/fpu/libm-test-ulps: Update.
25557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25559 2013-04-27 Andreas Jaeger <aj@suse.de>
25562 * stdlib/stdlib.h: Update guards for qecvt.
25563 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25566 2013-04-27 Allan McRae <allan@archlinux.org>
25568 * sysdeps/i386/fpu/libm-test-ulps: Update.
25570 2013-04-26 Joseph Myers <joseph@codesourcery.com>
25573 * math/s_catan.c: Include <float.h>.
25574 (__catan): Ensure underflow exception occurs for underflowed
25576 * math/s_catanf.c: Include <float.h>.
25577 (__catanf): Ensure underflow exception occurs for underflowed
25579 * math/s_catanh.c: Include <float.h>.
25580 (__catanh): Ensure underflow exception occurs for underflowed
25582 * math/s_catanhf.c: Include <float.h>.
25583 (__catanhf): Ensure underflow exception occurs for underflowed
25585 * math/s_catanhl.c: Include <float.h>.
25586 (__catanhl): Ensure underflow exception occurs for underflowed
25588 * math/s_catanl.c: Include <float.h>.
25589 (__catanl): Ensure underflow exception occurs for underflowed
25591 * math/libm-test.inc (catan_test): Add more tests.
25592 (catanh_test): Likewise.
25595 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25596 underflowed result.
25597 * math/s_ccoshf.c (__ccoshf): Likewise.
25598 * math/s_ccoshl.c (__ccoshl): Likewise.
25599 * math/s_csin.c (__csin): Likewise.
25600 * math/s_csinf.c (__csinf): Likewise.
25601 * math/s_csinh.c (__csinh): Likewise.
25602 * math/s_csinhf.c (__csinhf): Likewise.
25603 * math/s_csinhl.c (__csinhl): Likewise.
25604 * math/s_csinl.c (__csinl): Likewise.
25605 * math/libm-test.inc (ccos_test): Add more tests.
25606 (ccosh_test): Likewise.
25607 (csin_test): Likewise.
25608 (csinh_test): Likewise.
25610 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25612 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25613 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25614 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25615 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25616 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25617 powerpc/power5+/fpu folders.
25618 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25621 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25625 2013-04-25 Joseph Myers <joseph@codesourcery.com>
25627 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25628 additions to variable.
25629 [$(config-machine) = x86_64] (modules-names): Likewise.
25630 ($(objpfx)tst-audit3): Remove dependency.
25631 ($(objpfx)tst-audit3.out): Likewise.
25632 ($(objpfx)tst-audit4): Likewise.
25633 ($(objpfx)tst-audit4.out): Likewise.
25634 ($(objpfx)tst-audit5): Likewise.
25635 ($(objpfx)tst-audit5.out): Likewise.
25636 ($(objpfx)tst-audit6): Likewise.
25637 ($(objpfx)tst-audit6.out): Likewise.
25638 ($(objpfx)tst-audit7): Likewise.
25639 ($(objpfx)tst-audit7.out): Likewise.
25640 (tst-audit3-ENV): Remove variable.
25641 (tst-audit4-ENV): Likewise.
25642 (tst-audit5-ENV): Likewise.
25643 (tst-audit6-ENV): Likewise.
25644 (tst-audit7-ENV): Likewise.
25645 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25646 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25647 addition to variable.
25648 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25649 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25650 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25651 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25652 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25653 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25654 tst-audit3, tst-audit4 and tst-audit5.
25655 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25656 tst-audit6 and tst-audit7.
25657 [$(subdir) = elf] (modules-names): Add audit modules for those
25659 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25660 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25661 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25662 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25663 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25664 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25665 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25666 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25667 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25668 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25669 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25670 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25671 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25672 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25673 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25674 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25676 [$(subdir) = elf && $(config-cflags-avx) = yes]
25677 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25678 [$(subdir) = elf && $(config-cflags-avx) = yes]
25679 (CFLAGS-tst-auditmod4a.c): Likewise.
25680 [$(subdir) = elf && $(config-cflags-avx) = yes]
25681 (CFLAGS-tst-auditmod4b.c): Likewise.
25682 [$(subdir) = elf && $(config-cflags-avx) = yes]
25683 (CFLAGS-tst-auditmod6b.c): Likewise.
25684 [$(subdir) = elf && $(config-cflags-avx) = yes]
25685 (CFLAGS-tst-auditmod6c.c): Likewise.
25686 [$(subdir) = elf && $(config-cflags-avx) = yes]
25687 (CFLAGS-tst-auditmod7b.c): Likewise.
25688 * elf/tst-audit3.c: Move to ...
25689 * sysdeps/x86_64/tst-audit3.c: ... here.
25690 * elf/tst-audit4.c: Move to ...
25691 * sysdeps/x86_64/tst-audit4.c: ... here.
25692 * elf/tst-audit5.c: Move to ...
25693 * sysdeps/x86_64/tst-audit5.c: ... here.
25694 * elf/tst-audit6.c: Move to ...
25695 * sysdeps/x86_64/tst-audit6.c: ... here.
25696 * elf/tst-audit7.c: Move to ...
25697 * sysdeps/x86_64/tst-audit7.c: ... here.
25698 * elf/tst-auditmod3a.c: Move to ...
25699 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25700 * elf/tst-auditmod3b.c: Move to ...
25701 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25702 * elf/tst-auditmod4a.c: Move to ...
25703 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25704 * elf/tst-auditmod4b.c: Move to ...
25705 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25706 * elf/tst-auditmod5a.c: Move to ...
25707 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25708 * elf/tst-auditmod5b.c: Move to ...
25709 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25710 * elf/tst-auditmod6a.c: Move to ...
25711 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25712 * elf/tst-auditmod6b.c: Move to ...
25713 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25714 * elf/tst-auditmod6c.c: Move to ...
25715 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25716 * elf/tst-auditmod7a.c: Move to ...
25717 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25718 * elf/tst-auditmod7b.c: Move to ...
25719 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25721 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25724 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25725 define unconditionally.
25726 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25727 define unconditionally.
25728 (INT8_C, INT16_C, etc.): Likewise.
25730 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25732 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25733 __ehdr_start with hidden visibility.
25735 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25737 2013-04-24 Carlos O'Donell <carlos@redhat.com>
25739 * math/libm-test.inc (cos_test): Use accurate hex constants.
25740 (sincost_test): Likewise.
25742 2013-04-24 Joseph Myers <joseph@codesourcery.com>
25744 * math/libm-test.inc (catan_test): Add more tests.
25745 (catanh_test): Likewise.
25747 * math/s_catanf.c (__catanf): Use suffixed floating-point
25749 * math/s_catanhf.c (__catanhf): Likewise.
25750 * math/s_catanhl.c (__catanhl): Likewise.
25751 * math/s_catanl.c (__catanl): Likewise.
25754 * math/s_catan.c (__catan): Calculate imaginary part of result
25755 with log1p not log unless computing log of number close to 0.
25756 * math/s_catanf.c (__catanf): Likewise.
25757 * math/s_catanl.c (__catanl): Likewise.
25758 * math/s_catanh.c (__catanh): Calculate real part of result with
25759 log1p not log unless computing log of number close to 0.
25760 * math/s_catanhf.c (__catanhf): Likewise.
25761 * math/s_catanhl.c (__catanhl): Likewise.
25762 * math/libm-test.inc (catan_test): Add more tests.
25763 (catanh_test): Likewise.
25764 * sysdeps/i386/fpu/libm-test-ulps: Update.
25765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25767 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25769 * benchtests/Makefile: Mention files in which fast and slow
25770 paths of math functions are implemented.
25772 2013-04-23 Roland McGrath <roland@hack.frob.com>
25774 * sysdeps/posix/timespec_get.c: New file.
25776 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25778 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25780 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25782 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25783 powerpc/power5/fpu folders.
25784 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25785 * benchtests/Makefile: Add modf testcase.
25786 * benchtests/bench-modf.c: New file: Benchmark test for mo
25788 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25791 * time/Makefile (tests): Add tst-strptime-whitespace.
25792 * time/strptime_l.c (get_number): Use ISSPACE.
25793 (__strptime_internal): Likewise.
25794 * time/tst-strptime-whitespace.c: New test case.
25796 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25798 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25800 (_nss_files_init): Set it here.
25802 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25804 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25805 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25808 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25810 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25812 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25814 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25817 2013-04-21 David S. Miller <davem@davemloft.net>
25819 * po/ru.po: Update Russion translation from translation project.
25821 2013-04-17 Adam Conrad <adconrad@0c3.net>
25823 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25826 2013-04-17 Carlos O'Donell <carlos@redhat.com>
25828 * configure.in: Remove i386 configure warning. Remove i386 case.
25829 * configure: Regenerate.
25830 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25831 Add example to error message.
25832 * sysdeps/i386/configure: Regenerate.
25834 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25836 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25838 * benchtests/cos-inputs: New file.
25839 * benchtests/slowcos-inputs: New file.
25840 * benchtests/slowcos.c: New file.
25841 * benchtests/slowtan-inputs: New file.
25842 * benchtests/slowtan.c: New file.
25843 * benchtests/tan-inputs: New file.
25845 2013-04-16 Roland McGrath <roland@hack.frob.com>
25847 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25850 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25852 * benchtests/Makefile: Include cppflags-iterator.mk to add
25853 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25855 * Makefile.in (bench-clean): New target.
25856 * benchtests/Makefile (bench-clean): Likewise.
25858 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25860 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25862 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25864 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25866 2013-04-15 Andreas Schwab <schwab@suse.de>
25868 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25869 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25870 * nscd/pwdcache.c (cache_addpw): Likewise.
25871 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25874 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25876 * benchtests/Makefile (bench): Write all output to
25877 bench-out.tmp together.
25879 2013-04-15 Andreas Schwab <schwab@suse.de>
25881 * nscd/nscd.c (main): Don't fork again after closing files.
25883 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25885 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25887 * benchtests/Rules (bench-deps): Collect dependencies into a
25888 single variable. Add Makefile to dependencies.
25889 ($(objpfx)bench-%.c): Depend on bench-deps.
25891 2013-04-12 Roland McGrath <roland@hack.frob.com>
25892 Xavier Roche <roche+kml2@exalead.com>
25895 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25896 just that it's a file descriptor.
25897 * manual/llio.texi (Synchronizing AIO Operations): Update description
25898 for EBADF error from aio_fsync.
25900 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25902 * Rules (bench): Move target definition...
25903 * benchtests/Makefile: ... here.
25905 2013-04-11 Carlos O'Donell <carlos@redhat.com>
25907 * math/libm-test.inc (cos_test): Fix PI/2 test.
25908 (sincos_test): Likewise.
25909 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25910 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25912 2013-04-11 Andreas Schwab <schwab@suse.de>
25915 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25916 accept exponent character only when digits were seen.
25917 * stdio-common/Makefile (tests): Add bug26.
25918 * stdio-common/bug26.c: New file.
25921 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25924 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25926 * Makeconfig (rtld-prefix): Define built linker prefix.
25927 * Rules (run-bench): Use it.
25928 * math/Makefile (run-regen-ulps): Likewise.
25930 * Rules (bench): Remove eval.
25932 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25933 Roland McGrath <roland@hack.frob.com>
25934 Ondrej Bilka <neleai@seznam.cz>
25937 * time/getdate.c: Include ctype.h and alloca.h.
25938 (__getdate_r): Trim leading and trailing spaces of input.
25939 * time/tst-getdate.c (tests): Add tests with leading and
25942 2013-04-08 Roland McGrath <roland@hack.frob.com>
25945 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25946 when computing value.
25948 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25950 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25951 Use testrun.sh to run libm tests.
25954 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25956 2013-04-06 Marko Myllynen <myllynen@redhat.com>
25959 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25961 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25963 * Makefile.in (regen-ulps): New target.
25964 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25965 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25966 [ifneq (no,$(PERL)] (regen-ulps): New target.
25967 [ifeq (no,$(PERL)] (regen-ulps): New target.
25968 * math/libm-test.inc (ulps_file_name): Define.
25969 (output_dir): New variable.
25970 (options): Add "output-dir" option.
25971 (parse_opt): Handle 'o' case.
25972 (main): If output_dir is non-NULL use it as a prefix
25974 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25976 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25978 [BZ #10060, #10062]
25979 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25980 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25981 fail configure if __sync_val_compare_and_swap is not inlined.
25982 * sysdeps/i386/configure: Regenerate.
25983 * configure.in: Build for i686 when configured for i386.
25984 * configure: Regenerate.
25985 * README: Remove i386 reference.
25987 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25989 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25990 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25992 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25994 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25995 (lmsnanval): New variables.
25996 (F): Add conversion tests.
25997 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25998 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26000 * stdio-common/tstdiomisc.c (F): Properly collect individual
26003 [BZ #14686, #15336]
26004 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26005 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26006 Instead, use input NaN values or generate a qNaN by arithmetic
26007 operation. Also fix bugs to comply with the standard.
26008 * math/libm-test.inc (remainder_test): Add more tests.
26010 [BZ #15335, #15342]
26011 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26013 input NaN values or generate a qNaN by arithmetic operation.
26015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26018 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26021 2013-04-03 Joseph Myers <joseph@codesourcery.com>
26024 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26025 underflowed result.
26026 * math/s_cexpf.c (__cexpf): Likewise.
26027 * math/s_cexpl.c (__cexpl): Likewise.
26028 * math/libm-test.inc (cexp_test): Add more tests.
26030 2013-04-03 Andreas Schwab <schwab@suse.de>
26033 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26034 order arrays from heap if bigger than alloca cutoff.
26036 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26038 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26039 (SNAN_TESTS_double): Refer to GCC PR56831.
26040 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26043 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26045 * Rules (bench): Move bench.out after the run is complete.
26047 * Rules (bench): Echo currently running benchmark.
26049 * benchtests/Makefile (bench): Add atan and slowatan.
26050 * benchtests/atan-inputs: New file.
26051 * benchtests/slowatan-inputs: New file.
26052 * benchtests/slowatan.c: New file.
26054 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26055 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26059 * sysdeps/unix/sysv/linux/kernel-features.h
26060 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26061 __ASSUME_XFS_RESTRICTED_CHOWN.
26062 * sysdeps/unix/sysv/linux/pathconf.c
26063 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26064 Save and restore errno.
26066 2013-04-02 Joseph Myers <joseph@codesourcery.com>
26069 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26070 arguments using __kernel_casinh.
26071 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26072 arguments using __kernel_casinhf.
26073 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26074 arguments using __kernel_casinhl.
26075 * math/libm-test.inc (cacosh_test): Add more tests.
26076 * sysdeps/i386/fpu/libm-test-ulps: Update.
26077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26079 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26081 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26084 * bench/Makefile (bench): Add sin and slowsin.
26085 * benchtests/sin-inputs: New file.
26086 * benchtests/slowsin-inputs: New file.
26087 * benchtests/slowsin.c: New file.
26089 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26090 (bench): Add slowexp and slowpow.
26091 (exp-ITER): Increase iterations.
26092 (pow-ITER): Likewise.
26093 * benchtests/exp-inputs: Change input.
26094 * benchtests/pow-inputs: Likewise.
26095 * benchtests/slowexp-inputs: New file.
26096 * benchtests/slowexp.c: New file.
26097 * benchtests/slowpow-inputs: New file.
26098 * benchtests/slowpow.c: New file.
26100 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26102 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26104 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26105 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26106 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26107 * benchtests/Makefile: Add rint benchtest.
26108 * benchtests/rint-inputs: Input for rint benchtest.
26110 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26112 * Versions.def (libm): Add GLIBC_2.18.
26113 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26114 hidden libm prototypes.
26115 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26116 * math/Makefile (libm-calls): Add s_issignaling.
26117 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26118 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26119 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26121 * math/math.h [__USE_GNU] (issignaling): New macro.
26122 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26123 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26124 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26125 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26126 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26127 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26128 * manual/arith.texi (issignaling): New section.
26129 * manual/libm-err-tab.pl (@all_functions): Update comment.
26130 * math/gen-libm-test.pl (parse_args): Apply special handling for
26132 * math/libm-test.inc (print_float, issignaling_test): New
26134 (check_float_internal): Add issignaling checks.
26135 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26136 default definition.
26137 * sysdeps/powerpc/math-tests.h: New file.
26138 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26140 * math/test-snan.c (TEST_FUNC): Likewise.
26142 2013-03-30 David S. Miller <davem@davemloft.net>
26144 * po/de.po: Update from translation team.
26146 2013-03-30 Joseph Myers <joseph@codesourcery.com>
26149 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26150 imaginary part less than 1.0 and real part less than 0.5
26152 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26153 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26154 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26155 (cacos_test): Add more tests.
26156 (casin_test): Likewise.
26157 (casinh_test): Likewise.
26158 * sysdeps/i386/fpu/libm-test-ulps: Update.
26159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26161 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26163 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26164 ONE with its value.
26166 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26167 (__pow_mp): Replace ONE and MONE with their values.
26168 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26169 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26170 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26171 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26172 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26173 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26175 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26177 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26178 (__pow_mp): Replace ZERO and MZERO with their values.
26179 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26180 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26181 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26183 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26184 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26187 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26189 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26191 2013-03-28 Roland McGrath <roland@hack.frob.com>
26193 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26194 Declare with __attribute__ ((weak)).
26195 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26196 Call __call_tls_dtors only if it's not NULL.
26198 2013-03-28 Roland McGrath <roland@hack.frob.com>
26200 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26201 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26202 magic __ehdr_start linker symbol if it's defined.
26203 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26204 them up here if it was already done.
26206 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26207 (_dl_aux_init): Use const in cast when setting it.
26208 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26209 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26210 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26212 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26214 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26215 * csu/libc-tls.c: Nor here.
26216 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26218 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26219 (__libc_message): Never call vsyslog.
26221 2013-03-28 Alan Modra <amodra@gmail.com>
26223 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26225 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26228 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26231 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26235 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26238 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26239 Don't add gid passed as argument.
26241 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26243 2013-03-27 Joseph Myers <joseph@codesourcery.com>
26246 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26247 imaginary part between 1.0 and 1.5 and real part less than 0.5
26249 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26250 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26251 * math/libm-test.inc (cacos_test): Add more tests.
26252 (casin_test): Likewise.
26253 (casinh_test): Likewise.
26254 * sysdeps/i386/fpu/libm-test-ulps: Update.
26255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26257 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26259 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26262 (denorm): Likewise.
26263 (__dbl_mp): Likewise.
26264 (add_magnitudes): Likewise.
26265 (sub_magnitudes): Likewise.
26273 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26275 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26276 (__dubcos): Likewise.
26277 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26278 (__ieee754_acos): Likewise.
26279 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26280 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26281 (__exp1): Likewise.
26282 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26283 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26285 (my_log2): Likewise.
26286 (checkint): Likewise.
26287 * sysdeps/ieee754/dbl-64/e_remainder.c
26288 (__ieee754_remainder): Likewise.
26289 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26291 (bsloww): Likewise.
26292 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26294 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26295 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26296 MANTISSA_STORE_T to store computations on mantissa. Use
26297 macros for rounding and division.
26298 (denorm): Likewise.
26299 (__dbl_mp): Likewise.
26300 (add_magnitudes): Likewise.
26301 (sub_magnitudes): Likewise.
26304 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26305 powers of two in terms of TWOPOW macro.
26306 (mp_no): Make type of mantissa as MANTISSA_T.
26307 [!RADIXI]: Define RADIXI.
26308 [!TWO52]: Define TWO52.
26309 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26311 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26313 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26314 llroundl symbol when building for PPC32.
26316 2013-03-24 Mark H Weaver <mhw@netris.org>
26318 * manual/arith.texi (Normalization Functions): Fix prototypes for
26319 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26321 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26325 high value to check if expl overflow.
26326 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26327 to check for underflow and overflow.
26328 * math/libm-test.inc: Add exp test.
26330 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26333 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26336 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26338 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26341 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26343 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26344 wrap blocks consisting of several statements.
26346 * sysdeps/generic/math-tests.h: New file.
26347 * sysdeps/i386/fpu/math-tests.h: Likewise.
26348 * math/test-snan.c: Include it.
26349 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26351 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26354 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26355 (__ieee754_j0l): Do not improve calculations using cos of twice
26356 input for inputs above LDBL_MAX / 2.0L.
26357 (__ieee754_y0l): Likewise.
26358 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26359 (__ieee754_j1l): Do not improve calculations using cos of twice
26360 input for inputs above LDBL_MAX / 2.0L.
26361 (__ieee754_y1l): Likewise.
26362 * math/libm-test.inc (j0_test): Add another test.
26363 (j1_test): Likewise.
26364 (y0_test): Likewise.
26365 (y1_test): Likewise.
26366 * sysdeps/i386/fpu/libm-test-ulps: Update.
26368 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26370 * Rules ($(objpfx)bench-%.c): Include code from a C source
26373 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26376 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26377 imaginary part 1.0 and real part less than 0.5 specially.
26378 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26379 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26380 * math/libm-test.inc (cacos_test): Add more tests.
26381 (casin_test): Likewise.
26382 (casinh_test): Likewise.
26383 * sysdeps/i386/fpu/libm-test-ulps: Update.
26384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26386 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26388 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26389 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26391 2013-03-20 Joseph Myers <joseph@codesourcery.com>
26393 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26394 * config.make.in (config-cflags-sse4): Remove variable.
26395 (config-cflags-avx): Likewise.
26396 (config-cflags-sse2avx): Likewise.
26397 (config-cflags-novzeroupper): Likewise.
26398 (config-asflags-i686): Likewise.
26399 (have-mfma4): Likewise.
26400 (have-as-vis3): Likewise.
26402 * configure.in (MIG): Do not AC_SUBST.
26403 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26404 (libc_cv_cc_sse4): Do not AC_SUBST.
26405 (libc_cv_cc_avx): Likewise.
26406 (libc_cv_cc_sse2avx): Likewise.
26407 (libc_cv_cc_novzeroupper): Likewise.
26408 (libc_cv_cc_fma4): Likewise.
26409 (libc_cv_as_i686): Likewise.
26410 (libc_cv_sparc_as_vis3): Likewise.
26411 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26413 (config-asflags-i686): Likewise.
26414 (config-cflags-avx): Likewise.
26415 (config-cflags-sse2avx): Likewise.
26416 (have-mfma4): Likewise.
26417 (config-cflags-novzeroupper): Likewise.
26418 * sysdeps/mach/configure.in (MIG): Likewise.
26419 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26420 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26422 (config-cflags-avx): Likewise.
26423 (config-cflags-sse2avx): Likewise.
26424 (have-mfma4): Likewise.
26425 (config-cflags-novzeroupper): Likewise.
26426 * configure: Regenerated.
26427 * sysdeps/i386/configure: Likewise.
26428 * sysdeps/mach/configure: Likewise.
26429 * sysdeps/sparc/configure: Likewise.
26430 * sysdeps/x86_64/configure: Likewise.
26432 2013-03-20 Roland McGrath <roland@hack.frob.com>
26435 * locale/programs/localedef.c (options): Put N_ translation marker
26436 on argument names, not just descriptions.
26438 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26440 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26442 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
26445 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26447 2013-03-19 Roland McGrath <roland@hack.frob.com>
26449 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26450 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26451 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26452 [!BEFORE_ABORT] (before_abort): New function.
26453 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26454 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26455 (writev_for_fatal): New function.
26456 (WRITEV_FOR_FATAL): New macro; call that.
26457 (backtrace_and_maps): New function.
26458 (BEFORE_ABORT): New macro; call that.
26459 (struct str_list): Type removed.
26460 (__libc_message, __libc_fatal): Functions removed.
26461 Include <sysdeps/posix/libc_fatal.c> instead.
26463 2013-03-19 Joseph Myers <joseph@codesourcery.com>
26465 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26467 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26470 2013-03-19 Andreas Schwab <schwab@suse.de>
26472 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26473 * sysdeps/gnu/configure: Regenerate.
26475 * configure.in: Substitute libc_cv_rtlddir.
26476 * configure: Regenerate.
26477 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26478 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26479 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26480 * elf/Makefile (install-others, CFLAGS-interp.c)
26481 (ldso_install, common-ldd-rewrite): Likewise.
26482 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26483 $(inst_slibdir)/$(rtld-installed-name).
26484 * scripts/rellns-sh: Add -p option.
26485 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26488 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26490 * manual/nptl.texi: Renamed to ...
26491 * manual/threads.texi: ... this.
26492 * manual/Makefile (chapters): Update.
26494 2013-03-18 Roland McGrath <roland@hack.frob.com>
26497 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26498 on argument names, not just descriptions.
26499 * malloc/memusagestat.c (options): Likewise.
26500 * nss/getent.c (options): Likewise.
26502 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
26505 * iconv/iconv_prog.c (options): Put N_ translation marker
26506 on argument names, not just descriptions.
26507 * iconv/iconvconfig.c (options): Likewise.
26509 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
26511 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26512 implementation which is faster on all x86_64 architectures.
26513 Tested on AMD, Intel Nehalem, SNB, IVB.
26514 * sysdeps/x86_64/strnlen.S: Likewise.
26516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26517 Remove all multiarch strlen and strnlen versions.
26518 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26519 Remove strlen and strnlen related parts.
26521 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26522 Inline strlen part.
26523 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26525 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26526 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26527 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26528 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26529 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26530 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26532 2013-03-17 Carlos O'Donell <carlos@redhat.com>
26534 * manual/memory.texi (Malloc Tunable Parameters):
26535 Sort parameters alphabetically. Add comments for missing entries.
26537 2013-03-17 David S. Miller <davem@davemloft.net>
26539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26541 2013-03-16 Joseph Myers <joseph@codesourcery.com>
26544 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26545 for arguments at most half maximum finite value.
26546 * math/libm-test.inc (j0_test): Add more tests.
26547 (j1_test): Likewise.
26548 (y0_test): Likewise.
26549 (y1_test): Likewise.
26550 * sysdeps/i386/fpu/libm-test-ulps: Update.
26551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26554 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26555 1 / x and functions P and Q for arguments above 0x1p256L.
26556 (__ieee754_y0l): Likewise.
26557 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26558 (__ieee754_y1l): Likewise.
26559 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26560 (j1_test): Likewise.
26561 (y0_test): Likewise.
26562 (y1_test): Likewise.
26564 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26566 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26569 2013-03-15 Roland McGrath <roland@hack.frob.com>
26571 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26572 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26573 zero since it's initialized to EXEC_PAGESIZE.
26575 * sysdeps/unix/sysv/linux/ldsodefs.h
26576 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26577 * sysdeps/generic/ldsodefs.h: ... here.
26579 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26581 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26583 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26585 * math/test-snan.c: Renamed from
26586 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26587 * math/Makefile (tests): Add test-snan.
26588 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26591 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26592 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26594 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26595 __builtin_nan family of functions.
26596 * math/libm-test.inc (initialize): Initialize qnan_value with
26597 __builtin_nan family of functions.
26598 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26600 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26602 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26603 storage class. Initialize qNaN_var and sNaN_var with
26604 __builtin_nan and __builtin_nans families of functions,
26607 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26608 (sqrt_test): Remove duplicate test with qNaN input.
26609 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26610 (round_test, signbit_test, significand_test): Note missing +/-Inf
26611 as well as qNaN tests.
26613 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26614 qNaN_var. Fix a few strings, too.
26615 * math/libm-test.inc (nan_value): Rename to qnan_value.
26616 * math/gen-libm-test.pl (%beautify): Adjust to that.
26617 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26618 * math/test-misc.c (main): Likewise.
26619 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26620 to __qnan_bytes, and __qnan_union, respectively.
26621 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26623 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26624 and lqnanval, respectively.
26625 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26626 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26627 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26628 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26630 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26631 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26634 * math/test-misc.c (main): Fix copy'n'pastos.
26635 * misc/tst-efgcvt.c (special): Likewise.
26637 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26638 Remove declarations.
26640 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26642 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26643 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26644 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26645 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26647 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26649 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26650 macro to return vdso values correctly in IFUNC implementations.
26651 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26652 Optimization by using IFUNC.
26654 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26655 Richard Henderson <rth@redhat.com>
26656 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26658 * Makefile.in (bench): New target.
26659 * NEWS: Mention the benchmark framework.
26660 * Rules (bench): Likewise.
26661 (binaries-bench): Generate binaries for functions to
26663 * benchtests/Makefile: New makefile for benchmark tests.
26664 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26666 * benchtests/exp-inputs: New input file for EXP function.
26667 * benchtests/pow-inputs: New input file for POW function.
26668 * scripts/bench.pl: New script to generate source files for
26669 benchmark programs.
26671 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26673 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26674 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26675 computations on mantissa. Use macros for rounding and
26677 (denorm): Likewise.
26678 (__dbl_mp): Likewise.
26679 (add_magnitudes): Likewise.
26680 (sub_magnitudes): Likewise.
26683 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26684 powers of two in terms of TWOPOW macro.
26685 (mp_no): Make type of mantissa as MANTISSA_T.
26686 [!RADIXI]: Define RADIXI.
26687 [!TWO52]: Define TWO52.
26688 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26690 * manual/nptl.texi (cindex): Modify threads to pthreads.
26692 2013-03-15 Joseph Myers <joseph@codesourcery.com>
26694 * sysdeps/x86_64/preconfigure: Regenerated.
26696 2013-03-14 Joseph Myers <joseph@codesourcery.com>
26699 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26701 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26702 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26704 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26705 * math/libm-test.inc (j0_test): Do not allow one spurious
26706 underflow exception.
26707 (y1_test): Likewise.
26709 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26711 * manual/Makefile (chapters): Add nptl.
26712 * manual/debug.texi (Debugging Support): Add link to Threads
26714 * manual/nptl.texi: New file.
26716 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26718 2013-03-14 Petr Baudis <pasky@ucw.cz>
26720 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26721 for non-NULL pointer before the memory validity test. Pointed
26722 out by Holger Brunck <holger.brunck@keymile.com>.
26724 2013-03-13 Andreas Schwab <schwab@suse.de>
26726 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26729 2013-03-13 Joseph Myers <joseph@codesourcery.com>
26731 * timezone/zic.c: Update from tzcode 2013b.
26733 2013-03-12 Carlos O'Donell <carlos@redhat.com>
26735 * manual/install.texi (Configuring and compiling):
26736 Mention i686 and i586.
26737 * INSTALL: Regenerate.
26739 2013-03-12 Roland McGrath <roland@hack.frob.com>
26741 * sysdeps/init_array/elf-init.c: New file.
26743 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26744 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26746 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26747 __gmon_start__ as global, but as static with a .preinit_array pointer.
26748 * sysdeps/init_array/gmon-start.c: New file. Use that.
26749 * sysdeps/init_array/crti.S: New file, empty except for comments.
26750 * sysdeps/init_array/crtn.S: Likewise.
26752 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
26754 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26757 Remove Prefer_SSE_for_memop.
26758 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26759 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26760 HAS_PREFER_SSE_FOR_MEMOP.
26761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26764 Remove bzero, memset ifunc support.
26765 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26766 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26767 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26768 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26770 2013-03-11 Andreas Schwab <schwab@suse.de>
26773 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26776 (GLIBC_2.16): Remove pthread_atfork.
26778 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26780 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26781 (ptestcases.h): Likewise.
26783 2013-03-08 Roland McGrath <roland@hack.frob.com>
26785 * Makeconfig ($(common-objpfx)config.status): Depend on
26786 sysdeps/*/preconfigure{,.in} too.
26788 2013-03-08 Joseph Myers <joseph@codesourcery.com>
26790 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26791 (__free_hook): Use void * instead of __malloc_ptr_t.
26792 (__malloc_hook): Likewise.
26793 (__realloc_hook): Likewise.
26794 (__memalign_hook): Likewise.
26795 (__after_morecore_hook): Likewise.
26796 * malloc/arena.c (save_malloc_hook): Likewise.
26797 (save_free_hook): Likewise.
26798 * malloc/hooks.c (malloc_hook_ini): Likewise.
26799 (realloc_hook_ini): Likewise.
26800 (memalign_hook_ini): Likewise.
26801 * malloc/malloc.c (malloc_hook_ini): Likewise.
26802 (realloc_hook_ini): Likewise.
26803 (memalign_hook_ini): Likewise.
26804 (__free_hook): Likewise.
26805 (__malloc_hook): Likewise.
26806 (__realloc_hook): Likewise.
26807 (__memalign_hook): Likewise.
26808 (__libc_malloc): Likewise.
26809 (__libc_free): Likewise.
26810 (__libc_realloc): Likewise.
26811 (__libc_memalign): Likewise.
26812 (__libc_valloc): Likewise.
26813 (__libc_pvalloc): Likewise.
26814 (__libc_calloc): Likewise.
26815 (__posix_memalign): Likewise.
26816 * malloc/morecore.c (__sbrk): Likewise.
26817 (__default_morecore): Likewise.
26819 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26821 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26822 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26823 __malloc_ptrdiff_t.
26825 * malloc/malloc.h (__malloc_size_t): Remove macro.
26826 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26828 (old_memalign_hook): Likewise.
26829 (old_realloc_hook): Likewise.
26830 (struct hdr): Likewise.
26832 (mallochook): Likewise.
26833 (memalignhook): Likewise.
26834 (reallochook): Likewise.
26835 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26836 (tr_old_realloc_hook): Likewise.
26837 (tr_old_memalign_hook): Likewise.
26838 (tr_mallochook): Likewise.
26839 (tr_reallochook): Likewise.
26840 (tr_memalignhook): Likewise.
26842 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26844 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26845 default_ldbl_pack and using as default implementation.
26846 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26848 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26849 redundant definition.
26850 (ldbl_insert_mantissa): Likewise.
26851 (ldbl_canonicalize): Likewise.
26852 (ldbl_nearbyint): Likewise.
26853 (ldbl_pack): Rename to ldbl_pack_ppc.
26854 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26855 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26856 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26858 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26860 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26861 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26862 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26863 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26865 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26866 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26867 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26869 2013-03-07 Andreas Jaeger <aj@suse.de>
26871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26874 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26876 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26877 Include mpa.h and declare __MPEXP.
26878 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26879 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26880 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26881 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26882 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26883 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26884 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26886 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26887 (__slowpow): Use long double EXPL and LOGL functions to
26889 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26890 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26891 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26892 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26893 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26894 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26897 intermediate variable to calculate exponent.
26899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26903 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26904 [!NO__SQR]: Define __sqr.
26905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26906 and NO__SQR. Remove all code except __mul and __sqr. Include
26907 sysdeps/ieee754/dbl-64/mpa.c.
26908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26911 * posix/Makefile (tests): Add tst-pathconf.
26912 * posix/tst-pathconf.c: New test case.
26913 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26915 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26917 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
26919 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26921 2013-03-06 Andreas Jaeger <aj@suse.de>
26923 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26924 definition via __MAP_ANONYMOUS.
26926 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26927 it's not part of Linux headers.
26929 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26930 (MAP_HUGE_MASK): Define.
26932 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26934 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26935 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26937 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26938 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26940 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26941 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26943 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26945 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26946 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26947 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26948 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26949 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26950 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26952 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26955 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26956 Handle f2fs and efivarfs.
26958 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26961 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26962 (EFIVARFS_MAGIC): Add.
26963 (F2FS_LINK_MAX): Add.
26965 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26967 * stdio-common/vfprintf.c: Replace __builtin_expect with
26970 2013-03-06 Joseph Myers <joseph@codesourcery.com>
26973 * sysdeps/generic/bp-sym.h: Remove file.
26974 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26975 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26976 <bp-sym.h> and <bp-asm.h>.
26977 (__longjmp): Don't use BP_SYM.
26978 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26980 (memcpy): Don't use BP_SYM.
26981 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26982 <bp-sym.h> and <bp-asm.h>.
26983 (memcpy): Don't use BP_SYM.
26984 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26986 (memcpy): Don't use BP_SYM.
26987 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26989 (memset): Don't use BP_SYM.
26990 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26991 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26992 (__bzero): Don't use BP_SYM.
26993 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26994 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26995 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26996 <bp-sym.h> and <bp-asm.h>.
26997 (memcmp): Don't use BP_SYM. Remove comment about bounded
26999 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27000 <bp-sym.h> and <bp-asm.h>.
27001 (memcpy): Don't use BP_SYM.
27002 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27003 <bp-sym.h> and <bp-asm.h>.
27004 (memset): Don't use BP_SYM.
27005 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27006 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27007 (__bzero): Don't use BP_SYM.
27008 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27009 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27010 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27011 <bp-sym.h> and <bp-asm.h>.
27012 (strncmp): Don't use BP_SYM. Remove comment about bounded
27014 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27015 <bp-sym.h> and <bp-asm.h>.
27016 (memcpy): Don't use BP_SYM.
27017 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27018 <bp-sym.h> and <bp-asm.h>.
27019 (memset): Don't use BP_SYM.
27020 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27021 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27022 (__bzero): Don't use BP_SYM.
27023 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27024 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27025 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27026 <bp-sym.h> and <bp-asm.h>.
27027 (__memchr): Don't use BP_SYM.
27028 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27029 <bp-sym.h> and <bp-asm.h>.
27030 (memcmp): Don't use BP_SYM. Remove comment about bounded
27032 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27033 <bp-sym.h> and <bp-asm.h>.
27034 (memcpy): Don't use BP_SYM.
27035 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27036 <bp-sym.h> and <bp-asm.h>.
27037 (__mempcpy): Don't use BP_SYM.
27038 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27039 <bp-sym.h> and <bp-asm.h>.
27040 (__memrchr): Don't use BP_SYM.
27041 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27042 <bp-sym.h> and <bp-asm.h>.
27043 (memset): Don't use BP_SYM.
27044 (__bzero): Likewise.
27045 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27046 <bp-sym.h> and <bp-asm.h>.
27047 (__rawmemchr): Don't use BP_SYM.
27048 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27049 <bp-sym.h> and <bp-asm.h>.
27050 (__STRCMP): Don't use BP_SYM.
27051 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27052 <bp-sym.h> and <bp-asm.h>.
27053 (strchr): Don't use BP_SYM.
27054 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27055 <bp-sym.h> and <bp-asm.h>.
27056 (__strchrnul): Don't use BP_SYM.
27057 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27058 <bp-sym.h> and <bp-asm.h>.
27059 (strlen): Don't use BP_SYM.
27060 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27061 <bp-sym.h> and <bp-asm.h>.
27062 (strncmp): Don't use BP_SYM. Remove comment about bounded
27064 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27065 <bp-sym.h> and <bp-asm.h>.
27066 (__strnlen): Don't use BP_SYM.
27067 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27068 <bp-sym.h> and <bp-asm.h>.
27069 (__GI__setjmp): Don't use BP_SYM.
27070 (_setjmp): Likewise.
27071 (__sigsetjmp): Likewise.
27072 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27073 (L(start_addresses)): Don't use BP_SYM.
27074 (_start): Likewise.
27075 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27077 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27078 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27079 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27080 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27081 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27083 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27084 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27085 about bounded pointers.
27086 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27087 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27088 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27090 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27091 about bounded pointers. Remove GKM FIXME comments.
27092 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27093 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27095 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27096 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27097 Remove GKM FIXME comments.
27098 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27099 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27100 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27102 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27103 about bounded pointers. Remove GKM FIXME comment.
27104 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27106 (strncmp): Don't use BP_SYM. Remove comment about bounded
27108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27109 <bp-sym.h> and <bp-asm.h>.
27110 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27112 <bp-sym.h> and <bp-asm.h>.
27113 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27116 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27118 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27121 2013-03-05 David S. Miller <davem@davemloft.net>
27123 * po/es.po: Update from translation team.
27125 2013-03-05 Andreas Jaeger <aj@suse.de>
27127 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27128 <bits/mman-linux.h>.
27129 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27131 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27132 <bits/mman-linux.h> to end of file.
27133 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27135 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27136 <bits/mman-linux.h> to end of file.
27137 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27139 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27140 <bits/mman-linux.h> to end of file.
27142 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27143 (MCL_CURRENT, MCL_FUTURE): Define here.
27145 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27148 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27150 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27152 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27154 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27155 fourth parameter needed for rt_sigprocmask syscall.
27156 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27157 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27158 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27159 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27160 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27161 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27163 2013-03-04 Joseph Myers <joseph@codesourcery.com>
27166 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27167 comment about bounded pointers.
27168 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27169 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27171 2013-03-04 Andreas Jaeger <aj@suse.de>
27173 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27174 common definitions.
27176 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27177 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27178 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27179 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27180 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27181 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27183 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27186 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27187 __ieee754_sqrl instead of __sqrl.
27189 2013-03-01 Joseph Myers <joseph@codesourcery.com>
27191 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27192 * sysdeps/powerpc/fpu_control.h: ... here.
27193 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27194 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27195 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27196 * sysdeps/powerpc/bits/mathinline.h: ... here.
27198 2013-03-01 Roland McGrath <roland@hack.frob.com>
27200 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27201 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27202 to just [NEED_DL_SYSINFO_DSO].
27203 * elf/dl-support.c: Likewise.
27204 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27205 * elf/rtld.c (dl_main): Likewise.
27206 * elf/setup-vdso.h (setup_vdso): Likewise.
27207 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27208 * sysdeps/unix/sysv/linux/dl-sysdep.c
27209 (_dl_discover_osversion): Likewise.
27211 2013-03-01 Carlos O'Donell <carlos@redhat.com>
27213 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27214 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27216 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27218 * NEWS: Mention libm performance improvements and non-x86 PI
27221 * csu/libc-start.c (__pthread_initialize_minimal): Change
27222 function arguments.
27223 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27225 2013-02-28 Joseph Myers <joseph@codesourcery.com>
27228 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27229 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27230 <bp-sym.h> and <bp-asm.h>.
27231 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27232 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27234 (memcpy): Don't use BP_SYM.
27235 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27237 (__mpn_add_n): Don't use BP_SYM.
27238 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27239 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27241 (__mpn_addmul_1): Don't use BP_SYM.
27242 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27243 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27245 (_setjmp): Don't use BP_SYM.
27246 (__novmx_setjmp): Likewise.
27247 (__GI__setjmp): Likewise.
27248 (__vmx_setjmp): Likewise.
27249 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27251 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27252 (__bzero): Don't use BP_SYM.
27253 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27254 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27255 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27256 <bp-sym.h> and <bp-asm.h>.
27257 (memcpy): Don't use BP_SYM.
27258 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27259 <bp-sym.h> and <bp-asm.h>.
27260 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27261 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27262 <bp-sym.h> and <bp-asm.h>.
27263 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27264 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27266 (__mpn_lshift): Don't use BP_SYM.
27267 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27268 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27270 (memset): Don't use BP_SYM.
27271 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27272 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27273 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27275 (__mpn_mul_1): Don't use BP_SYM.
27276 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27277 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27278 <bp-sym.h> and <bp-asm.h>.
27279 (memcmp): Don't use BP_SYM.
27280 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27281 <bp-sym.h> and <bp-asm.h>.
27282 (memcpy): Don't use BP_SYM.
27283 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27284 <bp-sym.h> and <bp-asm.h>.
27285 (memset): Don't use BP_SYM.
27286 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27287 <bp-sym.h> and <bp-asm.h>.
27288 (strncmp): Don't use BP_SYM.
27289 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27290 <bp-sym.h> and <bp-asm.h>.
27291 (memcpy): Don't use BP_SYM.
27292 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27293 <bp-sym.h> and <bp-asm.h>.
27294 (memset): Don't use BP_SYM.
27295 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27296 <bp-sym.h> and <bp-asm.h>.
27297 (__memchr): Don't use BP_SYM.
27298 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27299 <bp-sym.h> and <bp-asm.h>.
27300 (memcmp): Don't use BP_SYM.
27301 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27302 <bp-sym.h> and <bp-asm.h>.
27303 (memcpy): Don't use BP_SYM.
27304 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27305 <bp-sym.h> and <bp-asm.h>.
27306 (__mempcpy): Don't use BP_SYM.
27307 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27308 <bp-sym.h> and <bp-asm.h>.
27309 (__memrchr): Don't use BP_SYM.
27310 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27311 <bp-sym.h> and <bp-asm.h>.
27312 (memset): Don't use BP_SYM.
27313 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27314 <bp-sym.h> and <bp-asm.h>.
27315 (__rawmemchr): Don't use BP_SYM.
27316 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27317 <bp-sym.h> and <bp-asm.h>.
27318 (__STRCMP): Don't use BP_SYM.
27319 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27320 <bp-sym.h> and <bp-asm.h>.
27321 (strchr): Don't use BP_SYM.
27322 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27323 <bp-sym.h> and <bp-asm.h>.
27324 (__strchrnul): Don't use BP_SYM.
27325 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27326 <bp-sym.h> and <bp-asm.h>.
27327 (strlen): Don't use BP_SYM.
27328 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27329 <bp-sym.h> and <bp-asm.h>.
27330 (strncmp): Don't use BP_SYM.
27331 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27332 <bp-sym.h> and <bp-asm.h>.
27333 (__strnlen): Don't use BP_SYM.
27334 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27336 (__mpn_rshift): Don't use BP_SYM.
27337 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27338 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27339 <bp-sym.h> and <bp-asm.h>.
27340 (__sigsetjmp): Don't use BP_SYM.
27341 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27342 (L(start_addresses)): Don't use BP_SYM.
27343 (_start): Likewise.
27344 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27346 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27347 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27348 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27349 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27351 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27352 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27353 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27354 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27356 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27358 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27359 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27361 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27363 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27364 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27365 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27367 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27369 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27371 (strncmp): Don't use BP_SYM,
27372 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27374 (__mpn_sub_n): Don't use BP_SYM.
27375 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27376 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27378 (__mpn_submul_1): Don't use BP_SYM.
27379 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27381 <bp-sym.h> and <bp-asm.h>.
27382 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27384 <bp-sym.h> and <bp-asm.h>.
27385 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27388 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27390 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27391 Use ZK to minimize writes to Z.
27392 (sub_magnitudes): Simplify code a bit.
27393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27394 Use ZK to minimize writes to Z.
27395 (sub_magnitudes): Simplify code a bit.
27397 2013-02-27 Roland McGrath <roland@hack.frob.com>
27399 * csu/gmon-start.c: Add special exception to license text.
27401 2013-02-27 Richard Henderson <rth@redhat.com>
27403 * scripts/config.guess: Update from config.git.
27404 * scripts/config.sub: Likewise.
27406 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27408 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27410 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27412 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27414 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27416 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27418 2013-02-26 Roland McGrath <roland@hack.frob.com>
27420 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27421 [$(build-shared = yes].
27423 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27425 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27426 (__mul): Reduce iterations for calculating mantissa.
27428 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27430 (__mpranred): Likewise.
27433 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27434 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27436 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27438 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27439 Define __attribute__.
27441 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27443 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27445 * posix/regex_internal.h (__attribute): Remove.
27446 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27447 (re_string_context_at): Likewise.
27448 (bitset_not): Use __attribute__ and mark function as possibly
27450 (bitset_merge): Likewise.
27451 (bitset_mask): Likewise.
27452 (re_string_char_size_at): Likewise.
27453 (re_string_wchar_at): Likewise.
27454 (re_string_elem_size_at): Likewise.
27456 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27458 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27462 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27466 (denorm): Likewise.
27467 (__dbl_mp): Likewise.
27468 (add_magnitudes): Likewise.
27469 (sub_magnitudes): Likewise.
27473 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27476 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27479 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27483 up changes with default code.
27484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27487 2013-02-24 Allan McRae <allan@archlinux.org>
27489 * manual/socket.texi (The Internet Namespace): Order menu items
27490 to match that in the file.
27492 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27493 node listing of the info page menu.
27495 2013-02-21 Joseph Myers <joseph@codesourcery.com>
27498 * sysdeps/i386/bp-asm.h: Remove file.
27499 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27500 (PARMS): Do not use macros from bp-asm.h.
27504 (__mpn_add_n): Do not use BP_SYM
27505 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27507 (PARMS): Do not use macros from bp-asm.h.
27510 (__mpn_addmul_1): Do not use BP_SYM
27511 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27513 (PARMS): Do not use macros from bp-asm.h.
27514 (SIGMSK): Likewise.
27515 (_setjmp): Likewise. Do not use BP_SYM.
27516 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27518 (PARMS): Do not use macros from bp-asm.h.
27519 (SIGMSK): Likewise.
27520 (setjmp): Likewise. Do not use BP_SYM.
27521 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27523 (PARMS): Do not use macros from bp-asm.h.
27524 (__frexp): Do not use BP_SYM.
27526 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27528 (PARMS): Do not use macros from bp-asm.h.
27529 (__frexpf): Do not use BP_SYM.
27530 (frexpf): Likewise.
27531 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27533 (PARMS): Do not use macros from bp-asm.h.
27534 (__frexpl): Do not use BP_SYM.
27535 (frexpl): Likewise.
27536 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27538 (PARMS): Do not use macros from bp-asm.h.
27539 (__remquo): Do not use BP_SYM.
27540 (remquo): Likewise.
27541 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27543 (PARMS): Do not use macros from bp-asm.h.
27544 (__remquof): Do not use BP_SYM.
27545 (remquof): Likewise.
27546 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27548 (PARMS): Do not use macros from bp-asm.h.
27549 (__remquol): Do not use BP_SYM.
27550 (remquol): Likewise.
27551 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27553 (PARMS): Do not use macros from bp-asm.h.
27556 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27557 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27559 (PARMS): Do not use macros from bp-asm.h.
27560 (strlen): Do not use BP_SYM.
27561 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27563 (PARMS): Do not use macros from bp-asm.h.
27567 (__mpn_add_n): Do not use BP_SYM.
27568 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27570 (PARMS): Do not use macros from bp-asm.h.
27573 (__mpn_addmul_1): Do not use BP_SYM.
27574 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27577 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27579 (PARMS): Do not use macros from bp-asm.h.
27582 (__mpn_lshift): Do not use BP_SYM.
27583 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27585 (PARMS): Do not use macros from bp-asm.h.
27589 (memcpy): Likewise. Do not use BP_SYM.
27590 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27591 libc_hidden_def and weak_alias.
27592 (mempcpy): Do not use BP_SYM in weak_alias.
27593 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27595 (PARMS): Do not use macros from bp-asm.h.
27598 [!BZERO_P] (CHR): Likewise.
27599 (memset): Likewise. Do not use BP_SYM.
27600 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27602 (PARMS): Do not use macros from bp-asm.h.
27605 (__mpn_mul_1): Do not use BP_SYM.
27606 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27608 (PARMS): Do not use macros from bp-asm.h.
27611 (__mpn_rshift): Do not use BP_SYM.
27612 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27614 (PARMS): Do not use macros from bp-asm.h.
27617 (strchr): Likewise. Do not use BP_SYM.
27618 (index): Do not use BP_SYM in weak_alias.
27619 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27621 (PARMS): Do not use macros from bp-asm.h.
27624 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27625 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27627 (PARMS): Do not use macros from bp-asm.h.
27628 (strlen): Do not use BP_SYM.
27629 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27631 (PARMS): Do not use macros from bp-asm.h.
27635 (__mpn_sub_n): Do not use BP_SYM.
27636 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27638 (PARMS): Do not use macros from bp-asm.h.
27641 (__mpn_submul_1): Do not use BP_SYM.
27642 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27644 (PARMS): Do not use macros from bp-asm.h.
27648 (__mpn_add_n): Do not use BP_SYM.
27649 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27652 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27654 (PARMS): Do not use macros from bp-asm.h.
27657 (memcmp): Do not use BP_SYM.
27658 (bcmp): Do not use BP_SYM in weak_alias.
27659 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27661 (PARMS): Do not use macros from bp-asm.h.
27665 (memcpy): Likewise. Do not use BP_SYM.
27666 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27668 (PARMS): Do not use macros from bp-asm.h.
27672 (memmove): Likewise. Do not use BP_SYM.
27673 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27675 (PARMS): Do not use macros from bp-asm.h.
27679 (__mempcpy): Likewise. Do not use BP_SYM.
27680 (mempcpy): Do not use BP_SYM in weak_alias.
27681 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27683 (PARMS): Do not use macros from bp-asm.h.
27686 [!BZERO_P] (CHR): Likewise.
27687 (memset): Likewise. Do not use BP_SYM.
27688 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27690 (PARMS): Do not use macros from bp-asm.h.
27692 (strcmp): Do not use BP_SYM.
27693 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27695 (PARMS): Do not use macros from bp-asm.h.
27698 [USE_AS_STRTOK_R] (SAVE): Likewise.
27699 (FUNCTION): Likewise. Do not use BP_SYM.
27700 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27702 (strtok_r): Likewise.
27703 (__GI___strtok_r): Likewise.
27704 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27705 (PARMS): Do not use macros from bp-asm.h.
27708 (__mpn_lshift): Do not use BP_SYM.
27709 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27710 (PARMS): Do not use macros from bp-asm.h.
27713 (__memchr): Do not use BP_SYM.
27714 (memchr): Do not use BP_SYM in weak_alias.
27715 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27716 (PARMS): Do not use macros from bp-asm.h.
27719 (memcmp): Do not use BP_SYM.
27720 (bcmp): Do not use BP_SYM in weak_alias.
27721 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27722 (PARMS): Do not use macros from bp-asm.h.
27725 (__mpn_mul_1): Do not use BP_SYM.
27726 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27728 (PARMS): Do not use macros from bp-asm.h.
27731 (__rawmemchr): Do not use BP_SYM.
27732 (rawmemchr): Do not use BP_SYM in weak_alias.
27733 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27734 (PARMS): Do not use macros from bp-asm.h.
27737 (__mpn_rshift): Do not use BP_SYM.
27738 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27739 (PARMS): Do not use macros from bp-asm.h.
27740 (SIGMSK): Likewise.
27741 (__sigsetjmp): Likewise. Do not use BP_SYM.
27742 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27743 (_start): Do not use BP_SYM.
27744 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27745 (PARMS): Do not use macros from bp-asm.h.
27748 (__stpcpy): Likewise. Do not use BP_SYM.
27749 (stpcpy): Do not use BP_SYM in weak_alias.
27750 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27752 (PARMS): Do not use macros from bp-asm.h.
27756 (__stpncpy): Likewise. Do not use BP_SYM.
27757 (stpncpy): Do not use BP_SYM in weak_alias.
27758 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27759 (PARMS): Do not use macros from bp-asm.h.
27762 (strchr): Likewise. Do not use BP_SYM.
27763 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27765 (PARMS): Do not use macros from bp-asm.h.
27768 (__strchrnul): Likewise. Do not use BP_SYM.
27769 (strchrnul): Do not use BP_SYM in weak_alias.
27770 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27772 (PARMS): Do not use macros from bp-asm.h.
27774 (strcspn): Do not use BP_SYM.
27775 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27777 (PARMS): Do not use macros from bp-asm.h.
27780 (strpbrk): Likewise. Do not use BP_SYM.
27781 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27783 (PARMS): Do not use macros from bp-asm.h.
27786 (strrchr): Likewise. Do not use BP_SYM.
27787 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27788 (PARMS): Do not use macros from bp-asm.h.
27790 (strspn): Do not use BP_SYM.
27791 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27792 (PARMS): Do not use macros from bp-asm.h.
27796 (FUNCTION): Likewise. Do not use BP_SYM.
27797 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27799 (strtok_r): Likewise.
27800 (__GI___strtok_r): Likewise.
27801 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27802 (PARMS): Do not use macros from bp-asm.h.
27806 (__mpn_sub_n): Do not use BP_SYM.
27807 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27809 (PARMS): Do not use macros from bp-asm.h.
27812 (__mpn_submul_1): Do not use BP_SYM.
27813 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27815 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27817 (PARMS): Do not use macros from bp-asm.h.
27822 (__clone): Do not use BP_SYM.
27823 (clone): Do not use BP_SYM in weak_alias.
27824 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27826 (PARMS): Do not use macros from bp-asm.h.
27828 (__mmap64): Do not use BP_SYM.
27829 (mmap64): Do not use BP_SYM in weak_alias.
27830 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27831 <bp-sym.h> and <bp-asm.h>.
27832 (PARMS): Do not use macros from bp-asm.h.
27833 (__posix_fadvise64_l64): Do not use BP_SYM.
27834 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27835 (PARMS): Do not use macros from bp-asm.h.
27837 (semtimedop): Do not use BP_SYM.
27838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27841 2013-02-21 Allan McRae <allan@archlinux.org>
27843 * manual/message.texi (Charset conversion in gettext):
27844 Move @end statement to beginning of line.
27846 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27853 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27854 (denorm): Likewise.
27855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27858 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27860 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27861 tail-call to the resolved function if pltexit isn't needed.
27863 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27865 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27866 or Y being zero as being unlikely.
27867 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27870 2013-02-20 Carlos O'Donell <carlos@redhat.com>
27872 * manual/nss.texi (System Databases and Name Service Switch):
27873 Remove frobnicate @pxref.
27875 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27877 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27878 __attribute__ ((unused)) to __attribute__ ((__unused__)).
27880 2013-02-20 Petr Machata <pmachata@redhat.com>
27882 * elf/elf.h (R_ARM_TARGET1): New macro.
27883 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27884 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27885 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27886 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27887 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27888 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27889 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27890 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27891 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27892 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27893 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27894 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27895 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27896 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27897 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27898 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27899 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27900 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27901 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27902 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27903 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27904 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27905 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27906 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27907 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27908 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27909 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27910 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27911 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27912 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27913 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27914 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27915 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27916 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27917 (R_ARM_THM_GOT_BREL12): Likewise.
27918 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27919 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27920 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27921 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27922 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27923 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27924 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27925 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27926 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27928 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27930 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27931 __attribute_used__ to __attribute__ ((unused)).
27933 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27935 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27938 comment formatting.
27939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27941 2013-02-19 Joseph Myers <joseph@codesourcery.com>
27944 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27946 (ENTER): Remove both macro definitions.
27948 (CHECK_BOUNDS_LOW): Likewise.
27949 (CHECK_BOUNDS_HIGH): Likewise.
27950 (CHECK_BOUNDS_BOTH): Likewise.
27951 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27952 (RETURN_BOUNDED_POINTER): Likewise.
27953 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27954 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27955 (POP_ERRNO_LOCATION_RETURN): Likewise.
27956 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27957 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27958 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27960 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27961 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27962 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27963 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27964 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27965 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27966 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27967 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27968 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27969 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27970 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27971 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27972 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27973 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27975 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27976 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27978 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27979 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27980 * sysdeps/i386/i586/memset.S (memset): Likewise.
27981 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27982 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27983 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27985 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27986 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27987 Change uses of L(2) to L(out).
27988 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27989 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27990 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27991 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27992 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27994 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27995 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27997 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27998 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27999 (RETURN): Do not use macro LEAVE.
28000 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28001 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28002 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28003 * sysdeps/i386/i686/memset.S (memset): Likewise.
28004 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28005 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28006 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28007 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28009 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28010 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28011 L(1_2) and L(1_3) into L(1).
28012 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28013 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28014 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28015 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28016 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28017 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28018 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28019 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28020 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28022 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28023 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28024 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28025 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28026 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28027 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28028 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28029 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28030 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28031 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28032 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28033 * sysdeps/i386/strspn.S (strspn): Likewise.
28034 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28036 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28037 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28038 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28039 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28040 L(1_3) into L(1_1).
28041 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28042 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28043 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28045 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28047 2013-02-19 Jakub Jelinek <jakub@redhat.com>
28049 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28052 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28054 * math/atest-exp.c (exp_mpn): Remove ROUND.
28055 * math/atest-exp2.c (exp_mpn): Likewise.
28056 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28058 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28059 * stdlib/tst-tls-atexit-lib.c: Likewise.
28060 * stdlib/tst-tls-atexit.c: Likewise.
28062 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28064 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28065 and __attribute_alloc_size__.
28067 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28069 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28070 __attribute_alloc_size__.
28071 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28072 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28074 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28076 * include/programs/xmalloc.h: New file.
28077 * catgets/gencat.c: Include it.
28078 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28079 * elf/pldd.c: Likewise.
28080 * iconv/iconv_charmap.c: Likewise.
28081 * iconv/iconvconfig.c: Likewise.
28082 * iconv/strtab.c: Likewise.
28083 * locale/programs/locale.c: Likewise.
28084 * locale/programs/localedef.h: Likewise.
28085 * locale/programs/simple-hash.c: Likewise.
28086 * nscd/nscd.h: Likewise.
28087 * nss/makedb.c: Likewise.
28088 * sysdeps/generic/ldconfig.h: Likewise.
28090 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28092 * Versions.def: Add GLIBC_2.18.
28093 * include/link.h (struct link_map): New member l_tls_dtor_count.
28094 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28095 (__call_tls_dtors): Likewise.
28096 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28097 __cxa_thread_atexit_impl.
28098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28106 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28114 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28115 (tests): Add test case tst-tls-atexit.
28116 (modules-names): Add shared library for tst-tls-atexit.
28117 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28118 (GLIBC_PRIVATE): Add __call_tls_dtors.
28119 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28121 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28122 * stdlib/tst-tls-atexit.c: New test case.
28123 * stdlib/tst-tls-atexit-lib.c: New test case.
28125 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28127 * elf/Versions (ld): Add _dl_find_dso_for_object.
28128 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28129 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28130 (dl_open_worker): Use _dl_find_dso_for_object.
28131 * elf/dl-sym.c (do_sym): Likewise.
28132 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28134 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28136 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28137 Syntactic changes only.
28138 (_dl_runtime_profile): Do a tail-call to the resolved function.
28140 2013-02-17 Joseph Myers <joseph@codesourcery.com>
28143 * sysdeps/x86_64/bp-asm.h: Remove file.
28144 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28145 <bp-sym.h> and <bp-asm.h>.
28146 (__clone): Do not use BP_SYM.
28147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28148 <bp-sym.h> and <bp-asm.h>.
28149 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28150 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28152 (_setjmp): Do not use BP_SYM.
28153 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28155 (setjmp): Do not use BP_SYM.
28156 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28158 (mempcpy): Do not use BP_SYM in weak_alias.
28159 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28161 (strchr): Do not use BP_SYM.
28162 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28164 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28165 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28166 (_start): Do not use BP_SYM.
28167 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28169 (strcat): Do not use BP_SYM.
28170 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28172 (STRCMP): Do not use BP_SYM.
28173 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28175 (STRCPY): Do not use BP_SYM.
28176 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28178 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28180 (FUNCTION): Do not use BP_SYM.
28181 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28183 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28185 2013-02-17 Andreas Jaeger <aj@suse.de>
28187 * time/Versions: Sort entries.
28188 * string/Versions: Likewise.
28189 * resolv/Versions: Likewise.
28190 * posix/Versions: Likewise.
28191 * iconv/Versions: Likewise.
28192 * elf/Versions: Likewise.
28193 * wcsmbs/Versions: Likewise.
28195 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28197 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28198 loop termination condition.
28200 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28201 variable to calculate EZ.
28204 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28205 the lower precision input.
28207 2013-02-15 Joseph Myers <joseph@codesourcery.com>
28210 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28211 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28212 (run-via-rtld-prefix): Do not handle %-bp tests.
28213 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28214 (all-object-suffixes): Remove .ob.
28215 (bppfx): Remove variable.
28216 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28217 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28218 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28219 [$(build-bounded) = yes] (libtype.ob): Likewise.
28220 * Makerules (elide-routines.ob): Remove variable.
28221 (do-tests-clean): Do not handle *-bp.out.
28222 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28223 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28224 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28225 (tests): Do not include $(tests-bp.out).
28226 (xtests): Do not include $(xtests-bp.out).
28227 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28228 [$(build-bounded) = yes] ($(addprefix
28229 $(objpfx),$(binaries-bounded))): Remove rule.
28230 ($(objpfx)%-bp.out): Remove rule.
28231 * config.make.in (build-bounded): Remove variable.
28232 * crypt/Makefile [$(build-bounded) = yes]
28233 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28234 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28235 append to variable.
28236 [$(build-bounded) = yes] (install-lib): Likewise.
28237 [$(build-bounded) = yes] (generated): Likewise.
28238 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28240 * intl/Makefile [$(build-bounded) = yes]
28241 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28242 * math/Makefile [$(build-bounded) = yes]
28243 ($(tests:%=$(objpfx)%-bp): Likewise.
28244 * misc/Makefile [$(build-bounded) = yes]
28245 ($(objpfx)tst-tsearch-bp): Likewise.
28246 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28247 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28249 * string/Makefile (o-objects.ob): Remove variable.
28250 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28251 (CFLAGS-.ob): Remove variable.
28252 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28253 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28254 both definitions of variable.
28255 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28256 (ASFLAGS-.ob): Remove variable.
28258 2013-02-14 Joseph Myers <joseph@codesourcery.com>
28261 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28262 Remove __BOUNDED_POINTERS__ from condition.
28263 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28264 * string/bits/string2.h [!__NO_STRING_INLINES &&
28265 !__BOUNDED_POINTERS__]: Likewise.
28266 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28268 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28269 Remove conditional code.
28270 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28271 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28272 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28276 * csu/libc-start.c: Do not include <bp-sym.h>.
28277 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28278 * elf/dl-open.c: Do not include <bp-sym.h>.
28279 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28280 * math/fegetenv.c: Do not include <bp-sym.h>.
28281 (fegetenv): Do not use BP_SYM in versioned symbols.
28282 * nptl/sysdeps/pthread/bits/libc-lockP.h
28283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28286 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28288 (__pthread_mutex_destroy): Likewise.
28289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28290 (__pthread_mutex_lock): Likewise.
28291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28292 (__pthread_mutex_trylock): Likewise.
28293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28294 (__pthread_mutex_unlock): Likewise.
28295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28296 (__pthread_mutexattr_init): Likewise.
28297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28298 (__pthread_mutexattr_destroy): Likewise.
28299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28300 (__pthread_mutexattr_settype): Likewise.
28301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28302 (__pthread_rwlock_init): Likewise.
28303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28304 (__pthread_rwlock_destroy): Likewise.
28305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28306 (__pthread_rwlock_rdlock): Likewise.
28307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28308 (__pthread_rwlock_tryrdlock): Likewise.
28309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28310 (__pthread_rwlock_wrlock): Likewise.
28311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28312 (__pthread_rwlock_trywrlock): Likewise.
28313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28314 (__pthread_rwlock_unlock): Likewise.
28315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28316 (__pthread_key_create): Likewise.
28317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28318 (__pthread_setspecific): Likewise.
28319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28320 (__pthread_getspecific): Likewise.
28321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28324 (_pthread_cleanup_push_defer): Likewise.
28325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28326 (_pthread_cleanup_pop_restore): Likewise.
28327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28328 (pthread_setcancelstate): Likewise.
28329 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28331 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28332 (memchr): Do not use BP_SYM in weak_alias.
28333 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28334 (fegetenv): Do not use BP_SYM in versioned symbols.
28335 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28336 (fesetenv): Do not use BP_SYM in versioned symbols.
28337 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28338 (feupdateenv): Do not use BP_SYM in versioned symbols.
28339 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28340 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28341 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28342 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28343 (open64): Do not use BP_SYM in weak_alias.
28344 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28345 (fegetenv): Do not use BP_SYM in versioned symbols.
28346 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28347 (fesetenv): Do not use BP_SYM in versioned symbols.
28348 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28349 (feupdateenv): Do not use BP_SYM in versioned symbols.
28350 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28351 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28352 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28353 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28354 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28355 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28356 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28358 (__libc_start_main): Do not use BP_SYM.
28360 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28363 redundant return line.
28365 (denorm): Likewise.
28366 (dbl_mp): Likewise.
28367 (sub_magnitudes): Likewise.
28373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28375 (denorm): Likewise.
28376 (dbl_mp): Likewise.
28377 (sub_magnitudes): Likewise.
28384 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28386 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28387 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28390 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28391 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28392 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28393 of __mul for squares.
28394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28398 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28399 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28401 2013-02-13 Joseph Myers <joseph@codesourcery.com>
28404 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28406 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28407 prototype or function definition. Rename ubp_* variables and
28408 parameters. Remove argv definitions conditional on
28409 [__BOUNDED_POINTERS__].
28410 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28411 * elf/dl-runtime.c (_dl_fixup): Likewise.
28412 * include/set-hooks.h (RUN_HOOK): Likewise.
28413 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28415 * string/strcpy.c (strcpy): Do not use __unbounded.
28416 * sysdeps/generic/frame.h (struct layout): Likewise.
28417 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28418 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28419 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28420 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28421 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28422 (__backtrace): Likewise.
28423 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28425 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28426 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28427 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28429 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28430 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28431 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28432 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28433 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28434 Do not use __unbounded.
28435 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28436 Rename __unboundedrlimits parameter to rlimits in prototype.
28437 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28438 Do not use __unbounded.
28439 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28440 not use __ptrvalue.
28441 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28442 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28443 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28444 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28445 __ptrvalue or __unbounded.
28446 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28447 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28449 (__new_msgctl): Do not use __ptrvalue.
28450 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28452 (__libc_msgrcv): Do not use __ptrvalue.
28453 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28454 startup_info): Do not use __unbounded.
28455 (__libc_start_main): Likewise. Rename ubp_* variables and
28456 parameters. Remove argv definitions conditional on
28457 [__BOUNDED_POINTERS__].
28458 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28460 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28462 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28464 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28466 (__new_shmctl): Do not use __ptrvalue.
28467 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28468 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28470 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28471 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28472 (__libc_sigaction): Likewise.
28473 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28474 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28476 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28478 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
28480 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28482 * string/mempcpy.c: Implement by calling memcpy.
28484 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28486 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28491 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28492 values in the mantissa.
28494 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28495 minimize writes to Z.
28496 (sub_magnitudes): Simplify code a bit.
28498 2013-02-12 Roland McGrath <roland@hack.frob.com>
28500 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28501 from the message. The linker prefixes all warnings with that already.
28503 2013-02-12 Andreas Schwab <schwab@suse.de>
28506 * posix/regexec.c (extend_buffers): Add parameter min_len.
28507 (check_matching): Pass minimum needed length.
28508 (clean_state_log_if_needed): Likewise.
28509 (get_subexp): Likewise.
28510 * posix/Makefile (tests): Add bug-regex34.
28511 (bug-regex34-ENV): Define.
28512 * posix/bug-regex34.c: New file.
28515 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28516 elements compare against the byte sequence of it, not its name.
28517 * posix/Makefile (tests): Add bug-regex35.
28518 (bug-regex35-ENV): Define.
28519 * posix/bug-regex35.c: New file.
28521 2013-02-11 Tom de Vries <tom@codesourcery.com>
28523 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28525 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28526 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28527 (CHECK_EOL): Add undef.
28529 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
28531 * bits/stdlib-bsearch.h: New file.
28532 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28533 * stdlib/stdlib.h: Likewise.
28535 2013-02-11 Roland McGrath <roland@hack.frob.com>
28537 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28538 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28540 * manual/search.texi (Array Search Function): Add missing const in
28542 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28543 declaration to use rlim_t.
28544 (Basic Scheduling Functions): Remove erroneous const from
28545 sched_getparam prototype. Remove erroneous * from
28546 sched_get_priority_max and sched_get_priority_min prototypes.
28547 (Resource Usage): Fix summary @comment on vtimes to refer to
28548 sys/vtimes.h rather than vtimes.h.
28549 Add missing *s in vtimes prototype.
28550 (Limits on Resources): Fix ulimit prototype to return long int.
28551 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28552 prototypes to use long int rather than double.
28553 (BSD Random): Fix initstate and setstate to use char *, not void *.
28554 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28555 prototype to make second argument 'struct aiocb64 *const[]'.
28556 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28557 (Status of AIO Operations): Remove erroneous const in aio_return and
28558 aio_return64 prototypes.
28559 (Synchronizing I/O): Fix sync prototype to return void.
28560 * manual/startup.texi (Suboptions): Remove an erroneous const in
28561 getsubopt prototype.
28562 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28563 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28564 use size_t rather than int.
28565 (Scanning All Users): Likewise for getpwent_r.
28566 (Setting Groups): Add missing const to setgroups prototype.
28567 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28568 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28569 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28570 'const void *' rather than 'const char *'.
28571 (Host Address Functions): Likewise for inet_ntop.
28572 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28573 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28574 ssize_t for return value.
28575 (Sending Data): Likewise for send, sendto, sendmsg.
28576 (Socket Option Functions): Add a missing const in setsockopt prototype.
28577 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28578 use wchar_t for the argument.
28579 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28580 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28582 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28583 double/float/long double for second argument.
28584 Fix return types of significand, significandf, significandl.
28585 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28586 argument in fchmod prototype.
28587 (File Owner): Use uid_t and gid_t in fchown prototype.
28588 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28589 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28590 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28591 use 'const struct dirent **' as argument types to CMP function pointer
28593 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28594 (File Times): Fix summary magic @comment for struct utimbuf and utime
28595 to refer to utime.h, not time.h.
28596 * manual/string.texi (Argz Functions): Add missing const in
28597 argz_extract and argz_next prototypes.
28598 (Finding Tokens in a String): Likewise for basename.
28599 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28600 (Copying and Concatenation): Fix typo in wmemmove prototype.
28601 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28602 (Signal Stack): Remove erroneous const in sigstack prototype.
28603 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28605 (Simple Calendar Time): Likewise for stime.
28606 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28608 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28609 say sys/sysctl.h instead.
28610 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28611 and vsyslog prototypes.
28613 2013-02-11 Tom de Vries <tom@codesourcery.com>
28615 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28618 2013-02-11 Roland McGrath <roland@hack.frob.com>
28620 * misc/sys/mman.h: Fix typo in mremap comment.
28622 2013-02-08 Roland McGrath <roland@hack.frob.com>
28624 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28625 the '\0' terminator.
28627 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28630 * debug/segfault.c: Don't include <bp-checks.h>.
28631 * sysdeps/generic/bp-checks.h: Remove file.
28632 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28633 (__GETDENTS): Don't use CHECK_N.
28634 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28635 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28636 (__getgroups): Don't use CHECK_N.
28637 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28638 (setgroups): Don't use CHECK_N.
28639 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28640 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28641 (__libc_msgrcv): Don't use CHECK_N.
28642 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28643 (__libc_msgsnd): Don't use CHECK_N.
28644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28646 (__libc_pread): Don't use CHECK_N.
28647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28648 include <bp-checks.h>.
28649 (__libc_pread64): Don't use CHECK_N.
28650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28651 include <bp-checks.h>.
28652 (__libc_pwrite): Don't use CHECK_N.
28653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28654 include <bp-checks.h>.
28655 (__libc_pwrite64): Don't use CHECK_N.
28656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28658 (__libc_pread): Don't use CHECK_N.
28659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28660 include <bp-checks.h>.
28661 (__libc_pread64): Don't use CHECK_N.
28662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28663 include <bp-checks.h>.
28664 (__libc_pwrite): Don't use CHECK_N.
28665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28666 include <bp-checks.h>.
28667 (__libc_pwrite64): Don't use CHECK_N.
28668 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28669 (do_pread): Don't use CHECK_N.
28670 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28671 (do_pread64): Don't use CHECK_N.
28672 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28673 (do_pwrite): Don't use CHECK_N.
28674 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28675 (do_pwrite64): Don't use CHECK_N.
28676 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28677 (__libc_readv): Don't use CHECK_N.
28678 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28679 (semop): Don't use CHECK_N.
28680 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28682 (semtimedop): Don't use CHECK_N.
28683 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28684 (__libc_pread): Don't use CHECK_N.
28685 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28687 (__libc_pread64): Don't use CHECK_N.
28688 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28690 (__libc_pwrite): Don't use CHECK_N.
28691 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28693 (__libc_pwrite64): Don't use CHECK_N.
28694 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28696 (__libc_msgrcv): Don't use CHECK_N.
28697 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28698 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28699 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28700 (__libc_writev): Don't use CHECK_N.
28702 2013-02-08 Roland McGrath <roland@hack.frob.com>
28704 * string/strcpy.c: Removed unused variable.
28706 * Makeconfig (+sysdep-includes): Define with := rather than =.
28707 Use an existing include/ subdir of each sysdeps dir before it.
28709 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28711 * nscd/connection.c (register_traced_file): Comment function.
28712 [HAVE_INOTIFY] (union __inev): Define.
28713 [HAVE_INOTIFY] (inotify_check_files): New function.
28714 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28715 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28717 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28719 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28721 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28722 loaded if not already and that a failure is permanent.
28724 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28727 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28728 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28730 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28733 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28734 (CHECK_1_NULL_OK): Likewise.
28735 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28736 (__fxstat): Do not use CHECK_1.
28737 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28739 (___fxstat64): Do not use CHECK_1.
28740 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28742 (__fxstatat): Do not use CHECK_1.
28743 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28745 (__fxstatat64): Do not use CHECK_1.
28746 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28748 (__fxstat): Do not use CHECK_1.
28749 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28751 (__fxstatat): Do not use CHECK_1.
28752 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28754 (__getresgid): Do not use CHECK_1.
28755 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28757 (__getresuid): Do not use CHECK_1.
28758 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28760 (__lxstat): Do not use CHECK_1.
28761 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28763 (__old_msgctl): Do not use CHECK_1.
28764 (__new_msgctl): Likewise.
28765 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28767 (__new_setrlimit): Do not use CHECK_1.
28768 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28770 (__old_shmctl): Do not use CHECK_1.
28771 (__new_shmctl): Likewise.
28772 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28774 (__xstat): Do not use CHECK_1.
28775 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28776 (__lxstat): Do not use CHECK_1.
28777 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28779 (___lxstat64): Do not use CHECK_1.
28780 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28781 (__old_msgctl): Do not use CHECK_1.
28782 (__new_msgctl): Likewise.
28783 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28785 (__gettimeofday): Do not use CHECK_1.
28786 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28787 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28788 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28790 (__gettimeofday): Do not use CHECK_1.
28791 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28792 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28793 (__new_shmctl): Do not use CHECK_1.
28794 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28796 (do_sigtimedwait): Do not use CHECK_1.
28797 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28799 (do_sigwaitinfo): Do not use CHECK_1.
28800 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28802 (msgctl): Do not use CHECK_1.
28803 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28805 (shmctl): Do not use CHECK_1.
28806 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28807 (ustat): Do not use CHECK_1.
28808 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28810 (__fxstat): Do not use CHECK_1.
28811 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28813 (__fxstatat): Do not use CHECK_1.
28814 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28816 (__lxstat): Do not use CHECK_1.
28817 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28819 (__xstat): Do not use CHECK_1.
28820 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28821 (__xstat): Do not use CHECK_1.
28822 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28823 (___xstat64): Do not use CHECK_1.
28826 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28828 (CHECK_BOUNDS_HIGH): Likewise.
28829 * string/strcpy.c: Do not include <bp-checks.h>.
28830 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28832 2013-02-07 Roland McGrath <roland@hack.frob.com>
28834 * nscd/nscd-client.h (__nscd_drop_map_ref):
28835 Add __attribute__ ((unused)).
28836 * nis/nss-nisplus.h (niserr2nss): Likewise.
28838 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28839 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28841 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28842 Remove inline keyword.
28843 * include/rounding-mode.h (round_away): Likewise.
28844 * libio/wfileops.c (adjust_wide_data): Likewise.
28845 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28846 (__m128i_strloadu_tolower): Likewise.
28847 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28848 (__m128i_strloadu_tolower): Likewise.
28849 * time/mktime.c (ydhms_diff): Likewise.
28850 * locale/elem-hash.h (elem_hash): Likewise.
28851 * locale/setlocale.c (setdata): Likewise.
28852 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28853 (re_string_wchar_at): Likewise.
28854 (bitset_not, bitset_merge, bitset_mask): Likewise.
28855 [!(__GNUC__ > 3)] (inline): Remove macro.
28856 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28857 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28858 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28859 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28860 * string/memcmp.c (memcmp_bytes): Likewise.
28861 * locale/programs/locarchive.c (compute_hashval): Likewise.
28862 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28863 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28864 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28865 * nss/getent.c (print_rpc, print_protocols): Likewise.
28866 (print_passwd, print_group, print_aliases): Likewise.
28867 * nis/nss-nisplus.h (niserr2nss): Likewise.
28868 * nscd/connections.c (restart_p): Likewise.
28869 Change return type to bool.
28871 2013-02-05 Roland McGrath <roland@hack.frob.com>
28873 * Makeconfig (all-Depend-files): Add existing
28874 $(sorted-subdirs:=/Depend) files.
28875 (all-subdirs): Remove nss.
28876 * sysdeps/unix/inet/Subdirs: Add it here instead.
28877 * hesiod/Depend: New file.
28879 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28880 instead of calling alloca.
28882 * io/lseek.c (__lseek): Rename to __libc_lseek.
28883 Define __lseek as an alias.
28885 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28887 2013-02-04 Carlos O'Donell <carlos@redhat.com>
28889 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28890 else clause and remove check for non-standard endianness.
28892 2013-02-04 David S. Miller <davem@davemloft.net>
28894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28896 2013-02-04 Joseph Myers <joseph@codesourcery.com>
28899 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28900 (__ubp_memchr): Remove prototype.
28901 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28902 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28903 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28904 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28905 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28907 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28908 (__ubp_memchr): Likewise.
28909 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28910 (__ubp_memchr): Likewise.
28911 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28912 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28913 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28914 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28916 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28917 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28918 (__getcwd): Do not use CHECK_STRING.
28919 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28921 (__real_chown): Do not use CHECK_STRING.
28922 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28924 (fchownat): Do not use CHECK_STRING.
28925 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28927 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28929 (__lchown): Do not use CHECK_STRING.
28930 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28931 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28932 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28933 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28935 include <bp-checks.h>.
28936 (truncate64): Do not use CHECK_STRING.
28937 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28939 (__real_chown): Do not use CHECK_STRING.
28940 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28942 (__lchown): Do not use CHECK_STRING.
28943 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28945 (__chown): Do not use CHECK_STRING.
28946 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28948 (truncate64): Do not use CHECK_STRING.
28949 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28951 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28952 (__xmknod): Do not use CHECK_STRING.
28953 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28955 (__xmknodat): Do not use CHECK_STRING.
28956 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28957 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28959 2013-02-04 Andreas Schwab <schwab@suse.de>
28962 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28963 * include/netdb.h: Likewise for h_errno.
28964 * elf/tst-stackguard1.c: Include <tls.h>.
28966 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28968 * elf/link.h (struct link_map): Extend the l_addr comment.
28969 * include/link.h (struct link_map): Likewise.
28971 2013-02-01 Joseph Myers <joseph@codesourcery.com>
28974 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28975 (BOUNDED_1): Remove macro.
28976 * debug/backtrace.c: Don't include <bp-checks.h>.
28977 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28978 (__backtrace): Likewise.
28979 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28981 (__backtrace): Don't use BOUNDED_1.
28982 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28984 (__backtrace): Don't use BOUNDED_1.
28985 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28986 (__backtrace): Don't use BOUNDED_1.
28987 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28988 (shmat): Don't use BOUNDED_N.
28990 2013-01-31 Joseph Myers <joseph@codesourcery.com>
28993 * sysdeps/generic/bp-start.h: Remove file.
28994 * csu/libc-start.c: Don't include <bp-start.h>.
28995 (LIBC_START_MAIN): Set up __environ directly instead of using
28996 INIT_ARGV_and_ENVIRON.
28997 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29001 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29003 (CHECK_FCNTL): Likewise.
29004 (CHECK_N_PAGES): Likewise.
29007 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29009 (CHECK_SIGSET_NULL_OK): Likewise.
29010 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29012 (sigpending): Don't use CHECK_SIGSET.
29013 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29015 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29016 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29018 (do_sigsuspend): Don't use CHECK_SIGSET.
29019 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29021 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29022 (do_sigwait): Don't use CHECK_SIGSET.
29023 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29025 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29026 include <bp-checks.h>.
29027 (sigpending): Don't use CHECK_SIGSET.
29028 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29029 include <bp-checks.h>.
29030 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29031 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29033 (sigpending): Don't use CHECK_SIGSET.
29034 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29036 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29039 * sysdeps/generic/bp-semctl.h: Remove file.
29040 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29041 <bp-checks.h> and <bp-semctl.h>.
29042 (__old_semctl): Don't use CHECK_SEMCTL.
29043 (__new_semctl): Likewise.
29044 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29046 (__old_semctl): Don't use CHECK_SEMCTL.
29047 (__new_semctl): Likewise.
29048 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29049 <bp-checks.h> and <bp-semctl.h>.
29050 (__old_semctl): Don't use CHECK_SEMCTL.
29051 (__new_semctl): Likewise.
29052 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29053 <bp-checks.h> and <bp-semctl.h>.
29054 (semctl): Don't use CHECK_SEMCTL.
29057 * Makerules (elide-bp-thunks): Remove variable.
29058 (elide-routines.oS): Don't use $(elide-bp-thunks).
29059 (elide-routines.os): Likewise.
29060 (elide-routines.o): Likewise.
29061 (elide-routines.op): Likewise.
29062 (elide-routines.og): Likewise.
29063 (objects): Don't use $(bp-thunks).
29064 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29066 (common-generated): Do not add s-proto-bp.d.
29067 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29070 Do not generate makefile rules for bounded-pointer thunks.
29071 * sysdeps/generic/bp-thunks.h: Remove file.
29072 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29073 * sysdeps/unix/s-proto-bp.S: Likewise.
29076 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29077 parts of result separately when argument is not close to line from
29078 -i to i and one part of argument is small.
29079 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29080 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29081 * math/libm-test.inc (cacos_test): Add more tests.
29082 (casin_test): Likewise.
29083 (casinh_test): Likewise.
29084 * sysdeps/i386/fpu/libm-test-ulps: Update.
29085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29087 2013-01-31 David S. Miller <davem@davemloft.net>
29089 * po/de.po: Update from translation team.
29091 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29093 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29095 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29097 * configure.in (_AC_PROG_CC_C89): New definition.
29098 * configure: Regenerate.
29100 * configure.in (AC_PROG_CPP): New definition.
29101 * configure: Regenerate.
29103 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29105 * debug/tst-backtrace.h: New file.
29106 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29107 (ret): Remove variable.
29109 (FAIL): Remove macro.
29110 (NO_INLINE): Likewise.
29111 (fn1): Use match function instead of strstr.
29112 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29113 (ret): Remove variable.
29115 (FAIL): Remove macro.
29116 (NO_INLINE): Likewise.
29117 (fn): Use match function instead of strstr.
29118 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29119 (ret): Remove variable.
29121 (FAIL): Remove macro.
29122 (NO_INLINE): Likewise.
29123 (handle_signal): Use match function instead of strstr.
29124 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29125 (ret): Remove variable.
29127 (FAIL): Remove macro.
29128 (NO_INLINE): Likewise.
29129 (handle_signal): Use match function instead of strstr.
29131 2013-01-23 Roland McGrath <roland@hack.frob.com>
29133 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29135 2013-01-23 David S. Miller <davem@davemloft.net>
29137 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29138 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29139 argument of CAS if possible.
29140 * sysdeps/sparc/sparc64/bits/atomic.h
29141 (__arch_compare_and_exchange_val_32_acq): Likewise.
29142 (__arch_compare_and_exchange_val_64_acq): Likewise.
29144 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29146 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29147 * sysdeps/posix/ulimit.c: ... this.
29148 Include <limits.h>.
29149 * sysdeps/unix/bsd/ulimit.c: Remove file.
29151 2013-01-23 Adam Conrad <adconrad@0c3.net>
29153 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29154 (LDFLAGS-tst-array5): Likewise.
29156 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29159 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29160 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29161 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29162 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29164 2013-01-21 David S. Miller <davem@davemloft.net>
29166 * sysdeps/sparc/backtrace.c: New file.
29167 * sysdeps/sparc/sparc32/backtrace.h: New file.
29168 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29169 * sysdeps/sparc/sparc64/backtrace.h: New file.
29170 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29171 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29174 2013-01-21 Andreas Schwab <schwab@suse.de>
29177 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29180 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29186 2013-01-18 Joseph Myers <joseph@codesourcery.com>
29187 Mark Mitchell <mark@codesourcery.com>
29188 Tom de Vries <tom@codesourcery.com>
29189 Paul Pluzhnikov <ppluzhnikov@google.com>
29191 * debug/tst-backtrace2.c: New file.
29192 * debug/tst-backtrace3.c: Likewise.
29193 * debug/tst-backtrace4.c: Likewise.
29194 * debug/tst-backtrace5.c: Likewise.
29195 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29196 (CFLAGS-tst-backtrace3.c): Likewise.
29197 (CFLAGS-tst-backtrace4.c): Likewise.
29198 (CFLAGS-tst-backtrace5.c): Likewise.
29199 (LDFLAGS-tst-backtrace2): Likewise.
29200 (LDFLAGS-tst-backtrace3): Likewise.
29201 (LDFLAGS-tst-backtrace4): Likewise.
29202 (LDFLAGS-tst-backtrace5): Likewise.
29203 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29204 tst-backtrace4 and tst-backtrace5.
29206 2013-01-18 Anton Blanchard <anton@samba.org>
29207 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29209 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29210 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29211 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29212 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29214 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29215 "+r" and remove output regs list as redundant. Add explicit inline
29216 asm to specify register of return val to work around compiler codegen
29217 bug. Remove (int) cast on return value. Add return type parameter to
29218 use in macro so that this macro does not truncate return value for
29220 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29221 pass to INTERNAL_VSYSCALL_NCS.
29222 (INLINE_VSYSCALL): Add 'long int' as return type to
29223 INTERNAL_VSYSCALL_NCS macro invocation.
29224 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29225 INTERNAL_VSYSCALL_NCS macro invocation.
29226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29228 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29231 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29232 Fix application of SIMD FP exception mask.
29234 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29235 mp_no from a power of two.
29236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29237 __mpexp_twomm1. Use __pow_mp.
29239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29242 2013-01-17 David S. Miller <davem@davemloft.net>
29244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29246 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29249 * include/complex.h: Condition contents on [!_COMPLEX_H].
29250 (__kernel_casinhf): New prototype.
29251 (__kernel_casinh): Likewise.
29252 (__kernel_casinhl): Likewise.
29253 * math/Makefile (libm_calls): Add k_casinh.
29254 * math/k_casinh.c: New file.
29255 * math/k_casinhf.c: Likewise.
29256 * math/k_casinhl.c: Likewise.
29257 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29258 finite nonzero arguments.
29259 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29260 finite nonzero arguments.
29261 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29262 finite nonzero arguments.
29263 * math/s_casinh.c: Do not include <float.h>.
29264 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29265 * math/s_casinhf.c: Do not include <float.h>.
29266 (__casinhf): Move code for finite nonzero arguments to
29268 * math/s_casinhl.c: Do not include <float.h>.
29269 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29271 (__casinhl): Move code for finite nonzero arguments to
29273 * math/libm-test.inc (cacos_test): Add more tests.
29274 * sysdeps/i386/fpu/libm-test-ulps: Update.
29275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29277 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29279 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29280 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29281 [!HAVE_MREMAP]: Remove [defined linux] case.
29282 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29284 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29286 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29288 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
29290 * elf/elf.h (R_386_SIZE32): New relocation.
29291 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29293 (elf_machine_rela): Likewise.
29294 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29295 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29297 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29299 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29300 (FP_FAST_FMA): Do not define.
29301 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29302 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29303 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29304 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29305 !_SOFT_FLOAT]: Likewise.
29306 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29307 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29309 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29310 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29311 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29312 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29313 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29314 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29317 2013-01-16 Andreas Schwab <schwab@suse.de>
29320 * include/stdlib.h (__mktemp): Add declaration.
29321 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29322 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29324 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29326 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29328 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29329 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29330 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29332 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29333 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29335 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29337 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29338 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29339 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29341 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29342 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29344 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29346 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29348 2013-01-15 David S. Miller <davem@davemloft.net>
29350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29351 trunc{,f} to libm-sysdep_routes.
29352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29362 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29363 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29364 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29365 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29366 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29367 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29370 nearbyint{,f} to libm-sysdep_routes.
29371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29382 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29384 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29385 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29387 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29388 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29389 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29391 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29392 libc_feholdexcept and libc_fesetenv.
29394 2013-01-15 Mike Frysinger <vapier@gentoo.org>
29396 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29398 2013-01-14 David S. Miller <davem@davemloft.net>
29400 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29401 (SPARC_ASM_VIS2_IFUNC): Likewise.
29402 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29404 use of 'siam' instruction.
29405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29438 routines to libm-sysdep_routines.
29439 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29442 fdim/fdimf to libm-sysdep_routines.
29443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29451 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29452 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29453 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29454 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29456 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29458 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29459 to optimize copies.
29461 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29462 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29466 local variable MPTWO.
29467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29470 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29472 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29475 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29477 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29479 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29481 * manual/pattern.texi (glob_t): Document gl_flags.
29482 (glob64_t): Likewise.
29484 2013-01-11 David S. Miller <davem@davemloft.net>
29486 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29487 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29488 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
29489 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29490 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29491 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29492 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29493 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29494 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29495 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29496 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29497 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29498 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29500 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29501 sparc V9 rather than using V8 code.
29502 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29503 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29505 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29507 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29510 2013-01-11 Roland McGrath <roland@hack.frob.com>
29512 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29513 not in the main loop.
29514 * configure: Regenerated.
29516 2013-01-11 Joseph Myers <joseph@codesourcery.com>
29518 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29519 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29521 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29522 [!__GLIBC_HAVE_LONG_LONG] case.
29523 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29524 condition to just #else.
29525 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29526 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29527 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29528 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29530 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29531 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29532 #elif condition to just #else.
29533 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29534 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29535 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29536 #elif condition to just #else.
29538 2013-01-11 Steve Ellcey <sellcey@mips.com>
29540 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29541 (EF_MIPS_ARCH_64): Fix value.
29542 (EF_MIPS_ARCH_32R2): New.
29543 (EF_MIPS_ARCH_64R2): New.
29545 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29547 * Makeconfig (+link-pie-before-libc): New.
29548 (+link-pie-after-libc): Likewise.
29549 (+link-pie-tests): Likewise.
29550 (+link-pie): Rewritten.
29551 (link-before-libc): Remove $(config-LDFLAGS).
29552 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29553 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29554 (config-LDFLAGS): Renamed to ...
29555 (rtld-LDFLAGS): This.
29556 (rtld-tests-LDFLAGS): New macro.
29557 (link-libc-rpath-link): Likewise.
29558 (link-libc-tests-rpath-link): Likewise.
29559 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29560 (link-libc): Prepand $(link-libc-rpath-link).
29561 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29562 (test-program-prefix): New macro.
29563 (test-via-rtld-prefix): Likewise.
29564 (test-program-cmd): Likewise.
29565 (host-test-program-cmd): Likewise.
29566 * Makefile ($(common-objpfx)testrun.sh): Replace
29567 $(run-program-prefix) with $(test-program-prefix).
29568 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29570 ($(common-objpfx)shlib.lds): Likewise.
29571 (build-module-helper): Likewise.
29572 ($(common-objpfx)format.lds): Likewise.
29573 * Rules (binaries-pie-tests): New.
29574 (binaries-pie-notests): Likewise.
29575 (binaries-pie): Rewritten.
29576 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29577 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29578 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29579 (make-test-out): Replace $(host-built-program-cmd) with
29580 $(host-test-program-cmd).
29581 * config.make.in (build-hardcoded-path-in-tests): New variable.
29582 * configure.in (--enable-hardcoded-path-in-tests): New configure
29584 (hardcoded_path_in_tests): New AC_SUBST.
29585 * configure: Regenerated.
29586 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29587 $(built-program-cmd) with $(test-program-cmd).
29588 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29589 (test_program_cmd): This.
29590 * elf/Makefile ($(objpfx)order.out): Run test with
29591 $(test-program-prefix).
29592 ($(objpfx)order2.out): Likewise.
29593 ($(objpfx)tst-initorder.out): Likewise.
29594 ($(objpfx)tst-initorder2.out): Likewise.
29595 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29596 $(test-program-cmd).
29597 ($(objpfx)tst-array1-static.out): Likewise.
29598 ($(objpfx)tst-array2.out): Likewise.
29599 ($(objpfx)tst-array3.out): Likewise.
29600 ($(objpfx)tst-array4.out): Likewise.
29601 ($(objpfx)tst-array5.out): Likewise.
29602 ($(objpfx)tst-array5-static.out): Likewise.
29603 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29604 $(test-program-cmd).
29605 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29606 $(run-program-prefix) with $(test-program-prefix).
29607 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29608 (test_program_prefix): This.
29609 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29610 $(run-program-prefix) with $(test-program-prefix).
29611 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29612 (test_program_prefix): This.
29613 * iconvdata/tst-tables.sh: Likewise.
29614 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29615 $(run-program-prefix) with $(test-program-prefix).
29616 ($(objpfx)tst-translit.out): Likewise.
29617 ($(objpfx)tst-gettext2.out): Likewise.
29618 ($(objpfx)tst-gettext4.out): Likewise.
29619 ($(objpfx)tst-gettext6.out): Likewise.
29620 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29621 (test_program_prefix): This.
29622 * intl/tst-gettext2.sh: Likewise.
29623 * intl/tst-gettext4.sh Likewise.
29624 * intl/tst-gettext6.sh: Likewise.
29625 * intl/tst-translit.sh: Likewise.
29626 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29627 with $(test-program-cmd).
29628 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29629 $(run-program-prefix) with $(test-program-prefix).
29630 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29631 (test_program_prefix): This.
29632 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29633 $(run-program-prefix) with $(test-program-prefix).
29634 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29635 (test_program_prefix): This.
29636 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29637 * posix/Makefile ($(objpfx)globtest.out): Replace
29638 $(run-via-rtld-prefix) and $(test-wrapper) with
29639 $(test-program-prefix) and $(test-via-rtld-prefix).
29640 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29641 $(test-program-prefix).
29642 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29643 $(host-test-program-cmd).
29644 (tst-spawn-ARGS): Likewise.
29645 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29646 $(test-program-prefix).
29647 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29648 (test_via_rtld_prefix): This.
29649 (test_wrapper): Renamed to ...
29650 (test_program_prefix): This.
29651 (run_program_prefix): Replaced by test_program_prefix.
29652 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29653 (test_program_prefix): This.
29654 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29655 with $(host-test-program-cmd).
29656 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29657 $(run-program-prefix) with $(test-program-prefix).
29658 ($(objpfx)tst-printf.out): Likewise.
29659 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29660 $(test-program-cmd).
29661 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29662 (test_program_prefix): This.
29663 * stdio-common/tst-unbputc.sh: Likewise.
29664 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29665 $(run-program-prefix) with $(test-program-prefix).
29666 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29667 (test_program_prefix): This.
29668 * string/Makefile ($(objpfx)tst-svc.out): Replace
29669 $(built-program-cmd) with $(test-program-cmd).
29671 2013-01-11 Andreas Jaeger <aj@suse.de>
29674 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29675 value. Sync with Linux 3.7.
29677 2013-01-10 David S. Miller <davem@davemloft.net>
29679 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29680 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29681 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29683 2013-01-10 Roland McGrath <roland@hack.frob.com>
29685 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29687 * configure: Regenerated.
29689 2013-01-10 David S. Miller <davem@davemloft.net>
29691 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29692 sparc V9 rather than using V8 code.
29693 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29694 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29696 2013-01-10 Roland McGrath <roland@hack.frob.com>
29698 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29699 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29700 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29701 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29702 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29703 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29704 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29705 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29706 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29707 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29708 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29709 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29710 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29711 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29712 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29713 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29714 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29715 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29716 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29717 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29718 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29719 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29720 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29721 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29722 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29723 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29724 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29726 2013-01-10 David S. Miller <davem@davemloft.net>
29728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29730 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29732 * posix/Makefile (tests-static): New variable.
29733 (tests): Add $(tests-static).
29734 (tst-exec-static-ARGS): New variable.
29735 (tst-spawn-static-ARGS): Likewise.
29736 * posix/tst-exec-static.c: New file.
29737 * posix/tst-spawn-static.c: Likewise.
29738 * posix/tst-exec.c: Support run directly.
29739 * posix/tst-spawn.c: Likewise.
29741 2013-01-10 Joseph Myers <joseph@codesourcery.com>
29743 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29745 * math/bits/mathcalls.h (llrint): Likewise.
29746 (llround): Likewise.
29747 * stdlib/stdlib.h (struct drand48_data): Likewise.
29748 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29749 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29750 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29752 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29754 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29755 (elf_greg_t): Likewise.
29756 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29757 (__jmp_buf): Likewise.
29758 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29760 (llrint): Likewise, for all definitions.
29761 (llrintl): Likewise.
29763 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29764 Remove [__GNUC__] condition.
29765 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29766 condition to just [__USE_ISOC99].
29767 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29769 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29772 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29773 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29775 (_POSIX_V6_ILP32_OFF32): Likewise.
29776 (_XBS5_ILP32_OFF32): Likewise.
29777 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29778 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29780 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29782 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29784 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29785 doubles __mpexp_twomm1. Adjust usage.
29786 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29789 2013-01-10 Andreas Schwab <schwab@suse.de>
29792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29793 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29795 2013-01-09 David S. Miller <davem@davemloft.net>
29798 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29799 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29800 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29801 (TCP_FASTOPEN): Define.
29802 (tcp_repair_opt): New structure.
29803 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29805 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29806 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29807 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29808 (tcp_cookie_transactions): New structure.
29810 2013-01-09 Anton Blanchard <anton@samba.org>
29812 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29813 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29814 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29815 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29817 2013-01-09 Joseph Myers <joseph@codesourcery.com>
29819 * include/features.h (__USE_ANSI): Remove.
29821 2013-01-09 Roland McGrath <roland@hack.frob.com>
29823 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29825 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29827 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29829 * sysdeps/s390/fpu/libm-test-ulps: Update.
29831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29833 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29837 (denorm): Likewise.
29838 (__mp_dbl): Likewise.
29839 (__dbl_mp): Likewise.
29840 (add_magnitudes): Likewise.
29841 (sub_magnitudes): Likewise.
29847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29851 (denorm): Likewise.
29852 (__mp_dbl): Likewise.
29853 (__dbl_mp): Likewise.
29854 (add_magnitudes): Likewise.
29855 (sub_magnitudes): Likewise.
29861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29865 (denorm): Likewise.
29866 (__mp_dbl): Likewise.
29867 (__dbl_mp): Likewise.
29868 (add_magnitudes): Likewise.
29869 (sub_magnitudes): Likewise.
29876 2013-01-08 Joseph Myers <joseph@codesourcery.com>
29878 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29879 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29880 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29881 2 && __USE_EXTERN_INLINES]: Likewise.
29883 2013-01-08 Andreas Jaeger <aj@suse.de>
29886 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29888 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29889 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29891 2013-01-07 Anton Blanchard <anton@samba.org>
29893 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29894 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29895 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29896 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29897 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29898 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29899 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29900 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29902 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29903 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29904 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29905 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29906 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29907 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29908 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29909 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29910 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29911 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29912 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29913 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29914 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29915 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29916 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29917 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29918 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29919 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29920 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29921 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29922 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29923 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29925 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29926 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29927 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29928 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29929 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29930 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29931 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29932 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29933 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29934 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29935 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29937 2013-01-07 Joseph Myers <joseph@codesourcery.com>
29939 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29940 (__MALLOC_PMT): Likewise.
29941 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29942 [__GNUC__], only on [_LIBC].
29943 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29944 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29945 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29946 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29947 forward declaration.
29948 (realloc_hook_ini): Likewise.
29949 (memalign_hook_ini): Likewise.
29950 (__libc_memalign): Do not use __MALLOC_PMT in variable
29952 (__libc_valloc): Likewise.
29953 (__libc_pvalloc): Likewise.
29954 (__libc_calloc): Likewise.
29955 (__posix_memalign): Likewise.
29958 * math/s_casinh.c: Include <float.h>.
29959 (__casinh): Do not do computation with squaring and square root
29960 for large arguments.
29961 * math/s_casinhf.c: Include <float.h>.
29962 (__casinhf): Do not do computation with squaring and square root
29963 for large arguments.
29964 * math/s_casinhl.c: Include <float.h>.
29965 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29966 (__casinhl): Do not do computation with squaring and square root
29967 for large arguments.
29968 * math/libm-test.inc (casin_test): Add more tests.
29969 (casinh_test): Likewise.
29970 * sysdeps/i386/fpu/libm-test-ulps: Update.
29971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29973 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29975 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29976 (__x86_64_raw_data_cache_size): Likewise.
29977 (__x86_64_data_cache_size_half): Likewise.
29978 (__x86_64_raw_data_cache_size_half): Likewise.
29979 (__x86_64_shared_cache_size): Likewise.
29980 (__x86_64_raw_shared_cache_size): Likewise.
29981 (__x86_64_shared_cache_size_half): Likewise.
29982 (__x86_64_raw_shared_cache_size_half): Likewise.
29983 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29985 (__x86_data_cache_size): This.
29986 (__x86_64_raw_data_cache_size): Renamed to ...
29987 (__x86_raw_data_cache_size): This.
29988 (__x86_64_data_cache_size_half): Renamed to ...
29989 (__x86_data_cache_size_half): This.
29990 (__x86_64_raw_data_cache_size_half): Renamed to ...
29991 (__x86_raw_data_cache_size_half): This.
29992 (__x86_64_shared_cache_size): Renamed to ...
29993 (__x86_shared_cache_size): This.
29994 (__x86_64_raw_shared_cache_size): Renamed to ...
29995 (__x86_raw_shared_cache_size): This.
29996 (__x86_64_shared_cache_size_half): Renamed to ...
29997 (__x86_shared_cache_size_half): This.
29998 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29999 (__x86_raw_shared_cache_size_half): This.
30000 * sysdeps/x86_64/memcpy.S: Updated.
30001 * sysdeps/x86_64/memset.S: Likewise.
30002 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30003 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30004 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30006 2013-01-04 David S. Miller <davem@davemloft.net>
30008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30010 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30012 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30013 1 to avoid redefinition warning.
30014 (__USE_GNU): Don't define.
30015 (init_signaling_nan): Protoize.
30017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30019 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30021 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30023 (__cpymn): Likewise.
30024 (norm): Remove commented code.
30025 (denorm): Likewise.
30026 (__mp_dbl): Likewise.
30028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30029 (__cpymn): Likewise.
30030 (norm): Remove commented code.
30031 (denorm): Likewise.
30032 (__mp_dbl): Likewise.
30035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30036 mp_no value for 1.0 and 2.0.
30037 (norm): Use RADIXI instead of radixi.d.
30038 (denorm): Likewise.
30039 (__mul): Use 0.0 instead of zero.d.
30040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30041 mp_no value for 1.0 and 2.0.
30042 (norm): Use RADIXI instead of radixi.d.
30043 (denorm): Likewise.
30044 (__mul): Use 0.0 instead of zero.d.
30046 2013-01-04 Joseph Myers <joseph@codesourcery.com>
30049 * math/s_casinh.c (__casinh): Reduce finite argument to first
30050 quadrant then set signs of results at the end.
30051 * math/s_casinhf.c (__casinhf): Likewise.
30052 * math/s_casinhl.c (__casinhl): Likewise.
30053 * math/libm-test.inc (casin_test): Add more tests.
30054 (casinh_test): Likewise.
30055 * sysdeps/i386/fpu/libm-test-ulps: Update.
30056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30058 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30060 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30062 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30064 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30066 (denorm): Likewise.
30067 (__mp_dbl): Likewise.
30070 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30071 and adjust the header comment.
30073 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30074 variable name from declaration.
30076 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30079 Initialize COMMON_CPUID_INDEX_7 element.
30080 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30081 (CPUID_RTM): Likewise.
30082 (HAS_RTM): Likewise.
30083 (COMMON_CPUID_INDEX_7): New enum.
30085 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30088 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30089 size is zero, record memory as freed.
30091 2013-01-03 Andreas Jaeger <aj@suse.de>
30093 * po/ia.po: Add new Interlingua translation.
30095 2012-01-03 Allan McRae <allan@archlinux.org>
30097 * locale/programs/localedef.c: Fix description of '--posix' flag.
30099 2013-01-02 Joseph Myers <joseph@codesourcery.com>
30101 * NEWS: Update dates in second copyright notice.
30102 * README: Update copyright dates in example.
30103 * manual/libc.texinfo: Update copyright dates.
30104 * scripts/test-installation.pl: Update copyright date in --version
30107 * hurd/ctty-input.c: Fix copyright notice formatting.
30108 * hurd/ctty-output.c: Likewise.
30109 * hurd/dtable.c: Likewise.
30110 * hurd/hurd-raise.c: Likewise.
30111 * hurd/hurdprio.c: Likewise.
30112 * hurd/msgportdemux.c: Likewise.
30113 * misc/sys/file.h: Likewise.
30114 * misc/sys/ioctl.h: Likewise.
30115 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30116 * sysdeps/mach/hurd/chdir.c: Likewise.
30117 * sysdeps/mach/hurd/fchdir.c: Likewise.
30118 * sysdeps/mach/hurd/rename.c: Likewise.
30119 * sysdeps/mach/hurd/rmdir.c: Likewise.
30120 * sysdeps/mach/hurd/seekdir.c: Likewise.
30121 * sysdeps/mach/hurd/setsid.c: Likewise.
30122 * sysdeps/posix/wait3.c: Likewise.
30124 * All files with FSF copyright notices: Update copyright dates
30125 using scripts/update-copyrights.
30126 * intl/plural.c: Regenerated.
30127 * locale/programs/charmap-kw.h: Likewise.
30128 * locale/programs/locfile-kw.h: Likewise.
30130 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30132 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30135 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30136 calculation loop and add branch prediction.
30138 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30139 check access beyond bounds of m1np.
30141 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30143 (__inv): Remove local variable MPTWO to use the global
30145 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30146 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30148 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30149 MP3HALFS static const.
30151 2013-01-01 David S. Miller <davem@davemloft.net>
30153 * po/ca.po: Update from translation team.
30155 2013-01-01 Joseph Myers <joseph@codesourcery.com>
30157 * scripts/update-copyrights: New file.
30158 * Makeconfig: Reformat copyright notice.
30159 * ctype/ctype.h: Likewise.
30160 * debug/swprintf_chk.c: Likewise.
30161 * elf/dl-cache.c: Likewise.
30162 * elf/dl-debug.c: Likewise.
30163 * elf/dl-object.c: Likewise.
30164 * grp/initgroups.c: Likewise.
30165 * hurd/Makefile: Likewise.
30166 * hurd/hurd/signal.h: Likewise.
30167 * hurd/hurdfault.c: Likewise.
30168 * hurd/hurdioctl.c: Likewise.
30169 * hurd/hurdlookup.c: Likewise.
30170 * hurd/intr-msg.c: Likewise.
30171 * iconv/gconv_open.c: Likewise.
30172 * libio/swprintf.c: Likewise.
30173 * locale/lc-ctype.c: Likewise.
30174 * locale/nl_langinfo.c: Likewise.
30175 * mach/Machrules: Likewise.
30176 * mach/Makefile: Likewise.
30177 * malloc/obstack.h: Likewise.
30178 * manual/Makefile: Likewise.
30179 * manual/tsort.awk: Likewise.
30180 * misc/bits/stab.def: Likewise.
30181 * nis/nis_print_group_entry.c: Likewise.
30182 * nis/nis_table.c: Likewise.
30183 * nis/nss_compat/compat-pwd.c: Likewise.
30184 * nis/nss_compat/compat-spwd.c: Likewise.
30185 * po/Makefile: Likewise.
30186 * posix/fnmatch.c: Likewise.
30187 * posix/regex.h: Likewise.
30188 * resolv/Makefile: Likewise.
30189 * resolv/nss_dns/dns-network.c: Likewise.
30190 * resolv/res_hconf.c: Likewise.
30191 * scripts/gen-sorted.awk: Likewise.
30192 * soft-fp/soft-fp.h: Likewise.
30193 * stdio-common/printf.h: Likewise.
30194 * stdlib/monetary.h: Likewise.
30195 * stdlib/random.c: Likewise.
30196 * stdlib/random_r.c: Likewise.
30197 * sysdeps/generic/Makefile: Likewise.
30198 * sysdeps/gnu/Makefile: Likewise.
30199 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30201 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30203 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30206 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30207 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30208 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30209 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30210 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30211 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30212 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30213 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30214 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30215 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30216 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30217 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30218 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30219 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30220 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30221 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30222 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30223 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30224 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30225 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30226 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30227 * sysdeps/mach/hurd/errnos.awk: Likewise.
30228 * sysdeps/mach/hurd/fork.c: Likewise.
30229 * sysdeps/mach/hurd/getcwd.c: Likewise.
30230 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30231 * sysdeps/mach/hurd/mmap.c: Likewise.
30232 * sysdeps/mach/hurd/utimes.c: Likewise.
30233 * sysdeps/mach/hurd/xmknod.c: Likewise.
30234 * sysdeps/posix/profil.c: Likewise.
30235 * sysdeps/posix/readdir_r.c: Likewise.
30236 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30237 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30238 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30239 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30241 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30242 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30243 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30245 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30246 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30247 * sysdeps/pthread/lio_listio.c: Likewise.
30248 * sysdeps/sparc/dl-procinfo.h: Likewise.
30249 * sysdeps/unix/i386/sysdep.S: Likewise.
30250 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30251 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30252 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30253 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30255 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30256 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30257 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30258 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30259 * sysdeps/wordsize-32/divdi3.c: Likewise.
30260 * time/sys/time.h: Likewise.
30261 * wcsmbs/Makefile: Likewise.
30263 2013-01-01 David S. Miller <davem@davemloft.net>
30265 * po/fr.po: Update from translation team.
30267 * catgets/gencat.c: Update copyright year.
30268 * csu/version.c: Likewise.
30269 * debug/catchsegv.sh: Likewise.
30270 * debug/pcprofiledump.c: Likewise.
30271 * debug/xtrace.sh: Likewise.
30272 * elf/ldconfig.c: Likewise.
30273 * elf/ldd.bash.in: Likewise.
30274 * elf/pldd.c: Likewise.
30275 * elf/sotruss.ksh: Likewise.
30276 * elf/sprof.c: Likewise.
30277 * iconv/iconv_prog.c: Likewise.
30278 * iconv/iconvconfig.c: Likewise.
30279 * locale/programs/locale.c: Likewise.
30280 * locale/programs/localedef.c: Likewise.
30281 * login/programs/pt_chown.c: Likewise.
30282 * malloc/memusage.sh: Likewise.
30283 * malloc/memusagestat.c: Likewise.
30284 * malloc/mtrace.pl: Likewise.
30285 * nscd/nscd.c: Likewise.
30286 * nss/getent.c: Likewise.
30287 * nss/makedb.c: Likewise.
30288 * posix/getconf.c: Likewise.
30290 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30292 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30295 2012-12-30 Mike Frysinger <vapier@gentoo.org>
30297 * math/bits/mathcalls.h (modf): Use __nonnull.
30299 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30301 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30302 (split): Use macro CN instead of the bare value.
30303 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30305 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30306 instead of the bare value.
30307 (power1): Likewise.
30309 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30311 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30313 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30315 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30317 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30318 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30319 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30320 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30322 2012-12-28 Andreas Jaeger <aj@suse.de>
30324 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30325 values are from Linux 3.7.
30327 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30328 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30330 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30332 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30335 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30337 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30338 variables with preprocessor constants.
30339 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30340 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30341 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30343 2012-12-27 Bruno Haible <bruno@clisp.org>
30346 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30349 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30351 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30352 and use variable directly.
30353 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30355 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30357 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30358 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30360 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30361 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30362 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30363 include directive. Remove local variable MPONE.
30364 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30365 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30366 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30368 2012-12-25 David S. Miller <davem@davemloft.net>
30370 * version.h (RELEASE): Set to "development".
30371 (VERSION): Set to "2.17.90".
30372 * NEWS: Add 2.18 section.
30374 2012-12-21 David S. Miller <davem@davemloft.net>
30376 * po/hr.po: Update from translation team.
30378 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30380 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30382 2012-12-19 Steve Ellcey <sellcey@mips.com>
30384 * NEWS: Mention new memcpy for MIPS.
30386 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30388 * manual/contrib.texi (Contributors): Spelling correction.
30390 2012-12-15 David S. Miller <davem@davemloft.net>
30392 * po/ru.po: Update from translation team.
30394 2012-12-13 David S. Miller <davem@davemloft.net>
30396 * NEWS: Mention IFUNC testsuite enhancements.
30398 * po/pl.po: Update from translation team.
30399 * po/bg.po: Likewise.
30401 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30402 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30404 2012-12-11 David S. Miller <davem@davemloft.net>
30406 * po/sv.po: Update from translation team.
30408 * po/vi.po: Update from translation team.
30410 * po/cs.po: Update from translation team.
30412 * po/de.po: Update from translation team.
30413 * po/eo.po: Likewise.
30414 * po/nl.po: Likewise.
30416 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30419 * manual/argp.texi (Argp Helper Functions): Move node to follow
30420 Argp Parsing State.
30423 * manual/conf.texi (Limits on File System Capacity): Mention if
30424 terminating null is included in the max size.
30426 2012-12-10 Andreas Jaeger <aj@suse.de>
30428 * po/cs.po: Update from translation team.
30430 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30432 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30433 void pointer and cast to uintptr_t.
30434 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30436 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30437 * sysdeps/s390/s390-64/memset.S: Likewise.
30439 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
30442 * menual/message.texi (Message Translation): Fix typos.
30443 (Helper programs for gettext): Likewise.
30445 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30448 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30451 2012-12-07 David S. Miller <davem@davemloft.net>
30453 * po/libc.pot: Update.
30455 2012-12-07 Richard Henderson <rth@redhat.com>
30458 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30459 normal/normal case to before the switch.
30460 (_FP_DIV): Likewise.
30462 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30463 Mike Frysinger <vapier@gentoo.org>
30465 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30466 check for __NR_fadvise64_64.
30468 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30470 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30471 0, not just to plain "0" as a statement.
30472 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30475 2012-12-06 Joseph Myers <joseph@codesourcery.com>
30477 * NEWS: Use sourceware.org in Bugzilla URL.
30479 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30482 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30484 * stdio-common/tst-put-error.c (do_test): Add newline to the
30485 padded test to ensure flush.
30487 2012-12-05 Jeff Law <law@redhat.com>
30489 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30491 2012-12-05 Joseph Myers <joseph@codesourcery.com>
30493 * README: Don't refer to ports add-on as distributed separately.
30494 Mention AArch64 in list of systems supported in the ports add-on.
30496 * LICENSES: Add more non-FSF copyright and license notices.
30498 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30501 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30503 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30504 10000 as width of padded output.
30506 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30508 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30510 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30511 variable LX with __attribute__ ((unused)).
30512 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30514 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30515 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30516 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30517 with __attribute__ ((unused)).
30519 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
30521 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30523 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30525 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30526 (CFLAGS-nldbl-acos.c): New variable.
30527 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30528 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30529 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30530 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30531 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30532 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30533 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30534 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30535 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30536 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30537 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30538 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30539 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30540 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30541 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30542 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30543 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30544 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30545 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30546 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30547 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30548 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30549 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30550 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30551 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30552 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30553 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30554 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30555 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30556 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30557 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30558 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30559 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30560 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30561 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30562 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30563 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30564 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30565 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30566 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30567 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30568 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30569 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30570 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30571 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30572 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30573 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30574 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30575 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30576 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30577 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30578 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30579 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30580 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30581 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30582 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30583 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30584 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30585 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30586 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30587 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30588 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30589 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30590 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30591 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30592 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30593 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30594 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30595 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30596 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30597 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30598 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30599 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30600 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30601 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30602 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30603 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30604 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30605 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30606 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30607 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30608 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30609 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30610 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30611 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30612 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30613 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30614 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30615 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30616 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30617 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30618 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30619 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30620 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30621 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30622 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30623 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30626 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30629 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30630 whole low double instead of just low 47 bits when splitting values
30633 2012-12-03 Allan McRae <allan@archlinux.org>
30635 * manual/stdio.texi (Predefined Printf Handlers): Remove
30636 @hsep and @vsep usage.
30638 2012-12-03 Mike Frysinger <vapier@gentoo.org>
30640 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30641 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30643 2012-12-03 Jeff Law <law@redhat.com>
30645 * time/sys/time.h (settimeofday): Do not mark TV argument
30648 2012-12-01 Mike Frysinger <vapier@gentoo.org>
30650 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30651 when currently writing and seek to current position when not.
30652 * libio/Makefile (tests): Remove bug-fclose1.
30653 * libio/bug-fclose1.c: Delete.
30655 2012-12-01 Joseph Myers <joseph@codesourcery.com>
30657 * manual/arith.texi (feenableexcept): Fix typo.
30658 (fedisableexcept): Likewise.
30660 2012-11-30 Roland McGrath <roland@hack.frob.com>
30662 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30663 second, differently-typed declaration, rather than a cast.
30665 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30667 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30668 * include/rpc/svc.h: ... here.
30670 2012-11-30 Aurelien Jarno <aurel32@debian.org>
30673 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30674 depending n and resplen2 to catch cases where answer
30677 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30679 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30680 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30682 2012-11-29 Mike Frysinger <vapier@gentoo.org>
30684 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30686 2012-11-29 Roland McGrath <roland@hack.frob.com>
30688 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30690 2012-11-28 Jeff Law <law@redhat.com>
30693 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30694 dataset_temporary. Track alloca usage into alloca_used.
30695 If dataset is large allocate and release it via malloc/free.
30697 2012-06-04 Florian Weimer <fweimer@redhat.com>
30700 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30702 2012-11-28 David S. Miller <davem@davemloft.net>
30704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30706 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30709 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30710 of pi/2 rounded to nearest to 64 bits.
30711 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30712 nearest to 64 bits.
30713 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30716 2012-11-28 Jeff Law <law@redhat.com>
30717 Martin Osvald <mosvald@redhat.com>
30720 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30721 * sunrpc/svc.c: Include time.h.
30722 (__svc_accept_failed): New function.
30723 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30724 any reason other than EINTR, call __svc_accept_failed.
30725 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30726 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30728 2012-11-28 Andreas Schwab <schwab@suse.de>
30730 * scripts/abilist.awk: Also handle indirect functions in .opd
30733 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30736 * sysdeps/x86/fpu/powl_helper.c: New file.
30737 * sysdeps/x86/fpu/Makefile: Likewise.
30738 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30740 (__ieee754_powl): Use __powl_helper for finite arguments except
30741 integer exponents below 8.
30742 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30744 (__ieee754_powl): Use __powl_helper for finite arguments except
30745 integer exponents below 8.
30746 * math/libm-test.inc (pow_test): Add more tests and enable some
30747 previously disabled tests.
30748 * sysdeps/i386/fpu/libm-test-ulps: Update.
30749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30751 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30752 Carlos O'Donell <carlos_odonell@mentor.com>
30754 * nss/makedb.c (is_prime): Assert that input is odd and greater
30755 than 4. Note that fact in a comment too.
30756 (next_prime): Add 4 to input.
30758 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30761 * libio/Makefile (tests): Add test case tst-fwrite-error.
30762 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30763 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30764 * libio/tst-fwrite-error.c: New test case.
30766 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30768 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30769 before casting to void *.
30770 * include/libc-internal.h (__pointer_type): New macro.
30771 (__integer_if_pointer_type_sub): Likewise.
30772 (__integer_if_pointer_type): Likewise.
30773 (cast_to_integer): Likewise.
30774 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30775 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30776 before casting to atomic64_t.
30777 (atomic_exchange_acq): Likewise.
30778 (__arch_exchange_and_add_body): Likewise.
30779 (__arch_add_body): Likewise.
30780 (atomic_add_negative): Likewise.
30781 (atomic_add_zero): Likewise.
30783 2012-11-26 Joseph Myers <joseph@codesourcery.com>
30785 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30786 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30787 (add_fdes): Likewise.
30788 (linear_search_fdes): Likewise.
30789 (binary_search_unencoded_fdes): Likewise.
30791 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30793 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30795 2012-11-24 Adam Conrad <adconrad@0c3.net>
30797 * configure.in: Autodetect C++ header directories.
30798 * configure: Regenerated.
30800 2012-11-23 Mike Frysinger <vapier@gentoo.org>
30802 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30804 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30808 2012-11-22 Joseph Myers <joseph@codesourcery.com>
30810 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30811 LDBL_MANT_DIG == 106]: Disable some tests.
30812 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30814 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30818 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30819 input for small inputs. Return +/- pi/2 for large inputs.
30820 * math/libm-test.inc (atan_test): Add more tests.
30822 * sysdeps/generic/unwind-dw2-fde-glibc.c
30823 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30824 __attribute__ ((unused)).
30827 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30828 x * y if x and y are nonzero and z is zero.
30831 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30832 nonzero exponents with absolute value below 0x1p-117 to +/-
30836 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30837 up arguments below 2**-450, not just those below 2**-500.
30838 * math/libm-test.inc (hypot_test): Add another test.
30841 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30842 Return a+b for ratio over 2**120, not 2**60.
30843 * math/libm-test.inc (hypot_test): Add another test.
30845 * math/libm-test.inc (clog_test): Use
30846 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30847 (clog10_test): Likewise.
30850 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30852 2012-11-22 Andreas Schwab <schwab@suse.de>
30854 * sysdeps/i386/fpu/libm-test-ulps: Update.
30856 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30858 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30859 printf output with newline.
30861 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30864 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30865 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30866 -z nodlopen, -z initfirst and -z execstack support.
30867 * configure: Regenerated.
30869 * elf/elf.h (DF_1_NODIRECT): New macro.
30870 (DF_1_IGNMULDEF): Likewise.
30871 (DF_1_NOKSYMS): Likewise.
30872 (DF_1_NOHDR): Likewise.
30873 (DF_1_EDITED): Likewise.
30874 (DF_1_NORELOC): Likewise.
30875 (DF_1_SYMINTPOSE): Likewise.
30876 (DF_1_GLOBAUDIT): Likewise.
30877 (DF_1_SINGLETON): Likewise.
30878 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30879 DT_1_SUPPORTED_MASK bits.
30880 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30882 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
30884 * sysdeps/unix/make-syscalls.sh: Document prefixes.
30886 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
30888 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30891 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30892 (sendmmsg): Move declarations...
30893 * socket/sys/socket.h: ... here.
30894 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30895 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30897 * socket/recvmmsg.c: ... this new file.
30898 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30899 (sendmmsg): Rename to __sendmmsg, create weak alias and make
30900 definition of __sendmmsg hidden.
30901 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30902 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30903 Move ENOSYS stub into and include it from...
30904 * socket/sendmmsg.c: ... this new file.
30905 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30906 (sysdep_routines): Move recvmmsg and sendmmsg...
30907 * socket/Makefile (routines): ... here.
30908 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30909 (GLIBC_PRIVATE): Add __sendmmsg.
30910 * include/sys/socket.h (__sendmmsg): Add declarations.
30911 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30914 2012-11-20 Joseph Myers <joseph@codesourcery.com>
30916 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30917 variable I1 with __attribute__ ((unused)).
30918 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30920 2012-11-19 Joseph Myers <joseph@codesourcery.com>
30922 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30923 DUMMY variables with __attribute__ ((unused)).
30925 * bits/byteswap.h: Include <bits/types.h>.
30926 (__bswap_64): Use __uint64_t instead of unsigned long long int.
30928 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30930 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30931 string_t. Do not manually set errno.
30932 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30933 length with __strnlen. Make sure to both set errno and return it on
30936 2012-11-19 David S. Miller <davem@davemloft.net>
30938 With help from Joseph Myers.
30939 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30940 very large arguments properly.
30941 * math/libm-test.inc (atan_test): New tests.
30942 (atan2_test): New tests.
30943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30946 2012-11-19 Joseph Myers <joseph@codesourcery.com>
30949 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30952 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30953 [POSIX] (EADDRNOTAVAIL): Likewise.
30954 [POSIX] (EAFNOSUPPORT): Likewise.
30955 [POSIX] (EALREADY): Likewise.
30956 [POSIX] (ECONNABORTED): Likewise.
30957 [POSIX] (ECONNREFUSED): Likewise.
30958 [POSIX] (ECONNRESET): Likewise.
30959 [POSIX] (EDESTADDRREQ): Likewise.
30960 [POSIX] (EDQUOT): Likewise.
30961 [POSIX] (EHOSTUNREACH): Likewise.
30962 [POSIX] (EIDRM): Likewise.
30963 [POSIX] (EISCONN): Likewise.
30964 [POSIX] (ELOOP): Likewise.
30965 [POSIX] (EMULTIHOP): Likewise.
30966 [POSIX] (ENETDOWN): Likewise.
30967 [POSIX] (ENETUNREACH): Likewise.
30968 [POSIX] (ENOBUFS): Likewise.
30969 [POSIX] (ENODATA): Likewise.
30970 [POSIX] (ENOLINK): Likewise.
30971 [POSIX] (ENOMSG): Likewise.
30972 [POSIX] (ENOPROTOOPT): Likewise.
30973 [POSIX] (ENOSR): Likewise.
30974 [POSIX] (ENOSTR): Likewise.
30975 [POSIX] (ENOTCONN): Likewise.
30976 [POSIX] (ENOTSOCK): Likewise.
30977 [POSIX] (EOPNOTSUPP): Likewise.
30978 [POSIX] (EOVERFLOW): Likewise.
30979 [POSIX] (EPROTO): Likewise.
30980 [POSIX] (EPROTONOSUPPORT): Likewise.
30981 [POSIX] (EPROTOTYPE): Likewise.
30982 [POSIX] (ESTALE): Likewise.
30983 [POSIX] (ETIME): Likewise.
30984 [POSIX] (ETXTBSY): Likewise.
30985 [POSIX] (EWOULDBLOCK): Likewise.
30986 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30987 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30988 [POSIX] (SEEK_CUR): Likewise.
30989 [POSIX] (SEEK_END): Likewise.
30990 [POSIX || UNIX98] (mode_t): Do not require.
30991 [POSIX] (off_t): Likewise.
30992 [POSIX] (pid_t): Likewise.
30993 [POSIX] (sys/stat.h): Do not allow header.
30994 [POSIX] (unistd.h): Likewise.
30995 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30996 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30997 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30998 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31000 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31001 sigevent): Specify elements.
31002 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31004 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31005 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31007 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31008 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31009 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31010 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31011 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31012 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31013 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31014 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31015 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31016 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31017 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31018 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31019 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31020 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31022 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31024 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31026 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31028 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31029 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31030 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31031 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31032 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31033 Specify lower bound on value.
31034 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31035 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31036 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31037 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31038 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31039 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31040 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31041 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31043 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31045 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31046 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31047 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31048 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31049 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31050 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31051 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31052 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31053 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31054 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31055 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31056 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31057 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31058 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31059 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31060 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31062 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31064 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31065 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31066 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31067 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31068 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31069 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31071 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31072 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31073 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31074 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31075 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31076 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31077 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31079 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31080 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31081 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31082 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31083 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31084 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31085 specify as optional.
31086 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31087 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31088 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31089 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31090 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31091 [XPG3] (NL_LANGMAX): Likewise.
31092 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31093 [POSIX || XPG3] (NL_NMAX): Likewise.
31094 [POSIX || XPG3] (NL_SETMAX): Likewise.
31095 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31096 [XPG3] (NZERO): Likewise.
31097 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31098 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31099 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31100 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31101 (REG_ERANGE): Expect.
31102 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31104 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31105 Use (void) in prototype.
31106 [POSIX] (*_t): Allow.
31107 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31108 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31109 (WRDE_BADVAL): Expect.
31111 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31113 [XPG3 || XPG4] (O_RSYNC): Likewise.
31114 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31116 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31117 [XPG3 || XPG4] (sigqueue): Likewise.
31118 [XPG3 || XPG4] (sigtimedwait): Likewise.
31119 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31120 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31121 [XPG3 || XPG4] (vsnprintf): Likewise.
31122 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31124 [XPG3 || XPG4] (blksize_t): Likewise.
31125 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31127 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31128 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31129 [XPG3 || XPG4] (struct itimerspec): Likewise.
31130 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31131 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31132 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31133 [XPG3 || XPG4] (clockid_t): Likewise.
31134 [XPG3 || XPG4] (timer_t): Likewise.
31135 [XPG3 || XPG4] (clock_getres): Likewise.
31136 [XPG3 || XPG4] (clock_gettime): Likewise.
31137 [XPG3 || XPG4] (clock_settime): Likewise.
31138 [XPG3 || XPG4] (nanosleep): Likewise.
31139 [XPG3 || XPG4] (timer_create): Likewise.
31140 [XPG3 || XPG4] (timer_delete): Likewise.
31141 [XPG3 || XPG4] (timer_gettime): Likewise.
31142 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31143 [XPG3 || XPG4] (timer_settime): Likewise.
31144 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31145 [XPG3 || XPG4] (getlogin_r): Likewise.
31146 [XPG3 || XPG4] (pread): Likewise.
31147 [XPG3 || XPG4] (pthread_atfork): Likewise.
31148 [XPG3 || XPG4] (pwrite): Likewise.
31151 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31154 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31156 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31157 finalizing MALLSTREAM.
31159 * sysdeps/mach/hurd/syncfs.c: New file.
31161 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31164 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31165 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31166 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31167 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31168 (_nss_dns_gethostbyname4_r): Likewise.
31169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31170 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31172 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31175 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31177 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31179 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31180 * elf/cache.c (print_entry): Print ",AArch64" for
31183 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31184 * elf/cache.c (print_entry): Print ",hard-float" for
31187 2012-11-18 David S. Miller <davem@davemloft.net>
31189 With help from Joseph Myers.
31190 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31192 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31194 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31195 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31197 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31198 * math/libm-test.inc (y0_test): New tests.
31199 (y1_test): New tests.
31200 * sysdeps/i386/fpu/libm-test-ulps: Update.
31201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31204 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31206 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31208 * configure: Regenerated.
31210 2012-11-17 David S. Miller <davem@davemloft.net>
31213 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31214 nonzero exponents with absolute value below 0x1p-128 to +/-
31217 2012-11-17 Joseph Myers <joseph@codesourcery.com>
31219 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31221 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31223 * posix/getconf-speclist.c: New file.
31224 * posix/posix-envs.def: Likewise.
31225 * posix/confstr.c (START_ENV_GROUP): New macro.
31226 (END_ENV_GROUP): Likewise.
31227 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31228 (KNOWN_PRESENT_ENV_STRING): Likewise.
31229 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31230 (UNKNOWN_ENVIRONMENT): Likewise.
31231 (confstr): Include posix-envs.def instead of handling
31232 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31233 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31234 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31235 (END_ENV_GROUP): Likewise.
31236 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31237 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31238 (UNKNOWN_ENVIRONMENT): Likewise.
31239 (__sysconf): Include posix-envs.def instead of handling associated
31240 cases directly here.
31241 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31242 preprocessing getconf-speclist.c rather than running getconf or
31243 generating empty file.
31245 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31247 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31249 2012-11-16 Andrej Lajovic <natrij@gmail.com>
31252 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31254 2012-11-16 David S. Miller <davem@davemloft.net>
31256 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31257 smaller than LDBL_EPSILON/2.0L, just return xm1.
31259 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31261 * elf/tst-array1.c (init): Set constructor priority to 1000.
31262 (fini): Set destructor priority to 1000.
31263 * elf/tst-array2dep.c: Likewise.
31265 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31268 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31269 (_IO_new_file_xsputn): Also return EOF if none of the input
31270 data was written when overflow failed.
31271 * libio/iopadn.c (_IO_padn): Likewise.
31272 * libio/iowpadn.c (_IO_wpadn): Likewise.
31273 * stdio-common/tst-put-error.c: Add copyright notice.
31274 (do_test): Add case for printing padded string.
31275 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31276 _IO_padn returned error.
31277 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31278 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31281 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31283 * libio/libioP.h: Add comment note that the references to C++
31284 bits are now obsolete.
31286 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31288 * math/libm-test.inc (check_complex): Use asprintf.
31290 2012-11-14 Joseph Myers <joseph@codesourcery.com>
31292 * debug/pcprofiledump.c (print_version): Update copyright year.
31293 * malloc/memusagestat.c (print_version): Likewise.
31295 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31298 * elf/Makefile (tests): Add tst-audit8.
31299 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31300 ($(objpfx)tst-audit8.out): New target.
31301 (tst-audit8-ENV): New variable.
31302 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31303 audit if l_reloc_result is NULL.
31304 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31305 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31306 * elf/tst-audit8.c: New file.
31308 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31310 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31311 * misc/Makefile (CFLAGS-select.c): Define.
31312 * posix/Makefile (CFLAGS-pause.c): Define.
31314 2012-11-13 David S. Miller <davem@davemloft.net>
31316 * crypt/Makefile: Move test targets after toplevel Rules
31317 inclusion. Grab any necessary sysdep routines when linking.
31318 * crypt/md5.c (md5_process_block): Remove define, we will always
31319 name it __md5_process_block.
31320 (md5_finish_ctx): Update md5_process_block call.
31321 (md5_stream): Likewise.
31322 (md5_process_bytes): Likewise.
31323 (md5_process_block): Rename to __md5_process_block and move to ...
31324 * crypt/md5-block.c: ... here.
31325 * crypt/sha256.c (sha256_process_block): Move to ...
31326 * crypt/sha256-block.c: ... here.
31327 * crypt/sha512.c (sha512_process_block): Move to ...
31328 * crypt/sha512-block.c: ... here.
31329 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31331 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31332 * sysdeps/sparc/sparc64/multiarch/Makefile
31333 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31335 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31336 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31338 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31339 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31340 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31341 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31342 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31343 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31344 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31345 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31346 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31348 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31349 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31351 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31353 2012-11-13 Joseph Myers <joseph@codesourcery.com>
31355 * timezone/tzselect.ksh: Update from tzcode git revision
31356 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31357 * timezone/zdump.c: Likewise.
31358 * timezone/zic.c: Likewise.
31359 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31360 in TZVERSION setting, not $(PKGVERSION).
31361 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31362 REPORT_BUGS_TO settings.
31365 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31368 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31370 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31371 detection to immediately after _FP_ROUND().
31372 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31375 2012-11-11 David S. Miller <davem@davemloft.net>
31377 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31379 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31380 __close rather than their public counterparts.
31382 2012-11-10 Joseph Myers <joseph@codesourcery.com>
31384 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31386 [UNIX98] (sem_timedwait): Do not expect.
31387 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31388 [XPG4 || UNIX98] (sockatmark): Do not expect.
31389 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31390 (clock_getcpuclockid): Do not expect.
31391 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31392 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31394 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31395 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31396 [UNIX98] (vwscanf): Likewise.
31397 [UNIX98] (vswscanf): Likewise.
31399 2012-11-09 Joseph Myers <joseph@codesourcery.com>
31401 * timezone/version.h: Remove file.
31402 * timezone/README: Do not refer to version.h.
31403 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31404 $(objpfx)version.h.
31405 ($(objpfx)zdump.o): Likewise.
31406 ($(objpfx)version.h): New target.
31408 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31410 * timezone/README: Don't mention modification to tzselect.ksh.
31411 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31412 work on unmodified tzselect.ksh. Substitute version numbers in
31415 * Makefile (format-me): Remove.
31416 (INSTALL): Adjust indentation. Use commands directly instead of
31417 using $(format-me).
31419 * aclocal.m4 (ACX_PKGVERSION): New macro.
31420 (ACX_BUGURL): Likewise.
31421 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31422 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31423 (REPORT_BUGS_TO): Likewise.
31424 * configure: Regenerated.
31425 * config.h.in (PKGVERSION): New macro.
31426 (REPORT_BUGS_TO): Likewise.
31427 * config.make.in (PKGVERSION): New variable.
31428 (PKGVERSION_TEXI): Likewise.
31429 (REPORT_BUGS_TO): Likewise.
31430 (REPORT_BUGS_TEXI): Likewise.
31431 * Makefile (format-me): Use -I$(common-objpfx)manual.
31432 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31433 ($(common-objpfx)manual/%): New target.
31434 (manual/%): Remove target.
31435 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31436 (print_version): Use PKGVERSION.
31437 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31438 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31439 and REPORT_BUGS_TO.
31440 ($(objpfx)xtrace): Likewise.
31441 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31442 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31443 (print_version): Use PKGVERSION.
31444 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31445 (do_version): Use PKGVERSION.
31446 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31448 (common-ldd-rewrite): Likewise.
31449 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31450 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31451 (print_version): Use PKGVERSION.
31452 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31453 * elf/pldd.c (argp_program_bug_address): Remove variable.
31454 (more_help): New function.
31455 (argp): Use more_help.
31456 (print_version): Use PKGVERSION.
31457 * elf/sln.c (main): Use PKGVERSION.
31458 (usage): Use REPORT_BUGS_TO.
31459 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31460 (top level): Use PKGVERSION.
31461 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31462 (print_version): Use PKGVERSION.
31463 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31464 (print_version): Use PKGVERSION.
31465 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31466 (print_version): Use PKGVERSION.
31467 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31468 (print_version): Use PKGVERSION.
31469 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31470 (print_version): Use PKGVERSION.
31471 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31472 (print_version): Use PKGVERSION.
31473 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31475 ($(objpfx)memusage): Likewise.
31476 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31477 (do_version): Use PKGVERSION.
31478 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31479 (print_version): Use PKGVERSION.
31480 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31481 ($PKGVERSION): New variable.
31482 ($REPORT_BUGS_TO): Likewise.
31483 (usage): Use $REPORT_BUGS_TO.
31484 (top level): Use $PKGVERSION.
31485 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31486 ($(objpfx)pkgvers.texi): New rule.
31487 ($(objpfx)stamp-pkgvers): Likewise.
31488 * manual/install.texi: Include pkgvers.texi.
31489 (--with-pkgversion): Document new configure option.
31490 (--with-bugurl): Likewise.
31491 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31492 than necessarily for this particular distribution. Use
31493 REPORT_BUGS_TO for where to report bugs.
31494 * INSTALL: Regenerated.
31495 * manual/libc.texinfo: Include pkgvers.texi.
31496 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31497 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31498 (print_version): Use PKGVERSION.
31499 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31500 (print_version): Use PKGVERSION.
31501 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31502 (print_version): Use PKGVERSION.
31503 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31504 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31506 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31507 (print_version): Use PKGVERSION.
31508 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31509 (print_version): Use PKGVERSION.
31510 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31513 * timezone/checktab.awk: Update from tzcode 2012i.
31514 * timezone/ialloc.c: Likewise.
31515 * timezone/private.h: Likewise.
31516 * timezone/scheck.c: Likewise.
31517 * timezone/tzfile.h: Likewise.
31518 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31519 (TZVERSION): Hardcode tzcode version number.
31520 * timezone/zdump.c: Update from tzcode 2012i.
31521 * timezone/zic.c: Likewise.
31522 * timezone/version.h: New file.
31523 * timezone/README: Describe version.h. Update upstream location.
31526 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31527 (mktemp): Enable declaration.
31528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31535 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31537 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31539 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31541 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31545 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31546 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31547 for copies of such integer values.
31548 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31549 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31551 2012-11-09 Andreas Jaeger <aj@suse.de>
31553 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31554 definitions and declarations that are provided by
31555 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31557 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31559 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31560 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31561 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31564 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31566 * elf/elf.h: Update comment before AArch64 relocations.
31568 2012-11-07 David S. Miller <davem@davemloft.net>
31570 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31571 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31572 (__start_context): Declare.
31573 (__makecontext_ret): Delete.
31574 (__makecontext): Hook up __start_context instead of
31576 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31577 (sysdep_routines): Add __start_context when in stdlib.
31579 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31581 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31582 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31583 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31585 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31586 (READELF): New variable. Use it instead of hardcoded "readelf".
31588 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31590 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31591 * sysdeps/x86/Makefile: Here.
31592 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31593 * sysdeps/x86/tst-xmmymm.sh: This.
31595 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31597 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31599 [UNIX98] (pthread_barrier_t): Do not expect.
31600 [UNIX98] (pthread_barrierattr_t): Likewise.
31601 [UNIX98] (pthread_spinlock_t): Likewise.
31602 [UNIX98] (pthread_barrier_destroy): Likewise.
31603 [UNIX98] (pthread_barrier_init): Likewise.
31604 [UNIX98] (pthread_barrier_wait): Likewise.
31605 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31606 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31607 [UNIX98] (pthread_barrierattr_init): Likewise.
31608 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31609 [UNIX98] (pthread_getcpuclockid): Likewise.
31610 [UNIX98] (pthread_mutex_timedlock): Likewise.
31611 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31612 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31613 [UNIX98] (pthread_sigmask): Likewise.
31614 [UNIX98] (pthread_spin_destroy): Likewise.
31615 [UNIX98] (pthread_spin_init): Likewise.
31616 [UNIX98] (pthread_spin_lock): Likewise.
31617 [UNIX98] (pthread_spin_trylock): Likewise.
31618 [UNIX98] (pthread_spin_unlock): Likewise.
31619 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31621 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31622 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31623 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31624 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31625 [XPG3 || XPG4] (pthread_key_t): Likewise.
31626 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31627 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31628 [XPG3 || XPG4] (pthread_once_t): Likewise.
31629 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31630 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31631 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31632 [XPG3 || XPG4] (pthread_t): Likewise.
31634 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31636 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31638 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31639 Change function return type to int.
31641 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31642 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31643 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31644 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31645 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31646 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31647 [!POSIX] (posix_madvise): Likewise.
31648 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31650 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31651 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31652 (mode_t): Likewise.
31653 (posix_mem_offset): Likewise.
31654 (posix_typed_mem_get_info): Likewise.
31655 (posix_typed_mem_open): Likewise.
31657 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31658 Change condition to [XOPEN2K8].
31660 * conform/conformtest.pl: Preprocess allow-header data with -x c
31661 instead of from stdin.
31662 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31663 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31664 [C99-based standards] (cerfc): Likewise.
31665 [C99-based standards] (cexp2): Likewise.
31666 [C99-based standards] (cexpm1): Likewise.
31667 [C99-based standards] (clog10): Likewise.
31668 [C99-based standards] (clog1p): Likewise.
31669 [C99-based standards] (clog2): Likewise.
31670 [C99-based standards] (clgamma): Likewise.
31671 [C99-based standards] (ctgamma): Likewise.
31672 [C99-based standards] (cerff): Likewise.
31673 [C99-based standards] (cerfcf): Likewise.
31674 [C99-based standards] (cexp2f): Likewise.
31675 [C99-based standards] (cexpm1f): Likewise.
31676 [C99-based standards] (clog10f): Likewise.
31677 [C99-based standards] (clog1pf): Likewise.
31678 [C99-based standards] (clog2f): Likewise.
31679 [C99-based standards] (clgammaf): Likewise.
31680 [C99-based standards] (ctgammaf): Likewise.
31681 [C99-based standards] (cerfl): Likewise.
31682 [C99-based standards] (cerfcl): Likewise.
31683 [C99-based standards] (cexp2l): Likewise.
31684 [C99-based standards] (cexpm1l): Likewise.
31685 [C99-based standards] (clog10l): Likewise.
31686 [C99-based standards] (clog1pl): Likewise.
31687 [C99-based standards] (clog2l): Likewise.
31688 [C99-based standards] (clgammal): Likewise.
31689 [C99-based standards] (ctgammal): Likewise.
31690 * conform/data/inttypes.h-data [C99-based standards]: Include
31691 stdint.h-data. Remove all expectations for stdint.h contents.
31692 [C99-based standards] (PRI*): Do not allow.
31693 [C99-based standards] (SCN*): Likewise.
31694 [C99-based standards] (*_t): Likewise.
31695 [C99-based-standards] (PRId8): Expect macro.
31696 [C99-based-standards] (PRIi8): Likewise.
31697 [C99-based-standards] (PRIo8): Likewise.
31698 [C99-based-standards] (PRIu8): Likewise.
31699 [C99-based-standards] (PRIx8): Likewise.
31700 [C99-based-standards] (PRIX8): Likewise.
31701 [C99-based-standards] (SCNd8): Likewise.
31702 [C99-based-standards] (SCNi8): Likewise.
31703 [C99-based-standards] (SCNo8): Likewise.
31704 [C99-based-standards] (SCNu8): Likewise.
31705 [C99-based-standards] (SCNx8): Likewise.
31706 [C99-based-standards] (PRIdLEAST8): Likewise.
31707 [C99-based-standards] (PRIiLEAST8): Likewise.
31708 [C99-based-standards] (PRIoLEAST8): Likewise.
31709 [C99-based-standards] (PRIuLEAST8): Likewise.
31710 [C99-based-standards] (PRIxLEAST8): Likewise.
31711 [C99-based-standards] (PRIXLEAST8): Likewise.
31712 [C99-based-standards] (SCNdLEAST8): Likewise.
31713 [C99-based-standards] (SCNiLEAST8): Likewise.
31714 [C99-based-standards] (SCNoLEAST8): Likewise.
31715 [C99-based-standards] (SCNuLEAST8): Likewise.
31716 [C99-based-standards] (SCNxLEAST8): Likewise.
31717 [C99-based-standards] (PRIdFAST8): Likewise.
31718 [C99-based-standards] (PRIiFAST8): Likewise.
31719 [C99-based-standards] (PRIoFAST8): Likewise.
31720 [C99-based-standards] (PRIuFAST8): Likewise.
31721 [C99-based-standards] (PRIxFAST8): Likewise.
31722 [C99-based-standards] (PRIXFAST8): Likewise.
31723 [C99-based-standards] (SCNdFAST8): Likewise.
31724 [C99-based-standards] (SCNiFAST8): Likewise.
31725 [C99-based-standards] (SCNoFAST8): Likewise.
31726 [C99-based-standards] (SCNuFAST8): Likewise.
31727 [C99-based-standards] (SCNxFAST8): Likewise.
31728 [C99-based-standards] (PRId16): Likewise.
31729 [C99-based-standards] (PRIi16): Likewise.
31730 [C99-based-standards] (PRIo16): Likewise.
31731 [C99-based-standards] (PRIu16): Likewise.
31732 [C99-based-standards] (PRIx16): Likewise.
31733 [C99-based-standards] (PRIX16): Likewise.
31734 [C99-based-standards] (SCNd16): Likewise.
31735 [C99-based-standards] (SCNi16): Likewise.
31736 [C99-based-standards] (SCNo16): Likewise.
31737 [C99-based-standards] (SCNu16): Likewise.
31738 [C99-based-standards] (SCNx16): Likewise.
31739 [C99-based-standards] (PRIdLEAST16): Likewise.
31740 [C99-based-standards] (PRIiLEAST16): Likewise.
31741 [C99-based-standards] (PRIoLEAST16): Likewise.
31742 [C99-based-standards] (PRIuLEAST16): Likewise.
31743 [C99-based-standards] (PRIxLEAST16): Likewise.
31744 [C99-based-standards] (PRIXLEAST16): Likewise.
31745 [C99-based-standards] (SCNdLEAST16): Likewise.
31746 [C99-based-standards] (SCNiLEAST16): Likewise.
31747 [C99-based-standards] (SCNoLEAST16): Likewise.
31748 [C99-based-standards] (SCNuLEAST16): Likewise.
31749 [C99-based-standards] (SCNxLEAST16): Likewise.
31750 [C99-based-standards] (PRIdFAST16): Likewise.
31751 [C99-based-standards] (PRIiFAST16): Likewise.
31752 [C99-based-standards] (PRIoFAST16): Likewise.
31753 [C99-based-standards] (PRIuFAST16): Likewise.
31754 [C99-based-standards] (PRIxFAST16): Likewise.
31755 [C99-based-standards] (PRIXFAST16): Likewise.
31756 [C99-based-standards] (SCNdFAST16): Likewise.
31757 [C99-based-standards] (SCNiFAST16): Likewise.
31758 [C99-based-standards] (SCNoFAST16): Likewise.
31759 [C99-based-standards] (SCNuFAST16): Likewise.
31760 [C99-based-standards] (SCNxFAST16): Likewise.
31761 [C99-based-standards] (PRId32): Likewise.
31762 [C99-based-standards] (PRIi32): Likewise.
31763 [C99-based-standards] (PRIo32): Likewise.
31764 [C99-based-standards] (PRIu32): Likewise.
31765 [C99-based-standards] (PRIx32): Likewise.
31766 [C99-based-standards] (PRIX32): Likewise.
31767 [C99-based-standards] (SCNd32): Likewise.
31768 [C99-based-standards] (SCNi32): Likewise.
31769 [C99-based-standards] (SCNo32): Likewise.
31770 [C99-based-standards] (SCNu32): Likewise.
31771 [C99-based-standards] (SCNx32): Likewise.
31772 [C99-based-standards] (PRIdLEAST32): Likewise.
31773 [C99-based-standards] (PRIiLEAST32): Likewise.
31774 [C99-based-standards] (PRIoLEAST32): Likewise.
31775 [C99-based-standards] (PRIuLEAST32): Likewise.
31776 [C99-based-standards] (PRIxLEAST32): Likewise.
31777 [C99-based-standards] (PRIXLEAST32): Likewise.
31778 [C99-based-standards] (SCNdLEAST32): Likewise.
31779 [C99-based-standards] (SCNiLEAST32): Likewise.
31780 [C99-based-standards] (SCNoLEAST32): Likewise.
31781 [C99-based-standards] (SCNuLEAST32): Likewise.
31782 [C99-based-standards] (SCNxLEAST32): Likewise.
31783 [C99-based-standards] (PRIdFAST32): Likewise.
31784 [C99-based-standards] (PRIiFAST32): Likewise.
31785 [C99-based-standards] (PRIoFAST32): Likewise.
31786 [C99-based-standards] (PRIuFAST32): Likewise.
31787 [C99-based-standards] (PRIxFAST32): Likewise.
31788 [C99-based-standards] (PRIXFAST32): Likewise.
31789 [C99-based-standards] (SCNdFAST32): Likewise.
31790 [C99-based-standards] (SCNiFAST32): Likewise.
31791 [C99-based-standards] (SCNoFAST32): Likewise.
31792 [C99-based-standards] (SCNuFAST32): Likewise.
31793 [C99-based-standards] (SCNxFAST32): Likewise.
31794 [C99-based-standards] (PRId64): Likewise.
31795 [C99-based-standards] (PRIi64): Likewise.
31796 [C99-based-standards] (PRIo64): Likewise.
31797 [C99-based-standards] (PRIu64): Likewise.
31798 [C99-based-standards] (PRIx64): Likewise.
31799 [C99-based-standards] (PRIX64): Likewise.
31800 [C99-based-standards] (SCNd64): Likewise.
31801 [C99-based-standards] (SCNi64): Likewise.
31802 [C99-based-standards] (SCNo64): Likewise.
31803 [C99-based-standards] (SCNu64): Likewise.
31804 [C99-based-standards] (SCNx64): Likewise.
31805 [C99-based-standards] (PRIdLEAST64): Likewise.
31806 [C99-based-standards] (PRIiLEAST64): Likewise.
31807 [C99-based-standards] (PRIoLEAST64): Likewise.
31808 [C99-based-standards] (PRIuLEAST64): Likewise.
31809 [C99-based-standards] (PRIxLEAST64): Likewise.
31810 [C99-based-standards] (PRIXLEAST64): Likewise.
31811 [C99-based-standards] (SCNdLEAST64): Likewise.
31812 [C99-based-standards] (SCNiLEAST64): Likewise.
31813 [C99-based-standards] (SCNoLEAST64): Likewise.
31814 [C99-based-standards] (SCNuLEAST64): Likewise.
31815 [C99-based-standards] (SCNxLEAST64): Likewise.
31816 [C99-based-standards] (PRIdFAST64): Likewise.
31817 [C99-based-standards] (PRIiFAST64): Likewise.
31818 [C99-based-standards] (PRIoFAST64): Likewise.
31819 [C99-based-standards] (PRIuFAST64): Likewise.
31820 [C99-based-standards] (PRIxFAST64): Likewise.
31821 [C99-based-standards] (PRIXFAST64): Likewise.
31822 [C99-based-standards] (SCNdFAST64): Likewise.
31823 [C99-based-standards] (SCNiFAST64): Likewise.
31824 [C99-based-standards] (SCNoFAST64): Likewise.
31825 [C99-based-standards] (SCNuFAST64): Likewise.
31826 [C99-based-standards] (SCNxFAST64): Likewise.
31827 [C99-based-standards] (PRIdMAX): Likewise.
31828 [C99-based-standards] (PRIiMAX): Likewise.
31829 [C99-based-standards] (PRIoMAX): Likewise.
31830 [C99-based-standards] (PRIuMAX): Likewise.
31831 [C99-based-standards] (PRIxMAX): Likewise.
31832 [C99-based-standards] (PRIXMAX): Likewise.
31833 [C99-based-standards] (SCNdMAX): Likewise.
31834 [C99-based-standards] (SCNiMAX): Likewise.
31835 [C99-based-standards] (SCNoMAX): Likewise.
31836 [C99-based-standards] (SCNuMAX): Likewise.
31837 [C99-based-standards] (SCNxMAX): Likewise.
31838 [C99-based-standards] (PRIdPTR): Likewise.
31839 [C99-based-standards] (PRIiPTR): Likewise.
31840 [C99-based-standards] (PRIoPTR): Likewise.
31841 [C99-based-standards] (PRIuPTR): Likewise.
31842 [C99-based-standards] (PRIxPTR): Likewise.
31843 [C99-based-standards] (PRIXPTR): Likewise.
31844 [C99-based-standards] (SCNdPTR): Likewise.
31845 [C99-based-standards] (SCNiPTR): Likewise.
31846 [C99-based-standards] (SCNoPTR): Likewise.
31847 [C99-based-standards] (SCNuPTR): Likewise.
31848 [C99-based-standards] (SCNxPTR): Likewise.
31849 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31851 * conform/data/stdint.h-data: Update comments to clarify
31853 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31855 [C99-based standards] (INT8_MAX): Likewise.
31856 [C99-based standards] (INT16_MIN): Likewise.
31857 [C99-based standards] (INT16_MAX): Likewise.
31858 [C99-based standards] (INT32_MIN): Likewise.
31859 [C99-based standards] (INT32_MAX): Likewise.
31860 [C99-based standards] (INT64_MIN): Likewise.
31861 [C99-based standards] (INT64_MAX): Likewise.
31862 [C99-based standards] (UINT8_MAX): Likewise.
31863 [C99-based standards] (UINT16_MAX): Likewise.
31864 [C99-based standards] (UINT32_MAX): Likewise.
31865 [C99-based standards] (UINT64_MAX): Likewise.
31866 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31867 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31868 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31869 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31870 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31871 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31872 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31873 [C99-based standards] (INT_LEAST64_MAX): Likewise.
31874 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31875 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31876 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31877 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31878 [C99-based standards] (INT_FAST8_MIN): Likewise.
31879 [C99-based standards] (INT_FAST8_MAX): Likewise.
31880 [C99-based standards] (INT_FAST16_MIN): Likewise.
31881 [C99-based standards] (INT_FAST16_MAX): Likewise.
31882 [C99-based standards] (INT_FAST32_MIN): Likewise.
31883 [C99-based standards] (INT_FAST32_MAX): Likewise.
31884 [C99-based standards] (INT_FAST64_MIN): Likewise.
31885 [C99-based standards] (INT_FAST64_MAX): Likewise.
31886 [C99-based standards] (UINT_FAST8_MAX): Likewise.
31887 [C99-based standards] (UINT_FAST16_MAX): Likewise.
31888 [C99-based standards] (UINT_FAST32_MAX): Likewise.
31889 [C99-based standards] (UINT_FAST64_MAX): Likewise.
31890 [C99-based standards] (INTPTR_MIN): Likewise.
31891 [C99-based standards] (INTPTR_MAX): Likewise.
31892 [C99-based standards] (UINTPTR_MAX): Likewise.
31893 [C99-based standards] (INTMAX_MIN): Likewise.
31894 [C99-based standards] (INTMAX_MAX): Likewise.
31895 [C99-based standards] (UINTMAX_MAX): Likewise.
31896 [C99-based standards] (PTRDIFF_MIN): Likewise.
31897 [C99-based standards] (PTRDIFF_MAX): Likewise.
31898 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31899 [C99-based standards] (SIZE_MAX): Likewise.
31900 [C99-based standards] (WCHAR_MAX): Likewise.
31901 [C99-based standards] (WINT_MAX): Likewise.
31902 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
31903 constraint on value.
31904 [C99-based standards] (WCHAR_MIN): Likewise.
31905 [C99-based standards] (WINT_MIN): Likewise.
31906 [C99-based standards] (*_t): Allow.
31907 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31908 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31909 Include math.h-data and complex.h-data. Remove all expectations
31910 of math.h and complex.h contents.
31911 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31913 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31914 (struct tm): Expect tag.
31915 [C99-based-standards] (wcstof): Expect function.
31916 [C99-based-standards] (wcstold): Likewise.
31917 [C99-based-standards] (wcstoll): Likewise.
31918 [C99-based-standards] (wcstoull): Likewise.
31919 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31920 macro-int-constant. Specify type.
31921 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
31922 constraint on value.
31923 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31925 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31927 [ISO C standards]: Do not allow headers.
31928 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31929 wcs[abcdefghijklmnopqrstuvwxyz]*.
31930 [ISO C standards] (*_t): Do not allow.
31931 * conform/data/wctype.h-data [C99-based standards] (iswblank):
31933 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31934 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31936 [ISO C standards]: Do not allow headers.
31937 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31938 is[abcdefghijklmnopqrstuvwxyz]*.
31939 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31940 to[abcdefghijklmnopqrstuvwxyz]*.
31941 [ISO C standards] (*_t): Do not allow.
31942 * conform/data/stdalign.h-data: New file.
31943 * conform/data/stdbool.h-data: Likewise.
31944 * conform/data/stdnoreturn.h-data: Likewise.
31946 2012-11-07 Roland McGrath <roland@hack.frob.com>
31949 * manual/filesys.texi (Directory Entries): Typo fix.
31950 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31952 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31954 * elf/elf.h (EM_AARCH64): New macro.
31955 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31956 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31957 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31958 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31959 (R_AARCH64_TLSDESC): Likewise.
31960 (NT_ARM_TLS): Likewise.
31961 (NT_ARM_HW_BREAK): Likewise.
31962 (NT_ARM_HW_WATCH): Likewise.
31964 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31967 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31968 (__ieee754_powl): Saturate nonzero exponents with absolute value
31969 below 0x1p-79 to +/- 0x1p-79.
31970 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31971 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31972 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31973 nonzero exponents with absolute value below 0x1p-32 to +/-
31975 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31976 (__ieee754_powl): Saturate nonzero exponents with absolute value
31977 below 0x1p-79 to +/- 0x1p-79.
31978 * math/libm-test.inc (pow_test): Add more tests.
31980 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31982 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31983 _dl_s390_cap_flags with kernel. Increase string length.
31984 (_dl_s390_platforms): Add z196 and zEC12.
31986 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31988 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31989 Change XOPEN21K to XOPEN2K.
31991 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31993 * string/memmove.c: Use memcpy when possible.
31995 2012-11-06 Andreas Jaeger <aj@suse.de>
31997 * po/eo.po: Update from translation team.
31999 2012-11-06 Joseph Myers <joseph@codesourcery.com>
32002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32003 exponent and small x and y exponents, scale x or y up. Increase
32004 by 2 the exponent used in scaling up.
32005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32006 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32007 * math/libm-test.inc (fma_test): Add more tests.
32008 (fma_test_towardzero): Likewise.
32009 (fma_test_downward): Likewise.
32010 (fma_test_upward): Likewise.
32012 2012-11-05 Joseph Myers <joseph@codesourcery.com>
32015 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32019 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32020 namespace for names of struct fields.
32021 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32023 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32024 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32026 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32029 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32031 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32033 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32037 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32040 2012-11-04 Joseph Myers <joseph@codesourcery.com>
32043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32044 definitely overflow as x * y not x * y + z.
32045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32046 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32047 * math/libm-test.inc (fma_test): Add more tests.
32048 (fma_test_towardzero): Likewise.
32049 (fma_test_downward): Likewise.
32050 (fma_test_upward): Likewise.
32052 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32056 * include/stub-tag.h: Remove file.
32057 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32059 * manual/maint.texi (Porting): Don't reference it.
32060 * Makerules ($(objpfx)stubs): Likewise.
32061 * dirent/closedir.c: Don't include <stub-tag.h>.
32062 * dirent/dirfd.c: Likewise.
32063 * dirent/fdopendir.c: Likewise.
32064 * dirent/getdents.c: Likewise.
32065 * dirent/getdents64.c: Likewise.
32066 * dirent/opendir.c: Likewise.
32067 * dirent/readdir.c: Likewise.
32068 * dirent/readdir64.c: Likewise.
32069 * dirent/readdir64_r.c: Likewise.
32070 * dirent/readdir_r.c: Likewise.
32071 * dirent/rewinddir.c: Likewise.
32072 * dirent/seekdir.c: Likewise.
32073 * dirent/telldir.c: Likewise.
32074 * gmon/profil.c: Likewise.
32075 * grp/setgroups.c: Likewise.
32076 * inet/if_index.c: Likewise.
32077 * io/access.c: Likewise.
32078 * io/chdir.c: Likewise.
32079 * io/chmod.c: Likewise.
32080 * io/chown.c: Likewise.
32081 * io/close.c: Likewise.
32082 * io/dup.c: Likewise.
32083 * io/dup2.c: Likewise.
32084 * io/dup3.c: Likewise.
32085 * io/euidaccess.c: Likewise.
32086 * io/faccessat.c: Likewise.
32087 * io/fchdir.c: Likewise.
32088 * io/fchmod.c: Likewise.
32089 * io/fchmodat.c: Likewise.
32090 * io/fchown.c: Likewise.
32091 * io/fchownat.c: Likewise.
32092 * io/fcntl.c: Likewise.
32093 * io/flock.c: Likewise.
32094 * io/fstatfs.c: Likewise.
32095 * io/fstatfs64.c: Likewise.
32096 * io/fstatvfs.c: Likewise.
32097 * io/fstatvfs64.c: Likewise.
32098 * io/futimens.c: Likewise.
32099 * io/fxstat.c: Likewise.
32100 * io/fxstat64.c: Likewise.
32101 * io/fxstatat.c: Likewise.
32102 * io/fxstatat64.c: Likewise.
32103 * io/getcwd.c: Likewise.
32104 * io/isatty.c: Likewise.
32105 * io/lchmod.c: Likewise.
32106 * io/lchown.c: Likewise.
32107 * io/link.c: Likewise.
32108 * io/linkat.c: Likewise.
32109 * io/lseek.c: Likewise.
32110 * io/lseek64.c: Likewise.
32111 * io/lxstat64.c: Likewise.
32112 * io/mkdir.c: Likewise.
32113 * io/mkdirat.c: Likewise.
32114 * io/mkfifo.c: Likewise.
32115 * io/mkfifoat.c: Likewise.
32116 * io/open.c: Likewise.
32117 * io/open64.c: Likewise.
32118 * io/openat.c: Likewise.
32119 * io/openat64.c: Likewise.
32120 * io/pipe.c: Likewise.
32121 * io/pipe2.c: Likewise.
32122 * io/poll.c: Likewise.
32123 * io/posix_fadvise.c: Likewise.
32124 * io/posix_fadvise64.c: Likewise.
32125 * io/posix_fallocate.c: Likewise.
32126 * io/posix_fallocate64.c: Likewise.
32127 * io/read.c: Likewise.
32128 * io/readlink.c: Likewise.
32129 * io/readlinkat.c: Likewise.
32130 * io/rmdir.c: Likewise.
32131 * io/sendfile.c: Likewise.
32132 * io/sendfile64.c: Likewise.
32133 * io/statfs.c: Likewise.
32134 * io/statfs64.c: Likewise.
32135 * io/statvfs.c: Likewise.
32136 * io/statvfs64.c: Likewise.
32137 * io/symlink.c: Likewise.
32138 * io/symlinkat.c: Likewise.
32139 * io/ttyname.c: Likewise.
32140 * io/ttyname_r.c: Likewise.
32141 * io/umask.c: Likewise.
32142 * io/unlink.c: Likewise.
32143 * io/unlinkat.c: Likewise.
32144 * io/utime.c: Likewise.
32145 * io/utimensat.c: Likewise.
32146 * io/write.c: Likewise.
32147 * io/xmknod.c: Likewise.
32148 * io/xmknodat.c: Likewise.
32149 * io/xstat.c: Likewise.
32150 * io/xstat64.c: Likewise.
32151 * login/getpt.c: Likewise.
32152 * login/grantpt.c: Likewise.
32153 * login/unlockpt.c: Likewise.
32154 * math/e_acoshl.c: Likewise.
32155 * math/e_acosl.c: Likewise.
32156 * math/e_asinl.c: Likewise.
32157 * math/e_atan2l.c: Likewise.
32158 * math/e_atanhl.c: Likewise.
32159 * math/e_coshl.c: Likewise.
32160 * math/e_expl.c: Likewise.
32161 * math/e_fmodl.c: Likewise.
32162 * math/e_gammal_r.c: Likewise.
32163 * math/e_hypotl.c: Likewise.
32164 * math/e_j0l.c: Likewise.
32165 * math/e_j1l.c: Likewise.
32166 * math/e_jnl.c: Likewise.
32167 * math/e_lgammal_r.c: Likewise.
32168 * math/e_log10l.c: Likewise.
32169 * math/e_log2l.c: Likewise.
32170 * math/e_logl.c: Likewise.
32171 * math/e_powl.c: Likewise.
32172 * math/e_rem_pio2l.c: Likewise.
32173 * math/e_sinhl.c: Likewise.
32174 * math/e_sqrtl.c: Likewise.
32175 * math/fclrexcpt.c: Likewise.
32176 * math/fedisblxcpt.c: Likewise.
32177 * math/feenablxcpt.c: Likewise.
32178 * math/fegetenv.c: Likewise.
32179 * math/fegetexcept.c: Likewise.
32180 * math/fegetround.c: Likewise.
32181 * math/feholdexcpt.c: Likewise.
32182 * math/fesetenv.c: Likewise.
32183 * math/fesetround.c: Likewise.
32184 * math/feupdateenv.c: Likewise.
32185 * math/fgetexcptflg.c: Likewise.
32186 * math/fraiseexcpt.c: Likewise.
32187 * math/fsetexcptflg.c: Likewise.
32188 * math/ftestexcept.c: Likewise.
32189 * math/k_cosl.c: Likewise.
32190 * math/k_rem_pio2l.c: Likewise.
32191 * math/k_sinl.c: Likewise.
32192 * math/k_tanl.c: Likewise.
32193 * math/s_asinhl.c: Likewise.
32194 * math/s_atanl.c: Likewise.
32195 * math/s_cbrtl.c: Likewise.
32196 * math/s_erfl.c: Likewise.
32197 * math/s_expm1l.c: Likewise.
32198 * math/s_log1pl.c: Likewise.
32199 * math/s_tanhl.c: Likewise.
32200 * misc/acct.c: Likewise.
32201 * misc/brk.c: Likewise.
32202 * misc/chflags.c: Likewise.
32203 * misc/chroot.c: Likewise.
32204 * misc/fchflags.c: Likewise.
32205 * misc/fgetxattr.c: Likewise.
32206 * misc/flistxattr.c: Likewise.
32207 * misc/fremovexattr.c: Likewise.
32208 * misc/fsetxattr.c: Likewise.
32209 * misc/fsync.c: Likewise.
32210 * misc/ftruncate.c: Likewise.
32211 * misc/futimes.c: Likewise.
32212 * misc/futimesat.c: Likewise.
32213 * misc/getdomain.c: Likewise.
32214 * misc/getdtsz.c: Likewise.
32215 * misc/gethostid.c: Likewise.
32216 * misc/gethostname.c: Likewise.
32217 * misc/getloadavg.c: Likewise.
32218 * misc/getpagesize.c: Likewise.
32219 * misc/getsysstats.c: Likewise.
32220 * misc/getxattr.c: Likewise.
32221 * misc/gtty.c: Likewise.
32222 * misc/ioctl.c: Likewise.
32223 * misc/lgetxattr.c: Likewise.
32224 * misc/listxattr.c: Likewise.
32225 * misc/llistxattr.c: Likewise.
32226 * misc/lremovexattr.c: Likewise.
32227 * misc/lsetxattr.c: Likewise.
32228 * misc/lutimes.c: Likewise.
32229 * misc/madvise.c: Likewise.
32230 * misc/mincore.c: Likewise.
32231 * misc/mlock.c: Likewise.
32232 * misc/mlockall.c: Likewise.
32233 * misc/mmap.c: Likewise.
32234 * misc/mprotect.c: Likewise.
32235 * misc/msync.c: Likewise.
32236 * misc/munlock.c: Likewise.
32237 * misc/munlockall.c: Likewise.
32238 * misc/munmap.c: Likewise.
32239 * misc/preadv.c: Likewise.
32240 * misc/preadv64.c: Likewise.
32241 * misc/ptrace.c: Likewise.
32242 * misc/pwritev.c: Likewise.
32243 * misc/pwritev64.c: Likewise.
32244 * misc/readv.c: Likewise.
32245 * misc/reboot.c: Likewise.
32246 * misc/remap_file_pages.c: Likewise.
32247 * misc/removexattr.c: Likewise.
32248 * misc/revoke.c: Likewise.
32249 * misc/select.c: Likewise.
32250 * misc/setdomain.c: Likewise.
32251 * misc/setegid.c: Likewise.
32252 * misc/seteuid.c: Likewise.
32253 * misc/sethostid.c: Likewise.
32254 * misc/sethostname.c: Likewise.
32255 * misc/setregid.c: Likewise.
32256 * misc/setreuid.c: Likewise.
32257 * misc/setxattr.c: Likewise.
32258 * misc/sstk.c: Likewise.
32259 * misc/stty.c: Likewise.
32260 * misc/swapoff.c: Likewise.
32261 * misc/swapon.c: Likewise.
32262 * misc/sync.c: Likewise.
32263 * misc/syncfs.c: Likewise.
32264 * misc/syscall.c: Likewise.
32265 * misc/truncate.c: Likewise.
32266 * misc/ualarm.c: Likewise.
32267 * misc/usleep.c: Likewise.
32268 * misc/ustat.c: Likewise.
32269 * misc/utimes.c: Likewise.
32270 * misc/vhangup.c: Likewise.
32271 * misc/writev.c: Likewise.
32272 * posix/_exit.c: Likewise.
32273 * posix/alarm.c: Likewise.
32274 * posix/execve.c: Likewise.
32275 * posix/fexecve.c: Likewise.
32276 * posix/fork.c: Likewise.
32277 * posix/fpathconf.c: Likewise.
32278 * posix/getaddrinfo.c: Likewise.
32279 * posix/getegid.c: Likewise.
32280 * posix/geteuid.c: Likewise.
32281 * posix/getgid.c: Likewise.
32282 * posix/getgroups.c: Likewise.
32283 * posix/getlogin.c: Likewise.
32284 * posix/getlogin_r.c: Likewise.
32285 * posix/getpgid.c: Likewise.
32286 * posix/getpid.c: Likewise.
32287 * posix/getppid.c: Likewise.
32288 * posix/getresgid.c: Likewise.
32289 * posix/getresuid.c: Likewise.
32290 * posix/getsid.c: Likewise.
32291 * posix/getuid.c: Likewise.
32292 * posix/glob64.c: Likewise.
32293 * posix/nanosleep.c: Likewise.
32294 * posix/pathconf.c: Likewise.
32295 * posix/pause.c: Likewise.
32296 * posix/posix_madvise.c: Likewise.
32297 * posix/pread.c: Likewise.
32298 * posix/pread64.c: Likewise.
32299 * posix/pwrite.c: Likewise.
32300 * posix/pwrite64.c: Likewise.
32301 * posix/sched_getaffinity.c: Likewise.
32302 * posix/sched_getp.c: Likewise.
32303 * posix/sched_gets.c: Likewise.
32304 * posix/sched_primax.c: Likewise.
32305 * posix/sched_primin.c: Likewise.
32306 * posix/sched_rr_gi.c: Likewise.
32307 * posix/sched_setaffinity.c: Likewise.
32308 * posix/sched_setp.c: Likewise.
32309 * posix/sched_sets.c: Likewise.
32310 * posix/sched_yield.c: Likewise.
32311 * posix/setgid.c: Likewise.
32312 * posix/setlogin.c: Likewise.
32313 * posix/setpgid.c: Likewise.
32314 * posix/setresgid.c: Likewise.
32315 * posix/setresuid.c: Likewise.
32316 * posix/setsid.c: Likewise.
32317 * posix/setuid.c: Likewise.
32318 * posix/sleep.c: Likewise.
32319 * posix/spawni.c: Likewise.
32320 * posix/sysconf.c: Likewise.
32321 * posix/times.c: Likewise.
32322 * posix/wait.c: Likewise.
32323 * posix/wait3.c: Likewise.
32324 * posix/wait4.c: Likewise.
32325 * posix/waitpid.c: Likewise.
32326 * resolv/gai_sigqueue.c: Likewise.
32327 * resource/getpriority.c: Likewise.
32328 * resource/getrlimit.c: Likewise.
32329 * resource/getrusage.c: Likewise.
32330 * resource/nice.c: Likewise.
32331 * resource/setpriority.c: Likewise.
32332 * resource/setrlimit.c: Likewise.
32333 * resource/ulimit.c: Likewise.
32334 * rt/aio_cancel.c: Likewise.
32335 * rt/aio_fsync.c: Likewise.
32336 * rt/aio_read.c: Likewise.
32337 * rt/aio_sigqueue.c: Likewise.
32338 * rt/aio_suspend.c: Likewise.
32339 * rt/aio_write.c: Likewise.
32340 * rt/clock_getres.c: Likewise.
32341 * rt/clock_gettime.c: Likewise.
32342 * rt/clock_nanosleep.c: Likewise.
32343 * rt/clock_settime.c: Likewise.
32344 * rt/lio_listio.c: Likewise.
32345 * rt/mq_close.c: Likewise.
32346 * rt/mq_getattr.c: Likewise.
32347 * rt/mq_notify.c: Likewise.
32348 * rt/mq_open.c: Likewise.
32349 * rt/mq_receive.c: Likewise.
32350 * rt/mq_send.c: Likewise.
32351 * rt/mq_setattr.c: Likewise.
32352 * rt/mq_timedreceive.c: Likewise.
32353 * rt/mq_timedsend.c: Likewise.
32354 * rt/mq_unlink.c: Likewise.
32355 * rt/shm_open.c: Likewise.
32356 * rt/shm_unlink.c: Likewise.
32357 * rt/timer_create.c: Likewise.
32358 * rt/timer_delete.c: Likewise.
32359 * rt/timer_getoverr.c: Likewise.
32360 * rt/timer_gettime.c: Likewise.
32361 * rt/timer_settime.c: Likewise.
32362 * setjmp/__longjmp.c: Likewise.
32363 * setjmp/setjmp.c: Likewise.
32364 * signal/kill.c: Likewise.
32365 * signal/killpg.c: Likewise.
32366 * signal/raise.c: Likewise.
32367 * signal/sigaction.c: Likewise.
32368 * signal/sigaltstack.c: Likewise.
32369 * signal/sigblock.c: Likewise.
32370 * signal/sigignore.c: Likewise.
32371 * signal/sigintr.c: Likewise.
32372 * signal/signal.c: Likewise.
32373 * signal/sigpause.c: Likewise.
32374 * signal/sigpending.c: Likewise.
32375 * signal/sigqueue.c: Likewise.
32376 * signal/sigreturn.c: Likewise.
32377 * signal/sigset.c: Likewise.
32378 * signal/sigsetmask.c: Likewise.
32379 * signal/sigstack.c: Likewise.
32380 * signal/sigsuspend.c: Likewise.
32381 * signal/sigtimedwait.c: Likewise.
32382 * signal/sigvec.c: Likewise.
32383 * signal/sigwait.c: Likewise.
32384 * signal/sigwaitinfo.c: Likewise.
32385 * signal/sysv_signal.c: Likewise.
32386 * socket/accept.c: Likewise.
32387 * socket/accept4.c: Likewise.
32388 * socket/bind.c: Likewise.
32389 * socket/connect.c: Likewise.
32390 * socket/getpeername.c: Likewise.
32391 * socket/getsockname.c: Likewise.
32392 * socket/getsockopt.c: Likewise.
32393 * socket/isfdtype.c: Likewise.
32394 * socket/listen.c: Likewise.
32395 * socket/recv.c: Likewise.
32396 * socket/recvfrom.c: Likewise.
32397 * socket/recvmsg.c: Likewise.
32398 * socket/send.c: Likewise.
32399 * socket/sendmsg.c: Likewise.
32400 * socket/sendto.c: Likewise.
32401 * socket/setsockopt.c: Likewise.
32402 * socket/shutdown.c: Likewise.
32403 * socket/sockatmark.c: Likewise.
32404 * socket/socket.c: Likewise.
32405 * socket/socketpair.c: Likewise.
32406 * stdio-common/ctermid.c: Likewise.
32407 * stdio-common/cuserid.c: Likewise.
32408 * stdio-common/remove.c: Likewise.
32409 * stdio-common/rename.c: Likewise.
32410 * stdio-common/renameat.c: Likewise.
32411 * stdio-common/tempname.c: Likewise.
32412 * stdlib/getcontext.c: Likewise.
32413 * stdlib/makecontext.c: Likewise.
32414 * stdlib/setcontext.c: Likewise.
32415 * stdlib/swapcontext.c: Likewise.
32416 * stdlib/system.c: Likewise.
32417 * streams/fattach.c: Likewise.
32418 * streams/fdetach.c: Likewise.
32419 * streams/getmsg.c: Likewise.
32420 * streams/getpmsg.c: Likewise.
32421 * streams/putmsg.c: Likewise.
32422 * streams/putpmsg.c: Likewise.
32423 * sysdeps/unix/bsd/getpt.c: Likewise.
32424 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32425 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32426 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32429 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32430 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32431 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32432 * sysvipc/msgctl.c: Likewise.
32433 * sysvipc/msgget.c: Likewise.
32434 * sysvipc/msgrcv.c: Likewise.
32435 * sysvipc/msgsnd.c: Likewise.
32436 * sysvipc/semctl.c: Likewise.
32437 * sysvipc/semget.c: Likewise.
32438 * sysvipc/semop.c: Likewise.
32439 * sysvipc/semtimedop.c: Likewise.
32440 * sysvipc/shmat.c: Likewise.
32441 * sysvipc/shmctl.c: Likewise.
32442 * sysvipc/shmdt.c: Likewise.
32443 * sysvipc/shmget.c: Likewise.
32444 * termios/tcdrain.c: Likewise.
32445 * termios/tcflow.c: Likewise.
32446 * termios/tcflush.c: Likewise.
32447 * termios/tcgetattr.c: Likewise.
32448 * termios/tcgetpgrp.c: Likewise.
32449 * termios/tcsendbrk.c: Likewise.
32450 * termios/tcsetattr.c: Likewise.
32451 * termios/tcsetpgrp.c: Likewise.
32452 * time/adjtime.c: Likewise.
32453 * time/clock.c: Likewise.
32454 * time/getitimer.c: Likewise.
32455 * time/gettimeofday.c: Likewise.
32456 * time/setitimer.c: Likewise.
32457 * time/settimeofday.c: Likewise.
32458 * time/stime.c: Likewise.
32459 * time/time.c: Likewise.
32461 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
32463 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32466 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32468 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32470 2012-11-03 Joseph Myers <joseph@codesourcery.com>
32473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32474 FE_TONEAREST before applying Dekker multiplication and Knuth
32475 addition. Clear inexact exceptions and check for exact zero
32476 results afterwards.
32477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32478 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32479 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32480 * math/libm-test.inc (fma_test): Add more tests.
32481 (fma_test_towardzero): Likewise.
32482 (fma_test_downward): Likewise.
32483 (fma_test_upward): Likewise.
32484 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32486 (libc_fesetround): New macro.
32487 (libc_fesetroundf): Likewise.
32488 (libc_fesetroundl): Likewise.
32489 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32491 (libc_fesetround_387): Likewise.
32492 (libc_fesetroundf): New macro.
32493 (libc_fesetround): Likewise.
32494 (libc_fesetroundl): Likewise.
32495 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32497 (libc_fesetroundf): New macro.
32498 (libc_fesetround): Likewise.
32499 (libc_fesetroundl): Likewise.
32500 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32501 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32502 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32504 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32505 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32507 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32508 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32510 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32514 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32515 integer constant usable in #if and use that to give value to enum
32517 (FE_DIVBYZERO): Likewise.
32518 (FE_UNDERFLOW): Likewise.
32519 (FE_OVERFLOW): Likewise.
32520 (FE_INVALID): Likewise.
32521 (FE_INVALID_SNAN): Likewise.
32522 (FE_INVALID_ISI): Likewise.
32523 (FE_INVALID_IDI): Likewise.
32524 (FE_INVALID_ZDZ): Likewise.
32525 (FE_INVALID_IMZ): Likewise.
32526 (FE_INVALID_COMPARE): Likewise.
32527 (FE_INVALID_SOFTWARE): Likewise.
32528 (FE_INVALID_SQRT): Likewise.
32529 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32530 (FE_TONEAREST): Likewise.
32531 (FE_TOWARDZERO): Likewise.
32532 (FE_UPWARD): Likewise.
32533 (FE_DOWNWARD): Likewise.
32534 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32535 (FE_DIVBYZERO): Likewise.
32536 (FE_OVERFLOW): Likewise.
32537 (FE_UNDERFLOW): Likewise.
32538 (FE_INEXACT): Likewise.
32539 (FE_TONEAREST): Likewise.
32540 (FE_DOWNWARD): Likewise.
32541 (FE_UPWARD): Likewise.
32542 (FE_TOWARDZERO): Likewise.
32543 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32544 (FE_UNDERFLOW): Likewise.
32545 (FE_OVERFLOW): Likewise.
32546 (FE_DIVBYZERO): Likewise.
32547 (FE_INVALID): Likewise.
32548 (FE_TONEAREST): Likewise.
32549 (FE_TOWARDZERO): Likewise.
32550 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32551 (FE_OVERFLOW): Likewise.
32552 (FE_UNDERFLOW): Likewise.
32553 (FE_DIVBYZERO): Likewise.
32554 (FE_INEXACT): Likewise.
32555 (FE_TONEAREST): Likewise.
32556 (FE_TOWARDZERO): Likewise.
32557 (FE_UPWARD): Likewise.
32558 (FE_DOWNWARD): Likewise.
32559 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32560 (FE_DIVBYZERO): Likewise.
32561 (FE_OVERFLOW): Likewise.
32562 (FE_UNDERFLOW): Likewise.
32563 (FE_INEXACT): Likewise.
32564 (FE_TONEAREST): Likewise.
32565 (FE_DOWNWARD): Likewise.
32566 (FE_UPWARD): Likewise.
32567 (FE_TOWARDZERO): Likewise.
32569 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32571 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32573 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32575 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32576 commands. Quote $PWD.
32577 (blacklist_exports): Don't use remove_newlines. Replace "declare
32579 (remove_newlines): Remove.
32581 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32583 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32584 * stdlib/stdlib.h (atof): Moved to ...
32585 * include/bits/stdlib-float.h: Here. New file.
32586 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32587 * stdlib/bits/stdlib-float.h: New file.
32588 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32590 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32593 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32595 * conform/conformtest.pl (@headers): Add fenv.h.
32596 * conform/data/fenv.h-data: New file.
32597 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32598 include of <math/fenv.h>.
32600 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32601 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32602 && !UNIX98]. Enables tests for XOPEN2K8.
32603 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32604 POSIX2008]: Likewise.
32606 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32607 (struct rusage): Do not expect type or its members.
32610 * math/math.h (FP_NAN): Define macro to integer constant usable in
32611 #if and use that to give value to enum constant.
32612 (FP_INFINITE): Likewise.
32613 (FP_ZERO): Likewise.
32614 (FP_SUBNORMAL): Likewise.
32615 (FP_NORMAL): Likewise.
32617 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32619 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32620 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32623 2012-11-02 Roland McGrath <roland@hack.frob.com>
32625 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32626 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32627 autoconf-time if not.
32628 * configure.in: Remove AC_PREREQ.
32630 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32632 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32633 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32634 of the internal implementation.
32636 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32638 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32639 except include of <misc/sys/syslog.h>.
32641 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32644 function returns with a NULL context exit with zero.
32646 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32648 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32650 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32652 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32653 (run_program_cmd): This.
32654 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32655 (tst_langinfo): New variable. Use it.
32657 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32659 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32660 floating point opcodes.
32662 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32664 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32667 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32669 * sysdeps/mach/hurd/powerpc: Remove directory.
32670 * sysdeps/mach/powerpc: Likewise.
32672 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32674 * scripts/check-local-headers.sh: Ignore c++ headers.
32676 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32678 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32679 __libc_cleanup_region_start argument.
32681 2012-11-01 Joseph Myers <joseph@codesourcery.com>
32685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32686 x * y using scaling, not as x * y + z.
32687 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32688 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32689 * math/libm-test.inc (fma_test): Add more tests.
32690 (fma_test_towardzero): Likewise.
32691 (fma_test_downward): Likewise.
32692 (fma_test_upward): Likewise.
32694 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32696 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32698 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32700 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32703 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32705 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32707 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32714 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32717 Fix the order of the list for glibc 2.17.
32718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32721 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32725 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32728 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32729 for low part of x being zero before using __atanl (y).
32730 * math/libm-test.inc (atan2_test): Add another test.
32732 * manual/install.texi (Configuring and compiling): Document
32733 general use of test-wrapper and test-wrapper-env.
32734 * INSTALL: Regenerated.
32736 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32737 (__fma): Do not extract and scale down low bits on after-rounding
32738 systems when result rounded to normal precision would have normal
32740 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32741 (__fmal): Do not extract and scale down low bits on after-rounding
32742 systems when result rounded to normal precision would have normal
32744 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32745 (__fmal): Do not extract and scale down low bits on after-rounding
32746 systems when result rounded to normal precision would have normal
32748 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32750 (fma_test): Add more tests.
32751 (fma_test_towardzero): Likewise.
32752 (fma_test_downward): Likewise.
32753 (fma_test_upward): Likewise.
32755 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32757 * sysdeps/i386/tininess.h: Renamed to ...
32758 * sysdeps/x86/tininess.h: This.
32759 * sysdeps/x86_64/tininess.h: Removed.
32761 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32763 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32764 input. Use $(build-program-cmd).
32765 ($(objpfx)tst-array1-static.out): Likewise.
32766 ($(objpfx)tst-array2.out): Likewise.
32767 ($(objpfx)tst-array3.out): Likewise.
32768 ($(objpfx)tst-array4.out): Likewise.
32769 ($(objpfx)tst-array5.out): Likewise.
32770 ($(objpfx)tst-array5-static.out): Likewise.
32772 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32774 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32777 * nss/nsswitch.h (nss_interface_function): Provide new
32778 macro for use with NSS functions.
32779 * grp/initgroups.c: Use new macro.
32780 * nss/getXXbyYY.c: Likewise.
32781 * nss/getXXbyYY_r.c: Likewise.
32782 * nss/getXXent.c: Likewise.
32783 * nss/getXXent_r.c: Likewise.
32784 * sysdeps/posix/getaddrinfo.c: Likewise.
32786 2012-10-30 Andreas Jaeger <aj@suse.de>
32788 * po/ru.po: Update Russion translation from translation project.
32790 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32795 result and shift together with sticky bit instead of replicating
32796 round-to-nearest rounding.
32797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32799 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32800 missing underflow exceptions.
32801 (fma_test_towardzero): Add more tests.
32802 (fma_test_downward): Likewise.
32803 (fma_test_upward): Likewise.
32806 * sysdeps/generic/tininess.h: New file.
32807 * sysdeps/i386/tininess.h: Likewise.
32808 * sysdeps/sh/tininess.h: Likewise.
32809 * sysdeps/x86_64/tininess.h: Likewise.
32810 * stdlib/tst-strtod-underflow.c: Likewise.
32811 * stdlib/tst-tininess.c: Likewise.
32812 * stdlib/strtod_l.c: Include <tininess.h>.
32813 (round_and_return): Do not set errno for exact underflow cases.
32814 Force an underflow exception when setting errno for underflow.
32815 Determine underflow based on rounding to normal precision if
32816 TININESS_AFTER_ROUNDING.
32817 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32818 ERANGE for exact underflow cases.
32819 * stdlib/Makefile (tests): Add tst-tininess and
32820 tst-strtod-underflow.
32821 ($(objpfx)tst-tininess): Use $(link-libm).
32822 ($(objpfx)tst-strtod-underflow): Likewise.
32824 2012-10-30 Andreas Jaeger <aj@suse.de>
32827 * elf/Makefile (tests): Remove conditional for have-initfini-array
32828 since this is now always required and the variable does not exist
32830 (tests-static): Likewise.
32831 (modules-names): Likewise.
32833 * po/eo.po: Add Esperanto translation from translation project.
32835 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32836 merged with constructor/destructor.
32837 (init_array): Likewise.
32838 * elf/tst-array2dep.c (fini_array): Likewise.
32839 (init_array): Likewise.
32841 2012-10-29 Mike Frysinger <vapier@gentoo.org>
32843 * manual/message.texi: Delete @cartouche tags.
32845 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32847 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32849 * sysdeps/mach/hurd/fsync.c: Likewise.
32851 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32852 [_POSIX_REALTIME_SIGNALS]: Change condition to
32853 [_POSIX_REALTIME_SIGNALS > 0].
32855 2012-10-27 Andreas Jaeger <aj@suse.de>
32857 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32858 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32859 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32860 [__WORDSIZE != 64]: Likewise.
32862 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32864 * iconvdata/tst-table.sh: Remove ${SHELL}.
32865 * iconvdata/tst-tables.sh: Likewise.
32867 2012-10-25 David S. Miller <davem@davemloft.net>
32869 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32870 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32873 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32875 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32876 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32877 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32880 2012-10-25 Roland McGrath <roland@hack.frob.com>
32882 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32883 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32886 2012-10-25 Joseph Myers <joseph@codesourcery.com>
32887 Jim Blandy <jimb@codesourcery.com>
32889 * scripts/cross-test-ssh.sh: New file.
32890 * manual/install.texi (Configuring and compiling): Document use of
32892 * INSTALL: Regenerated.
32894 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
32896 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32899 2012-10-25 Joseph Myers <joseph@codesourcery.com>
32901 * Makeconfig (run-program-prefix): Fix comment.
32903 2012-10-24 Joseph Myers <joseph@codesourcery.com>
32904 Jim Blandy <jimb@codesourcery.com>
32906 * Makeconfig (test-wrapper): New variable,
32907 (test-wrapper-env): Likewise.
32908 [$(cross-compiling) = yes && $(test-wrapper) != ""]
32909 (run-built-tests): Define to yes.
32910 (run-program-prefix): Use $(test-wrapper).
32911 (built-program-cmd): Likewise.
32912 * Rules (make-test-out): Use $(test-wrapper-env) and
32913 $(host-built-program-cmd).
32914 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32915 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32917 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32918 $(test-wrapper-env) to tst-rtld-load-self.sh.
32919 ($(objpfx)order2.out): Use $(test-wrapper).
32920 ($(objpfx)tst-initorder.out): Likewise.
32921 ($(objpfx)tst-initorder2.out): Likewise.
32922 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32923 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32924 (test_wrapper_env): New variable. Use it to run ld.so.
32925 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32926 Use it to run ld.so.
32927 (test_wrapper_env): Likewise.
32928 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32929 $(test-wrapper) to run-iconv-test.sh.
32930 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32931 (ICONV): Use $test_wrapper.
32932 * posix/Makefile ($(objpfx)globtest.out): Pass
32933 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32934 globtest.sh, not $(run-program-prefix).
32935 * posix/globtest.sh (run_via_rtld_prefix): New variable.
32936 (test_wrapper): Likewise.
32937 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32938 set together with run_via_rtld_prefix.
32939 (run_program_prefix): Define in terms of test_wrapper and
32940 run_via_rtld_prefix.
32942 2012-10-24 Roland McGrath <roland@hack.frob.com>
32944 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32945 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32949 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32950 Declare __clock_getres, __clock_gettime, __clock_settime,
32951 __clock_nanosleep, and __clock_getcpuclockid.
32952 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32953 Remove librt_hidden_def (clock_gettime).
32954 * sysdeps/unix/clock_gettime.c: Likewise.
32955 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32956 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32957 * rt/clock_getres.c: Define __clock_getres as an alias.
32958 * sysdeps/posix/clock_getres.c: Likewise.
32959 * rt/clock_settime.c: Define __clock_settime as an alias.
32960 * sysdeps/unix/clock_settime.c: Likewise.
32961 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32962 * sysdeps/unix/clock_nanosleep.c: Likewise.
32963 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32964 * rt/clock-compat.c: New file.
32965 * rt/Makefile (librt-routines): Add clock-compat and move
32966 $(clock-routines) to ...
32967 (routines): ... here, new variable.
32968 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32969 Don't add get_clockfreq here.
32970 * rt/Versions (libc: GLIBC_2.17): New version set.
32971 Add clock_* symbols here.
32972 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32973 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32974 (GLIBC_2.17): Add clock_* symbols.
32975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32977 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32986 * NEWS: Mention the move.
32988 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32989 Use __open, __read, __close rather than their public counterparts.
32990 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32991 (__get_clockfreq_via_cpuinfo): Likewise.
32992 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32993 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32995 * config.h.in (HAVE_IFUNC): New #undef.
32996 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32998 * configure: Regenerated.
33000 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33002 * configure.in: Move READELF check to start of file.
33003 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33004 libc_cv_asm_gnu_indirect_function in the process.
33005 * configure: Regenerated.
33007 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33009 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33010 send the output to /dev/null.
33011 (libc_cv_cc_with_libunwind): Likewise.
33012 (libc_cv_as_noexecstack): Likewise.
33013 * configure: Regenerate.
33015 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33017 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33019 * posix/globtest.sh (TMPDIR): Do not set.
33020 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33021 (testout): Likewise.
33023 2012-10-24 Andreas Jaeger <aj@suse.de>
33025 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33026 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33027 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33028 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33029 posix_fadvise64, posix_fallocate64.
33031 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33032 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33033 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33035 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33037 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33040 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33041 <bits/fcntl-linux.h>.
33042 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33045 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33046 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33047 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33048 [__WORDSIZE != 64]: Likewise.
33050 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33052 * Makeconfig (run-built-tests): New variable.
33053 * Rules [$(cross-compiling) = yes]: Change condition to
33054 [$(run-built-tests) = no].
33055 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33056 to [$(run-built-tests) = yes].
33057 * elf/Makefile [$(cross-compiling) = no]: Likewise
33058 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33059 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33060 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33061 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33062 * io/Makefile [$(cross-compiling) = no]: Likewise.
33063 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33064 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33065 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33066 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33067 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33068 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33069 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33070 * string/Makefile [$(cross-compiling) = no]: Likewise.
33072 * posix/Makefile ($(objpfx)globtest.out): Pass
33073 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33074 $(rtld-installed-name).
33075 * posix/globtest.sh (elf_objpfx): Remove variable.
33076 (rtld_installed_name): Likewise.
33077 (library_path): Likewise.
33078 (run_program_prefix): New variable. Use for running globtest
33081 2012-10-23 Jim Blandy <jimb@codesourcery.com>
33082 Joseph Myers <joseph@codesourcery.com>
33084 * Makeconfig (host-built-program-cmd): New variable.
33085 * elf/Makefile (tst-stackguard1-ARGS): Use
33086 $(host-built-program-cmd).
33087 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33088 (tst-spawn-ARGS): Likewise.
33089 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33091 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33092 Jim Blandy <jimb@codesourcery.com>
33094 * Makeconfig (run-via-rtld-prefix): New variable.
33095 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33096 (built-program-cmd): Likewise.
33098 2012-10-22 Andreas Jaeger <aj@suse.de>
33100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33101 __O_RSYNC if it exists, otherwise to O_SYNC.
33103 2012-10-22 Jim Blandy <jimb@codesourcery.com>
33104 Joseph Myers <joseph@codesourcery.com>
33106 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33108 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33110 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33113 2012-10-22 Andreas Jaeger <aj@suse.de>
33115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33120 bits/fcntl-linux.h.
33122 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33123 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33125 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33127 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33130 2012-10-21 Jim Blandy <jimb@codesourcery.com>
33131 Joseph Myers <joseph@codesourcery.com>
33133 * config.make.in (NM): New variable.
33135 2012-10-21 Andreas Jaeger <aj@suse.de>
33137 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33138 definitions and declarations that are provided by
33139 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33141 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33144 * elf/Makefile (tests-static): Add tst-leaks1-static.
33145 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33146 ($(objpfx)tst-leaks1-static): New rule.
33147 ($(objpfx)tst-leaks1-static-mem): Likewise.
33148 (tst-leaks1-static-ENV): New macro.
33149 * elf/dl-open.c (dl_open_worker): Check the main application
33150 only if SHARED is defined.
33151 * elf/tst-leaks1-static.c: New file.
33153 2012-10-20 Andreas Jaeger <aj@suse.de>
33155 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33156 generic values for Linux.
33157 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33158 and declarations that are provided by <bits/fcntl-linux.h> and
33159 include <bits/fcntl-linux.h>.
33160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33163 2012-10-20 Roland McGrath <roland@hack.frob.com>
33165 * io/fcntl.h: Move include of <bits/types.h> to the top and
33166 include it unconditionally.
33168 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33170 * wcsmbs/Makefile (tests-ifunc): New variable.
33171 (tests): Add $(tests-ifunc).
33172 * wcsmbs/test-wcschr-ifunc.c: New file.
33173 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33174 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33175 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33176 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33177 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33179 * string/Makefile (tests-ifunc): New variable.
33180 (tests): Add $(tests-ifunc).
33181 * string/test-memccpy.c (TEST_NAME): New macro.
33182 * string/test-memchr.c (TEST_NAME): Likewise.
33183 * string/test-memcmp.c (TEST_NAME): Likewise.
33184 * string/test-memcpy.c (TEST_NAME): Likewise.
33185 * string/test-memmem.c (TEST_NAME): Likewise.
33186 * string/test-memmove.c (TEST_NAME): Likewise.
33187 * string/test-memset.c (TEST_NAME): Likewise.
33188 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33189 * string/test-stpcpy.c (TEST_NAME): Likewise.
33190 * string/test-stpncpy.c (TEST_NAME): Likewise.
33191 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33192 * string/test-strcasestr.c (TEST_NAME): Likewise.
33193 * string/test-strcat.c (TEST_NAME): Likewise.
33194 * string/test-strchr.c (TEST_NAME): Likewise.
33195 * string/test-strcmp.c(TEST_NAME): Likewise.
33196 * string/test-strcpy.c (TEST_NAME): Likewise.
33197 * string/test-strcspn.c (TEST_NAME): Likewise.
33198 * string/test-strlen.c (TEST_NAME): Likewise.
33199 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33200 * string/test-strncmp.c (TEST_NAME): Likewise.
33201 * string/test-strncpy.c (TEST_NAME): Likewise.
33202 * string/test-strnlen.c (TEST_NAME): Likewise.
33203 * string/test-strpbrk.c (TEST_NAME): Likewise.
33204 * string/test-strrchr.c (TEST_NAME): Likewise.
33205 * string/test-strspn.c (TEST_NAME): Likewise.
33206 * string/test-strstr.c (TEST_NAME): Likewise.
33207 * string/test-bcopy-ifunc.c: New file.
33208 * string/test-bzero-ifunc.c: Likewise.
33209 * string/test-memccpy-ifunc.c: Likewise.
33210 * string/test-memchr-ifunc.c: Likewise.
33211 * string/test-memcmp-ifunc.c: Likewise.
33212 * string/test-memcpy-ifunc.c: Likewise.
33213 * string/test-memmem-ifunc.c: Likewise.
33214 * string/test-memmove-ifunc.c: Likewise.
33215 * string/test-mempcpy-ifunc.c: Likewise.
33216 * string/test-memset-ifunc.c: Likewise.
33217 * string/test-rawmemchr-ifunc.c: Likewise.
33218 * string/test-stpcpy-ifunc.c: Likewise.
33219 * string/test-stpncpy-ifunc.c: Likewise.
33220 * string/test-strcasecmp-ifunc.c: Likewise.
33221 * string/test-strcasestr-ifunc.c: Likewise.
33222 * string/test-strcat-ifunc.c: Likewise.
33223 * string/test-strchr-ifunc.c: Likewise.
33224 * string/test-strchrnul-ifunc.c: Likewise.
33225 * string/test-strcmp-ifunc.c: Likewise.
33226 * string/test-strcpy-ifunc.c: Likewise.
33227 * string/test-strcspn-ifunc.c: Likewise.
33228 * string/test-strlen-ifunc.c: Likewise.
33229 * string/test-strncasecmp-ifunc.c: Likewise.
33230 * string/test-strncat-ifunc.c: Likewise.
33231 * string/test-strncmp-ifunc.c: Likewise.
33232 * string/test-strncpy-ifunc.c: Likewise.
33233 * string/test-strnlen-ifunc.c: Likewise.
33234 * string/test-strpbrk-ifunc.c: Likewise.
33235 * string/test-strrchr-ifunc.c: Likewise.
33236 * string/test-strspn-ifunc.c: Likewise.
33237 * string/test-strstr-ifunc.c: Likewise.
33239 * debug/Makefile (tests-ifunc): New variable.
33240 (tests): Add $(tests-ifunc).
33241 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33242 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33243 * debug/test-stpcpy_chk-ifunc.c: New file.
33244 * debug/test-strcpy_chk-ifunc.c: Likewise.
33246 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33249 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33250 header is not read in.
33252 2012-10-19 Joseph Myers <joseph@codesourcery.com>
33254 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33255 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33256 directly. Pass built executable to script as
33257 $(built-program-cmd).
33258 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33259 $testprogram without using LD_LIBRARY_PATH and $ldso.
33261 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33262 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33263 $(rtld-installed-name).
33264 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33265 (rtld_installed_name): Likewise.
33266 (library_path): Likewise.
33267 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33268 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33269 $(run-program-prefix) to tst-tables.sh.
33270 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33271 it to run tst-table-from and tst-table-to.
33272 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33273 Pass it to tst-table.sh.
33274 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33275 $(run-program-prefix) to tst-gettext.sh.
33276 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33278 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33280 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33281 to run tst-gettext.
33282 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33283 to run tst-gettext2.
33284 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33285 to run tst-translit.
33286 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33287 $(run-program-prefix) to tst-mtrace.sh.
33288 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33290 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33291 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33292 $(rtld-installed-name).
33293 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33294 (rtld_installed_name): Likewise.
33295 (run_program_prefix): New variable. Use it to run wordexp-test.
33297 * Makeconfig (ARCH): Remove all definitions.
33298 (machine): Likewise.
33299 [ARCH]: Remove conditional code.
33300 [!objdir]: Give error.
33301 [!objdir] (objpfx): Remove.
33302 [!objdir] (common-objpfx): Likewise.
33303 [!objdir] (common-objdir): Likewise.
33304 * configure.in (config_makefile): Remove. Hardcode Makefile in
33305 AC_CONFIG_FILES call.
33306 * configure: Regenerated.
33309 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33311 (testout): Likewise.
33313 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33314 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33315 $(rtld-installed-name).
33316 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33317 (rtld_installed_name): Likwise.
33318 (runit): Remove function.
33319 (run_getconf): New variable, Use it for running getconf binary.
33321 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33324 * string/test-memmem.c (check_result): New function.
33325 (do_one_test): Use it.
33326 (check1): New function.
33327 (test_main): Use it.
33329 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33331 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33333 2012-10-18 Joseph Myers <joseph@codesourcery.com>
33335 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33336 (_G_LSEEK64): Likewise.
33337 (_G_MMAP64): Likewise.
33338 (_G_FSTAT64): Likewise.
33339 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33340 (_G_LSEEK64): Likewise.
33341 (_G_MMAP64): Likewise.
33342 (_G_FSTAT64): Likewise.
33343 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33344 unconditional. Call __mmap64 directly.
33345 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33346 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33347 __lseek64 directly.
33348 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33349 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33351 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33352 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33353 __lseek64 directly.
33354 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33355 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33356 __lseek64 directly.
33357 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33358 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33359 __lseek64 directly.
33360 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33361 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33362 __fxstat64 directly.
33363 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33364 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33366 (freopen64) [!_G_OPEN64]: Remove conditional code.
33367 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33369 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33370 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33372 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33373 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33375 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33376 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33378 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33379 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33381 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33382 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33384 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33385 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33387 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33389 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33392 * manual/memory.texi (Malloc Tunable Parameters): Add note
33393 about free list pointers overwriting some perturb bytes.
33394 Wording suggested by Roland McGrath.
33396 2012-10-17 Joseph Myers <joseph@codesourcery.com>
33398 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33399 (lgamma_test): Likewise.
33400 (tgamma_test): Likewise.
33402 2012-10-16 Florian Weimer <fweimer@redhat.com>
33405 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33406 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33408 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33410 * NEWS: Mention BZ #14716.
33411 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33412 when removing AVAILABLE1_USES_J macro.
33414 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33416 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33417 (__bswap_64): __uint64_t for unsigned 64-bit int.
33419 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33421 * include/string.h (memmem): Declare libc hidden alias.
33422 * string/memmem.c (memmem): Define libc hidden alias.
33423 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33424 __read, __close instead of open, read, close.
33426 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33429 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33431 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33432 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33433 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33435 (__rawmemchr_sse2): Likewise.
33436 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33437 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33438 (__strchr_sse2): Likewise.
33439 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33440 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33441 (__strcasecmp_sse2): Likewise.
33442 (__strncasecmp_sse2): Likewise.
33443 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33444 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33445 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33446 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33447 (__strrchr_sse2): Likewise.
33448 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33450 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33451 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33452 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33453 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33454 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33455 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33456 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33457 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33458 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33459 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33460 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33461 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33462 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33463 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33464 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33465 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33466 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33467 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33468 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33469 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33470 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33471 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33472 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33473 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33474 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33475 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33476 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33477 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33478 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33479 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33481 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33483 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33484 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33485 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33486 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33488 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33490 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33491 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33492 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33493 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33495 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33496 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33497 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33498 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33499 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33500 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33501 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33502 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33503 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33504 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33505 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33506 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33507 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33508 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33509 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33510 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33511 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33512 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33513 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33514 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33515 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33516 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33517 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33518 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33519 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33520 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33521 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33522 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33523 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33524 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33525 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33526 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33527 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33528 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33529 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33530 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33531 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33532 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33533 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33534 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33535 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33537 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33538 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33539 * include/ifunc-impl-list.h: New file.
33540 * misc/ifunc-impl-list.c: Likewise.
33541 * misc/Makefile (routines): Add ifunc-impl-list.
33542 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33543 * string/test-string.h: Include <ifunc-impl-list.h>.
33544 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33545 TEST_NAME]: New variables.
33546 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33548 (test_init): Call __libc_ifunc_impl_list to initialize
33549 func_list if TEST_IFUNC and TEST_NAME are defined.
33551 * string/Makefile (strop-tests): Add bcopy and bzero.
33552 * string/test-bcopy.c: New file.
33553 * string/test-bzero.c: Likewise.
33554 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33556 * string/test-memset.c: Support bzero test if TEST_BZERO is
33558 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33560 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33562 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33565 2012-10-10 Joseph Myers <joseph@codesourcery.com>
33567 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33568 * configure: Regenerated.
33570 * Makeconfig (+link-static-before-libc): Don't include
33571 $(link-static-libc).
33573 * libio/libio.h (_IO_pos_t): Remove.
33575 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33577 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33580 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33582 * crypt/crypt-entry.c: Include fips-private.h.
33583 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33584 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33585 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33586 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33588 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33590 * crypt/crypt-private.h: Include stdbool.h.
33591 (_ufc_setup_salt_r): Return bool.
33592 * crypt/crypt-entry.c: Include errno.h.
33593 (__crypt_r): Return NULL with EINVAL for bad salt.
33594 * crypt/crypt_util.c (bad_for_salt): New.
33595 (_ufc_setup_salt_r): Check that salt is long enough and within
33596 the specified alphabet.
33597 * crypt/badsalttest.c: New file.
33598 * crypt/Makefile (tests): Add it.
33599 ($(objpfx)badsalttest): New.
33601 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33603 * NEWS: Add entry for BZ #14602.
33605 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33607 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33609 * math/libm-test.inc: Update comment listing what functions and
33611 (isgreater_test): New function.
33612 (isgreaterequal_test): Likewise.
33613 (isless_test): Likewise.
33614 (islessequal_test): Likewise.
33615 (islessgreater_test): Likewise.
33616 (isunordered_test): Likewise.
33617 (main): Call the new functions.
33619 2012-10-09 Roland McGrath <roland@hack.frob.com>
33621 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33622 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33623 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33624 * sysdeps/i386/configure: Regenerated.
33625 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33626 * sysdeps/mach/configure: Regenerated.
33627 * sysdeps/mach/hurd/configure: Regenerated.
33628 * sysdeps/powerpc/configure: Regenerated.
33629 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33630 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33631 * sysdeps/s390/s390-32/configure: Regenerated.
33632 * sysdeps/s390/s390-64/configure: Regenerated.
33633 * sysdeps/sh/configure: Regenerated.
33634 * sysdeps/sparc/configure: Regenerated.
33635 * sysdeps/unix/sysv/linux/configure: Regenerated.
33636 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33637 * sysdeps/x86_64/configure: Regenerated.
33639 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33640 defined. Don't check if MAP is NULL.
33642 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33644 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33645 (_G_stat64): Likewise.
33646 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33647 (_G_stat64): Likewise.
33648 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33649 instead of struct _G_stat64.
33650 * libio/fileops.c (mmap_remap_check): Likewise.
33651 (decide_maybe_mmap): Likewise.
33652 (_IO_new_file_seekoff): Likewise.
33653 (_IO_file_stat): Likewise.
33654 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33656 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33657 instead of struct _G_stat64.
33658 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33660 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33663 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33665 (CHECK_EOL): New macro.
33666 (two_way_short_needle): Check beginning of haystack for EOL. Use
33668 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33669 Replace with CHECK_EOL.
33670 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33671 Replace with CHECK_EOL.
33673 2012-10-08 Joseph Myers <joseph@codesourcery.com>
33675 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33677 * math/libm-test.inc: Update comment listing what functions and
33679 (finite_test): New function.
33680 (isinf_test): Likewise.
33681 (isnan_test): Likewise.
33682 (fpclassify_test): Test subnormal input.
33683 (isfinite_test): Likewise.
33684 (isnormal_test): Likewise.
33685 (main): Call the new functions.
33687 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33690 * Makerules (%.dynsym): Force C locale when running
33691 $(OBJDUMP) --dynamic-syms.
33693 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33695 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33698 2012-10-06 David S. Miller <davem@davemloft.net>
33700 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33701 upper 32-bits of the length value in %o2 since we use branch-on-register
33702 tests which consider the entire 64-bit register.
33704 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33706 * string/test-strstr.c (check2): Add a test for page boundary.
33708 2012-10-05 David S. Miller <davem@davemloft.net>
33710 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33711 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33713 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33715 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33716 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33717 and bzero when HWCAP_SPARC_CRYPTO is present.
33719 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33722 * string/test-strstr.c (check2): New function.
33723 (test_main): Call check2.
33725 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33727 * string/bug-strcasestr1.c (do_test): Moved to ...
33728 * string/test-strcasestr.c (check1): Here. New function.
33729 (do_one_test): Break out result checking code into ...
33730 (check_result): This. New function.
33731 (do_one_test): Call check_result.
33732 (test_main): Call check1.
33733 * string/bug-strchr1.c (do_test): Moved to ...
33734 * string/test-strchr.c (check1): Here. New function.
33735 (do_one_test): Break out result checking code into ...
33736 (check_result): This. New function.
33737 (do_one_test): Call check_result.
33738 (test_main): Call check1.
33739 * string/bug-strstr1.c (main): Moved to ...
33740 * string/test-strstr.c (check1): Here. New function.
33741 (do_one_test): Break out result checking code into ...
33742 (check_result): This. New function.
33743 (do_one_test): Call check_result.
33744 (test_main): Call check1.
33745 * string/bug-strcasestr1.c: Removed.
33746 * string/bug-strchr1.c: Likewise.
33747 * string/bug-strstr1.c: Likewise.
33749 * elf/Makefile (dl-routines): Add hwcaps.
33750 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33751 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33752 (_dl_important_hwcaps): Moved to ...
33753 * elf/dl-hwcaps.c: Here. New file.
33754 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33757 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33758 if IS_IN_rtld isn't defined.
33760 * elf/dl-support.c (_dl_sysinfo_map): New.
33761 Include "get-dynamic-info.h" and "setup-vdso.h".
33762 (_dl_non_dynamic_init): Call setup_vdso.
33763 * elf/dynamic-link.h: Don't include <assert.h>.
33764 (elf_get_dynamic_info): Moved to ...
33765 * elf/get-dynamic-info.h: Here. New file.
33766 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33767 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33768 * elf/setup-vdso.h: Here. New file.
33769 * elf/rtld.c: Include "setup-vdso.h".
33770 (dl_main): Call setup_vdso.
33772 2012-10-05 Joseph Myers <joseph@codesourcery.com>
33774 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33775 creal in comment listing functions tested. List finite, isinf,
33776 isnan, isless, islessequal, isgreater, isgreaterequal,
33777 islessgreater, isunordered, lgamma_r and pow10 as functions and
33778 macros not tested. Mention which functions not tested are aliases
33779 for other functions. Fix typo. Note that signs of NaNs are not
33782 * scripts/config.guess: Update from config.git.
33783 * scripts/config.sub: Likewise.
33785 2012-10-04 Roland McGrath <roland@hack.frob.com>
33787 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33788 * misc/madvise.c (madvise): Renamed to __madvise.
33789 Make madvise a weak alias.
33790 * include/sys/mman.h: Declare __madvise.
33791 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33792 * sysdeps/unix/syscalls.list
33793 (madvise): Make __madvise the strong name, and madvise a weak alias.
33794 * sysdeps/unix/sysv/linux/syscalls.list
33795 (madvise, mmap): Remove redundant entries.
33796 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33797 * malloc/malloc.c (mtrim): Likewise.
33798 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33800 2012-10-03 Roland McGrath <roland@hack.frob.com>
33802 * sysdeps/mach/hurd/dl-cache.c: File removed.
33803 * config.h.in (USE_LDCONFIG): New #undef.
33804 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33805 * configure: Regenerated.
33806 * elf/Makefile (dl-routines): Add dl-cache only under
33807 [$(use-ldconfig) = yes].
33808 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33809 cache on [USE_LDCONFIG].
33810 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33812 * elf/rtld.c (dl_main): Likewise.
33814 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33816 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33817 _SC_LEVEL4_CACHE_LINESIZE.
33819 2012-10-03 Roland McGrath <roland@hack.frob.com>
33821 * sysdeps/unix/bsd/confstr.h: File removed.
33823 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
33825 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33828 2012-10-02 Roland McGrath <roland@hack.frob.com>
33830 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33831 Make 'mapoff' field ElfW(Off) rather than off_t.
33833 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33835 * nscd/Makefile: Remove nscd-cflags and all its users.
33836 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33837 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33840 * malloc.c (malloc_printerr): Clarify error message.
33842 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33846 Set bit_FMA_Usable if FMA is supported.
33847 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33849 (bit_FMA4_Usable): Updated.
33850 (index_FMA_Usable): New macro.
33851 (CPUID_FMA): Likewise
33852 (HAS_FMA): Defined with bit_FMA_Usable.
33854 2012-10-01 Roland McGrath <roland@hack.frob.com>
33856 * bits/types.h (__swblk_t): Type removed.
33857 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33858 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33859 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33860 (__SWBLK_T_TYPE): Likewise.
33861 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33862 (__SWBLK_T_TYPE): Likewise.
33863 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33864 (__SWBLK_T_TYPE): Likewise.
33865 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33866 (__SWBLK_T_TYPE): Likewise.
33868 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
33869 Honza Horak <hhorak@redhat.com>
33871 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33872 (xdr_mapname): Use YPMAXMAP as maxsize.
33873 (xdr_peername): Use YPMAXPEER as maxsize.
33874 (xdr_keydat): Use YPAXRECORD as maxsize.
33875 (xdr_valdat): Use YPMAXRECORD as maxsize.
33877 2012-10-01 Roland McGrath <roland@hack.frob.com>
33879 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33881 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33882 * csu/init-first.c: ... here.
33883 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33884 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33885 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33886 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33887 * sysdeps/i386/init-first.c: File removed.
33888 * sysdeps/sh/init-first.c: File removed.
33890 2012-10-01 Joseph Myers <joseph@codesourcery.com>
33893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33894 if x * y might underflow to zero and z is zero.
33895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33897 * math/libm-test.inc (min_subnorm_value): New variable.
33898 (fma_test): Add more tests.
33899 (fma_test_towardzero): Likewise.
33900 (fma_test_downward): Likewise
33901 (fma_test_upward): Likewise.
33902 (initialize): Set min_subnorm_value.
33904 2012-09-29 Joseph Myers <joseph@codesourcery.com>
33907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33909 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33910 mode for addition resulting in exact zero.
33911 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33912 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33914 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33915 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33916 * math/libm-test.inc (fma_test): Add more tests.
33917 (fma_test_towardzero): New function.
33918 (fma_test_downward): Likewise.
33919 (fma_test_upward): Likewise.
33920 (main): Call the new functions.
33922 2012-09-28 David S. Miller <davem@davemloft.net>
33924 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33926 2012-09-28 Roland McGrath <roland@hack.frob.com>
33928 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33929 instead of SIGALRM.
33931 * sysdeps/gnu/_G_config.h: Moved to ...
33932 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33933 * sysdeps/mach/hurd/_G_config.h: Moved to ...
33934 * sysdeps/generic/_G_config.h: ... here.
33936 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
33938 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33940 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33941 Conditionalize target on [libnss_test1.so-version].
33943 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33945 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33946 (elfobjdir): Move out of conditionals.
33948 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33949 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33950 (__nss_lookup_function): Conditionalize label remove_from_tree on
33951 [!DO_STATIC_NSS || SHARED], matching its only use.
33953 2012-09-28 David S. Miller <davem@davemloft.net>
33955 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33956 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33958 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33960 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33961 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33962 when HWCAP_SPARC_CRYPTO is present.
33964 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33966 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33968 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33971 * stdio-common/vfprintf.c (process_string_arg): Revert
33974 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33976 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33978 * stdio-common/tst-sprintf.c: Include <locale.h>
33979 (main): Test sprintf's handling of incomplete multibyte
33982 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33984 * elf/dl-runtime.c (VERSYMIDX): Removed.
33985 * elf/dl-version.c (VERSYMIDX): Likewise.
33986 * elf/do-rel.h (VERSYMIDX): Likewise.
33987 (VALIDX): Likewise.
33988 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33989 * elf/rtld.c (VALIDX): Likewise.
33990 (ADDRIDX): Likewise.
33991 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33992 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33993 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
33994 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33995 (VALIDX): Likewise.
33996 (ADDRIDX): Likewise.
33998 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34000 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34002 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34005 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34007 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34008 addresses are in the same scope as 192.0.2/24.
34009 * posix/gai.conf: Document new scope table defaults.
34011 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34014 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34015 for ftell. Compute offsets from write pointers instead.
34016 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34018 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34021 * libio/Makefile (tests): New test case tst-fseek.
34022 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34023 combination works in wide mode.
34024 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34025 state when the external buffer state changes.
34027 2012-09-27 David S. Miller <davem@davemloft.net>
34030 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34031 pass reloc->r_addend in as the 'high' argument to
34032 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34036 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34038 * rt/tst-aio2.c: Include <pthread.h>.
34039 * rt/tst-aio3.c: Likewise.
34041 2012-09-27 Steve Ellcey <sellcey@mips.com>
34043 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34045 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34047 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34048 contents on [SHARED].
34050 2012-09-26 Marek Polacek <polacek@redhat.com>
34054 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34055 for C++ and GCC <4.3 as well as for non GCC compilers.
34057 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34061 2012-09-25 Roland McGrath <roland@hack.frob.com>
34063 * Makefile.in (all, install): Declare with .PHONY.
34064 Reported by Michael Hope <michael.hope@linaro.org>.
34066 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34068 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34069 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34071 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34073 (sydep_routines): Add the new and the internal functions.
34074 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34075 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34077 (GLIBC_2.17): Add the new function.
34078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34079 (GLIBC_2.17): Likewise.
34080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34081 (GLIBC_2.17): Likewise.
34082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34083 (GLIBC_2.17): Likewise.
34084 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34086 2012-09-25 Alan Modra <amodra@gmail.com>
34088 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34089 Add release barrier before setting once_control to say
34090 initialisation is done. Add hints on lwarx. Use macro in
34092 (clear_once_control): Add release barrier.
34094 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34097 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34099 * math/s_clog10.c (__clog10): Likewise.
34100 * math/s_clog10f.c (__clog10f): Likewise.
34101 * math/s_clog10l.c (__clog10l): Likewise.
34102 * math/s_clogf.c (__clogf): Likewise.
34103 * math/s_clogl.c (__clogl): Likewise.
34104 * math/Makefile (libm-calls): Add x2y2m1.
34105 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34106 (__x2y2m1): Likewise.
34107 (__x2y2m1l): Likewise.
34108 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34109 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34110 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34111 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34112 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34113 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34114 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34115 * sysdeps/i386/fpu/libm-test-ulps: Update.
34116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34119 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34120 int as type of variable DEPTH.
34121 (glob): Use size_t instead of int as type of variables NEWCOUNT
34124 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34126 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34127 Add s_sincosf-sse2.
34128 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34129 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34130 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34131 macros for using routine as __sincosf_ia32.
34132 Use macro for function declaration and weak_alias.
34133 * sysdeps/i386/fpu/libm-test-ulps: Update.
34135 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34138 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34139 subnormal argument.
34140 * math/s_cexpf.c (__cexpf): Likewise.
34141 * math/s_csinf.c (__csinf): Likewise.
34142 * math/s_csinhf.c (__csinhf): Likewise.
34143 * math/s_ctanf.c (__ctanf): Likewise.
34144 * math/s_ctanhf.c (__ctanhf): Likewise.
34145 * math/s_ccosh.c (__ccoshf): Likewise.
34146 * math/s_cexp.c (__cexpl): Likewise.
34147 * math/s_csin.c (__csin): Likewise.
34148 * math/s_csinh.c (__csinh): Likewise.
34149 * math/s_ctan.c (__ctan): Likewise.
34150 * math/s_ctanh.c (ctanh): Likewise.
34151 * math/s_ccoshl.c (__ccoshl): Likewise.
34152 * math/s_cexpl.c (__cexpl): Likewise.
34153 * math/s_csinl.c (__csinl): Likewise.
34154 * math/s_csinhl.c (__csinhl): Likewise.
34155 * math/s_ctanl.c (__ctanl): Likewise.
34156 * math/s_ctanhl.c (__ctanhl): Likewise.
34158 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34160 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34161 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34162 (_IO_off_t): Define to __off_t, not _G_off_t.
34163 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34164 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34165 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34166 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34167 type of __dummy and __dummy2 fields.
34168 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34169 (_G_ssize_t): Likewise.
34170 (_G_off_t): Likewise.
34171 (_G_pid_t): Likewise.
34172 (_G_uid_t): Likewise.
34173 (_G_wchar_t): Likewise.
34174 (_G_wint_t): Likewise.
34175 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34176 (_G_ssize_t): Likewise.
34177 (_G_off_t): Likewise.
34178 (_G_pid_t): Likewise.
34179 (_G_uid_t): Likewise.
34180 (_G_wchar_t): Likewise.
34181 (_G_wint_t): Likewise.
34182 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34183 (_G_ssize_t): Likewise.
34184 (_G_off_t): Likewise.
34185 (_G_pid_t): Likewise.
34186 (_G_uid_t): Likewise.
34187 (_G_wchar_t): Likewise.
34188 (_G_wint_t): Likewise.
34190 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34192 * malloc/arena.c: Include malloc-sysdep.h.
34193 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34194 is sufficient to shrink the heap or an unmap is needed.
34195 * sysdeps/generic/malloc-sysdep.h: New file. Define
34196 new function check_may_shrink_heap.
34197 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34198 new function check_may_shrink_heap.
34200 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34202 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34205 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34207 * catgets/test-gencat.sh: Add "set -e".
34208 * elf/tst-pathopt.sh: Likewise.
34209 * grp/tst_fgetgrent.sh: Likewise.
34210 * iconvdata/run-iconv-test.sh: Likewise.
34211 * intl/tst-gettext.sh: Likewise.
34212 * intl/tst-gettext2.sh: Likewise.
34213 * intl/tst-gettext4.sh: Likewise.
34214 * intl/tst-gettext6.sh: Likewise.
34215 * intl/tst-translit.sh: Likewise.
34216 * io/ftwtest-sh: Likewise.
34217 * libio/test-freopen.sh: Likewise.
34218 * malloc/tst-mtrace.sh: Likewise.
34219 * posix/globtest.sh: Likewise.
34220 * posix/tst-getconf.sh: Likewise.
34221 * posix/wordexp-tst.sh: Likewise.
34222 * stdio-common/tst-printf.sh: Likewise.
34223 * stdio-common/tst-unbputc.sh: Likewise.
34224 * stdlib/tst-fmtmsg.sh: Likewise.
34225 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34226 * catgets/Makefile: Do not specify -e option when running
34227 testsuite shell scripts.
34228 * elf/Makefile: Likewise.
34229 * grp/Makefile: Likewise.
34230 * iconvdata/Makefile: Likewise.
34231 * intl/Makefile: Likewise.
34232 * io/Makefile: Likewise.
34233 * libio/Makefile: Likewise.
34234 * malloc/Makefile: Likewise.
34235 * posix/Makefile: Likewise.
34236 * stdio-common/Makefile: Likewise.
34237 * stdlib/Makefile: Likewise.
34238 * sysdeps/x86_64/Makefile: Likewise.
34240 * io/ftwtest-sh: Add copyright header.
34241 * posix/globtest.sh: Likewise.
34242 * posix/tst-getconf.sh: Likewise.
34243 * posix/wordexp-tst.sh: Likewise.
34244 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34246 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34249 * Makeconfig (+link): Defined as $(+link-static) if
34250 $(build-shared) isn't yes.
34251 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34253 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34255 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34258 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34259 new chunk size with MALLOC_ALIGN_MASK.
34261 2012-09-24 Joseph Myers <joseph@codesourcery.com>
34264 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34266 (__printf_fphex): Determine rounding using get_rounding_mode and
34268 * stdio-common/tst-printf-round.c (struct hex_test): New
34270 (hex_tests): New variable.
34271 (test_hex_in_one_mode): New function.
34272 (do_test): Also run tests for hex float output.
34274 2012-09-21 Joseph Myers <joseph@codesourcery.com>
34276 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34277 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34278 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34279 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34280 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34281 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34282 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34283 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34285 2012-09-20 Joseph Myers <joseph@codesourcery.com>
34287 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34288 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34289 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34290 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34292 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34295 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34297 * elf/tst-rtld-load-self.sh: New test.
34298 * elf/Makefile: Run it.
34300 2012-09-18 Joseph Myers <joseph@codesourcery.com>
34302 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34303 (tst-writev-ENV): Remove.
34304 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34306 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34308 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34310 2012-09-17 Joseph Myers <joseph@codesourcery.com>
34312 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34314 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34316 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34317 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34318 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34321 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34324 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34325 * config.make.in (have-cpp-asm-debuginfo): Removed.
34326 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34327 * configure: Regenerated.
34329 2012-09-14 Joseph Myers <joseph@codesourcery.com>
34332 * stdio-common/printf_fp.c: Include <stdbool.h> and
34334 (___printf_fp): Determine rounding using get_rounding_mode and
34336 * stdio-common/tst-printf-round.c: New file.
34337 * stdio-common/Makefile (tests): Add tst-printf-round.
34338 (link-libm): New variable.
34339 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34341 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34344 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34345 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34347 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34350 2012-09-13 Joseph Myers <joseph@codesourcery.com>
34352 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34353 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34354 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34355 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34357 2012-09-12 Joseph Myers <joseph@codesourcery.com>
34360 * include/rounding-mode.h: New file.
34361 * sysdeps/generic/get-rounding-mode.h: Likewise.
34362 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34363 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34364 (MAX_VALUE): New macro.
34365 (MIN_VALUE): Likewise.
34366 (overflow_value): New function.
34367 (underflow_value): Likewise.
34368 (round_and_return): Use overflow_value and underflow_value to
34369 determine return values in overflow and underflow cases. Use
34370 round_away to determine rounding depending on rounding mode.
34371 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34372 determine return values in overflow and underflow cases.
34373 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34374 (struct test_results): New structure.
34375 (struct test): Use struct test_results to store expected results
34376 for all rounding modes.
34377 (TEST): Include expected results for all rounding modes.
34378 (test_in_one_mode): New function.
34379 (do_test): Use test_in_one_mode to compute and check results.
34380 Check results for all rounding modes.
34381 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34384 2012-12-09 Allan McRae <allan@archlinux.org>
34386 * sysdeps/i386/fpu/libm-test-ulps: Update
34388 2012-09-11 Joseph Myers <joseph@codesourcery.com>
34390 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34391 (_G_int32_t): Likewise.
34392 (_G_uint16_t): Likewise.
34393 (_G_uint32_t): Likewise.
34394 (_G_HAVE_BOOL): Likewise.
34395 (_G_HAVE_ATEXIT): Likewise.
34396 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34397 (_G_HAVE_IO_FILE_OPEN): Likewise.
34398 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34399 (_G_int32_t): Likewise.
34400 (_G_uint16_t): Likewise.
34401 (_G_uint32_t): Likewise.
34402 (_G_HAVE_BOOL): Likewise.
34403 (_G_HAVE_ATEXIT): Likewise.
34404 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34405 (_G_HAVE_IO_FILE_OPEN): Likewise.
34406 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34407 (_G_int32_t): Likewise.
34408 (_G_uint16_t): Likewise.
34409 (_G_uint32_t): Likewise.
34410 (_G_HAVE_BOOL): Likewise.
34411 (_G_HAVE_ATEXIT): Likewise.
34412 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34413 (_G_HAVE_IO_FILE_OPEN): Likewise.
34415 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34417 * csu/libc-tls.c: Update copyright years.
34419 2012-09-10 Joseph Myers <joseph@codesourcery.com>
34421 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34422 [!_G_USING_THUNKS]: Remove conditional code.
34423 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34424 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34426 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34427 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34428 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34429 (_G_VTABLE_LABEL_PREFIX): Likewise.
34430 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34431 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34432 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34433 (_G_VTABLE_LABEL_PREFIX): Likewise.
34434 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34435 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34436 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34437 (_G_VTABLE_LABEL_PREFIX): Likewise.
34438 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34440 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34442 * libio/Makefile: Include ../Makeconfig before tests.
34443 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34444 only if $(build-shared) is yes.
34446 * iconv/gconv_db.c: Update copyright years.
34448 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34450 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34451 unwind info if defined PIC. Fix special cases description.
34452 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34454 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34456 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34458 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34460 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34462 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34465 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34466 (LDLIBS-tst-chk4): This.
34467 (LDFLAGS-tst-chk5): Renamed to ...
34468 (LDLIBS-tst-chk5): This.
34469 (LDFLAGS-tst-chk6): Renamed to ...
34470 (LDLIBS-tst-chk6): This.
34471 (LDFLAGS-tst-lfschk4): Renamed to ...
34472 (LDLIBS-tst-lfschk4): This.
34473 (LDFLAGS-tst-lfschk5): Renamed to ...
34474 (LDLIBS-tst-lfschk5): This.
34475 (LDFLAGS-tst-lfschk6): Renamed to ...
34476 (LDLIBS-tst-lfschk6): This.
34478 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34479 on $(common-objpfx)soversions.mk.
34481 2012-09-07 Joseph Myers <joseph@codesourcery.com>
34484 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34487 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34489 * malloc/arena.c (arena_get_retry): New function that gets
34490 another arena for the caller to try its request on.
34491 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34492 current arena cannot fulfill the request.
34493 (__libc_memalign): Likewise.
34494 (__libc_memalign): Likewise.
34495 (__libc_pvalloc): Likewise.
34496 (__libc_calloc): Likewise.
34498 2012-09-05 John Tobey <john.tobey@gmail.com>
34501 * manual/arith.texi (Operations on Complex): Fix description
34502 of carg branch cut.
34504 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34507 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34511 * manual/memory.texi (Memory): Make order of menu items match
34514 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34516 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34517 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34518 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34520 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34522 * csu/libc-tls.c (static_dtv): Renamed to ...
34523 (_dl_static_dtv): This. Make it global.
34524 (_dl_initial_dtv): Removed.
34525 (__libc_setup_tls): Updated.
34526 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34527 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34530 2012-09-06 Petr Machata <pmachata@redhat.com>
34532 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34533 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34534 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34535 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34537 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34540 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34541 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34544 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34547 * Makeconfig (link-static-before-libc): Replace $(+prector)
34549 (link-static-after-libc): Replace $(+postctor) with
34551 (link-bounded): Replace $(+prector)/$(+postctor) with
34552 $(+prectorT)/$(+postctorT).
34553 (+prectorT): New macro.
34554 (+postctorT): Likewise.
34556 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34558 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34559 (round_str): Handle values above the maximum for IBM long double
34561 * stdlib/tst-strtod-round.c (tests): Regenerated.
34563 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34565 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34567 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34568 zarch_nohighgprs around the zarch optimized routines.
34569 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34570 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34571 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34574 2012-09-05 David S. Miller <davem@davemloft.net>
34576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34578 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34579 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34580 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34581 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34584 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34586 * malloc/arena.c: Fold copyright years.
34587 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34589 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34591 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34593 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34595 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34597 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34599 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34600 change internal state upon failure.
34602 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34604 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34605 * malloc/memusage.c (mmap): Likewise.
34606 (mmap64, mremap): Likewise. Adjust name in comment.
34608 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34610 * libio/fileops.c: Fix typos in comments.
34611 * libio/oldfileops.c: Likewise.
34612 * libio/wfileops.c: Likewise.
34614 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34617 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34618 (tst-malloc-usable-ENV): Set environment for test case.
34619 * malloc/hooks.c (malloc_check_get_size): New function to get
34621 * malloc/malloc.c (musable): Use malloc_check_get_size.
34622 * malloc/tst-malloc-usable.c: New test case.
34624 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34626 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34628 2012-09-05 Allan McRae <allan@archlinux.org>
34631 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34632 determine header location.
34633 * configure: Regenerated.
34635 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34637 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34639 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34640 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34642 (test): Regenerate.
34644 2012-09-04 David S. Miller <davem@davemloft.net>
34646 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34647 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34648 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34650 2012-09-04 Florian Weimer <fweimer@redhat.com>
34652 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34655 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34657 2012-09-04 Joseph Myers <joseph@codesourcery.com>
34660 * libio/iogetdelim.c: Include <limits.h>.
34661 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34662 + len + 1 would overflow.
34664 2012-09-03 Andreas Jaeger <aj@suse.de>
34666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34667 * sysdeps/i386/fpu/libm-test-ulps: Update.
34669 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34671 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34672 Add s_sinf-sse2, s_conf-sse2.
34674 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34675 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34676 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34677 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34679 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34680 for using routine as __sinf_ia32.
34681 Use macro for function declaration and weak_alias.
34682 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34683 for using routine as __cosf_ia32.
34684 Use macro for function declaration and weak_alias.
34686 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34687 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34689 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34690 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34693 * math/libm-test.inc (cos_test): Add more test cases.
34694 (sin_test): Likewise.
34695 (sincos_test): Likewise.
34697 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34699 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34700 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34702 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34704 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34707 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34708 first element of the GOT.
34709 (elf_machine_load_address): Return the difference between
34710 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34712 2012-09-01 Allan McRae <allan@archlinux.org>
34715 * configure.in (AWK): Require gawk version 3.0 or later.
34716 * configure: Regenerated.
34718 2012-09-01 Joseph Myers <joseph@codesourcery.com>
34720 * sysdeps/unix/sysv/linux/kernel-features.h
34721 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34722 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34723 [__NR_clock_getres]: Make code unconditional.
34724 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34725 (clock_getcpuclockid): Remove code left unreachable by removal of
34727 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34728 code unconditional.
34729 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34730 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34731 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34732 Make code unconditional.
34733 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34734 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34735 * sysdeps/unix/sysv/linux/clock_settime.c
34736 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34738 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34739 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34741 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34744 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34745 scripts/test-installation.pl.
34747 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34748 and $ld_so_version if it is set.
34750 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34753 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34754 failure if reading from procfs failed.
34755 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34757 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34759 * sysdeps/unix/sysv/linux/kernel-features.h
34760 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34761 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34762 Remove conditional code.
34763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34764 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34765 Remove conditional code.
34766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34767 * sysdeps/unix/sysv/linux/i386/fxstat.c
34768 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34770 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34771 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34773 * sysdeps/unix/sysv/linux/i386/lxstat.c
34774 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34776 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34777 Remove conditional code.
34778 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34779 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34780 Remove conditional code.
34781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34782 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34783 <kernel-features.h>.
34784 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34786 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34787 Remove conditional code.
34788 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34789 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34790 Remove conditional.
34792 2012-08-27 Mike Frysinger <vapier@gentoo.org>
34795 * NEWS: Add fixed bug number.
34797 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34800 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34801 underflowing exponent in case of negative sign.
34802 * stdlib/tst-strtod-round-data: Add more tests.
34803 * stdlib/tst-strtod-round.c (tests): Regenerated.
34806 * stdlib/strtod_l.c (NDIG): Remove.
34807 (HEXNDIG): Likewise.
34808 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34809 smallest representable value.
34810 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34811 lie within an exact representation of 1/2 ulp of the result.
34812 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34814 (TENS_P9_IDX): Define unconditionally.
34815 (TENS_P9_SIZE): Likewise.
34816 (TENS_P10_IDX): Likewise.
34817 (TENS_P10_SIZE): Likewise.
34818 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34819 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34820 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34821 entries for 10^2^13 and 10^2^14.
34822 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34823 (TENS_P13_IDX): Define.
34824 (TENS_P13_SIZE): Likewise.
34825 (TENS_P14_IDX): Likewise.
34826 (TENS_P14_SIZE): Likewise.
34827 (_fpioconst_pow10): Change array size to
34828 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34830 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34831 1024]: Add entries for 10^2^13 and 10^2^14.
34832 [LAST_POW10 > _LAST_POW10]: Remove #error.
34833 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34834 (_fpioconst_pow10): Change array size to
34835 FPIOCONST_POW10_ARRAY_SIZE.
34836 * stdlib/gen-fpioconst.c: New file.
34837 * stdlib/gen-tst-strtod-round.c: Likewise.
34838 * stdlib/tst-strtod-round-data: Likewise.
34839 * stdlib/tst-strtod-round.c: Likewise.
34840 * stdlib/Makefile (tests): Add tst-strtod-round.
34843 * stdlib/strtod_l.c: Include <stdint.h>.
34844 (NDEBUG): Do not define.
34845 (round_and_return): Change EXPONENT parameter to type intmax_t.
34846 Rearrange calculations to avoid internal overflow possibilities.
34847 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34848 Rearrange calculations to avoid internal overflow possibilities.
34849 Assert that number fits inside MPNSIZE limbs.
34850 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34851 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34852 calculations and add assertions to avoid internal overflow
34853 possibilities. Add casts to avoid signed/unsigned operations.
34854 * stdlib/tst-strtod-overflow.c: New file.
34855 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34857 2012-08-25 Marek Polacek <polacek@redhat.com>
34859 * time/time.h: Fix some typos in comments.
34861 2012-08-23 Roland McGrath <roland@hack.frob.com>
34863 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34864 * posix/tst-rfc3484-2.c: Likewise.
34865 * posix/tst-rfc3484-3.c: Likewise.
34867 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34869 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34870 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34872 2012-08-23 Joseph Myers <joseph@codesourcery.com>
34874 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34875 #include of fxstatat64.c.
34877 2012-08-22 Roland McGrath <roland@hack.frob.com>
34879 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34880 * shadow/getspent_r.c: Likewise.
34881 * shadow/getspnam.c: Likewise.
34882 * shadow/getspnam_r.c: Likewise.
34883 * gshadow/getsgent.c: Likewise.
34884 * gshadow/getsgent_r.c: Likewise.
34885 * gshadow/getsgnam.c: Likewise.
34886 * gshadow/getsgnam_r.c: Likewise.
34887 * inet/getnetbyad.c: Likewise.
34888 * inet/getnetbyad_r.c: Likewise.
34889 * inet/getnetbynm.c: Likewise.
34890 * inet/getnetbynm_r.c: Likewise.
34891 * inet/getnetent.c: Likewise.
34892 * inet/getnetent_r.c: Likewise.
34893 * inet/getproto.c: Likewise.
34894 * inet/getproto_r.c: Likewise.
34895 * inet/getprtent.c: Likewise.
34896 * inet/getprtent_r.c: Likewise.
34897 * inet/getprtname.c: Likewise.
34898 * inet/getprtname_r.c: Likewise.
34899 * inet/getrpcbyname.c: Likewise.
34900 * inet/getrpcbyname_r.c: Likewise.
34901 * inet/getrpcbynumber.c: Likewise.
34902 * inet/getrpcbynumber_r.c: Likewise.
34903 * inet/getrpcent.c: Likewise.
34904 * inet/getrpcent_r.c: Likewise.
34905 * inet/getaliasent.c: Likewise.
34906 * inet/getaliasent_r.c: Likewise.
34907 * inet/getaliasname.c: Likewise.
34908 * inet/getaliasname_r.c: Likewise.
34909 * nscd/getgrgid_r.c: Likewise.
34910 * nscd/getgrnam_r.c: Likewise.
34911 * nscd/gethstbyad_r.c: Likewise.
34912 * nscd/gethstbynm3_r.c: Likewise.
34913 * nscd/getpwnam_r.c: Likewise.
34914 * nscd/getpwuid_r.c: Likewise.
34915 * nscd/getsrvbynm_r.c: Likewise.
34916 * nscd/getsrvbypt_r.c: Likewise.
34917 * nscd/gai.c: Likewise.
34919 * configure.in (build_nscd): New substituted variable, set
34920 by --disable-build-nscd and defaults to $use_nscd.
34921 * configure: Regenerated.
34922 * config.make.in (build-nscd): New substituted variable.
34923 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34924 Change conditional to require [$(build-nscd) = yes] as well.
34925 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34928 * configure.in (use_nscd): New substituted variable, set by
34929 --disable-nscd. If enabled, define USE_NSCD.
34930 * configure: Regenerated.
34931 * config.h.in: Add USE_NSCD.
34932 * config.make.in (use-nscd): New substituted variable.
34933 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34934 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34935 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34936 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34937 (CFLAGS-getgrnam_r.c): Likewise.
34938 (CFLAGS-initgroups.c): Likewise.
34939 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34940 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34942 * inet/getnetgrent_r.c
34943 (nscd_setnetgrent): New function, broken out of ...
34944 (setnetgrent): ... here. Call it.
34945 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34946 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34947 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34948 * nscd/Makefile (routines, aux): Move definitions after include of
34949 Makeconfig. Conditionalize on [$(use-nscd) != no].
34950 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34951 Conditionalize on [USE_NSCD].
34952 (is_nscd, nscd_init_cb): Likewise.
34953 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34954 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34955 * nss/nss_db/db-init.c: Likewise.
34956 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34958 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34959 (make_request): Use it.
34960 (cache_valid_p): New function.
34961 (__check_pf): Use it.
34962 * NEWS: Add item for --disable-nscd.
34964 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34966 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34967 to support sed >= 4.2.1-20-ga9bf076.
34968 * configure: Regenerated.
34970 2012-08-22 Roland McGrath <roland@hack.frob.com>
34972 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34973 Conditionalize whole body on [IREL].
34975 2012-08-22 Jeff Law <law@redhat.com>
34978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34979 if the family is PF_UNSPEC.
34981 2012-08-22 Mike Frysinger <vapier@gentoo.org>
34983 * Makerules (lib-version): Rename from V.
34984 (install-lib-nosubdir): Change V to lib-version.
34986 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34989 * powerpc32/power6/wcschr.c: New file.
34990 * powerpc32/power6/wcscpy.c: New file.
34991 * powerpc32/power6/wcsrchr.c: New file.
34992 * powerpc64/power6/wcschr.c: New file.
34993 * powerpc64/power6/wcscpy.c: New file.
34994 * powerpc64/power6/wcsrchr.c: New file.
34996 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34998 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34999 (two_way_short_needle): Use it.
35000 * string/strstr.c (AVAILABLE1_USES_J): Define.
35001 * string/strcasestr.c: Likewise.
35003 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35005 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35008 * NEWS: Add an entry.
35009 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35010 define their defaults.
35011 (two_way_short_needle): Detect end-of-string on-the-fly.
35012 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35013 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35014 * string/bug-strcasestr1.c: New test.
35015 * string/Makefile: Run it.
35017 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35020 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35021 the first character.
35023 2012-08-21 Roland McGrath <roland@hack.frob.com>
35025 * csu/elf-init.c (__libc_csu_irel): Function removed.
35026 * csu/libc-start.c (apply_irel): New function.
35027 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35029 2012-08-21 Joseph Myers <joseph@codesourcery.com>
35031 * sysdeps/unix/sysv/linux/kernel-features.h
35032 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35033 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35034 <kernel-features.h>.
35035 [__NR_fadvise64_64]: Make code unconditional.
35036 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35037 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35038 !__NR_fadvise64_64)]: Likewise.
35039 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35040 !__NR_fadvise64_64))]: Likewise.
35041 [__NR_fadvise64]: Make code unconditional.
35042 [!__NR_fadvise64]: Remove conditional code.
35043 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35044 <kernel-features.h>.
35045 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35047 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35050 not include <kernel-features.h>.
35051 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35053 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35055 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35056 include <kernel-features.h>.
35057 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35059 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35062 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35064 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35065 slight instruction rearrangements per scrollpipe analysis.
35066 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35068 2012-08-20 Roland McGrath <roland@hack.frob.com>
35070 * manual/syslog.texi (syslog; vsyslog, closelog):
35071 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35072 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35074 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35075 DSOCAPS to match condition on defining it.
35077 2012-08-20 Joseph Myers <joseph@codesourcery.com>
35079 * sysdeps/unix/sysv/linux/kernel-features.h
35080 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35082 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35083 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35085 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35086 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35088 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35089 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35091 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35092 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35094 * sysdeps/unix/sysv/linux/kernel-features.h
35095 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35096 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35098 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35099 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35100 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35101 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35102 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35103 Make code unconditional.
35104 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35105 (__mmap64) [!__NR_mmap2]: Likewise.
35106 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35107 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35108 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35109 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35110 [__NR_mmap2]: Make code unconditional.
35111 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35112 (__mmap64) [!__NR_mmap2]: Likewise.
35114 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35116 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35118 2012-08-18 Andreas Jaeger <aj@suse.de>
35120 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35122 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35124 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35125 * include/unistd.h (__have_sock_cloexec): Likewise.
35126 (__have_pipe2): Likewise.
35127 (__have_dup3): Likewise.
35129 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35132 * include/unistd.h (__have_pipe2): Change define into an extern int.
35133 (__have_dup3): Likewise.
35134 * socket/have_sock_cloexec.c: Include fcntl.h.
35135 (__have_pipe2): New variable.
35136 (__have_dup3): Likewise.
35138 2012-08-17 Mike Frysinger <vapier@gentoo.org>
35140 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35142 2012-08-17 Marek Polacek <polacek@redhat.com>
35144 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35145 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35147 2012-08-17 Roland McGrath <roland@hack.frob.com>
35149 * configure.in: Add AC_SUBST for sysheaders.
35150 * configure: Regenerated.
35151 * config.make.in (sysheaders): New substituted variable.
35153 * sysdeps/unix/mkfifo.c: Moved ...
35154 * sysdeps/posix/mkfifo.c: ... here.
35155 * sysdeps/unix/mkfifoat.c: Moved ...
35156 * sysdeps/posix/mkfifoat.c: ... here.
35158 * sysdeps/unix/utime.c: Moved ...
35159 * sysdeps/posix/utime.c: ... here.
35161 * sysdeps/unix/time.c: Moved ...
35162 * sysdeps/posix/time.c: ... here.
35163 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35164 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35166 * sysdeps/unix/nice.c: Moved ...
35167 * sysdeps/posix/nice.c: ... here.
35169 * sysdeps/unix/alarm.c: Moved ...
35170 * sysdeps/posix/alarm.c: ... here.
35172 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35174 2012-08-17 Jeff Law <law@redhat.com>
35176 * intl/Makefile (codeset_mo): New variable.
35177 ($(codeset_mo)): New target.
35178 (tst-codeset.out): Depend on that. Remove explicit rule.
35179 (tst-gettext3.out, tst-gettext5.out): Likewise.
35180 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35181 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35182 * intl/tst-codeset.sh: Remove.
35183 * intl/tst-gettext3.sh: Likewise.
35184 * intl/tst-gettext5.sh: Likewise.
35186 2012-08-17 Roland McGrath <roland@hack.frob.com>
35188 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35189 * sysdeps/unix/syscalls.list: ... here.
35191 * sysdeps/posix/getaddrinfo.c
35192 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35193 (gaiconf_init, gaiconf_reload): Use them.
35194 [!_STATBUF_ST_NSEC]
35195 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35196 Define using time_t rather than struct timespec.
35198 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35199 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35201 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35203 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35204 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35207 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35208 __libc_cleanup_push argument.
35210 * bits/param.h: New file.
35211 * misc/sys/param.h: New file.
35212 * include/sys/param.h: New file.
35213 * misc/Makefile (headers): Add bits/param.h.
35214 * sysdeps/generic/sys/param.h: File removed.
35215 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35216 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35217 * sysdeps/mach/hurd/bits/param.h: New file.
35218 * sysdeps/mach/hurd/sys/param.h: File removed.
35220 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35223 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35225 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35226 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35229 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35230 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35231 rather than -D_IO_MTSAFE_IO conditionally.
35232 * stdio-common/Makefile (CPPFLAGS): Likewise.
35233 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35234 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35235 Use $(libio-mtsafe).
35236 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35237 of -D_IO_MTSAFE_IO.
35238 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35239 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35240 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35241 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35242 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35243 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35244 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35245 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35246 (CFLAGS-fread_u_chk.c): Likewise.
35247 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35248 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35249 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35250 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35251 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35252 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35253 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35254 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35255 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35257 * libio/Makefile: Test [$(libc-reentrant) = yes]
35258 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35261 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35262 * sysdeps/pthread/configure: File removed.
35263 * sysdeps/pthread/Makeconfig: New file.
35264 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35265 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35267 2012-08-16 Gary Benson <gbenson@redhat.com>
35269 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35270 unmapping the first object in a namespace.
35272 2012-08-16 Roland McGrath <roland@hack.frob.com>
35274 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35275 (__internal_setnetgrent): ... this. Add internal_function to
35276 definition. Add libc_hidden_def.
35277 (setnetgrent): Update caller.
35278 (internal_endnetgrent): Renamed to ...
35279 (__internal_endnetgrent): ... this. Add internal_function to
35280 definition. Add libc_hidden_def.
35281 (endnetgrent): Update caller.
35282 (internal_getnetgrent_r): Renamed to ...
35283 (__internal_getnetgrent_r): ... this. Add internal_function to
35284 definition. Add libc_hidden_def.
35285 (__getnetgrent_r): Update caller.
35286 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35288 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35290 * stdlib/longlong.h: Update from GCC.
35292 2012-08-16 Roland McGrath <roland@hack.frob.com>
35294 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35295 on _QL, which is set by umul_ppmm but never used.
35296 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35297 variables, which are set by GMP macros but never used.
35298 * stdio-common/_itowa.c (_itowa): Likewise.
35299 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35300 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35302 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35304 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35305 struct La_sh_regs is not constant.
35306 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35307 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35308 and struct La_sparc64_regs are not constant.
35310 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35312 * sysdeps/unix/sysv/linux/kernel-features.h
35313 (__ASSUME_POSIX_TIMERS): Remove.
35314 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35315 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35316 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35317 Make code unconditional.
35318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35319 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35320 Make code unconditional.
35321 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35322 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35323 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35324 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35325 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35326 Make code unconditional.
35327 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35328 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35329 (__libc_missing_posix_timers): Remove.
35331 2012-08-15 Roland McGrath <roland@hack.frob.com>
35333 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35334 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35336 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35338 * elf/dl-sym.c: Include <stdlib.h>.
35340 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35341 constants, which avoids warnings in 32-bit builds.
35343 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35344 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35346 * misc/lseek.c: File moved to ...
35347 * io/lseek.c: ... here.
35349 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35351 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35352 shifting LEN more than 31 bits at once.
35354 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35357 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35358 segmentation fault for a case of two empty input strings.
35359 * string/test-strncasecmp.c (check1): Renamed to...
35360 (bz12205): ...this.
35361 (bz14195): Add new testcase for two empty input strings and N > 0.
35362 (test_main): Call new testcase, adapt for renamed function.
35364 2012-08-15 Andreas Jaeger <aj@suse.de>
35367 * crypt/md5test2.c: New test, based on test supplied by Serge
35368 Belyshev <belyshev@depni.sinp.msu.ru>.
35369 * crypt/Makefile (xtests): Add md5test-giant..
35370 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35372 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35375 * crypt/md5.c (md5_process_block): Don't assume the buffer
35376 length is less than 2**32.
35377 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35378 length is less than 2**64.
35380 2012-08-15 Roland McGrath <roland@hack.frob.com>
35382 * string/str-two-way.h: Include <sys/param.h>.
35383 (MAX): Macro removed.
35385 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35386 Move #define and #undef of memmove to just before and after
35387 including <string.h>.
35389 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35390 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35391 and after including <string.h>. Move declarations of
35392 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35393 to before #include "string/memmove.c".
35395 * include/dirent.h: Declare __getdirentries.
35397 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35398 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35400 2012-08-14 Mike Frysinger <vapier@gentoo.org>
35402 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35403 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35404 * sysdeps/i386/configure: Regenerated.
35405 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35406 STABS_CURRENT_FILE, and STABS_FUN.
35407 (END): Remove call to STABS_FUN_END.
35408 (STABS_CURRENT_FILE1): Delete.
35409 (STABS_CURRENT_FILE): Likewise.
35410 (STABS_FUN): Likewise.
35411 (STABS_FUN_END): Likewise.
35412 (STABS_FUN2): Likewise.
35413 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35414 * sysdeps/x86_64/configure: Regenerated.
35416 2012-08-14 Roland McGrath <roland@hack.frob.com>
35418 * elf/dl-open.c: Include <atomic.h>.
35419 * elf/dl-lookup.c: Likewise.
35421 2012-08-14 Joseph Myers <joseph@codesourcery.com>
35423 * sysdeps/unix/sysv/linux/kernel-features.h
35424 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35425 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35427 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35429 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35430 condition on __ASSUME_CLONE_THREAD_FLAGS.
35432 2012-08-14 Andreas Jaeger <aj@suse.de>
35434 * sysdeps/i386/fpu/libm-test-ulps: Update.
35436 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35438 * include/atomic.h (atomic_exchange_and_add): Split into ...
35439 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35442 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35446 2012-08-13 Jeff Law <law@redhat.com>
35448 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35449 null byte in the output string.
35451 2012-08-10 Joseph Myers <joseph@codesourcery.com>
35453 * sysdeps/unix/sysv/linux/kernel-features.h
35454 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35455 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35456 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35457 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35458 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35459 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35460 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35462 2012-08-09 Jeff Law <law@redhat.com>
35465 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35466 When avoid_arena is set, don't retry in the that arena. Pick the
35467 next one, whatever it might be.
35468 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35469 (arena_lock): Pass in new parameter to arena_get2.
35470 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35472 (__libc_malloc): Unify retrying after main arena failure with
35473 __libc_memalign version.
35474 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35476 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35479 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35480 to __redirect_strstr.
35481 (__strstr_sse42): Use typeof __redirect_strstr.
35482 (__strstr_ia32): Likewise.
35483 (__libc_strstr): New prototype.
35484 (strstr): Renamed to ...
35485 (__libc_strstr): This.
35486 (strstr): New strong alias of __libc_strstr.
35487 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35488 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35491 (__libc_time): New prototype.
35492 (time_ifunc): Replace time with __libc_time.
35493 (time): New strong alias and hidden definition of __libc_time.
35494 (__GI_time): Remove strong alias.
35495 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35496 Include <stddef.h>.
35497 (memmove): Redefined to __redirect_memmove.
35498 (__memmove_sse2): Use typeof __redirect_memmove.
35499 (__memmove_ssse3): Likewise.
35500 (__memmove_ssse3_back): Likewise.
35501 (__libc_memmove): New prototype.
35502 (memmove): Renamed to ...
35503 (__libc_memmove): This.
35504 (memmove): New strong alias of __libc_memmove.
35506 2012-08-08 Mark Salter <msalter@redhat.com>
35509 (R_MN10300_TLS_GD): Define.
35510 (R_MN10300_TLS_LD): Likewise.
35511 (R_MN10300_TLS_LDO): Likewise.
35512 (R_MN10300_TLS_GOTIE): Likewise.
35513 (R_MN10300_TLS_IE): Likewise.
35514 (R_MN10300_TLS_LE): Likewise.
35515 (R_MN10300_TLS_DTPMOD): Likewise.
35516 (R_MN10300_TLS_DTPOFF): Likewise.
35517 (R_MN10300_TLS_TPOFF): Likewise.
35518 (R_MN10300_SYM_DIFF): Likewise.
35519 (R_MN10300_ALIGN): Likewise.
35520 (R_MN10300_NUM): Update.
35522 2012-08-08 Joseph Myers <joseph@codesourcery.com>
35524 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35527 2012-08-08 Roland McGrath <roland@hack.frob.com>
35529 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35531 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35532 sysdeps/unix -> sysdeps/posix move.
35533 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35535 2012-08-07 Allan McRae <allan@archlinux.org>
35538 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35539 (SUNOS_CPP): Likewise.
35540 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35542 (open_input): Call CPP using execvp.
35544 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35546 * sysdeps/unix/sysv/linux/kernel-features.h
35547 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35548 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35549 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35550 (__ASSUME_WAITID_SYSCALL): Likewise.
35551 * sysdeps/unix/sysv/linux/dl-execstack.c
35552 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35553 code unconditional.
35554 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35556 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35557 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35558 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35560 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35562 [__ASSUME_WAITID_SYSCALL]: Likewise.
35563 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35565 2012-08-07 Roland McGrath <roland@hack.frob.com>
35567 * sysdeps/unix/closedir.c: Renamed to ...
35568 * sysdeps/posix/closedir.c: ... here.
35569 * sysdeps/unix/dirfd.c: Renamed to ...
35570 * sysdeps/posix/dirfd.c: ... here.
35571 * sysdeps/unix/dirstream.h: Renamed to ...
35572 * sysdeps/posix/dirstream.h: ... here.
35573 * sysdeps/unix/fdopendir.c: Renamed to ...
35574 * sysdeps/posix/fdopendir.c: ... here.
35575 * sysdeps/unix/opendir.c: Renamed to ...
35576 * sysdeps/posix/opendir.c: ... here.
35577 * sysdeps/unix/readdir.c: Renamed to ...
35578 * sysdeps/posix/readdir.c: ... here.
35579 * sysdeps/unix/readdir_r.c: Renamed to ...
35580 * sysdeps/posix/readdir_r.c: ... here.
35581 * sysdeps/unix/rewinddir.c: Renamed to ...
35582 * sysdeps/posix/rewinddir.c: ... here.
35583 * sysdeps/unix/seekdir.c: Renamed to ...
35584 * sysdeps/posix/seekdir.c: ... here.
35585 * sysdeps/unix/telldir.c: Renamed to ...
35586 * sysdeps/posix/telldir.c: ... here.
35587 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35588 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35589 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35590 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35592 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35593 * bits/fcntl.h: ... here.
35595 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35597 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35598 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35599 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35600 (struct flock): Move l_start, l_len to the beginning.
35601 Use __pid_t for l_pid.
35602 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35603 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35604 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35605 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35606 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35607 [__USE_LARGEFILE64] (struct flock64): New type.
35608 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35610 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35611 * bits/dirent.h: ... here.
35613 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35614 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35616 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35618 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35619 Change from 2.6.0 to 2.6.16.
35620 * sysdeps/unix/sysv/linux/configure: Regenerated.
35621 * sysdeps/unix/sysv/linux/kernel-features.h
35622 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35623 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35625 (__ASSUME_UTIMES): Likewise.
35626 (__ASSUME_CLONE_STOPPED): Remove.
35627 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35628 architectures, not kernel version.
35629 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35630 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35631 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35632 (__ASSUME_WAITID_SYSCALL): Likewise.
35633 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35634 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35635 * README: State 2.6.16 as minimum Linux kernel version. Do not
35636 refer to older versions.
35638 2012-08-06 Roland McGrath <roland@hack.frob.com>
35640 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35641 Define alphasort64 as an alias.
35642 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35643 Define versionsort64 as an alias.
35644 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35645 Define scandir64 as an alias.
35646 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35647 Define scandirat64 as an alias.
35648 * dirent/alphasort64.c (alphasort64):
35649 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35650 * dirent/versionsort64.c: Likewise.
35651 * dirent/scandir64.c: Likewise.
35652 * dirent/scandirat64.c: Likewise.
35653 * sysdeps/wordsize-64/alphasort.c: File removed.
35654 * sysdeps/wordsize-64/alphasort64.c: File removed.
35655 * sysdeps/wordsize-64/scandir.c: File removed.
35656 * sysdeps/wordsize-64/scandir64.c: File removed.
35657 * sysdeps/wordsize-64/scandirat.c: File removed.
35658 * sysdeps/wordsize-64/scandirat64.c: File removed.
35659 * sysdeps/wordsize-64/versionsort.c: File removed.
35660 * sysdeps/wordsize-64/versionsort64.c: File removed.
35661 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35662 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35663 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35664 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35665 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35666 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35667 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35668 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35670 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35671 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35672 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35673 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35674 [defined __arch64__ || defined __sparcv9]
35675 (__INO_T_MATCHES_INO64_T): New macro.
35676 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35677 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35678 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35679 * sysdeps/unix/sysv/linux/bits/dirent.h
35680 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35681 (_DIRENT_MATCHES_DIRENT64): New macro.
35683 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35684 Define lockf64 as an alias.
35685 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35686 Define fseeko64 as an alias.
35687 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35688 Define ftello64 as an alias.
35689 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35690 Define _IO_fgetpos64 and fgetpos64 as aliases.
35691 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35692 Define _IO_fsetpos64 and fsetpos64 as aliases.
35693 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35694 Conditionalize body on this.
35695 * libio/fseeko64.c: Likewise.
35696 * libio/ftello64.c: Likewise.
35697 * libio/iofgetpos64.c: Likewise.
35698 * libio/iofsetpos64.c: Likewise.
35699 * sysdeps/wordsize-64/lockf.c: File removed.
35700 * sysdeps/wordsize-64/lockf64.c: File removed.
35701 * sysdeps/wordsize-64/fseeko.c: File removed.
35702 * sysdeps/wordsize-64/fseeko64.c: File removed.
35703 * sysdeps/wordsize-64/ftello.c: File removed.
35704 * sysdeps/wordsize-64/ftello64.c: File removed.
35705 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35706 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35707 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35708 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35709 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35710 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35711 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35712 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35713 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35714 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35715 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35716 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35717 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35718 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35720 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35721 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35722 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35723 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35724 [defined __arch64__ || defined __sparcv9]
35725 (__OFF_T_MATCHES_OFF64_T): New macro.
35726 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35727 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35728 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35729 (__OFF_T_MATCHES_OFF64_T): New macro.
35731 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35733 * stdlib/secure-getenv.c (__secure_getenv): Replace
35734 GLIBC_2_16 with GLIBC_2_17.
35736 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35738 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35739 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35741 2012-08-03 David S. Miller <davem@davemloft.net>
35743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35745 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35747 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35749 (__ASSUME_CORRECT_SI_PID): Likewise.
35750 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35751 (__ASSUME_TMPFS_NAME): Likewise.
35752 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35753 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35754 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35755 (HAVE_AUX_SECURE): Make definition unconditional.
35756 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35757 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35759 2012-08-03 Roland McGrath <roland@hack.frob.com>
35761 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35762 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35763 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35764 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35765 __eloop_threshold instead of SYMLOOP_MAX.
35767 * sysdeps/generic/eloop-threshold.h: New file.
35768 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35770 * elf/chroot_canon.c (chroot_canon): Likewise.
35772 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35775 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35776 Change to 2.6.0 everywhere.
35777 * sysdeps/unix/sysv/linux/configure: Regenerated.
35778 * sysdeps/unix/sysv/linux/kernel-features.h
35779 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35780 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35782 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35783 (__ASSUME_FUTEX_REQUEUE): Remove.
35784 (__ASSUME_STATFS64): Define unconditionally.
35785 (__ASSUME_AT_SECURE): Likewise.
35786 (__ASSUME_CORRECT_SI_PID): Likewise.
35787 (__ASSUME_TGKILL): Define without depending on kernel version for
35789 (__ASSUME_UTIMES): Likewise.
35790 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35792 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35793 (__ASSUME_TMPFS_NAME): Likewise.
35794 * README: Update reference to Linux kernel versions.
35796 2012-08-02 Marek Polacek <polacek@redhat.com>
35799 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35800 libc_cv_asm_type_prefix with %.
35801 * configure: Regenerated.
35802 * include/libc-symbols.h: Remove comment about
35803 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35804 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35805 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35806 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35807 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35808 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35809 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35810 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35811 * elf/tst-unique2mod1.c: Likewise.
35812 * elf/tst-unique1mod2.c: Likewise.
35813 * elf/tst-unique1mod1.c: Likewise.
35814 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35815 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35816 Replace ASM_TYPE_DIRECTIVE with .type.
35817 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35818 * sysdeps/i386/sysdep.h: Likewise.
35819 * sysdeps/x86_64/sysdep.h: Likewise.
35820 * sysdeps/sh/sysdep.h: Likewise.
35821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35822 Do not define ASM_TYPE_DIRECTIVE.
35823 * sysdeps/powerpc/sysdep.h: Likewise.
35824 * sysdeps/powerpc/powerpc32/sysdep.h:
35825 Replace ASM_TYPE_DIRECTIVE with .type.
35826 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35827 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35828 * sysdeps/i386/fpu/e_powf.S: Likewise.
35829 * sysdeps/i386/fpu/e_expl.S: Likewise.
35830 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35831 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35832 * sysdeps/i386/fpu/e_pow.S: Likewise.
35833 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35834 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35835 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35836 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35837 * sysdeps/i386/fpu/e_log2.S: Likewise.
35838 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35839 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35840 * sysdeps/i386/fpu/e_powl.S: Likewise.
35841 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35842 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35843 * sysdeps/i386/fpu/e_logl.S: Likewise.
35844 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35845 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35846 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35847 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35848 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35849 * sysdeps/i386/fpu/e_log.S: Likewise.
35850 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35851 * sysdeps/i386/fpu/e_logf.S: Likewise.
35852 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35853 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35854 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35855 * sysdeps/i386/fpu/e_log10.S: Likewise.
35856 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35857 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35858 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35859 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35860 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35861 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35862 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35863 * sysdeps/i386/i686/strtok.S: Likewise.
35864 * sysdeps/i386/i386-mcount.S: Likewise.
35865 * sysdeps/i386/strtok.S: Likewise.
35866 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35867 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35868 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35869 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35870 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35871 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35872 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35873 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35874 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35875 * sysdeps/x86_64/_mcount.S: Likewise.
35876 * sysdeps/x86_64/strtok.S: Likewise.
35877 * sysdeps/sh/_mcount.S: Likewise.
35879 2012-08-01 Roland McGrath <roland@hack.frob.com>
35881 * libio/iofopen.c: Include <fcntl.h>.
35882 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35883 (_IO_fopen64, fopen64): Define as aliases.
35884 * libio/iofopen64.c: Include <fcntl.h>.
35885 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35886 Conditionalize body on this.
35887 * sysdeps/wordsize-64/iofopen.c: File removed.
35888 * sysdeps/wordsize-64/iofopen64.c: File removed.
35890 2012-08-01 Marek Polacek <polacek@redhat.com>
35892 * libc/Makeconfig: Use elf in place of binfmt-subdir.
35893 Use dlfcn directly instead of a variable.
35894 (binfmt-subdir): Do not define.
35897 2012-08-01 Joseph Myers <joseph@codesourcery.com>
35899 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35900 Remove all definitions.
35901 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35902 <kernel-features.h>.
35903 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35904 (miss_F_GETOWN_EX): Remove all definitions.
35905 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35907 [!__ASSUME_FCNTL64]: Remove conditional code.
35908 [__ASSUME_FCNTL64]: Make code unconditional.
35909 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35910 <kernel-features.h>.
35911 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35912 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35913 (lockf64) [__NR_fcntl64]: Make code unconditional.
35914 (lockf64) [__ASSUME_FCNTL64]: Likewise.
35916 * sysdeps/unix/sysv/linux/kernel-features.h
35917 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35918 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35919 Make code unconditional.
35920 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35921 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35923 [__NR_vfork]: Make code unconditional.
35924 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35925 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35927 [__NR_vfork]: Make code unconditional.
35928 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35929 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35931 2012-08-01 Roland McGrath <roland@hack.frob.com>
35933 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35934 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35936 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35937 Define mkstemp64 as an alias.
35938 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35939 Define mkstemps64 as an alias.
35940 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35941 Define mkostemp64 as an alias.
35942 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35943 Define mkostemps64 as an alias.
35944 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35945 Conditionalize body on this.
35946 * misc/mkostemp64.c: Likewise.
35947 * misc/mkostemps64.c: Likewise.
35948 * misc/mkstemps64.c: Likewise.
35949 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35950 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35951 * sysdeps/wordsize-64/mkostemp.c: File removed.
35952 * sysdeps/wordsize-64/mkstemp.c: File removed.
35953 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35954 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35955 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35956 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35959 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35960 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35961 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35962 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35964 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35965 compat_symbol macros from <shlib-compat.h> rather than the underlying
35966 default_symbol_version and symbol_version macros, so that DEFAULT
35967 lines in shlib-versions are respected.
35968 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35970 2012-08-01 Florian Weimer <fweimer@redhat.com>
35972 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35973 Declare with warn_unused_result.
35974 (setgid, setregid, setegid, setresgid): Likewise.
35975 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35977 * WUR-REPORT: Remove set*id functions.
35979 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35981 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35983 2012-07-31 Roland McGrath <roland@hack.frob.com>
35986 * include/sys/socket.h (__libc_accept, __libc_accept4):
35987 Add attribute_hidden.
35988 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35990 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35992 * inet/getnetgrent_r.c (setup): Likewise.
35994 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35996 2012-07-31 David S. Miller <davem@davemloft.net>
35998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36000 2012-07-31 Joseph Myers <joseph@codesourcery.com>
36003 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36004 value between 1.0 and 2.0 and smaller part has absolute value less
36006 * math/s_clog10.c (__clog10): Likewise.
36007 * math/s_clog10f.c (__clog10f): Likewise.
36008 * math/s_clog10l.c (__clog10l): Likewise.
36009 * math/s_clogf.c (__clogf): Likewise.
36010 * math/s_clogl.c (__clogl): Likewise.
36011 * math/libm-test.inc (clog_test): Add more tests.
36012 (clog10_test): Likewise.
36013 * sysdeps/i386/fpu/libm-test-ulps: Update.
36014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36016 2012-07-31 Florian Weimer <fweimer@redhat.com>
36018 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36019 Exit with zero in case no suitable GID is found, and write a
36020 message to standard error.
36022 2012-07-30 Roland McGrath <roland@hack.frob.com>
36024 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36026 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36027 (MAXPATHLEN): Removed.
36028 (NOGROUP, NODEV): New macros.
36029 (setbit, clrbit, isset, isclr): New macros.
36030 (howmany, roundup, powerof2): New macros.
36031 (DEV_BSIZE): New macro.
36033 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36034 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36036 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36037 definition on [!__NO_LONG_DOUBLE_MATH].
36039 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36040 PTR_MANGLE and PTR_DEMANGLE.
36042 * socket/accept4.c (accept4): Rename to __libc_accept4.
36043 Define accept4 as a weak alias.
36045 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36046 on [_DIRENT_HAVE_D_TYPE].
36047 * io/ftw.c (ftw_dir): Likewise.
36049 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36051 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36053 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36054 Use the BSD numbers rather than the arbitrary ones we had.
36055 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36056 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36057 (SIGXCPU, SIGXFSZ): New macros.
36060 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36061 initializer on [_LIBC_REENTRANT].
36063 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36064 definitions inside [_POSIX_MAPPED_FILES].
36066 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36068 * dirent/opendir.c: Include <fcntl.h>.
36070 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36071 (__libc_getspecific): Likewise.
36072 (__libc_key_create): Likewise.
36074 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36075 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36076 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36077 (tmpfile64): Define as alias.
36078 * sysdeps/wordsize-64/tmpfile.c: File removed.
36079 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36080 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36081 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36083 * stdio-common/vfscanf.c: Include <stdbool.h>.
36084 * nss/makedb.c: Likewise.
36085 * stdio-common/_i18n_number.h: Likewise.
36086 * argp/argp-help.c: Likewise.
36087 * posix/wordexp.c: Likewise.
36088 * sysdeps/posix/spawni.c: Likewise.
36089 * nss/nss_files/files-initgroups.c: Likewise.
36090 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36091 * nss/nss_files/files-initgroups.c: Likewise.
36092 * nss/nss_db/db-netgrp.c: Likewise.
36093 * nss/nss_db/db-initgroups.c: Likewise.
36094 * io/fchmodat.c: Include <sys/stat.h>.
36096 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36097 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36099 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36102 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36103 Add multiple inclusion protection.
36105 2012-07-27 David S. Miller <davem@davemloft.net>
36107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36109 2012-07-27 Gary Benson <gbenson@redhat.com>
36112 * elf/rtld.c: Include <stap-probe.h>.
36113 (dl_main): Added static probes "init_start" and "init_complete".
36114 * elf/dl-load.c: Include <stap-probe.h>.
36115 (lose): Take new parameter "nsid".
36116 Added static probe "map_failed".
36117 (_dl_map_object_from_fd): Pass namespace id to lose.
36118 Added static probe "map_start".
36119 (open_verify): Pass namespace id to lose.
36120 * elf/dl-open.c: Include <stap-probe.h>.
36121 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36122 and "reloc_complete".
36123 * elf/dl-close.c: Include <stap-probe.h>.
36124 (_dl_close_worker): Added static probes "unmap_start" and
36126 * elf/rtld-debugger-interface.txt: New file documenting the above.
36128 2012-07-26 Roland McGrath <roland@hack.frob.com>
36130 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36131 rather than a string variable.
36132 * sunrpc/rpc_main.c (h_output): Likewise.
36133 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36135 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36137 * inet/check_native.c: New file.
36139 2012-07-26 Joseph Myers <joseph@codesourcery.com>
36142 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36143 if larger part has absolute value 1.0.
36144 * math/s_clog10.c (__clog10): Likewise.
36145 * math/s_clog10f.c (__clog10f): Likewise.
36146 * math/s_clog10l.c (__clog10l): Likewise.
36147 * math/s_clogf.c (__clogf): Likewise.
36148 * math/s_clogl.c (__clogl): Likewise.
36149 * math/libm-test.inc (clog_test): Add more tests.
36150 (clog10_test): Likewise.
36151 * sysdeps/i386/fpu/libm-test-ulps: Update.
36152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36154 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36155 (pltexit): Likewise.
36156 (La_regs): Likewise.
36157 (La_retval): Likewise.
36158 (int_retval): Likewise.
36159 Update #error for removed macros to refer only to definitions in
36161 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36163 (pltexit): Likewise.
36164 (La_regs): Likewise.
36165 (La_retval): Likewise.
36166 (int_retval): Likewise.
36167 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36169 (pltexit): Likewise.
36170 (La_regs): Likewise.
36171 (La_retval): Likewise.
36172 (int_retval): Likewise.
36173 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36175 (pltexit): Likewise.
36176 (La_regs): Likewise.
36177 (La_retval): Likewise.
36178 (int_retval): Likewise.
36179 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36181 (pltexit): Likewise.
36182 (La_regs): Likewise.
36183 (La_retval): Likewise.
36184 (int_retval): Likewise.
36185 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36187 (pltexit): Likewise.
36188 (La_regs): Likewise.
36189 (La_retval): Likewise.
36190 (int_retval): Likewise.
36191 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36193 (pltexit): Likewise.
36194 (La_regs): Likewise.
36195 (La_retval): Likewise.
36196 (int_retval): Likewise.
36197 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36198 macro definitions in tst-audit.h.
36199 * sysdeps/i386/tst-audit.h: New file.
36200 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36201 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36202 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36203 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36204 * sysdeps/sh/tst-audit.h: Likewise.
36205 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36206 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36207 * sysdeps/x86_64/tst-audit.h: Likewise.
36209 2012-07-26 Andreas Jaeger <aj@suse.de>
36211 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36214 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36215 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36216 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36218 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36219 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36220 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36222 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36225 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36227 (si_call_addr, si_syscall, si_arch): Define new macro.
36228 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36230 (si_call_addr, si_syscall, si_arch): Define new marcro.
36231 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36233 (si_call_addr, si_syscall, si_arch): Define new macro.
36234 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36236 (si_call_addr, si_syscall, si_arch): Define new macro.
36238 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36242 Change to 2.4.21 where previously 2.4.1.
36243 * sysdeps/unix/sysv/linux/configure: Regenerated.
36244 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36245 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36246 Linux kernel version.
36247 (__ASSUME_STD_AUXV): Remove.
36248 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36250 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36251 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36252 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36253 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36254 (__ASSUME_NETLINK_SUPPORT): Likewise.
36255 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36256 (__no_netlink_support): Remove conditional definition.
36257 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36259 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36260 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36261 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36262 (if_nameindex_ioctl): Remove.
36263 (if_nameindex_netlink): Do not handle __no_netlink_support.
36264 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36266 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36267 Remove conditional code.
36268 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36270 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36272 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36273 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36274 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36276 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36277 [!__ASSUME_STD_AUXV]: Remove conditional code.
36278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36279 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36280 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36282 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36283 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36285 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36287 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36288 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36290 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36292 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36295 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36298 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36299 code unconditional.
36300 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36302 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36304 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36307 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36309 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36312 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36313 code unconditional.
36314 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36316 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36318 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36321 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36322 code unconditional.
36323 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36325 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36327 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36330 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36332 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36333 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36334 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36335 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36336 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36337 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36338 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36339 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36340 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36341 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36342 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36343 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36344 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36345 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36346 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36347 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36348 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36349 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36350 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36352 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36353 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36354 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36356 2012-07-25 Florian Weimer <fweimer@redhat.com>
36358 * Versions.def: Add GLIBC_2.17.
36359 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36360 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36361 Introduce __libc_secure_getenv.
36362 * stdlib/Versions (2.17): Add secure_getenv
36363 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36364 * stdlib/secure-getenv.c: Rename __secure_getenv to
36365 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36366 symbol __secure_getenv for GLIBC_2.0.
36367 * stdlib/tst-secure-getenv.c: New.
36368 * stdlib/Makefile (tests): Add testcase.
36369 * manual/startup.texi (Environment Access): Document
36371 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36372 __libc_secure_getenv.
36373 * inet/ruserpass.c (ruserpass): Likewise.
36374 * malloc/mtrace.c (mtrace): Likewise.
36375 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36376 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36377 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36378 * sysdeps/posix/tempname.c: Likewise. Evaluate
36379 HAVE_SECURE_GETENV.
36380 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36381 __secure_getenv to __libc_secure_getenv.
36382 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36389 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36395 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36397 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36398 (struct La_i86_retval): Likewise.
36399 (struct La_x86_64_regs): Likewise.
36400 (struct La_x86_64_retval): Likewise.
36401 (struct La_x32_regs): Likewise.
36402 (struct La_x32_retval): Likewise.
36403 (struct La_ppc32_regs): Likewise.
36404 (struct La_ppc32_retval): Likewise.
36405 (struct La_ppc64_regs): Likewise.
36406 (struct La_ppc64_retval): Likewise.
36407 (struct La_sh_regs): Likewise.
36408 (struct La_sh_retval): Likewise.
36409 (struct La_s390_32_regs): Likewise.
36410 (struct La_s390_32_retval): Likewise.
36411 (struct La_s390_64_regs): Likewise.
36412 (struct La_s390_64_retval): Likewise.
36413 (struct La_sparc32_regs): Likewise.
36414 (struct La_sparc32_retval): Likewise.
36415 (struct La_sparc64_regs): Likewise.
36416 (struct La_sparc64_retval): Likewise.
36417 (struct audit_ifaces): Remove architecture-specific pltenter and
36419 * sysdeps/i386/ldsodefs.h: New file.
36420 * sysdeps/powerpc/ldsodefs.h: Likewise.
36421 * sysdeps/s390/ldsodefs.h: Likewise.
36422 * sysdeps/sh/ldsodefs.h: Likewise.
36423 * sysdeps/sparc/ldsodefs.h: Likewise.
36424 * sysdeps/x86_64/ldsodefs.h: Likewise.
36426 2012-07-25 Marek Polacek <polacek@redhat.com>
36429 * math/libm-test.inc (yn_test): Add another test.
36430 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36431 to ERANGE when the result is +-Inf.
36432 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36433 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36434 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36435 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36437 2012-07-24 Joseph Myers <joseph@codesourcery.com>
36439 * conform/data/time.h-data (NULL): Use macro-constant. Require
36441 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36443 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36445 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36447 * configure.in <sysdeps resolving>: Correct printing
36449 * configure: Regenerate.
36451 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36453 * math/w_ilogb.c: Include <limits.h>.
36454 * math/w_ilogbl.c: Likewise.
36456 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36458 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36459 va_copy. Document allowing for unavailable va_copy only as
36460 pre-C99 compatibility.
36461 * manual/string.texi (Copying and Concatenation): Use va_copy
36462 instead of __va_copy in concat example.
36464 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36466 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36467 (__sendto): Use create_address_port. Initialize APORT and deallocate
36470 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36471 with O_NOLINK passed to __file_name_lookup.
36473 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36474 with O_NOLINK passed to __file_name_lookup.
36476 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36477 negative N or less than NGIDS.
36479 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36480 type to string_t. Set ERANGE as errno and return it if NAME is not big
36481 enough. Use memcpy instead of strncpy.
36483 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36485 * elf/Makefile (check-data): Remove.
36486 (localplt.data): New vpath directive.
36487 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36488 instead of $(check-data).
36489 * scripts/data/localplt-generic.data: Move to ...
36490 * sysdeps/generic/localplt.data: ... here.
36491 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36492 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36493 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36496 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36499 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36502 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36505 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36508 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36512 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36514 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36515 PPC32 and PPC64 files.
36516 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36517 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36519 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36521 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36522 __makecontext_ret to ...
36523 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36524 ... here and call exit if uc_link is NULL. New file.
36525 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36526 __makecontext_ret.S.
36527 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36528 __makecontext_ret to ...
36529 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36530 ... here and call exit if uc_link is NULL. New file.
36531 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36532 __makecontext_ret.S.
36534 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36536 * elf/elf.h (R_390_IRELATIVE): New definition.
36537 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36538 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36539 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36540 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36541 (elf_machine_lazy_rel): Likewise.
36542 * sysdeps/s390/dl-irel.h: New file.
36543 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36544 * sysdeps/s390/s390-64/memset.S: New asm code.
36545 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36546 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36547 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36548 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36549 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36550 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36551 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36552 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36553 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36554 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36555 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36556 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36557 * sysdeps/s390/s390-32/memset.S: New asm code.
36558 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36560 2012-07-17 Marek Polacek <polacek@redhat.com>
36563 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36564 * sysdeps/s390/s390-64/configure.in: Likewise.
36565 * sysdeps/sparc/configure.in: Likewise.
36566 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36567 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36568 * sysdeps/i386/configure.in: Likewise.
36569 * sysdeps/x86_64/configure.in: Likewise.
36570 * sysdeps/sh/configure.in: Likewise.
36571 * sysdeps/s390/s390-32/configure: Regenerated.
36572 * sysdeps/s390/s390-64/configure: Likewise.
36573 * sysdeps/x86_64/configure: Likewise.
36574 * sysdeps/sh/configure: Likewise.
36575 * sysdeps/powerpc/powerpc64/configure: Likewise.
36576 * sysdeps/powerpc/powerpc32/configure: Likewise.
36577 * sysdeps/sparc/configure: Likwise.
36578 * sysdeps/i386/configure: Likewise.
36580 * elf/dl-open.c: Comment fixes.
36582 2012-07-17 Joseph Myers <joseph@codesourcery.com>
36584 * Makefile [CXX] (check-data): Remove.
36585 [CXX] (c++-types.data): New vpath directive.
36586 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36587 vpath. Do not allow for C++ type data being missing.
36588 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36589 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36590 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36591 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36592 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36593 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36594 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36597 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36600 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36603 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36606 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36609 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36612 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36615 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36618 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36619 definitions to architecture-specific files.
36620 (TLS_IE): Likewise.
36621 (TLS_LD): Likewise.
36622 (TLS_GD): Likewise.
36623 * sysdeps/i386/tls-macros.h: New file.
36624 * sysdeps/powerpc/tls-macros.h: Likewise.
36625 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36626 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36627 * sysdeps/sh/tls-macros.h: Likewise.
36628 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36629 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36630 * sysdeps/x86_64/tls-macros.h: Likewise.
36632 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36634 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36635 zero value for regular exit case.
36637 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36638 (__start_context): Preserve zero value for regular exit case.
36640 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36641 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36643 * manual/setjmp.texi (setcontext): Clarify normal process
36644 termination when uc_link is the null pointer.
36645 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36648 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36650 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36651 preprocessor. Test for each exception mask separately.
36653 2012-07-16 Andreas Jaeger <aj@suse.de>
36655 * po/ru.po: Update from translation team.
36657 2012-07-15 Joseph Myers <joseph@codesourcery.com>
36659 * conform/data/string.h-data (NULL): Use macro-constant. Require
36661 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36662 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36663 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36664 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36665 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36667 2012-07-13 Andreas Jaeger <aj@suse.de>
36669 * po/fr.po: Update from translation team.
36671 2012-07-12 Marek Polacek <polacek@redhat.com>
36674 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36675 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36678 2012-07-12 Joseph Myers <joseph@codesourcery.com>
36681 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36682 Change to 2.4.1 where previously 2.4.0.
36683 * sysdeps/unix/sysv/linux/configure: Regenerated.
36684 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36685 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36687 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36688 (__ASSUME_AT_CLKTCK): Remove.
36689 (__ASSUME_AT_PAGESIZE): Likewise.
36690 (__ASSUME_AT_XID): Likewise.
36691 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36692 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36693 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36695 (HAVE_AUX_PAGESIZE): Likewise.
36696 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36697 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36698 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36700 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36704 the temporary buffer used to invoke __gethostbyname2_r,
36705 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36706 host_data / struct gaih_addrtuple.
36707 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36708 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36709 header file nss/nsswitch.h.
36710 * nss/nsswitch.h (global scope): Add definition of implementation
36711 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36712 resolv/nss_dns/dns-host.c).
36714 2012-07-11 Andreas Jaeger <aj@suse.de>
36716 * po/fr.po: Update from translation team.
36718 * po/sv.po: Update from translation team
36719 * po/fr.po: Another update from translation team.
36721 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36723 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36724 for subnormals or multiply small sinh result by itself.
36725 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36728 2012-07-11 David S. Miller <davem@davemloft.net>
36730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36732 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36735 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36736 (INTERNAL_MARK): Shift it here.
36738 2012-07-10 Marek Polacek <polacek@redhat.com>
36741 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36742 libc_cv_asm_global_directive with .globl.
36743 * configure: Regenerated.
36744 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36746 * sysdeps/i386/configure: Regenerated.
36747 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36749 * sysdeps/x86_64/configure: Regenerated.
36750 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36751 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36752 * elf/tst-unique2mod2.c: Likewise.
36753 * elf/tst-unique2mod1.c: Likewise.
36754 * elf/tst-unique1mod2.c: Likewise.
36755 * elf/tst-unique1mod1.c: Likewise.
36756 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36757 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36758 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36759 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36760 * sysdeps/mach/sysdep.h: Likewise.
36761 * sysdeps/i386/sysdep.h: Likewise.
36762 * sysdeps/i386/i386-mcount.S: Likewise.
36763 * sysdeps/x86_64/_mcount.S: Likewise.
36764 * sysdeps/x86_64/sysdep.h: Likewise.
36765 * sysdeps/sh/_mcount.S: Likewise.
36766 * sysdeps/sh/sysdep.h: Likewise.
36767 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36768 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36769 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36770 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36771 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36772 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36773 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36774 * locale/localeinfo.h: Likewise.
36775 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36776 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36778 2012-07-09 Roland McGrath <roland@hack.frob.com>
36781 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36783 * manual/message.texi (The Uniforum approach): Likewise.
36784 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36785 (glibc iconv Implementation): Likewise.
36787 2012-07-09 Joseph Myers <joseph@codesourcery.com>
36790 * math/s_clog.c (__clog): Avoid scaling a value down where that
36791 could result in underflow.
36792 * math/s_clog10.c (__clog10): Likewise.
36793 * math/s_clog10f.c (__clog10f): Likewise.
36794 * math/s_clog10l.c (__clog10l): Likewise.
36795 * math/s_clogf.c (__clogf): Likewise.
36796 * math/s_clogl.c (__clogl): Likewise.
36797 * math/libm-test.inc (clog_test): Add more tests.
36798 (clog10_test): Likewise.
36799 * sysdeps/i386/fpu/libm-test-ulps: Update.
36800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36802 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36805 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36806 by 7 not 8 to examine high bit of fractional part.
36809 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36810 for call to __mcount_internal.
36811 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36812 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36813 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36815 2012-07-06 Joseph Myers <joseph@codesourcery.com>
36818 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36819 approximation for values within 0x1p-13f of an odd multiple of
36821 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36822 exception. Add more tests.
36823 * sysdeps/i386/fpu/libm-test-ulps: Update.
36826 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36827 inputs and return -1 for them. Do not check for +Inf in case not
36828 reachable for +Inf.
36829 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36830 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36831 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36832 and return -1 for them. Do not check for +Inf in case not
36833 reachable for +Inf.
36834 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36836 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36837 and return -1 for them. Do not check for +Inf in case not
36838 reachable for +Inf.
36839 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36840 spurious underflow.
36841 * sysdeps/i386/fpu/libm-test-ulps: Update.
36842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36844 2012-07-06 Mike Frysinger <vapier@gentoo.org>
36846 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36848 2012-07-05 Joseph Myers <joseph@codesourcery.com>
36852 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36853 could result in spurious underflow. Scale down values above
36854 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36855 * math/s_csqrtf.c (__csqrtf): Likewise.
36856 * math/s_csqrtl.c (__csqrtl): Likewise.
36857 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36858 spurious underflow.
36859 * sysdeps/i386/fpu/libm-test-ulps: Update.
36860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36862 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36864 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36866 * catgets/xopen-msg.awk: New file.
36867 * catgets/xopen-msg.sed: Removed.
36869 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36871 * intl/po2test.awk: New file.
36872 * intl/po2test.sed: Removed.
36874 2012-07-04 Joseph Myers <joseph@codesourcery.com>
36877 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36878 or multiply small sinh result by itself.
36879 * math/s_ctanf.c (__ctanf): Likewise.
36880 * math/s_ctanh.c (__ctanh): Likewise.
36881 * math/s_ctanhf.c (__ctanhf): Likewise.
36882 * math/s_ctanhl.c (__ctanhl): Likewise.
36883 * math/s_ctanl.c (__ctanl): Likewise.
36884 * math/libm-test.inc (ctan_test_tonearest): New function.
36885 (ctan_test_towardzero): Likewise.
36886 (ctan_test_downward): Likewise.
36887 (ctan_test_upward): Likewise.
36888 (ctanh_test_tonearest): Likewise.
36889 (ctanh_test_towardzero): Likewise.
36890 (ctanh_test_downward): Likewise.
36891 (ctanh_test_upward): Likewise.
36892 (main): Call these new functions.
36893 * sysdeps/i386/fpu/libm-test-ulps: Update.
36894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36896 2012-07-03 Mike Frysinger <vapier@gentoo.org>
36898 * .gitignore: Delete /ports entry.
36900 2012-07-03 Andreas Jaeger <aj@suse.de>
36902 * po/bg.po: Update from translation team.
36903 * po/cs.po: Likewise.
36904 * po/de.po: Likewise.
36905 * po/hr.po: Likewise.
36906 * po/nl.pl: Likewise.
36907 * po/pl.po: Likewise.
36908 * po/vi.po: Likewise.
36910 2012-07-03 Joseph Myers <joseph@codesourcery.com>
36912 * Makeconfig [!+link] (+link-before-libc): New variable.
36913 [!+link] (+link-after-libc): Likewise.
36914 [!+link] (+link-tests): Likewise.
36915 [!+link] (+link): Define in terms of $(+link-before-libc) and
36916 $(+link-after-libc).
36917 [!+link-static] (+link-static-before-libc): New variable.
36918 [!+link-static] (+link-static-after-libc): Likewise.
36919 [!+link-static] (+link-static-tests): Likewise.
36920 [!+link-static] (+link-static): Define in terms of
36921 $(+link-static-before-libc) and $(+link-static-after-libc).
36922 [build-shared] (link-libc-before-gnulib): New variable.
36923 [build-shared] (link-libc-tests): Likewise.
36924 [build-shared] (link-libc): Define in terms of
36925 $(link-libc-before-gnulib).
36926 [!build-shared] (link-libc-tests): New variable.
36927 (link-libc-static-tests): New variable.
36928 [!gnulib] (gnulib-arch): New variable.
36929 [!gnulib] (gnulib-tests): Likewise.
36930 [!gnulib] (static-gnulib-arch): Likewise.
36931 [!gnulib] (static-gnulib-tests): Likewise.
36932 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
36933 Define with "=" instead of ":=".
36934 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
36935 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
36936 * Rules (binaries-all-notests): New variable.
36937 (binaries-all-tests): Likewise.
36938 (binaries-static-notests): Likewise.
36939 (binaries-static-tests): Likewise.
36940 (binaries-all): Define using $(binaries-all-notests) and
36941 $(binaries-all-tests).
36942 (binaries-static): Define using $(binaries-static-notests) and
36943 $(binaries-static-tests).
36944 (binaries-shared-tests): New variable.
36945 (binaries-shared-notests): Likewise.
36946 (binaries-shared): Remove variable.
36947 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36948 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36949 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36950 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36951 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36952 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36953 * elf/Makefile (sln-modules): New variable.
36954 (extra-objs): Add $(sln-modules:=.o).
36955 (ldconfig-modules): Add static-stubs.
36956 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36957 * elf/static-stubs.c: New file.
36960 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36961 by 7 not 8 to examine high bit of fractional part. Use volatile
36962 variables when splitting into final array of floats if
36963 __FLT_EVAL_METHOD__ != 0.
36964 * math/libm-test.inc (cos_test): Add another test.
36965 (sin_test): Likewise.
36966 * sysdeps/i386/fpu/libm-test-ulps: Update.
36969 * math/libm-test.inc (cosh_test): Add more tests.
36971 * version.h (RELEASE): Set to "development".
36972 (VERSION): Set to "2.16.90".
36974 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36976 * NEWS: Update copyright. Remove last-updated date.
36977 Mention math library bug fixes and timezone data changes.
36978 * README: Mention GNU/Hurd, x32, and HPPA support status.
36980 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36982 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36984 2012-06-27 Andreas Jaeger <aj@suse.de>
36986 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36988 2012-06-25 Andreas Jaeger <aj@suse.de>
36990 * sysdeps/s390/fpu/libm-test-ulps: Update.
36992 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36993 Thomas Schwinge <thomas@codesourcery.com>
36995 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36996 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36997 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37000 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37002 * sysdeps/mach/start.c: Remove file.
37003 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37004 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37005 * sysdeps/sh/init-first.c: Likewise.
37007 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37008 registers for frame unwinding purposes, add CFI directives.
37009 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37010 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37011 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37014 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37015 __fortify_fail returning.
37016 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37018 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37019 sysdeps/sh/____longjmp_chk.S.
37020 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37021 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37022 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37023 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37025 * sysdeps/sh/abort-instr.h: New file.
37026 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37027 process in case exit returns.
37029 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37030 initialize the GOT register before use.
37032 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37033 calculation of ARGC > 4.
37035 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37036 meaningful names to some local labels.
37038 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37039 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37041 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37042 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37043 (__arch_compare_and_exchange_val_16_acq): Likewise.
37044 (__arch_compare_and_exchange_val_32_acq): Likewise.
37045 (atomic_exchange_and_add): Fix gUSA sequence.
37046 (atomic_add): Likewise.
37047 (atomic_add_negative): Likewise.
37048 (atomic_add_zero): Likewise.
37049 (atomic_bit_test_set): Likewise.
37051 2012-06-22 Andreas Schwab <schwab@redhat.com>
37054 * include/link.h (struct link_map): Add l_free_initfini.
37055 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37057 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37058 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37059 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37062 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37064 * configure.in: Use AC_LANG_SOURCE.
37065 * configure: Regenerate.
37067 2012-06-22 Roland McGrath <roland@hack.frob.com>
37069 * configure.in (libc_cv_localstatedir): New substituted variable.
37070 * configure: Regenerated.
37071 * config.make.in (localstatedir): New variable, substituted from
37072 libc_cv_localstatedir.
37073 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37074 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37075 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37076 * sysdeps/gnu/configure: Regenerated.
37078 2012-06-21 Jeff Law <law@redhat.com>
37081 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37082 free. Simplify list management for _LIBC case.
37084 2012-06-21 Joseph Myers <joseph@codesourcery.com>
37087 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37088 Clear sign bit of 64-bit integer value before comparing against
37091 * sysdeps/mach/configure: Regenerated.
37093 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37096 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37098 2012-06-21 Jeff Law <law@redhat.com>
37101 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37102 uint16_t for elements in the "seen" array to avoid char overflows.
37103 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37104 * elf/dl-open.c (dl_open_worker): Likewise.
37106 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37108 * scripts/list-sources.sh: Scan PORTS for translations.
37109 * po/libc.pot: Regenerated.
37111 2012-06-21 Andreas Jaeger <aj@suse.de>
37114 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37116 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37117 * bits/byteswap-16.h (__bswap_16): Likewise.
37118 * bits/byteswap.h (__bswap_constant_16): Likewise.
37120 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37123 * sysdeps/i386/fpu_control.h: Removed.
37124 * sysdeps/x86_64/fpu_control.h: Moved to ...
37125 * sysdeps/x86/fpu_control.h: Here.
37127 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37128 (_FPU_SETCW): Likewise.
37130 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37133 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37134 * sysdeps/x86/fpu/bits/mathinline.h: This.
37135 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37139 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37140 functions if __x86_64__ is defined.
37142 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37144 * string/endian.h: Add !__ASSEMBLER__ condition for including
37145 conversion interfaces.
37147 2012-06-15 Joseph Myers <joseph@codesourcery.com>
37150 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37151 of ABS(x) in calculating zero to negative powers other than odd
37153 * math/libm-test.inc (pow_test): Add more tests.
37155 2012-06-15 Andreas Jaeger <aj@suse.de>
37157 * manual/contrib.texi (Contributors): Update entry of Liubov
37158 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37161 2012-06-15 Cyril Hrubis <metan@ucw.cz>
37163 * string/string.h: Add __wur to GNU version of strerror_r.
37165 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37168 * string/Makefile (tests): Add tst-strtok_r.
37169 * string/tst-strtok_r.c: New file.
37170 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37171 RAX_LP/RDX_LP on SAVE_PTR.
37173 2012-06-14 Roland McGrath <roland@hack.frob.com>
37175 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37177 2012-06-14 Joseph Myers <joseph@codesourcery.com>
37179 * libm_test.inc (csqrt_test): Allow more spurious underflow
37181 (j0_test): Likewise.
37182 (j1_test): Likewise.
37183 (y0_test): Likewise.
37184 (y1_test): Likewise.
37186 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37188 * po/Makefile (libc.pot): Use UTF-8 charset.
37190 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37193 Suppress sign-conversion warning from FD_SET.
37194 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37195 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37196 not unsigned long int.
37197 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37199 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37203 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37204 __extern_always_inline instead of __extern_inline.
37205 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37206 (__signbit): Likewise.
37207 (__signbitl): Support C++ namespace.
37208 (lrintf): New inline function.
37210 (llrintf): Likewise.
37211 (llrint): Likewise.
37221 (floorf): Likewise.
37222 (nearbyint): Likewise.
37223 (nearbyintf): Likewise.
37225 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37227 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37228 non-default versions.
37230 2012-06-11 Roland McGrath <roland@hack.frob.com>
37233 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37235 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37237 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37238 (FE_UPWARD, FE_DOWNWARD): Don't define.
37239 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37240 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37242 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37244 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37245 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37247 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37249 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37250 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37251 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37252 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37254 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37257 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37258 * sysdeps/i386/fpu/Implies: New file.
37259 * sysdeps/x86_64/fpu/Implies: Likewise.
37260 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37261 * sysdeps/x86/fpu/bits/fenv.h: This.
37263 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37266 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37269 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37270 character 0xffff that matches the last element of the
37273 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37275 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37278 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37280 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37281 values higher than 25.6283.
37283 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37285 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37286 subnormal exponent extraction and add some __builtin_expect.
37287 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37288 Fix for subnormal mantissa calculation.
37290 2012-06-04 Mike Frysinger <vapier@gentoo.org>
37292 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37293 cpu2 is -1 and errno is not ENOSYS.
37295 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37298 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37299 * sysdeps/x86/bits/string.h: This.
37300 * sysdeps/x86_64/bits/string.h: Removed.
37302 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37303 if not compiling for x86-64, but compiling for >= i486.
37305 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37306 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37308 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37309 New macro from Linux kernel 3.4.0.
37310 (FP_XSTATE_MAGIC2): Likewise.
37311 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37312 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37313 (struct _fpx_sw_bytes): New struct.
37314 (struct _xsave_hdr): Likewise.
37315 (struct _ymmh_state): Likewise.
37316 (struct _xstate): Likewise.
37318 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37319 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37320 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37321 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37322 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37323 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37325 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37326 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37327 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37328 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37329 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37330 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37332 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37335 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37336 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37337 (sysdep_headers): Include sys/platform/ppc.h.
37338 * sysdeps/powerpc/test-gettimebase.c: Test for
37339 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37340 * manual/Makefile (appendices): Include platform.texi.
37341 * manual/contrib.texi (Contributors): Update @node pointers.
37342 * manual/maint.texi (Maintenance): Likewise.
37343 (Platform): New node.
37344 * manual/platform.texi: New file. Document the new features.
37346 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37347 Jakub Jelinek <jakub@redhat.com>
37350 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37351 where __builtin_expect is unavailable.
37353 2012-06-03 David S. Miller <davem@davemloft.net>
37355 * stdlib/longlong.h: Updated from GCC.
37357 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37360 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37361 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37364 (GLIBC_2.16): Likewise.
37366 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37368 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37370 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37373 (default-abi): New variable.
37374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37375 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37377 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37379 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37381 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37384 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37385 definition. Document in comment.
37387 2012-06-01 David S. Miller <davem@davemloft.net>
37389 * stdlib/longlong.h: Updated from GCC.
37391 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37394 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37395 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37396 sys/debugreg.h sys/io.h here.
37397 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37398 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37400 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37401 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37402 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37403 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37404 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37405 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37407 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37408 Define only if __x86_64__ is defined.
37410 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37413 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37414 Use int64_t for variable i.
37415 * math/libm-test.inc (fmod_test): Add more tests.
37417 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37418 z computation is not scheduled after fetestexcept.
37419 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37420 Use math_force_eval instead of asm to ensure calculation scheduled
37421 before exception test.
37422 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37423 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37425 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37428 computation is not scheduled after fetestexcept.
37430 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37433 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37434 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37436 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37438 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37439 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37441 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37444 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37446 (__WCHAR_MIN): Support __WORDSIZE == 64.
37447 (__WCHAR_MAX): Likewise.
37449 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37450 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37453 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37454 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37457 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37458 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37460 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37461 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37463 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37464 Defined to 1 if __x86_64__ isn't defined.
37465 (_STAT_VER_LINUX_OLD): New.
37466 (st_atime): Remove duplicate.
37467 (st_mtime): Likewise.
37468 (st_ctime): Likewise.
37470 2012-05-31 David S. Miller <davem@davemloft.net>
37472 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37475 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37477 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37481 * elf/dl-reloc.c: Include <_itoa.h>.
37482 (_dl_reloc_bad_type): Remove use of INTUSE.
37483 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37484 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37485 * stdio-common/psiginfo.c (psiginfo): Likewise.
37486 * stdio-common/psignal.c (psignal): Likewise.
37487 * string/strsignal.c (strsignal): Likewise.
37488 * include/signal.h (_sys_siglist): Declare hidden proto.
37489 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37490 INTVARDEF with libc_hidden_data_def.
37491 * stdio-common/itoa-udigits.c: Likewise.
37492 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37493 (_itoa_lower_digits_internal): Remove declaration.
37494 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37495 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37496 (_sys_sigabbrev_internal): Remove aliases.
37497 (_sys_siglist): Define hidden alias.
37499 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37504 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37507 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37508 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37510 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37511 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37512 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37513 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37515 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37517 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37518 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37519 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37521 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37529 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37530 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37531 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37533 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37534 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37535 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37536 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37537 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37538 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37540 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37541 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37543 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37544 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37546 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37548 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37550 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37551 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37553 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37555 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37556 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37557 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37559 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37561 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37563 2012-05-31 Joseph Myers <joseph@codesourcery.com>
37565 * math/math.h (M_El): Use two more decimal places.
37566 (M_LOG2El): Likewise.
37567 (M_LOG10El): Likewise.
37568 (M_LN2l): Likewise.
37569 (M_LN10l): Likewise.
37571 (M_PI_2l): Likewise.
37572 (M_PI_4l): Likewise.
37573 (M_1_PIl): Likewise.
37574 (M_2_PIl): Likewise.
37575 (M_2_SQRTPIl): Likewise.
37576 (M_SQRT2l): Likewise.
37577 (M_SQRT1_2l): Likewise.
37579 2012-05-31 David S. Miller <davem@davemloft.net>
37581 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37582 values between float registers.
37583 * sysdeps/sparc/sparc64/memset.S: Likewise.
37584 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37586 2012-05-31 Mike Frysinger <vapier@gentoo.org>
37588 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37589 -D_FORTIFY_SOURCE=1.
37590 (CPPFLAGS-tst-longjmp_chk.c): Define.
37591 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37592 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37593 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37594 CFLAGS-tst-wchar-h.c.
37596 2012-05-31 Marek Polacek <polacek@redhat.com>
37599 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37600 __endmntent_internal): Remove declaration.
37601 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37602 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37603 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37605 2012-05-30 David S. Miller <davem@davemloft.net>
37607 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37608 (___Q_simulate_exceptions): Use real FP ops rather than writing
37610 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37613 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37616 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37617 * sysdeps/x86/bits/xtitypes.h: This.
37619 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37620 * sysdeps/x86/bits/wordsize.h: This.
37622 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37623 * sysdeps/x86/bits/huge_vall.h: This.
37625 * sysdeps/i386/bits/select.h: Removed.
37626 * sysdeps/x86_64/bits/select.h: Renamed to ...
37627 * sysdeps/x86/bits/select.h: This.
37629 * sysdeps/i386/bits/setjmp.h: Removed.
37630 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37631 * sysdeps/x86/bits/setjmp.h: This.
37633 * sysdeps/i386/bits/mathdef.h: Removed.
37634 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37635 * sysdeps/x86/bits/mathdef.h: This.
37637 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37640 * include/sys/socket.h (__connect_internal)
37641 (__libc_sa_len_internal): Remove declaration.
37642 (__connect, __libc_sa_len): Declare hidden_proto.
37643 (SA_LEN): Remove use of INTUSE.
37644 * socket/connect.c: Add libc_hidden_def.
37645 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37646 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37647 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37649 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37650 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37651 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37652 of adding _internal alias.
37654 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37657 * sysdeps/i386/bits/link.h: Removed.
37658 * sysdeps/i386/bits/linkmap.h: Likewise.
37659 * sysdeps/x86_64/bits/link.h: Renamed to ...
37660 * sysdeps/x86/bits/link.h: This.
37661 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37662 * sysdeps/x86/bits/linkmap.h: This.
37664 * sysdeps/i386/bits/endian.h: Removed.
37665 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37666 * sysdeps/x86/bits/endian.h: This.
37668 * sysdeps/i386/bits/byteswap.h: Removed.
37669 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37670 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37671 * sysdeps/x86/bits/byteswap.h: This.
37672 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37673 * sysdeps/x86/bits/byteswap-16.h: This.
37674 * sysdeps/i386/Implies: Add x86.
37675 * sysdeps/x86_64/Implies: Likewise.
37677 2012-05-30 David S. Miller <davem@davemloft.net>
37679 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37680 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37681 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37682 (FP_TRAPPING_EXCEPTIONS): Define.
37683 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37684 (FP_TRAPPING_EXCEPTIONS): Define.
37685 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37686 subnormals only when inexact has been signalled or underflow
37687 exceptions are enabled.
37688 (_FP_PACK_CANONICAL): Likewise.
37690 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37693 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37694 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37696 2012-05-30 Richard Henderson <rth@twiddle.net>
37698 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37699 with #ifndef NOT_IN_libc.
37701 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37702 marked to avoid plt entry.
37704 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37707 * Makeconfig (default-abi): New macro.
37708 (abi-includes): Likewise.
37709 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37710 $(abi-$(default-abi)-lib-soname) for soname if defined.
37711 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37713 * Makefile (installed-stubs): Likewise.
37714 * include/stubs-biarch.h: Removed.
37715 * scripts/lib-names.awk: Only handle one library at a time.
37716 * scripts/soversions.awk: Remove WORDSIZE support.
37717 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37719 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37721 (syscall-list-default-condition): Likewise.
37722 (syscall-list-default-condition): Likewise.
37723 (syscall-list-includes): Likewise.
37724 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37725 syscall-list-* with abi-*. Handle undefined abi-variants.
37726 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37727 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37728 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37729 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37730 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37731 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37733 (syscall-list-32-options): Likewise.
37734 (syscall-list-32-condition): Likewise.
37735 (syscall-list-64-options): Likewise.
37736 (syscall-list-64-condition): Likewise.
37737 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37739 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37742 (abi-64-ld-soname): New macro.
37743 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37744 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37747 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37748 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37750 2012-05-30 Joseph Myers <joseph@codesourcery.com>
37752 * sysdeps/unix/sysv/linux/kernel-features.h
37753 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37754 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37755 include <kernel-features.h>.
37756 [!__NR_ftruncate64]: Remove conditional code.
37757 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37758 [__NR_ftruncate64]: Make code unconditional.
37759 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37760 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37761 include <kernel-features.h>.
37762 [!__NR_ftruncate64]: Remove conditional code.
37763 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37764 [__NR_ftruncate64]: Make code unconditional.
37765 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37767 include <kernel-features.h>.
37768 [!__NR_ftruncate64]: Remove conditional code.
37769 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37770 [__NR_ftruncate64]: Make code unconditional.
37771 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37773 include <kernel-features.h>.
37774 [!__NR_ftruncate64]: Remove conditional code.
37775 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37776 [__NR_ftruncate64]: Make code unconditional.
37777 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37779 * configure.in (libc_cv_fpie): Weaken to a compile test using
37780 LIBC_TRY_CC_OPTION.
37781 * configure: Regenerated.
37783 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37798 2012-05-27 David S. Miller <davem@davemloft.net>
37800 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37802 (__Q_simulate_exceptions): Return void. Change to simulate
37803 exceptions by writing into the %fsr.
37804 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37805 (__Qp_handle_exceptions): Likewise.
37807 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37808 __Qp_handle_exceptions.
37809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37810 __Qp_handle_exceptions.
37811 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37812 as unused and give dummy FP_RND_NEAREST initializer.
37813 (FP_INHIBIT_RESULTS): Define.
37814 (___Q_simulate_exceptions): Update declaration.
37815 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37817 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37818 as unused and give dummy FP_RND_NEAREST initializer.
37819 (__Qp_handle_exceptions): Update declaration.
37820 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37823 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37825 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37826 the temporary FPU control word.
37827 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37828 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37829 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37830 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37831 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37832 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37833 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37834 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37835 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37836 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37837 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37839 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37841 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37844 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37846 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37847 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37848 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37849 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37851 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37852 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37855 2012-05-27 Ulrich Drepper <drepper@gmail.com>
37857 * po/h.po: Update from translation team.
37859 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37861 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37863 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37864 handling of denormals.
37865 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37866 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37867 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37868 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37869 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37870 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37874 2012-05-26 Marek Polacek <polacek@redhat.com>
37877 * math/libm-test.inc (fma_test): Don't always expect underflow
37880 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37883 * elf/tst-execstack.c: Include stackinfo.h.
37884 (do_test): Adjust test case to ensure that pthread_getattr_np
37885 behaviour remains the same after marking stack executable.
37887 2012-05-25 Joseph Myers <joseph@codesourcery.com>
37889 * sysdeps/unix/sysv/linux/kernel-features.h
37890 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37891 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37893 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37894 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37895 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37897 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37898 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37900 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
37902 * configure.in: Define the default includes to being none.
37903 * configure: Regenerated.
37905 2012-05-25 Roland McGrath <roland@hack.frob.com>
37907 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37908 * sysdeps/x86_64/setjmp.S: Likewise.
37909 * sysdeps/i386/bsd-setjmp.S: Likewise.
37910 * sysdeps/i386/bsd-_setjmp.S: Likewise.
37911 * sysdeps/i386/setjmp.S: Likewise.
37912 * sysdeps/i386/__longjmp.S: Likewise.
37913 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37914 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37916 * include/stap-probe.h: New file.
37917 * configure.in: Handle --enable-systemtap.
37918 * configure: Regenerated.
37919 * config.h.in (USE_STAP_PROBE): New #undef.
37920 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37921 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37922 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37924 2012-05-25 Joseph Myers <joseph@codesourcery.com>
37927 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37928 to 2.4.0 where earlier.
37929 * sysdeps/unix/sysv/linux/configure: Regenerated.
37930 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37931 <kernel-features.h>.
37932 [__ASSUME_32BITUIDS]: Make code unconditional.
37933 [!__ASSUME_32BITUIDS]: Remove conditional code.
37934 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37935 <kernel-features.h>.
37936 [__ASSUME_32BITUIDS]: Make code unconditional.
37937 [!__ASSUME_32BITUIDS]: Remove conditional code.
37938 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37939 [__ASSUME_32BITUIDS]: Make code unconditional.
37940 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37941 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37942 <kernel-features.h>.
37943 [__ASSUME_32BITUIDS]: Make code unconditional.
37944 [!__ASSUME_32BITUIDS]: Remove conditional code.
37945 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37946 <kernel-features.h>.
37947 [__ASSUME_32BITUIDS]: Make code unconditional.
37948 [!__ASSUME_32BITUIDS]: Remove conditional code.
37949 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37950 <kernel-features.h>.
37951 [__ASSUME_32BITUIDS]: Make code unconditional.
37952 [!__ASSUME_32BITUIDS]: Remove conditional code.
37953 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37954 <kernel-features.h>.
37955 [__ASSUME_32BITUIDS]: Make code unconditional.
37956 [!__ASSUME_32BITUIDS]: Remove conditional code.
37957 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37958 <kernel-features.h>.
37959 [__ASSUME_32BITUIDS]: Make code unconditional.
37960 [!__ASSUME_32BITUIDS]: Remove conditional code.
37961 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37962 <kernel-features.h>.
37963 [__ASSUME_32BITUIDS]: Make code unconditional.
37964 [!__ASSUME_32BITUIDS]: Remove conditional code.
37965 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37966 <kernel-features.h>.
37967 [__ASSUME_32BITUIDS]: Make code unconditional.
37968 [!__ASSUME_32BITUIDS]: Remove conditional code.
37969 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37970 <kernel-features.h>.
37971 [__ASSUME_32BITUIDS]: Make code unconditional.
37972 [!__ASSUME_32BITUIDS]: Remove conditional code.
37973 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37974 <kernel-features.h>.
37975 [__ASSUME_32BITUIDS]: Make code unconditional.
37976 [!__ASSUME_32BITUIDS]: Remove conditional code.
37977 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37978 <kernel-features.h>.
37979 [__ASSUME_32BITUIDS]: Make code unconditional.
37980 [!__ASSUME_32BITUIDS]: Remove conditional code.
37981 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37982 <kernel-features.h>.
37983 [__NR_setresgid] (__setresgid): Do not declare.
37984 [__ASSUME_32BITUIDS]: Make code unconditional.
37985 [!__ASSUME_32BITUIDS]: Remove conditional code.
37986 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37987 <kernel-features.h>.
37988 [__NR_setresuid] (__setresuid): Do not declare.
37989 [__ASSUME_32BITUIDS]: Make code unconditional.
37990 [!__ASSUME_32BITUIDS]: Remove conditional code.
37991 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37992 <kernel-features.h>.
37993 [__ASSUME_32BITUIDS]: Make code unconditional.
37994 [!__ASSUME_32BITUIDS]: Remove conditional code.
37995 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37996 <kernel-features.h>.
37997 [__ASSUME_32BITUIDS]: Make code unconditional.
37998 [!__ASSUME_32BITUIDS]: Remove conditional code.
37999 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38000 <kernel-features.h>.
38001 [__ASSUME_32BITUIDS]: Make code unconditional.
38002 [!__ASSUME_32BITUIDS]: Remove conditional code.
38003 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38004 <kernel-features.h>.
38005 [__ASSUME_32BITUIDS]: Make code unconditional.
38006 [!__ASSUME_32BITUIDS]: Remove conditional code.
38007 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38008 <kernel-features.h>.
38009 [__ASSUME_32BITUIDS]: Make code unconditional.
38010 [!__ASSUME_32BITUIDS]: Remove conditional code.
38011 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38012 <kernel-features.h>.
38013 [__ASSUME_32BITUIDS]: Make code unconditional.
38014 [!__ASSUME_32BITUIDS]: Remove conditional code.
38015 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38016 <kernel-features.h>.
38017 [__ASSUME_32BITUIDS]: Make code unconditional.
38018 [!__ASSUME_32BITUIDS]: Remove conditional code.
38019 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38020 <kernel-features.h>.
38021 [__ASSUME_32BITUIDS]: Make code unconditional.
38022 [!__ASSUME_32BITUIDS]: Remove conditional code.
38023 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38024 <kernel-features.h>.
38025 [__ASSUME_32BITUIDS]: Make code unconditional.
38026 [!__ASSUME_32BITUIDS]: Remove conditional code.
38027 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38028 <kernel-features.h>.
38029 [__ASSUME_32BITUIDS]: Make code unconditional.
38030 [!__ASSUME_32BITUIDS]: Remove conditional code.
38031 * sysdeps/unix/sysv/linux/kernel-features.h
38032 (__ASSUME_SETRESUID_SYSCALL): Remove.
38033 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38034 (__ASSUME_32BITUIDS): Likewise.
38035 (__ASSUME_LDT_WORKS): Likewise.
38036 (__ASSUME_O_DIRECTORY): Likewise.
38037 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38038 architecture but not kernel version.
38039 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38040 (__ASSUME_MMAP2_SYSCALL): Likewise.
38041 (__ASSUME_STAT64_SYSCALL): Likewise.
38042 (__ASSUME_IPC64): Likewise.
38043 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38044 <kernel-features.h>.
38045 [__ASSUME_32BITUIDS]: Make code unconditional.
38046 [!__ASSUME_32BITUIDS]: Remove conditional code.
38047 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38048 <kernel-features.h>.
38049 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38050 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38051 132096]: Remove conditional code.
38052 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38053 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38054 <kernel-features.h>.
38055 [__ASSUME_32BITUIDS]: Make code unconditional.
38056 [!__ASSUME_32BITUIDS]: Remove conditional code.
38057 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38058 <kernel-features.h>.
38059 [__ASSUME_32BITUIDS]: Make code unconditional.
38060 [!__ASSUME_32BITUIDS]: Remove conditional code.
38061 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38062 <kernel-features.h>.
38063 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38065 (__setresgid): Do not declare.
38066 [__ASSUME_32BITUIDS]: Make code unconditional.
38067 [!__ASSUME_32BITUIDS]: Remove conditional code.
38068 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38069 <kernel-features.h>.
38070 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38072 (__setresuid): Do not declare.
38073 [__ASSUME_32BITUIDS]: Make code unconditional.
38074 [!__ASSUME_32BITUIDS]: Remove conditional code.
38075 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38076 <kernel-features.h>.
38077 [__ASSUME_32BITUIDS]: Make code unconditional.
38078 [!__ASSUME_32BITUIDS]: Remove conditional code.
38079 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38080 <kernel-features.h>.
38081 [__ASSUME_32BITUIDS]: Make code unconditional.
38082 [!__ASSUME_32BITUIDS]: Remove conditional code.
38084 2012-05-25 Richard Henderson <rth@twiddle.net>
38086 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38087 dl_hwcap to ifunc resolver.
38088 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38090 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38091 dl_hwcap to ifunc resolver.
38092 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38094 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38097 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38098 for |x| <= 2**-26, not 2**-57.
38099 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38102 2012-05-24 Jeff Law <law@redhat.com>
38104 * stdio-common/Makefile (tests): Add bug25.
38105 * stdio-common/bug25.c: New test.
38107 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38110 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38111 multiple of MALLOC_ALIGNMENT in size.
38112 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38114 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38116 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38118 (FILENAME_MAX): Use macro-int-constant.
38119 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38120 (_IOFBF): Use macro-int-constant.
38121 (_IOLBF): Likewise.
38122 (_IONBF): Likewise.
38123 (SEEK_CUR): Likewise.
38124 (SEEK_END): Likewise.
38125 (SEEK_SET): Likewise.
38126 (TMP_MAX): Likewise.
38127 (EOF): Use macro-int-constant. Require < 0.
38128 (NULL): Use macro-constant. Require == 0.
38129 (stdin): Require type to be FILE *.
38130 (stdout): Likewise.
38131 (stderr): Likewise.
38132 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38133 macro-int-constant.
38134 (EXIT_SUCCESS): Likewise.
38135 (NULL): Use macro-constant. Require == 0.
38136 (RAND_MAX): Use macro-int-constant.
38137 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38138 [C99-based standards] (strtof): Require function.
38139 [C99-based standards] (strtold): Likewise.
38140 [C99-based standards] (strtoll): Likewise.
38141 [C99-based standards] (strtoull): Likewise.
38142 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38143 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38144 [ISO || ISO99 || ISO11] (math.h): Likewise.
38145 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38146 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38147 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38149 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38152 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38153 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38154 * intl/dgettext.c (DCGETTEXT): Likewise.
38155 * intl/gettext.c (DCGETTEXT): Likewise.
38156 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38157 * posix/regex_internal.h (gettext): Likewise.
38158 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38159 Remove declaration.
38160 * include/argz.h (__argz_count_internal)
38161 (__argz_stringify_internal): Remove declaration.
38162 (__argz_count, __argz_stringify): Declare hidden proto.
38163 * intl/dcgettext.c: Remove use of INTDEF.
38164 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38165 * string/argz-stringify.c: Likewise.
38166 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38167 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38168 Declare hidden proto.
38169 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38170 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38171 Declare hidden proto.
38172 * include/stdio.h (__asprintf_internal): Don't declare.
38173 (__asprintf): Don't define as macro. Declare hidden proto.
38174 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38175 (__fsetlocking): Declare hidden proto.
38176 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38177 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38179 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38180 (_IO_setlinebuf): Remove use of INTUSE.
38181 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38182 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38183 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38184 Remove declaration.
38185 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38186 (_IO_do_flush): Remove use of INTUSE.
38187 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38188 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38189 (_IO_adjust_column, _IO_least_wmarker)
38190 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38191 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38192 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38193 (_IO_default_doallocate, _IO_wdefault_doallocate)
38194 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38195 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38196 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38197 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38198 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38199 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38200 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38201 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38202 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38203 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38204 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38205 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38206 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38208 (_IO_flush_all_internal, _IO_adjust_column_internal)
38209 (_IO_default_uflow_internal, _IO_default_finish_internal)
38210 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38211 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38212 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38213 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38214 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38215 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38216 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38217 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38218 (_IO_file_close_internal, _IO_file_close_it_internal)
38219 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38220 (_IO_file_init_internal, _IO_file_attach_internal)
38221 (_IO_file_fopen_internal, _IO_file_read_internal)
38222 (_IO_file_sync_internal, _IO_file_seek_internal)
38223 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38224 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38225 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38226 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38227 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38228 (_IO_list_all_internal, _IO_link_in_internal)
38229 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38230 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38231 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38232 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38233 (_IO_do_write_internal, _IO_padn_internal)
38234 (_IO_getline_info_internal, _IO_getline_internal)
38235 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38236 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38237 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38238 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38239 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38240 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38241 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38242 with libc_hidden_ver, remove use of INTUSE.
38243 * libio/genops.c: Likewise.
38244 * libio/freopen.c: Likewise.
38245 * libio/freopen64.c: Likewise.
38246 * libio/iofclose.c: Likewise.
38247 * libio/iofdopen.c: Likewise.
38248 * libio/iofflush.c: Likewise.
38249 * libio/iofflush_u.c: Likewise.
38250 * libio/iofgets.c: Likewise.
38251 * libio/iofgets_u.c: Likewise.
38252 * libio/iofopen.c: Likewise.
38253 * libio/iofopncook.c: Likewise.
38254 * libio/iofread.c: Likewise.
38255 * libio/iofread_u.c: Likewise.
38256 * libio/ioftell.c: Likewise.
38257 * libio/iofwrite.c: Likewise.
38258 * libio/iogetline.c: Likewise.
38259 * libio/iogets.c: Likewise.
38260 * libio/iogetwline.c: Likewise.
38261 * libio/iopadn.c: Likewise.
38262 * libio/iopopen.c: Likewise.
38263 * libio/ioseekoff.c: Likewise.
38264 * libio/ioseekpos.c: Likewise.
38265 * libio/iosetbuffer.c: Likewise.
38266 * libio/iosetvbuf.c: Likewise.
38267 * libio/ioungetc.c: Likewise.
38268 * libio/ioungetwc.c: Likewise.
38269 * libio/iovdprintf.c: Likewise.
38270 * libio/iovsprintf.c: Likewise.
38271 * libio/iovsscanf.c: Likewise.
38272 * libio/memstream.c: Likewise.
38273 * libio/obprintf.c: Likewise.
38274 * libio/oldfileops.c: Likewise.
38275 * libio/oldiofclose.c: Likewise.
38276 * libio/oldiofdopen.c: Likewise.
38277 * libio/oldiofopen.c: Likewise.
38278 * libio/oldiopopen.c: Likewise.
38279 * libio/oldstdfiles.c: Likewise.
38280 * libio/putc.c: Likewise.
38281 * libio/setbuf.c: Likewise.
38282 * libio/setlinebuf.c: Likewise.
38283 * libio/stdfiles.c: Likewise.
38284 * libio/strops.c: Likewise.
38285 * libio/vasprintf.c: Likewise.
38286 * libio/vscanf.c: Likewise.
38287 * libio/vsnprintf.c: Likewise.
38288 * libio/vswprintf.c: Likewise.
38289 * libio/wfiledoalloc.c: Likewise.
38290 * libio/wfileops.c: Likewise.
38291 * libio/wgenops.c: Likewise.
38292 * libio/wmemstream.c: Likewise.
38293 * libio/wstrops.c: Likewise.
38294 * libio/__fpurge.c: Likewise.
38295 * libio/__fsetlocking.c: Likewise.
38296 * assert/assert.c: Likewise.
38297 * debug/fgets_chk.c: Likewise.
38298 * debug/fgets_u_chk.c: Likewise.
38299 * debug/fread_chk.c: Likewise.
38300 * debug/fread_u_chk.c: Likewise.
38301 * debug/gets_chk.c: Likewise.
38302 * debug/obprintf_chk.c: Likewise.
38303 * debug/vasprintf_chk.c: Likewise.
38304 * debug/vdprintf_chk.c: Likewise.
38305 * debug/vsnprintf_chk.c: Likewise.
38306 * debug/vsprintf_chk.c: Likewise.
38307 * malloc/mtrace.c: Likewise.
38308 * misc/error.c: Likewise.
38309 * misc/syslog.c: Likewise.
38310 * stdio-common/asprintf.c: Likewise.
38311 * stdio-common/fxprintf.c: Likewise.
38312 * stdio-common/getw.c: Likewise.
38313 * stdio-common/isoc99_fscanf.c: Likewise.
38314 * stdio-common/isoc99_scanf.c: Likewise.
38315 * stdio-common/isoc99_vfscanf.c: Likewise.
38316 * stdio-common/isoc99_vscanf.c: Likewise.
38317 * stdio-common/isoc99_vsscanf.c: Likewise.
38318 * stdio-common/printf-prs.c: Likewise.
38319 * stdio-common/printf_fp.c: Likewise.
38320 * stdio-common/printf_fphex.c: Likewise.
38321 * stdio-common/printf_size.c: Likewise.
38322 * stdio-common/putw.c: Likewise.
38323 * stdio-common/scanf.c: Likewise.
38324 * stdio-common/sprintf.c: Likewise.
38325 * stdio-common/tmpfile.c: Likewise.
38326 * stdio-common/vfprintf.c: Likewise.
38327 * stdio-common/vfscanf.c: Likewise.
38328 * stdlib/strfmon_l.c: Likewise.
38329 * sunrpc/openchild.c: Likewise.
38330 * sunrpc/xdr_stdio.c: Likewise.
38331 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38332 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38334 2012-05-24 Roland McGrath <roland@hack.frob.com>
38336 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38338 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38339 in the third column, to generate for the shared library an IFUNC
38340 that uses _dl_vdso_vsym.
38341 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38342 * Makeconfig (object-suffixes-noshared): New variable.
38344 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38345 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38346 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38347 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38350 * include/sys/time.h (__gettimeofday): Remove macro.
38351 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38352 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38354 (__gettimeofday): Add libc_hidden_def.
38355 (gettimeofday): Add libc_hidden_weak.
38356 * sysdeps/mach/gettimeofday.c: Likewise.
38357 * sysdeps/posix/gettimeofday.c: Likewise.
38358 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38359 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38360 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38361 (__gettimeofday_internal): Remove strong_alias.
38362 (__gettimeofday): Add libc_hidden_def.
38363 (gettimeofday): Add libc_hidden_weak.
38364 * sysdeps/unix/syscalls.list (gettimeofday):
38365 Remove __gettimeofday_internal alias.
38367 2012-05-24 Daniel Jacobowitz <drow@false.org>
38368 H.J. Lu <hongjiu.lu@intel.com>
38371 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38372 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38373 (largebin_index_32_big): New.
38374 (largebin_index): Use it for 16-byte alignment.
38375 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38376 correction with front_misalign.
38378 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38406 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38407 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38409 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38413 * math/libm-test.inc (exp_test): Add test from bug 14036.
38414 (pow_test): Add test from bug 10846.
38416 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38418 (special_function): Do not include flags in test name.
38419 (parse_args): Likewise.
38420 * sysdeps/i386/fpu/libm-test-ulps: Update.
38421 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38422 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38423 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38426 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38428 * math/libm-test.inc ("Philosophy"): Update comment about
38430 (UNDERFLOW_EXCEPTION): New macro.
38431 (UNDERFLOW_EXCEPTION_OK): Likewise.
38432 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38433 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38434 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38435 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38436 (INVALID_EXCEPTION_OK): Update value.
38437 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38438 (OVERFLOW_EXCEPTION_OK): Likewise.
38439 (IGNORE_ZERO_INF_SIGN): Likewise.
38440 (test_exceptions): Handle underflow exceptions.
38441 (acos_test): Update for underflow exception expectations.
38442 (cexp_test): Likewise.
38443 (clog_test): Likewise.
38444 (clog10_test): Likewise.
38445 (csqrt_test): Likewise.
38446 (ctan_test): Likewise.
38447 (ctanh_test): Likewise.
38448 (exp_test): Likewise.
38449 (exp10_test): Likewise.
38450 (exp2_test): Likewise.
38451 (expm1_test): Likewise.
38452 (fma_test): Likewise.
38453 (j0_test): Likewise.
38454 (jn_test): Likewise.
38455 (nexttoward_test): Likewise.
38456 (pow_test): Likewise.
38457 (scalbn_test): Likewise.
38458 (scalbln_test): Likewise.
38459 (tan_test): Likewise.
38460 (y1_test): Likewise.
38461 * sysdeps/i386/fpu/libm-test-ulps: Update.
38462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38464 2012-05-23 David S. Miller <davem@davemloft.net>
38466 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38467 (__libc_sigaction): Remove unused local variables.
38469 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38471 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38473 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38475 mktime: avoid signed integer overflow
38476 * time/mktime.c (__mktime_internal): Do not mishandle the case
38477 where diff == INT_MIN.
38479 mktime: simplify computation of average
38480 * time/mktime.c (ranged_convert): Use new time_t_avg function
38481 instead of rolling our own (probably-slower) code.
38483 mktime: do not assume signed right shift propagates sign bit
38484 * time/mktime.c (isdst_differ): New static function.
38485 (__mktime_internal): No need to normalize tm_isdst now.
38486 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38489 mktime: merge another wrapv change from gnulib
38490 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38491 from some compilers.
38493 mktime: remove incorrect attempt at unusual arithmetics
38494 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38495 The code didn't really work on such machines anyway.
38496 (TYPE_MINIMUM): Assume two's complement.
38497 (twos_complement_arithmetic): Verify that long_int and time_t
38498 are two's complement (or unsigned, in the latter case).
38500 mktime: check signed shifts on long_int and time_t, too
38501 * time/mktime.c (SHR): Check that shifts work as desired
38502 on the types long_int and time_t too, as SHR is used on
38505 mktime: do not assume 'long' is wide enough
38506 * time/mktime.c (verify): Move decl up.
38507 (long_int): New type.
38508 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38509 to remove assumption in the code that 'long' is wide enough to
38510 store year values. This assumption is not true on x32 and on
38511 some non-glibc platforms.
38513 mktime: merge wrapv change from gnulib
38514 * time/mktime.c (WRAPV): New macro.
38515 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38516 (guess_time_tm, __mktime_internal): Do not assume that signed
38517 integer overflow wraps around; modern compilers generate code
38518 where this assumption is no longer valid.
38520 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38522 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38523 Replace "jmp L(pseudo_end)" with "ret".
38524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38527 2012-05-23 Andreas Jaeger <aj@suse.de>
38529 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38530 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38532 2012-05-23 Andreas Jaeger <aj@suse.de>
38533 Maximilian Attems <max@stro.at>
38535 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38538 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38540 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38541 code so that pseudo_end is just ret and the stack pointer is
38542 correct also for static library in error case.
38544 2012-05-23 Joseph Myers <joseph@codesourcery.com>
38546 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38547 move to syscalls.list.
38548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38553 * manual/install.texi (Running make install): Do not mention Linux
38554 kernel version for which pt_chown is not needed.
38555 (Linux): Do not mention problems with nscd with 2.0 kernels.
38556 * INSTALL: Regenerated.
38558 2012-05-23 Andreas Jaeger <aj@suse.de>
38560 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38561 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38563 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38564 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38565 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38566 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38567 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38568 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38569 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38570 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38571 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38572 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38573 * sysdeps/unix/sysv/linux/bits/in.h
38574 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38576 2012-05-22 Roland McGrath <roland@hack.frob.com>
38578 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38579 (PREPARE_VERSION): Just use assert instead, it will be elided
38580 under [NDEBUG] anyway.
38582 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38584 * sysdeps/unix/sysv/linux/Makefile: Include
38585 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38586 (sysdep_routines): Remove sysctl.
38587 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38588 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38589 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38590 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38591 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38593 2012-05-22 Andreas Jaeger <aj@suse.de>
38595 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38596 that pseudo_end is just ret and the stack pointer is correct also
38597 for static library in error case.
38599 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38602 * nss/nsswitch.c (defconfig_entries): New variable.
38603 (__nss_database_lookup): Don't leak defconfig entries.
38604 (nss_parse_service_list): Don't leak on error paths.
38605 (free_database_entries): New function.
38606 (free_defconfig): New function.
38607 (free_mem): Move common code to free_database_entries.
38609 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38611 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38613 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38615 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38616 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38617 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38619 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38620 (INTERNAL_SYSCALL_TYPES): Likewise.
38621 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38622 (LOAD_REGS_TYPES_[1-6]): Likewise.
38623 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38624 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38626 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38628 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38629 copysignl for GLIBC_2_0.
38630 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38631 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38632 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38633 logbl for GLIBC_2_0.
38634 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38635 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38637 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38639 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38640 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38642 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38645 * time/mktime.c: Update copyright years.
38647 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38649 mktime: merge comment-quoting-style change from gnulib
38650 * time/mktime.c: Quote 'like this' in comments.
38651 The GNU coding standards suggest that we no longer quote `like this',
38652 as "`" and "'" are typically rendered asymmetrically nowadays.
38653 The typical gnulib style is to quote 'like this' when quoting
38654 code, and "like this" when quoting English.
38656 * time/mktime.c (compile-command): Add "-I.".
38658 mktime: merge mktime-internal.h change from gnulib
38659 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38661 mktime: merge time_r change from gnulib
38662 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38664 mktime: merge DEBUG change from gnulib
38665 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38666 case system <time.h> has a #define.
38668 mktime: merge <sys/types.h> change from gnulib
38669 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38670 since <time.t> is now guaranteed to define time_t.
38672 mktime: merge HAVE_CONFIG_H change from gnulib
38673 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38675 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38680 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38682 (struct rusage): Use anonymous union to pad each field to
38685 2012-05-21 David S. Miller <davem@davemloft.net>
38687 * Makefules (o-iterator): Remove .s cases.
38688 (compile-command.s): Delete.
38689 (COMPILE.s): Delete.
38690 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38692 2012-05-21 Joseph Myers <joseph@codesourcery.com>
38694 * configure.in (libc_cv_predef_stack_protector): Only consider
38695 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38696 * configure: Regenerated.
38698 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38700 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38701 New macro. Use R*LP on int and pointer.
38702 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38703 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38704 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38705 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38707 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38708 [__WORDSIZE_TIME64_COMPAT32] instead of
38709 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38710 (struct utmp): Likewise.
38711 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38712 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38714 (__WORDSIZE_TIME64_COMPAT32): This.
38715 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38716 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38717 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38718 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38719 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38720 (__WORDSIZE_TIME64_COMPAT32): New macro.
38722 2012-05-21 Andreas Jaeger <aj@suse.de>
38724 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38725 only if [SHARED]. Add prototype for __wcschr_ia32.
38727 2012-05-21 Roland McGrath <roland@hack.frob.com>
38729 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38730 of %rbp unmolested in the jmp_buf while mangling the low bits.
38731 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38732 unmolested high bits of %rbp while demangling the low bits.
38733 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38735 2012-05-21 Andreas Jaeger <aj@suse.de>
38737 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38738 * sunrpc/svc_simple.c: Use it for registerrpc.
38739 * sunrpc/xcrypt.c: Use it for passwd2des.
38741 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38743 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38745 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38746 Don't define if [__SYSCALL_WORDSIZE != 32].
38747 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38750 2012-05-21 Bruno Haible <bruno@clisp.org>
38751 Andreas Jaeger <aj@suse.de>
38753 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38754 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38755 inptr and inend for must_buffer_ch.
38756 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38757 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38758 * stdio-common/Makefile (tests): Remove bug15.
38759 (bug15-ENV): Remove macro.
38760 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38763 2012-05-19 Andreas Jaeger <aj@suse.de>
38764 Roland McGrath <roland@hack.frob.com>
38766 * manual/contrib.texi: Completely rewritten. It contains now an
38767 alphabetical list of contributors and their contributions.
38769 2012-05-21 Richard Henderson <rth@twiddle.net>
38771 * misc/getauxval.c (__getauxval): Use unsigned long int.
38772 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38773 (getauxval): Use unsigned long int.
38775 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38777 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38779 2012-05-21 Roland McGrath <roland@hack.frob.com>
38781 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38782 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38783 __alignof__ (long double).
38785 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38789 2012-05-20 Richard Henderson <rth@twiddle.net>
38791 * misc/getauxval.c: New file.
38792 * misc/sys/auxv.h: New file.
38793 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38794 (routines): Add getauxval.
38795 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38796 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38797 * elf/dl-sysdep.c (_dl_auxv): Remove.
38798 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38799 * elf/dl-support.c (_dl_auxv): New variable.
38800 (_dl_aux_init): Initialize it.
38801 * manual/startup.texi (Auxiliary Vector): New node.
38802 * sysdeps/generic/bits/hwcap.h: New file.
38803 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38804 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38805 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38806 * sysdeps/sparc/sysdep.h: ... here. Include it.
38807 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38808 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38820 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38824 2012-05-19 David S. Miller <davem@davemloft.net>
38826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38828 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38831 * math/s_ccosh.c: Include <float.h>
38832 (__ccosh): Avoid internal overflow calculating sinh and cosh
38833 values before multiplying by sin and cos values.
38834 * math/s_ccoshf.c: Likewise.
38835 * math/s_ccoshl.c: Likewise.
38836 * math/s_csin.c: Likewise.
38837 * math/s_csinf.c: Likewise.
38838 * math/s_csinl.c: Likewise.
38839 * math/s_csinh.c: Likewise.
38840 * math/s_csinhf.c: Likewise.
38841 * math/s_csinhl.c: Likewise.
38842 * math/libm-test.inc (ccos_test): Add more tests.
38843 (ccosh_test): Likewise.
38844 (csin_test): Likewise.
38845 (csinh_test): Likewise.
38846 * sysdeps/i386/fpu/libm-test-ulps: Update.
38847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38849 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38851 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38852 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38854 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38856 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38858 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38859 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38860 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38861 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38862 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38863 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38864 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38865 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38866 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38867 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38868 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38869 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38870 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38871 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38872 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38873 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38874 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38875 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38876 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38877 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38878 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38879 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38880 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38881 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38882 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38883 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38884 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38885 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38886 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38887 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38888 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38890 2012-05-18 Andreas Jaeger <aj@suse.de>
38892 * csu/.gitignore: Delete.
38894 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38896 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38897 (timex): Use __syscall_slong_t.
38899 2012-05-18 Andreas Jaeger <aj@suse.de>
38900 Carlos O'Donell <carlos_odonell@mentor.com>
38902 * manual/install.texi (Configuring and compiling): Update
38903 description about files modified in the source directory.
38904 * INSTALL: Regenerated.
38906 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38908 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38909 value. Use "or" to set return value to -1.
38910 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38911 negate return value.
38913 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38915 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38916 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
38917 failure if the compiler has Graphite support disabled.
38918 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38920 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38921 (CFLAGS-memmove.c): Likewise.
38922 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38925 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38927 * sysdeps/x86_64/x32/_itoa.h: New file.
38929 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38930 getdents system call only if kernel and user dirents have the
38931 same d_ino and d_off.
38933 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38934 LLONG_MAX != LONG_MAX.
38935 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38936 (_fitoa_word): Likewise.
38938 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38940 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38941 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38942 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38944 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38945 include <bits/wordsize.h>. Check __x86_64__ instead of
38947 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38948 if __x86_64__ is defined. Use anonymous union on fpstate.
38950 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38953 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38955 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38956 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38957 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38958 Refer to _rtld_local_ro instead of _rtld_global_ro.
38959 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38961 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38963 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38965 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38966 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38967 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38969 * sysdeps/powerpc/powerpc32/dl-machine.c
38970 (__elf_machine_runtime_setup) [PROF]: Don't reference
38973 2012-05-18 Andreas Jaeger <aj@suse.de>
38975 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38976 function only available for GCCs before 3.4 since GCC 3.4
38977 introduced a builtin.
38979 (llrintf): Likewise.
38980 (llrint): Likewise.
38987 (nearbyint): Likewise.
38988 (nearbyintf): Likewise.
38992 (floorf): Likewise.
38994 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38996 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38997 on both fields and cast pointer to __syscall_ulong_t.
38999 * bits/types.h (__fsword_t): New type.
39000 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39001 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39002 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39003 (__FSWORD_T_TYPE): Likewise.
39004 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39005 (__FSWORD_T_TYPE): Likewise.
39006 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39007 (__FSWORD_T_TYPE): Likewise.
39008 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39009 (__FSWORD_T_TYPE): Likewise.
39010 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39011 __SWORD_TYPE with __fsword_t.
39012 (statfs64): Likewise.
39014 2012-05-17 David S. Miller <davem@davemloft.net>
39016 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39018 2012-05-17 Andreas Jaeger <aj@suse.de>
39020 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39023 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39025 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39027 2012-05-17 Andreas Jaeger <aj@suse.de>
39029 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39032 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39034 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39036 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39038 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39039 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39041 2012-05-17 Andreas Jaeger <aj@suse.de>
39042 Carlos O'Donell <carlos_odonell@mentor.com>
39045 * sysdeps/x86_64/multiarch/init-arch.h
39046 (bit_YMM_Usable): Rename to...
39047 (bit_AVX_Usable): ... this.
39048 (bit_FMA4_Usable): New macro.
39049 (bit_XMM_state): New macro.
39050 (bit_YMM_state): New macro.
39051 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39052 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39053 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39054 (CPUID_OSXSAVE): New macro.
39055 (CPUID_AVX): New macro.
39056 (CPUID_FMA4): New macro.
39057 (index_YMM_Usable): Rename to...
39058 (index_AVX_Usable): ... this.
39059 (HAS_AVX): Use HAS_ARCH_FEATURE.
39060 (HAS_FMA4): Likewise.
39061 (HAS_YMM_USABLE): Remove.
39062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39063 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39065 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39066 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39067 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39068 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39069 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39071 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39073 * math/libm-test.c: Support platforms without multiple rounding modes.
39074 * math/bug-nextafter.c: Support platforms without FP exceptions.
39075 * math/bug-nexttoward.c: Likewise.
39076 * math/test-fenv.c: Likewise.
39077 * math/test-misc.c: Likewise.
39078 * stdlib/bug-getcontext.c: Likewise.
39080 2012-05-17 Andreas Jaeger <aj@suse.de>
39082 * manual/examples/search.c (critter_cmp): Change signature to
39084 * manual/string.texi (Collation Functions): Likewise.
39086 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39088 * bits/types.h: Fold copyright years.
39089 * bits/typesizes.h: Likewise.
39090 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39091 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39092 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39093 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39094 * time/time.h: Likewise.
39096 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39099 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39100 in instead of returning them. Return void.
39101 (__libc_mallinfo): Accumulate over all arenas.
39102 (__malloc_stats): Adjust for change in int_mallinfo interface.
39104 2012-05-16 Roland McGrath <roland@hack.frob.com>
39107 * configure.in (NM): Add AC_CHECK_TOOL for it.
39108 (libc_extra_cflags): New substituted variable.
39109 Check for -fstack-protector being used implicitly.
39110 * configure: Regenerated.
39111 * config.make.in (config-extra-cflags): New variable,
39112 gets @libc_extra_cflags@.
39113 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39116 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39117 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39118 * configure: Regenerated.
39119 * config.make.in (CPPUNDEFS): New substituted variable.
39120 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39121 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39122 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39124 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39126 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39127 (mq_attr): Use __syscall_slong_t.
39129 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39131 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39132 Check __x86_64__ instead of __WORDSIZE.
39133 (_STAT_VER_LINUX): Likewise.
39134 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39135 __syscall_ulong_t and __syscall_slong_t.
39136 (stat64): Likewise.
39138 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39140 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39142 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39144 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39146 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39148 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39151 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39152 include <bits/wordsize.h>. Check __x86_64__ instead of
39154 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39156 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39158 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39159 include <bits/wordsize.h>. Check __x86_64__ instead of
39161 (user_regs_struct): Use "__extension__ unsigned long long"
39162 instead of "unsigned long" if __x86_64__ is defined.
39163 (user): Likewise. Pad after pointer field if __ILP32__ is
39166 2012-05-16 Joseph Myers <joseph@codesourcery.com>
39168 * configure.in (makeinfo): Require version 4.5 or later. Allow
39170 * configure: Regenerated.
39171 * manual/install.texi (texinfo): Increase version requirement to
39173 * INSTALL: Regenerated.
39175 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39177 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39179 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39181 * sysdeps/x86_64/x32/ffs.c: New file.
39183 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39185 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39186 defined. Use __syscall_ulong_t.
39187 (shminfo): Use __syscall_ulong_t.
39188 (shm_info): Likewise.
39190 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39193 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39195 (msgqnum_t): Use __syscall_ulong_t.
39196 (msglen_t): Likewise.
39197 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39200 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39201 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39203 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39205 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39206 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39208 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39211 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39212 include <bits/wordsize.h>. Check __x86_64__ instead of
39215 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39216 "unsigned long long int" if __x86_64__ is defined.
39217 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39219 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39220 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39221 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39223 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39225 (GET_PC): Cast to uintptr_t first.
39226 (GET_FRAME): Likewise.
39227 (GET_STACK): Likewise.
39229 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39231 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39232 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39233 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39234 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39235 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39236 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39237 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39238 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39239 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39240 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39241 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39242 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39243 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39244 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39245 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39246 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39247 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39248 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39249 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39250 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39251 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39252 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39253 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39254 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39255 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39256 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39257 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39259 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39261 * Makerules (+depfiles): Also collect depfiles from .oS in
39263 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39264 .oS, $(libnldbl-routines)).
39266 * Makerules (native-compile-mkdep-flags): Define.
39267 * sunrpc/Makefile (extra-objs): Add $(addprefix
39268 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39269 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39270 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39271 calling $(make-target-directory).
39273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39275 * bits/types.h (__snseconds_t): Removed.
39276 * time/time.h (struct timespec): Replace __snseconds_t with
39278 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39279 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39282 (__SNSECONDS_T_TYPE): Likewise.
39283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39284 (__SNSECONDS_T_TYPE): Likewise.
39285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39286 (__SNSECONDS_T_TYPE): Likewise.
39288 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39290 * sysdeps/mach/hurd/bits/typesizes.h
39291 (__SYSCALL_SLONG_TYPE): New macro.
39292 (__SYSCALL_ULONG_TYPE): Likewise.
39294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39296 * bits/types.h (__syscall_slong_t): New type.
39297 (__syscall_ulong_t): Likewise.
39299 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39300 (__SYSCALL_ULONG_TYPE): Likewise.
39301 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39302 (__SYSCALL_SLONG_TYPE): Likewise.
39303 (__SYSCALL_ULONG_TYPE): Likewise.
39304 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39305 (__SYSCALL_SLONG_TYPE): Likewise.
39306 (__SYSCALL_ULONG_TYPE): Likewise.
39307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39308 (__SYSCALL_SLONG_TYPE): Likewise.
39309 (__SYSCALL_ULONG_TYPE): Likewise.
39311 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39313 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39314 Add sigaltstack-offsets.sym.
39315 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39316 <sigaltstack-offsets.h>.
39317 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39318 longjmp_msg pointer.
39319 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39320 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39322 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39324 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39326 * elf/stackguard-macros.h: Remove file.
39327 * sysdeps/generic/stackguard-macros.h: New file.
39328 * sysdeps/i386/stackguard-macros.h: Likewise.
39329 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39330 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39331 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39332 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39333 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39334 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39335 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39336 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39337 <elf/stackguard-macros.h>.
39340 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39341 __aligned__ in attribute.
39342 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39343 (gregset_t): Likewise.
39345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39347 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39348 * sysdeps/x86_64/64/Implies-after: Here. New file.
39349 * sysdeps/x86_64/x32/Implies-after: New file.
39351 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39353 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39354 and access return value for _dl_profile_fixup. Use R10_LP to
39357 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39359 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39361 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39363 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39364 * sysdeps/x86_64/x32/sysdep.h: New file.
39366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39368 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39369 * sysdeps/x86_64/setjmp.S: Likewise.
39371 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39373 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39374 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39375 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39376 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39377 remove unused global constant.
39379 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39381 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39382 include of <not-cancel.h>.
39384 2012-05-15 Roland McGrath <roland@hack.frob.com>
39386 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39388 2012-05-15 Jeff Law <law@redhat.com>
39389 Andreas Jaeger <aj@suse.de>
39392 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39394 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39395 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39396 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39397 code changing __hst_map_handle.map.
39399 2012-05-15 Roland McGrath <roland@hack.frob.com>
39401 * configure.in (sysnames): Look for Implies-before and Implies-after
39403 * configure: Regenerated.
39405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39407 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39408 8-byte data alignment with LP_SIZE alignment.
39410 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39412 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39415 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39417 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39421 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39422 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39423 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39425 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39429 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39430 (stackinfo_sub_sp): Likewise.
39432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39434 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39439 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39444 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39449 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39453 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39454 into R11_LP and load __x86_64_shared_cache_size_half into
39457 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39459 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39462 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39464 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39466 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39468 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39470 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39471 powerpc32/power7/fpu/s_logb.c via #include.
39472 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39473 powerpc32/power7/fpu/s_logbf.c via #include.
39474 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39475 powerpc32/power7/fpu/s_logbl.c via #include.
39477 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39479 * README.libm: Remove file.
39481 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39483 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39484 count for x32. Use R*_LP and omit operand-size suffix.
39486 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39488 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39489 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39490 * sysdeps/x86_64/x32/shlib-versions: New file.
39492 2012-05-14 Roland McGrath <roland@hack.frob.com>
39494 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39495 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39496 Use _dl_fatal_printf instead.
39498 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39500 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39501 set if not set by the user. Do not allow for being unset.
39502 * sysdeps/unix/sysv/linux/configure: Regenerated.
39504 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39506 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39507 the `q' suffix from lea and replace .quad with ASM_ADDR.
39509 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39512 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39514 (PTR_DEMANGLE): Likewise.
39516 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39518 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39520 (ASM_ADDR): Likewise.
39521 (RAX_LP): Likewise.
39522 (RBP_LP): Likewise.
39523 (RBX_LP): Likewise.
39524 (RCX_LP): Likewise.
39525 (RDI_LP): Likewise.
39526 (RSI_LP): Likewise.
39527 (RSP_LP): Likewise.
39530 (R10_LP): Likewise.
39531 (R10_LP): Likewise.
39532 (R11_LP): Likewise.
39533 (R12_LP): Likewise.
39534 (R13_LP): Likewise.
39535 (R14_LP): Likewise.
39536 (R15_LP): Likewise.
39538 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39540 * sysdeps/x86_64/x32/dl-machine.h: New file.
39542 2012-05-14 Andreas Jaeger <aj@suse.de>
39544 * manual/Makefile (subdir): Remove export of subdir.
39545 (all): Remove target.
39546 (.PHONY): Remove all from list.
39547 (mkinstalldirs): Remove.
39548 (.PHONY): Remove installdirs from list.
39549 ($(inst_infodir)/libc.info): Use make-target-directory.
39550 (installdirs): Remove.
39551 (subdir_%): Remove.
39552 (glibc-targets): Remove.
39555 ($(objpfx)stubs ../po/manual.pot): Remove.
39556 ($(objpfx)stamp%): Remove.
39557 (make-target-directory): Remove.
39558 (subdir_install): Remove.
39559 (routines): Remove.
39566 * manual/.gitignore: Remove, it's not needed anymore.
39567 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39569 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39571 (texis): Renamed to $(objpfx)texis.
39572 (texis-path): New, contains path to generated files.
39573 (chapters.%): Use texis-path for complete path, add extra argument
39575 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39576 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39577 (summary,texi, stamp-summary): Use complete path of
39578 files. Generate files in build dir.
39579 (dir-add.texi): Build in build dir.
39580 (libm-err.texi,stamp-libm-err): Likewise.
39581 (version.texi, stamp-version): Likewise.
39582 (.%c.texi): Likewise.
39583 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39584 (mostlyclean): Remove target.
39585 (realclean): Remove target.
39586 (generated): Add new variable with contents from mostlyclean and
39587 realclean, remove entries duplicated in common-mostlyclean, add
39588 stamp-libm-err and stamp-version.
39589 (generated-dirs): Add libc directory.
39590 ($(inst_infodir)/libc.info): Install files from build dir.
39592 * manual/install.texi (Configuring and compiling): Adjust since
39593 the info files are not part of the tar ball anymore.
39595 2012-05-14 Andreas Jaeger <aj@suse.de>
39597 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39600 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39603 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39604 to 2.2.0 where earlier.
39605 * sysdeps/unix/sysv/linux/configure: Regenerated.
39606 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39607 Remove conditional code.
39608 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39609 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39610 Remove conditional code.
39611 [!__NR_lchown]: Likewise.
39612 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39613 [__NR_lchown]: Likewise.
39614 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39615 comment referencing __ASSUME_LCHOWN_SYSCALL.
39616 * sysdeps/unix/sysv/linux/i386/sigaction.c
39617 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39618 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39619 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39620 Remove conditional code.
39621 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39622 (__protocol_available): Remove #if 0 code.
39623 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39625 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39626 * sysdeps/unix/sysv/linux/kernel-features.h
39627 (__ASSUME_GETCWD_SYSCALL): Don't define.
39628 (__ASSUME_REALTIME_SIGNALS): Likewise.
39629 (__ASSUME_PREAD_SYSCALL): Likewise.
39630 (__ASSUME_PWRITE_SYSCALL): Likewise.
39631 (__ASSUME_POLL_SYSCALL): Likewise.
39632 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39633 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39635 (__ASSUME_SIOCGIFNAME): Don't define.
39636 (__ASSUME_MSG_NOSIGNAL): Likewise.
39637 (__ASSUME_SENDFILE): Define unconditionally.
39638 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39639 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39641 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39642 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39643 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39644 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39645 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39646 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39647 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39649 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39650 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39652 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39653 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39655 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39656 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39658 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39659 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39661 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39664 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39665 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39667 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39670 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39671 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39672 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39673 Remove conditional code.
39674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39675 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39676 Remove conditional code.
39677 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39678 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39679 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39680 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39681 Remove conditional code.
39682 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39683 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39684 Remove conditional code.
39685 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39686 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39687 Remove conditional code.
39688 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39689 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39690 Remove conditional code.
39691 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39692 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39693 Remove conditional code.
39694 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39695 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39696 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39697 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39698 * sysdeps/unix/sysv/linux/sigaction.c
39699 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39700 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39701 * sysdeps/unix/sysv/linux/sigpending.c
39702 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39703 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39704 * sysdeps/unix/sysv/linux/sigprocmask.c
39705 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39706 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39707 * sysdeps/unix/sysv/linux/sigsuspend.c
39708 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39709 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39710 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39711 (__libc_missing_rt_sigs): Remove.
39712 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39713 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39714 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39715 Remove conditional code.
39716 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39717 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39719 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39720 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39721 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39722 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39724 2012-05-14 Andreas Jaeger <aj@suse.de>
39726 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39727 it's not used in glibc.
39728 (__coshm1): Likewise.
39729 (__acosh1p): Likewise.
39732 * manual/string.texi (Copying and Concatenation): Add missing
39733 variable in concat example.
39734 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39736 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39739 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39740 __builtin_clzl with __builtin_clzll.
39742 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39745 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39748 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39750 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39751 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39752 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39753 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39755 2012-05-14 Mike Frysinger <vapier@gentoo.org>
39757 * NEWS: Update ia64 info.
39759 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39761 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39764 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39766 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39767 * sysdeps/unix/syscalls.list (dup3): Likewise.
39768 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39769 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39771 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39773 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39774 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39776 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39778 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39780 (TLS_IE): Use mov/add instead of movq/addq to load thread
39782 (TLS_GD_PREFIX): New.
39785 2012-05-11 David S. Miller <davem@davemloft.net>
39787 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39788 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39789 (_FPU_SETCW): Likewise.
39791 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39793 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39794 is 32-byte aligned.
39796 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39799 * iconvdata/gb18030.c: Update tables.
39800 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39801 characters specially.
39802 (BODY for TO_LOOP): Add encoding of missing ranges.
39804 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39807 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39808 * sysdeps/mach/hurd/dup3.c: Likewise.
39809 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39810 * sysdeps/powerpc/memmove.c:: Likewise.
39812 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39815 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39817 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39819 * elf/elf.h (R_X86_64_RELATIVE64): New.
39820 (R_X86_64_NUM): Updated.
39821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39822 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39823 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39824 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39825 tst-quad1pie tst-quad2pie
39826 (modules-names): Add tst-quadmod1 tst-quadmod2.
39827 ($(objpfx)tst-quad1): New dependency.
39828 ($(objpfx)tst-quad2): Likewise.
39829 ($(objpfx)tst-quad1pie): Likewise.
39830 ($(objpfx)tst-quad2pie): Likewise.
39831 * sysdeps/x86_64/tst-quad1.c: New file.
39832 * sysdeps/x86_64/tst-quad1pie.c: New file.
39833 * sysdeps/x86_64/tst-quad2.c: Likewise.
39834 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39835 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39836 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39837 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39838 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39840 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39842 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39843 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39844 * streams/stropts.h (t_scalar_t): Define type.
39846 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39847 (_PATH_PRESERVE): Set to "/var/lib".
39848 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39850 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39853 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39854 if __dir_mkfile succeeded.
39856 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39857 checking for _hurd_dtablesize. Unlock it right after having
39858 finished _hurd_dtable allocation.
39860 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39862 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39863 * sysdeps/mach/hurd/configure: Regenerated.
39864 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39865 special-casing to...
39866 * sysdeps/gnu/configure.in: ... this new file.
39867 * sysdeps/unix/sysv/linux/configure: Regenerated.
39868 * sysdeps/gnu/configure: New generated file.
39870 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39871 for Linux: use nsec instead of usec, as well as:
39872 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39873 members of type struct timespec.
39874 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39876 (struct stat64): Likewise.
39877 (_STATBUF_ST_NSEC): New macro.
39878 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39880 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39881 __strtoul_internal rather than strtoul.
39883 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39885 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39888 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39890 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39891 which preserves existing values.
39892 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39894 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39896 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39897 TIMEOUT values. Return EINVAL for NFDS values either negative or
39898 greater than FD_SETSIZE.
39900 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39902 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39903 allocated, call __vm_protect to finish enabling the existing space, and
39904 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39905 allocate the remainder.
39907 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39909 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39910 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
39912 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39914 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39915 sysdeps/mach/hurd/readlink.c.
39917 * posix/tst-sysconf.c (posix_options): Only use
39918 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39919 _POSIX_SYNCHRONIZED_IO when they are defined
39920 * sysdeps/mach/hurd/bits/posix_opt.h:
39921 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39922 (_XOPEN_REALTIME): Undefine macro.
39923 (_XOPEN_REALTIME_THREADS): Undefine macro.
39924 (_XOPEN_SHM): Undefine macro.
39925 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39927 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39929 (_POSIX_ASYNC_IO): Undefine macro.
39930 (_POSIX_PRIORITIZED_IO): Undefine macro.
39931 (_POSIX_SPIN_LOCKS): Define macro to -1.
39933 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39934 SA_NODEFER, SA_RESETHAND.
39935 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39936 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39939 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39941 * elf/Makefile (pldd-modules): Define unconditionally.
39943 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39945 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39947 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39949 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39950 Return ENOENT when name is empty.
39951 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39953 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39955 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39957 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39959 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39961 Fix mlock in all cases except non-readable pages.
39962 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39963 instead of VM_PROT_ALL as parameter to __vm_wire function.
39965 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39966 (__mkdir): When path is `/', just fail with EEXIST.
39967 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39969 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39971 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39972 <sys/uio.h> (for writev).
39973 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39974 and <sys/param.h> (for MIN).
39976 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39978 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39979 REQUESTED_TIME. Properly set the remaining time and return EINTR
39982 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39984 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39985 Depend on against $(link-rpcuserlibs).
39987 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39989 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39990 (__libc_stack_end): Do not use attribute_relro.
39991 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39992 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
39993 to libthread-provided value.
39994 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39997 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40000 * bits/libc-lock.h (__libc_once_get): New macro.
40001 * sysdeps/mach/bits/libc-lock.h: Likewise.
40002 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40003 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40004 instead of using implementation details.
40006 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40007 * libio/freopen.c: Likewise.
40008 * libio/freopen64.c: Likewise.
40009 * misc/syslog.c: Likewise.
40010 * nscd/connections.c: Likewise.
40011 * nscd/netgroupcache.c: Likewise.
40012 * sysdeps/posix/getcwd.c: Likewise.
40014 2012-05-10 Roland McGrath <roland@hack.frob.com>
40016 * math/w_ilogbf.c: Add #include <limits.h>.
40018 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40020 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40021 path instead of returning without unlocking.
40023 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40024 immediate-write ioctls.
40025 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40027 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40029 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40030 __builtin_frame_address instead of making assumptions about the
40031 location of the return address relative to DATA. Force early load of
40032 the return address.
40033 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40034 __builtin_frame_address.
40037 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40038 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40039 implement dup3 and do some further code clean-ups.
40040 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40041 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40043 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40045 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40047 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40048 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40049 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40050 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40051 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40054 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40055 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40056 when handler == SIG_ERR, not when handler != SIG_ERR.
40058 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40060 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40061 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40064 accept4 for GNU Hurd.
40065 * include/sys/socket.h (__libc_accept4): New prototype.
40066 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40067 to implement __libc_accept4.
40068 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40070 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40072 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40073 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40074 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40075 signal-defines.sym.
40077 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40079 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40081 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40083 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40084 assertion on O_CLOEXEC flag.
40085 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40086 * hurd/intern-fd.c: Likewise.
40087 * hurd/port2fd.c: Likewise.
40089 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40092 * bits/in.h (IPV6_PKTINFO): Define new macro.
40093 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40095 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40100 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40101 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40102 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40103 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40104 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40105 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40106 * math/libm-test.inc (logb_test) : Additional logb tests.
40108 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40109 Andreas Jaeger <aj@suse.de>
40111 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40112 * configure: Regenerated.
40113 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40114 * config.make.in (link-obsolete-rpc): New substituted variable.
40115 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40116 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40117 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40118 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40119 so that libc.a contains the symbols.
40120 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40121 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40122 * sunrpc/auth_none.c: Likewise.
40123 * sunrpc/auth_unix.c: Likewise.
40124 * sunrpc/authdes_prot.c: Likewise.
40125 * sunrpc/authuxprot.c: Likewise.
40126 * sunrpc/clnt_gen.c: Likewise.
40127 * sunrpc/clnt_perr.c: Likewise.
40128 * sunrpc/clnt_raw.c: Likewise.
40129 * sunrpc/clnt_simp.c: Likewise.
40130 * sunrpc/clnt_tcp.c: Likewise.
40131 * sunrpc/clnt_udp.c: Likewise.
40132 * sunrpc/clnt_unix.c: Likewise.
40133 * sunrpc/des_crypt.c: Likewise.
40134 * sunrpc/des_soft.c: Likewise.
40135 * sunrpc/get_myaddr.c: Likewise.
40136 * sunrpc/key_call.c: Likewise.
40137 * sunrpc/key_prot.c: Likewise.
40138 * sunrpc/netname.c: Likewise.
40139 * sunrpc/pm_getmaps.c: Likewise.
40140 * sunrpc/pm_getport.c: Likewise.
40141 * sunrpc/pmap_clnt.c: Likewise.
40142 * sunrpc/pmap_prot.c: Likewise.
40143 * sunrpc/pmap_prot2.c: Likewise.
40144 * sunrpc/pmap_rmt.c: Likewise.
40145 * sunrpc/publickey.c: Likewise.
40146 * sunrpc/rpc_cmsg.c: Likewise.
40147 * sunrpc/rpc_common.c: Likewise.
40148 * sunrpc/rpc_dtable.c: Likewise.
40149 * sunrpc/rpc_prot.c: Likewise.
40150 * sunrpc/rpc_thread.c: Likewise.
40151 * sunrpc/rtime.c: Likewise.
40152 * sunrpc/svc.c: Likewise.
40153 * sunrpc/svc_auth.c: Likewise.
40154 * sunrpc/svc_raw.c: Likewise.
40155 * sunrpc/svc_run.c: Likewise.
40156 * sunrpc/svc_tcp.c: Likewise.
40157 * sunrpc/svc_udp.c: Likewise.
40158 * sunrpc/svc_unix.c: Likewise.
40159 * sunrpc/svcauth_des.c: Likewise.
40160 * sunrpc/xcrypt.c: Likewise.
40161 * sunrpc/xdr.c: Likewise.
40162 * sunrpc/xdr_array.c: Likewise.
40163 * sunrpc/xdr_float.c: Likewise.
40164 * sunrpc/xdr_intXX_t.c: Likewise.
40165 * sunrpc/xdr_mem.c: Likewise.
40166 * sunrpc/xdr_rec.c: Likewise.
40167 * sunrpc/xdr_ref.c: Likewise.
40168 * sunrpc/xdr_sizeof.c: Likewise.
40169 * sunrpc/xdr_stdio.c: Likewise.
40171 2012-05-10 Roland McGrath <roland@hack.frob.com>
40173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40174 change. Update copyright years.
40176 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40178 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40180 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40181 Joseph Myers <joseph@codesourcery.com>
40182 Paul Pluzhnikov <ppluzhnikov@google.com>
40185 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40187 [cross-compiling] (extra-libs): Likewise.
40188 [cross-compiling] (extra-libs-others): Likewise.
40189 [cross-compiling] (librpcsvc-routines): Likewise.
40190 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40191 [cross-compiling] (omit-deps): Likewise.
40192 (sunrpc-CPPFLAGS): New variable.
40193 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40194 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40195 (cross-rpcgen-objs): New variable.
40196 (extra-objs): Append $(cross-rpcgen-objs).
40197 ($(cross-rpcgen-objs)): New rule.
40198 ($(objpfx)cross-rpcgen): Likewise.
40199 (rpcgen-cmd): Define to use $(built-program-file). Expand
40201 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40202 ($(objpfx)x%.stmp): Likewise.
40203 * sunrpc/proto.h [IS_IN_build] (_): Define.
40204 [IS_IN_build] (_libc_intl_domainname): Likewise.
40206 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40208 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40209 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40210 and R_X86_64_TPOFF64.
40212 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40214 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40215 sysdeps/unix/sysv/syscalls.list.
40218 * sysdeps/unix/sysv/syscalls.list: Remove file.
40220 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40223 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40224 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40225 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40226 (__LC_IDENTIFICATION): Make these macros useful in #if
40227 expressions, as required by C99.
40229 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40231 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40232 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40235 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40237 * stdlib/longlong.h: Updated from GCC.
40239 2012-05-09 Andreas Jaeger <aj@suse.de>
40241 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40242 default is first entry.
40243 (run_mode): Set type.
40244 (main): Remove informal message about syslog.
40245 (options): Fix typo.
40248 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40251 (llrintf): Likewise.
40252 (llrint): Likewise.
40255 (nearbyint): Likewise.
40256 (nearbyintf): Likewise.
40258 2012-05-09 Andreas Jaeger <aj@suse.de>
40259 Pedro Alves <palves@redhat.com>
40261 * nscd/nscd.c (run_mode): Use enum.
40262 (main): Cleanup coding style issue.
40264 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
40265 Andreas Jaeger <aj@suse.de>
40267 * nscd/nscd.c (go_background): Replaced with...
40268 (run_mode): ... this.
40269 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40270 (options): Add -F --foreground.
40271 (main): Implement it.
40272 (parse_opt): Parse it.
40274 2012-05-09 Andreas Jaeger <aj@suse.de>
40277 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40278 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40279 -Wconversion warning.
40280 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40283 2012-05-09 Joseph Myers <joseph@codesourcery.com>
40285 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40287 (LC_ALL): Use macro-int-constant.
40288 (LC_COLLATE): Likewise.
40289 (LC_CTYPE): Likewise.
40290 (LC_MESSAGES): Likewise.
40291 (LC_MONETARY): Likewise.
40292 (LC_NUMERIC): Likewise.
40293 (LC_TIME): Likewise.
40294 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40295 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40296 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40297 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40299 [C99-based standards] (float_t): Expect type.
40300 [C99-based standards] (double_t): Expect type.
40301 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40303 [C99-based standards] (HUGE_VALL): Likewise.
40304 [C99-based standards] (INFINITY): Likewise.
40305 [C99-based standards] (NAN): Likewise.
40306 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40307 [C99-based standards] (FP_NAN): Likewise.
40308 [C99-based standards] (FP_NORMAL): Likewise.
40309 [C99-based standards] (FP_SUBNORMAL): Likewise.
40310 [C99-based standards] (FP_ZERO): Likewise.
40311 [C99-based standards] (FP_FAST_FMA): Use
40312 optional-macro-int-constant. Specify type. Require == 1.
40313 [C99-based standards] (FP_FAST_FMAF): Likewise.
40314 [C99-based standards] (FP_FAST_FMAL): Likewise.
40315 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40316 [C99-based standards] (FP_ILOGBNAN): Likewise.
40317 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40319 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40320 [C99-based standards] (math_errhandling): Specify type.
40321 [ISO99 || ISO11] (signgam): Do not allow.
40322 [non-C99-based standards] (copysignf): Do not allow.
40323 [non-C99-based standards] (exp2f): Likewise.
40324 [non-C99-based standards] (log2f): Likewise.
40325 [non-C99-based standards] (modff): Allow.
40326 [non-C99-based standards] (erff): Do not allow.
40327 [non-C99-based standards] (erfcf): Likewise.
40328 [non-C99-based standards] (gammaf): Likewise.
40329 [non-C99-based standards] (hypotf): Likewise.
40330 [non-C99-based standards] (j0f): Likewise.
40331 [non-C99-based standards] (j1f): Likewise.
40332 [non-C99-based standards] (jnf): Likewise.
40333 [non-C99-based standards] (lgammaf): Likewise.
40334 [non-C99-based standards] (tgammaf): Likewise.
40335 [non-C99-based standards] (y0f): Likewise.
40336 [non-C99-based standards] (y1f): Likewise.
40337 [non-C99-based standards] (ynf): Likewise.
40338 [non-C99-based standards] (isnanf): Likewise.
40339 [non-C99-based standards] (acoshf): Likewise.
40340 [non-C99-based standards] (asinhf): Likewise.
40341 [non-C99-based standards] (atanhf): Likewise.
40342 [non-C99-based standards] (cbrtf): Likewise.
40343 [non-C99-based standards] (expm1f): Likewise.
40344 [non-C99-based standards] (ilogbf): Likewise.
40345 [non-C99-based standards] (log1pf): Likewise.
40346 [non-C99-based standards] (logbf): Likewise.
40347 [non-C99-based standards] (nextafterf): Likewise.
40348 [non-C99-based standards] (remainderf): Likewise.
40349 [non-C99-based standards] (rintf): Likewise.
40350 [non-C99-based standards] (scalbf): Likewise.
40351 [non-C99-based standards] (copysignl): Likewise.
40352 [non-C99-based standards] (exp2l): Likewise.
40353 [non-C99-based standards] (log2l): Likewise.
40354 [non-C99-based standards] (modfl): Allow.
40355 [non-C99-based standards] (erfl): Do not allow.
40356 [non-C99-based standards] (erfcl): Likewise.
40357 [non-C99-based standards] (gammal): Likewise.
40358 [non-C99-based standards] (hypotl): Likewise.
40359 [non-C99-based standards] (j0l): Likewise.
40360 [non-C99-based standards] (j1l): Likewise.
40361 [non-C99-based standards] (jnl): Likewise.
40362 [non-C99-based standards] (lgammal): Likewise.
40363 [non-C99-based standards] (tgammal): Likewise.
40364 [non-C99-based standards] (y0l): Likewise.
40365 [non-C99-based standards] (y1l): Likewise.
40366 [non-C99-based standards] (ynl): Likewise.
40367 [non-C99-based standards] (isnanl): Likewise.
40368 [non-C99-based standards] (acoshl): Likewise.
40369 [non-C99-based standards] (asinhl): Likewise.
40370 [non-C99-based standards] (atanhl): Likewise.
40371 [non-C99-based standards] (cbrtl): Likewise.
40372 [non-C99-based standards] (expm1l): Likewise.
40373 [non-C99-based standards] (ilogbl): Likewise.
40374 [non-C99-based standards] (log1pl): Likewise.
40375 [non-C99-based standards] (logbl): Likewise.
40376 [non-C99-based standards] (nextafterl): Likewise.
40377 [non-C99-based standards] (remainderl): Likewise.
40378 [non-C99-based standards] (rintl): Likewise.
40379 [non-C99-based standards] (scalbl): Likewise.
40380 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40381 [non-C99-based standards] (FP_*): Do not allow.
40382 [C99-based standards] (FP_*): Change to
40383 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40384 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40386 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40387 (SIG_ERR): Likewise.
40388 [X/Open-based standards] (SIG_HOLD): Likewise.
40389 (SIG_IGN): Likewise.
40390 (SIGABRT): Use macro-int-constant. Specify type. Require
40392 (SIGFPE): Likewise.
40393 (SIGILL): Likewise.
40394 (SIGINT): Likewise.
40395 (SIGSEGV): Likewise.
40396 (SIGTER): Likewise.
40397 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40398 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40399 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40400 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40401 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40402 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40403 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40404 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40405 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40406 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40407 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40408 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40409 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40410 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40411 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40412 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40413 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40414 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40415 [X/Open-based standards] (SIGTRAP): Likewise.
40416 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40417 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40418 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40419 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40420 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40423 2012-05-08 Ian Wienand <ianw@vmware.com>
40426 * time/tzset.c (__tzset_parse_tz): Update default rules for
40427 daylight time changes in the Energy Policy Act of 2005.
40429 2012-05-09 Andreas Jaeger <aj@suse.de>
40432 * elf/ldconfig.c (parse_conf): Change string to make clear that
40433 ldconfig only issued a warning if ld.so.conf does not exist.
40435 2012-05-08 David S. Miller <davem@davemloft.net>
40437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40438 movxtod instead of popping the value on the stack.
40440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40442 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40444 * config.h.in: Add HAVE_ARM_PCS_VFP.
40446 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
40449 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40450 checking but the checks are disabled for any reason.
40452 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40454 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40455 and ELF64_R_TYPE with ELFW(R_TYPE).
40457 2012-05-08 Joseph Myers <joseph@codesourcery.com>
40459 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40460 (ulimit): Likewise.
40462 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40463 (settimeofday): Likewise.
40465 2012-05-08 Mike Frysinger <vapier@gentoo.org>
40467 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40468 a struct th_u2 inside the union, and move tu_block/tu_code into
40469 a new th_u3 union of tu_block/tu_code inside of that. Move
40470 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40471 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40472 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40473 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40474 (th_stuff): Change to th_u1.tu_stuff.
40476 (th_msg): Change to th_u1.th_u2.tu_data.
40478 2012-05-07 David S. Miller <davem@davemloft.net>
40480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40483 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40484 (SETUP_PIC_REG): Use it.
40485 (SETUP_PIC_REG_LEAF): Use it.
40487 2012-05-07 Joseph Myers <joseph@codesourcery.com>
40491 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40493 (EXPL_FINITE): Likewise.
40494 (FLDLOG): Likewise.
40495 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40496 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40498 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40500 (EXPL_FINITE): Likewise.
40501 (FLDLOG): Likewise.
40502 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40503 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40505 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40506 test of -max_value argument for long double.
40507 * sysdeps/i386/fpu/libm-test-ulps: Update.
40508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40510 2012-05-06 David S. Miller <davem@davemloft.net>
40512 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40513 quad soft-float symbols whose references which are compiler
40515 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40517 2012-05-06 Joseph Myers <joseph@codesourcery.com>
40521 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40523 (EXPL_FINITE): Likewise.
40524 (FLDLOG): Likewise.
40527 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40528 Adjust comments for base varying.
40529 (__expl_finite): Change alias to EXPL_FINITE.
40530 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40532 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40533 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40534 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40535 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40536 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40538 (EXPL_FINITE): Likewise.
40539 (FLDLOG): Likewise.
40542 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40543 Adjust comments for base varying.
40544 (__expl_finite): Change alias to EXPL_FINITE.
40545 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40550 * math/libm-test.inc (check_float_internal): Correct ulp
40551 calculation for subnormal expected results.
40553 2012-05-06 Andreas Jaeger <aj@suse.de>
40555 * Makeconfig (+math-flags): New, set to -frounding-math.
40556 (+cflags): Add +math-flags so that all of glibc gets compiled with
40559 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40561 2012-05-05 Joseph Myers <joseph@codesourcery.com>
40563 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40569 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40570 (__ieee754_expl): Allow for and saturate large arguments.
40571 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40572 (u_threshold): Likewise.
40573 (__exp): Call __ieee754_exp before checking for overflow and
40575 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40576 (u_threshold): Likewise.
40577 (__expf): Call __ieee754_expf before checking for overflow and
40579 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40580 (u_threshold): Likewise.
40581 (__expl): Call __ieee754_expl before checking for overflow and
40583 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40584 (__ieee754_expl): Allow for and saturate large arguments.
40585 * math/libm-test.inc (exp_test): Add another test. Do not allow
40586 missing overflow exception on overflow.
40587 (expm1_test): Do not allow missing overflow exception on overflow.
40589 * sysdeps/i386/fpu/e_expl.c: Move to ...
40590 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40591 rather than using inline asm.
40592 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40593 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40594 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40596 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40599 (signal): Likewise.
40603 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40605 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40606 sysdeps/unix/common/syscalls.list.
40607 (fchmod): Likewise.
40608 (fchown): Likewise.
40609 (ftruncate): Likewise.
40610 (getrusage): Likewise.
40611 (gettimeofday): Likewise.
40612 (setpgid): Likewise.
40613 (setregid): Likewise.
40614 (setreuid): Likewise.
40615 (sigaction): Likewise.
40616 (truncate): Likewise.
40617 (vhangup): Likewise.
40618 * sysdeps/unix/common/syscalls.list: Remove file.
40619 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40620 * sysdeps/unix/sysv/linux/Implies: Likewise.
40622 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40624 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40626 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40630 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40633 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40636 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40639 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40642 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40645 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40648 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40652 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40656 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40659 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40663 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40667 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40669 * sysdeps/unix/common/bits/dirent.h: Remove file.
40670 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40672 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40673 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40674 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40675 * sysdeps/unix/bsd/isatty.c: Likewise.
40676 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40677 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40678 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40680 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40683 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40684 long double comparison inaccuracies.
40685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40688 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40690 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40691 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40693 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40696 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40697 nonzero digits before rounding a hex value.
40698 * stdlib/tst-strtod.c (tests): Add another test.
40700 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40702 * sysdeps/s390/fpu/libm-test-ulps: Update.
40704 2012-05-03 Andreas Jaeger <aj@suse.de>
40706 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40707 does not get optimized out.
40708 (malloc_opt_barrier): New.
40710 2012-05-03 Andreas Jaeger <aj@suse.de>
40711 Roland McGrath <roland@hack.frob.com>
40713 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40714 intermediate file deletion.
40715 (generated): Add .symlist files.
40717 2012-05-03 Joseph Myers <joseph@codesourcery.com>
40720 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40721 Redirect under this condition.
40722 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40723 [__USE_GNU] (__dprintf_chk): Not under this condition.
40724 [__USE_GNU] (__vdprintf_chk): Likewise.
40725 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40726 under this condition.
40727 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40728 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40729 [__USE_XOPEN2K8] (vdprintf): Likewise.
40730 [__USE_GNU] (__dprintf_chk): Not under this condition.
40731 [__USE_GNU] (__vdprintf_chk): Likewise.
40732 [__USE_GNU] (dprintf): Likewise.
40733 [__USE_GNU] (vdprintf): Likewise.
40735 2012-05-03 Roland McGrath <roland@hack.frob.com>
40737 * elf/Makefile (common-generated): Set this instead of generated for
40738 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40739 $(all-built-dso)-derived lists.
40741 2012-05-03 Andreas Jaeger <aj@suse.de>
40743 * sysdeps/i386/fpu/libm-test-ulps: Update.
40746 * FAQ.in: Likewise.
40747 * scripts/gen-FAQ.pl: Likewise.
40748 * manual/install.texi (Installation): Point to online location of
40750 * Makefile (files-for-dist): Remove FAQ.
40753 2012-05-02 Allan McRae <allan@archlinux.org>
40755 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40756 (LDFLAGS-reldepmod5.so): Likewise.
40757 (LDFLAGS-reldep6mod1.so): Likewise.
40758 (LDFLAGS-reldep6mod4.so): Likewise.
40759 (LDFLAGS-reldep8mod3.so): Likewise.
40760 (LDFLAGS-unload4mod1.so): Likewise.
40761 (LDFLAGS-unload4mod2.so): Likewise.
40762 (LDFLAGS-tst-initorder): Likewise.
40763 (LDFLAGS-tst-initordera2.so): Likewise.
40764 (LDFLAGS-tst-initordera3.so): Likewise.
40765 (LDFLAGS-tst-initordera4.so): Likewise.
40766 (LDFLAGS-tst-initorderb2.so): Likewise.
40767 (LDFLAGS-noload): Likewise.
40768 (LDFLAGS-next): Likewise.
40769 (LDFLAGS-order2mod1.so): Likewise.
40770 (LDFLAGS-order2mod2.so): Likewise.
40771 (LDFLAGS-tst-initorder2): Likewise.
40772 (LDFLAGS-tst-initorder2a.so): Likewise.
40773 (LDFLAGS-tst-initorder2b.so): Likewise.
40774 (LDFLAGS-tst-initorder2c.so): Likewise.
40775 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40777 2012-05-02 David S. Miller <davem@davemloft.net>
40779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40781 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40784 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40786 2012-05-02 Andreas Jaeger <aj@suse.de>
40788 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40789 since we manipulate rounding mode.
40790 (CPPFLAGS-test-idouble.c): Likewise.
40791 (CPPFLAGS-test-ifloat.c): Likewise.
40792 (CFLAGS-test-ldouble.c): Likewise.
40793 (CFLAGS-test-double.c): Likewise.
40794 (CFLAGS-test-float.c): Likewise.
40795 (CFLAGS-test-misc.c): Likewise.
40796 (CFLAGS-test-test-fenv.c): Likewise.
40798 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40802 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40803 comparisons to determine direction to adjust input.
40805 2012-05-01 Roland McGrath <roland@hack.frob.com>
40807 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40808 output to the target.
40810 * scripts/localplt.awk: New file.
40811 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40812 (check-localplt-CFLAGS): Variable removed.
40813 ($(all-built-dso:=.jmprel)): New static pattern rule.
40814 (generated): Add those targets.
40815 (localplt-built-dso): New variable.
40816 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40818 * elf/check-localplt.c: File removed.
40820 * scripts/check-execstack.awk: New file.
40821 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40822 (check-execstack-CFLAGS): Variable removed.
40823 ($(objpfx)check-execstack.h): Target removed.
40824 ($(objpfx)execstack-default): New target.
40825 (generated): Add that instead of check-execstack.h.
40826 ($(all-built-dso:=.phdr)): New static pattern rule.
40827 (generated): Add those targets.
40828 * elf/check-execstack.c: File removed.
40830 * scripts/check-textrel.awk: New file.
40831 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40832 (check-textrel-CFLAGS): Variable removed.
40833 (all-built-dso): Use := to define.o
40834 ($(all-built-dso:=.dyn)): New static pattern rule.
40835 (generated): Add those targets.
40836 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40837 * config.make.in (READELF): New substituted variable.
40838 * elf/check-textrel.c: File removed.
40840 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40842 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40844 * conform/data/ctype.h-data [C99-based standards] (isblank):
40846 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40847 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40849 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40850 Specify type. Require positive value.
40851 (EILSEQ): Likewise.
40852 (ERANGE): Likewise.
40853 [ISO || POSIX] (EILSEQ): Do not expect.
40854 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40855 Specify type. Require positive value.
40856 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40857 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40858 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40859 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40860 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40861 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40862 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40863 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40864 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40865 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40866 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40867 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40868 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40869 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40870 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40871 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40872 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40873 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40874 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40875 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40876 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40877 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40878 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40879 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40880 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40881 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40882 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40883 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40884 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40885 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40886 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40887 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40888 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40889 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40890 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40891 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40892 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40893 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40894 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40895 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40896 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40897 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40898 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40899 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40900 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40901 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40902 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40903 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40904 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40905 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40906 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40907 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40908 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40909 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40910 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40911 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40912 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40913 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40914 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40915 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40916 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40917 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40918 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40919 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40920 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40921 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40922 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40923 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40924 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40925 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40926 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40927 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40928 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40929 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40930 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40931 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40932 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40934 (FLT_ROUNDS): Expect as macro, not constant.
40935 (FLT_MANT_DIG): Use macro-int-constant.
40936 (DBL_MANT_DIG): Likewise.
40937 (LDBL_MANT_DIG): Likewise.
40938 (FLT_DIG): Likewise.
40939 (DBL_DIG): Likewise.
40940 (LDBL_DIG): Likewise.
40941 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40942 (DBL_MIN_EXP): Likewise.
40943 (LDBL_MIN_EXP): Likewise.
40944 (FLT_MAX_EXP): Use macro-int-constant.
40945 (DBL_MAX_EXP): Likewise.
40946 (LDBL_MAX_EXP): Likewise.
40947 (FLT_MAX_10_EXP): Likewise.
40948 (DBL_MAX_10_EXP): Likewise.
40949 (LDBL_MAX_10_EXP): Likewise.
40950 (FLT_MAX): Use macro-constant.
40951 (DBL_MAX): Likewise.
40952 (LDBL_MAX): Likewise.
40953 (FLT_EPSILON): Use macro-constant. Give upper bound.
40954 (DBL_EPSILON): Likewise.
40955 (LDBL_EPSILON): Likewise.
40956 (FLT_MIN): Likewise.
40957 (DBL_MIN): Likewise.
40958 (LDBL_MIN): Likewise.
40959 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40960 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40961 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40962 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40963 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40964 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40965 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40966 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40967 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40968 [ISO11] (FLT_TRUE_MIN): Likewise.
40969 [ISO11] (LDBL_TRUE_MIN): Likewise.
40970 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40971 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40972 (SCHAR_MIN): Use macro-int-constant. Specify type.
40973 (SCHAR_MAX): Likewise.
40974 (UCHAR_MAX): Likewise.
40975 (CHAR_MIN): Likewise.
40976 (CHAR_MAX): Likewise.
40977 (MB_LEN_MAX): Use macro-int-constant.
40978 (SHRT_MIN): Use macro-int-constant. Specify type.
40979 (SHRT_MAX): Likewise.
40980 (USHRT_MAX): Likewise.
40981 (INT_MAX): Likewise.
40982 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40984 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40986 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40988 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40989 bound negative. Suffix upper bound with "L".
40990 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40992 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40994 [C99-based standards] (LLONG_MAX): Likewise.
40995 [C99-based standards] (ULLONG_MAX): Likewise.
40996 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40998 [ISO11] (max_align_t): Require type.
40999 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41001 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41002 from $CFLAGS, without defining away __attribute__ calls.
41003 (checknamespace): Use $CFLAGS_namespace.
41005 * conform/conformtest.pl (@keywords): Only include C99 keywords
41006 for standards based on C99 or C11.
41008 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41010 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41013 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41014 usability of symbols in #if.
41016 * conform/conformtest.pl: If macro or constant types start
41017 "promoted:", expect the symbol to be of the following type
41018 promoted by the integer promotions.
41020 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41021 in one place. Also handle "macro-constant".
41023 * conform/conformtest.pl: Only accept expected macro values with
41024 "==". Parse all "macro" lines in one place.
41025 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41027 * conform/conformtest.pl: Handle braced types on "constant" lines
41028 instead of handling "typed-constant".
41029 * conform/data/signal.h-data: Use "constant" instead of
41032 * conform/conformtest.pl: Handle "optional-" at start of lines in
41033 one place rather than duplicating several cases. Handle each
41034 format of "macro" line with initial "optional-".
41036 * conform/conformtest.pl: Only accept expected constant or
41037 optional-constant values with "==". Parse all "constant" lines in
41038 one place. Parse all "optional-constant" lines in one place.
41039 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41040 * conform/data/fmtmsg.h-data: Likewise.
41041 * conform/data/netinet/in.h-data: Likewise.
41042 * conform/data/tar.h-data: Likewise.
41043 * conform/data/limits.h-data: Use "==" form on "constant" and
41044 "optional-constant" lines.
41046 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41047 Use -std=c99 for XOPEN2K.
41048 (@knownproblems): Remove.
41049 (newtoken): Don't check %isknown.
41051 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41052 Do not expect macro.
41053 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41054 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41055 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41056 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41057 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41058 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41059 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41060 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41061 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41062 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41063 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41064 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41065 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41066 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41067 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41068 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41069 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41070 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41071 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41072 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41073 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41074 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41075 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41076 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41077 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41078 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41079 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41080 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41081 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41082 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41083 [XPG3] (acosh): Likewise.
41084 [XPG3] (asinh): Likewise.
41085 [XPG3] (atanh): Likewise.
41086 [XPG3] (cbrt): Likewise.
41087 [XPG3] (expm1): Likewise.
41088 [XPG3] (ilogb): Likewise.
41089 [XPG3] (log1p): Likewise.
41090 [XPG3] (logb): Likewise.
41091 [XPG3] (nextafter): Likewise.
41092 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41093 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41094 [XPG3] (remainder): Likewise.
41095 [XPG3] (rint): Likewise.
41096 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41097 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41098 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41099 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41100 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41101 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41102 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41103 [UNIX98 || XOPEN2K] (scalb): Expect.
41104 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41105 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41106 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41107 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41108 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41109 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41110 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41111 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41112 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41113 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41114 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41115 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41116 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41117 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41118 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41119 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41120 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41121 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41122 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41123 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41124 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41125 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41126 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41127 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41128 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41129 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41130 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41131 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41132 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41133 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41134 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41135 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41136 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41137 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41138 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41139 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41140 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41141 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41142 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41143 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41144 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41145 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41146 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41147 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41148 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41149 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41150 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41151 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41152 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41153 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41154 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41155 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41156 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41157 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41158 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41159 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41160 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41161 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41162 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41163 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41164 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41165 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41166 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41167 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41168 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41169 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41170 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41171 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41172 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41173 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41174 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41175 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41176 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41177 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41178 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41179 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41180 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41181 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41182 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41183 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41184 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41185 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41186 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41187 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41188 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41189 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41190 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41191 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41192 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41193 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41194 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41195 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41196 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41197 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41198 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41199 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41200 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41201 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41202 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41203 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41204 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41205 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41206 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41207 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41208 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41209 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41210 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41211 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41212 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41213 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41214 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41215 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41216 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41217 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41218 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41219 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41220 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41221 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41222 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41223 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41224 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41225 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41226 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41227 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41228 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41229 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41230 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41231 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41232 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41233 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41234 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41235 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41236 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41237 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41238 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41239 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41240 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41242 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41243 _XOPEN_SOURCE_EXTENDED for XPG4.
41245 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41247 * Makeconfig (localtime): Remove variable.
41248 (inst_localtime-file): Likewise.
41250 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41271 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41275 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41276 comparisons to determine direction to adjust input.
41277 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41278 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41279 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41281 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41283 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41285 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41286 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41288 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41290 * math/libm-test.inc (nexttoward_test): Add more tests.
41292 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41295 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41296 in version GLIBC_2.1, not GLIBC_2.0.
41297 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41300 2012-04-30 Joseph Myers <joseph@codesourcery.com>
41303 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41305 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41306 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41307 * math/libm-test.inc (acos_test): Add more tests.
41308 (asin_test): Likewise.
41309 * sysdeps/i386/fpu/libm-test-ulps: Update.
41310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41313 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41315 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41316 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41317 * math/libm-test.inc (acos_test_tonearest): New function.
41318 (acos_test_towardzero): Likewise.
41319 (acos_test_downward): Likewise.
41320 (acos_test_upward): Likewise.
41321 (asin_test_tonearest): Likewise.
41322 (asin_test_towardzero): Likewise.
41323 (asin_test_downward): Likewise.
41324 (asin_test_upward): Likewise.
41325 (main): Call the new functions.
41326 * sysdeps/i386/fpu/libm-test-ulps: Update.
41327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41331 * math/e_exp10.c: Include <float.h>.
41332 (__ieee754_exp10): Handle underflow here rather than multiplying
41333 large negative argument by M_LN10.
41334 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41336 * math/e_exp10l.c: Include <float.h>.
41337 (__ieee754_exp10l): Handle underflow here rather than multiplying
41338 large negative argument by M_LN10l.
41339 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41340 spurious overflow exception on underflow.
41342 2012-04-29 Marek Polacek <polacek@redhat.com>
41344 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41345 (__fortify_function): New macro.
41346 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41347 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41348 __extern_always_inline.
41349 * libio/bits/stdio2.h: Likewise.
41350 * libio/bits/stdio.h: Likewise.
41351 * string/string.h: Likewise.
41352 * string/bits/string3.h: Likewise.
41353 * include/stdio.h: Likewise.
41354 * stdlib/bits/stdlib.h: Likewise.
41355 * stdlib/stdlib.h: Likewise.
41356 * rt/bits/mqueue2.h: Likewise.
41357 * rt/mqueue.h: Likewise.
41358 * posix/bits/unistd.h: Likewise.
41359 * posix/unistd.h: Likewise.
41360 * io/bits/poll2.h: Likewise.
41361 * io/bits/fcntl2.h: Likewise.
41362 * io/fcntl.h: Likewise.
41363 * io/sys/poll.h: Likewise.
41364 * misc/bits/syslog.h: Likewise.
41365 * misc/bits/syslog-ldbl.h: Likewise.
41366 * misc/sys/syslog.h: Likewise.
41367 * socket/bits/socket2.h: Likewise.
41368 * socket/sys/socket.h: Likewise.
41369 * debug/tst-chk1.c: Likewise.
41370 * wcsmbs/bits/wchar2.h: Likewise.
41371 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41372 * wcsmbs/wchar.h: Likewise.
41374 2012-04-29 Andreas Jaeger <aj@suse.de>
41376 * Makerules (tests): Remove enable-check-abi protection.
41377 (check-abi-warn): Remove.
41378 (check-abi-%): Remove check-abi-warn usage.
41380 * configure.in: Remove check-abi configure option.
41381 * configure: Regenerated.
41382 * config.make.in (enable-check-abi): Remove.
41384 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41387 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41388 double functions to double *_finite functions.
41391 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41392 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41394 * stdio-common/Makefile (tests): Add tst-sprintf3.
41395 * stdio-common/tst-sprintf3.c: New file.
41397 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41398 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41400 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41402 * conform/conformtest.pl: Remove duplicate typed-constant
41405 2012-04-28 David S. Miller <davem@davemloft.net>
41407 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41408 (check-abi-%): Remove AWK script prerequisite and explicit
41410 (check-abi): Rewrite to just diff the symlist with the abilist.
41411 (config-tls, config-abi-config): Delete, no longer used.
41412 (update-abi-%): Remove AWK script and explicit abilist directory.
41413 (update-abi): Rewrite to simply compare and conditionally copy the
41414 symlist and the sysdep abilist file. Remove update-abi-config
41416 * abilist/ld.abilist: Remove.
41417 * abilist/libBrokenLocale.abilist: Remove.
41418 * abilist/libanl.abilist: Remove.
41419 * abilist/libcrypt.abilist: Remove.
41420 * abilist/libdl.abilist: Remove.
41421 * abilist/librt.abilist: Remove.
41422 * abilist/libthread_db.abilist: Remove.
41423 * abilist/libutil.abilist: Remove.
41424 * scripts/extract-abilist.awk: Remove.
41425 * scripts/merge-abilist.awk: Remove.
41426 * sysdeps/generic/libcidn.abilist: New file.
41427 * sysdeps/generic/libnss_compat.abilist: New file.
41428 * sysdeps/generic/libnss_db.abilist: New file.
41429 * sysdeps/generic/libnss_dns.abilist: New file.
41430 * sysdeps/generic/libnss_files.abilist: New file.
41431 * sysdeps/generic/libnss_hesiod.abilist: New file.
41432 * sysdeps/generic/libnss_nis.abilist: New file.
41433 * sysdeps/generic/libnss_nisplus.abilist: New file.
41434 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41435 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41436 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41438 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41439 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41440 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41441 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41442 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41443 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41444 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41445 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41446 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41448 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41449 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41450 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41451 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41453 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41454 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41455 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41456 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41457 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41458 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41460 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41461 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41462 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41464 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41567 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41568 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41569 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41571 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41572 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41573 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41574 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41575 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41576 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41577 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41578 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41579 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41580 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41632 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41634 * conform/conformtest.pl: Fix typo in handling typed-constant from
41637 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41639 * README: Cut down references to pre-2.6 Linux kernels and
41640 Linuxthreads. Update lists of configurations in libc and ports
41641 and sort alphabetically. Say "or newer" with Linux kernel version
41644 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41646 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41649 * math/libm-test.inc (logb_test_downward): New test to expose
41650 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41653 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41656 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41658 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41659 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41661 2012-04-26 Joseph Myers <joseph@codesourcery.com>
41663 * sysdeps/unix/i386/brk.S: Remove file.
41664 * sysdeps/unix/i386/dl-brk.S: Likewise.
41665 * sysdeps/unix/i386/pipe.S: Likewise.
41666 * sysdeps/unix/i386/sigreturn.S: Likewise.
41667 * sysdeps/unix/i386/syscall.S: Likewise.
41668 * sysdeps/unix/i386/vfork.S: Likewise.
41669 * sysdeps/unix/i386/wait.S: Likewise.
41671 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41672 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41674 * configure.in (arm*-none*): Do not allow without
41675 --enable-hacker-mode.
41676 (netbsd*): Remove case setting base_os.
41677 (386bsd*): Likewise.
41678 (freebsd*): Likewise.
41681 (sunos*): Likewise.
41682 (ultrix*): Likewise.
41683 (newsos*): Likewise.
41684 (dynix*): Likewise.
41690 (minix*): Likewise.
41691 (irix4*): Likewise.
41692 (irix6*): Likewise.
41693 (solaris[2-9]*): Likewise.
41695 * configure: Regenerated.
41697 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41700 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41701 overflow or cancellation in calculating denominator.
41702 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41703 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41704 down expression to avoid unexpected rounding in newer GCCs.
41705 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41707 2012-04-26 David S. Miller <davem@davemloft.net>
41709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41710 long-double compat symbols.
41711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41725 2012-04-25 David S. Miller <davem@davemloft.net>
41727 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41728 HWCAP_* values only after the memory barriers have been defined.
41729 (atomic_full_barrier): Define.
41730 (atomic_read_barrier): Define.
41731 (atomic_write_barrier): Define.
41733 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41735 * shlib-versions: Add libgcc_s version information.
41736 * sysdeps/generic/libgcc_s.h: Remove.
41737 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41739 * sysdeps/gnu/unwind-resume.c: Likewise.
41740 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41742 2012-04-25 David S. Miller <davem@davemloft.net>
41744 * sysdeps/unix/sparc/brk.S: Delete.
41745 * sysdeps/unix/sparc/dl-brk.S: Delete.
41746 * sysdeps/unix/sparc/pipe.S: Delete.
41747 * sysdeps/unix/sparc/sysdep.S: Delete.
41748 * sysdeps/unix/sparc/sysdep.h: Delete.
41749 * sysdeps/unix/sparc/vfork.S: Delete.
41750 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41751 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41752 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41753 (ret_ERRVAL, r0, r1, MOVE): Define.
41754 (JUMPTARGET): Remove.
41755 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41756 sysdeps/unix/sparc/sysdep.h
41757 (ENTRY, END): Remove.
41758 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41760 2012-04-25 Joseph Myers <joseph@codesourcery.com>
41762 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41763 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41766 * timezone/README: Update upstream location and email address for
41768 * timezone/zdump.c: Update from tzcode 2012b.
41769 * timezone/zic.c: Likewise.
41771 * configure.in (libc_cv_as_needed): Remove test.
41772 * configure: Regenerated.
41773 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41774 conditional definition.
41775 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41776 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41777 * config.make.in (have-as-needed): Remove variable.
41779 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41780 Paul Pluzhnikov <ppluzhnikov@google.com>
41782 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41785 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41787 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41788 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41789 * sysdeps/sh/strlen.S: Likewise.
41791 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41793 * sysdeps/unix/fork.S: Remove file.
41794 * sysdeps/unix/i386/fork.S: Likewise.
41795 * sysdeps/unix/sparc/fork.S: Likewise.
41797 * sysdeps/unix/system.c: Remove file.
41798 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41800 * sysdeps/unix/getegid.S: Remove file.
41801 * sysdeps/unix/geteuid.S: Likewise.
41803 2012-04-24 Roland McGrath <roland@hack.frob.com>
41805 * scripts/check-localplt.awk: New file.
41806 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41808 * scripts/data/localplt-generic.data: Add a comment.
41810 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41811 NODE when __dir_mkfile failed.
41812 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41813 Reported by Ludovic Courtès <ludo@gnu.org>.
41815 2012-04-24 Andreas Jaeger <aj@suse.de>
41817 * Makerules (common-clean): Also remove gen-as-const-headers
41820 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41822 * Makerules (native-compile): Do not change working directory for
41823 build. Use $(OUTPUT_OPTION) in command.
41824 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41826 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41829 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41830 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41831 * math/libm-test.inc (floor_test): Add more tests.
41832 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41834 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41836 * sysdeps/unix/getdents.c: Remove file.
41837 * sysdeps/unix/sysv/getdents.c: Likewise.
41838 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41840 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41841 sysdeps/unix/mman/syscalls.list.
41843 (mprotect): Likewise.
41845 (munmap): Likewise.
41846 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41847 * sysdeps/unix/mman/syscalls.list: Remove.
41848 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41850 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41851 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41852 * configure: Regenerated.
41853 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41854 $(libgcc_s_suffix).
41855 * config.make.in (libgcc_s_suffix): Remove variable.
41857 2012-04-23 Joseph Myers <joseph@codesourcery.com>
41859 * sysdeps/unix/sysv/gethostname.c: Move to ...
41860 * sysdeps/posix/gethostname.c: ... here.
41862 * sysdeps/unix/execve.S: Remove file.
41864 * sysdeps/unix/_exit.S: Remove file.
41866 2012-04-23 Andreas Jaeger <aj@suse.de>
41869 * manual/Makefile: Remove make dist support, there's no
41870 need for a stand-alone documentation tar ball.
41871 (TEXI2DVI): Define always, it's not in Makeconfig.
41874 (edition): Removed.
41875 (glibc-doc-$(edition).tar): Removed
41879 (ETAGS): Remove, it's in Makeconfig.
41880 (move-if-change): Remove, it's in Makeconfig.
41882 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
41885 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41886 (strtod, strtof, strtold, strtol, strtoul, strtoq)
41887 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41888 (strtod_l, strtof_l, strtold_l): Remove __wur.
41889 It is not necessarily an error to ignore strtol's return value.
41890 One can reliably look at the stored endptr to decide whether
41891 the number had valid syntax.
41893 2012-04-21 Andreas Jaeger <aj@suse.de>
41896 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41898 2012-04-21 Joseph Myers <joseph@codesourcery.com>
41900 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41901 * sysdeps/unix/sysv/Versions: Remove file.
41903 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
41906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41908 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
41911 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41912 version from __vm86.
41914 2012-04-20 Joseph Myers <joseph@codesourcery.com>
41916 * sysdeps/unix/common/lxstat.c: Remove file.
41917 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41919 * sysdeps/unix/sysv/Makefile: Remove file.
41921 * sysdeps/unix/sysv/direct.h: Remove file.
41923 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41924 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41925 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41926 * sysdeps/unix/sysv/bits/signum.h: Likewise.
41927 * sysdeps/unix/sysv/bits/stat.h: Likewise.
41928 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41929 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41931 * sysdeps/unix/sysv/setrlimit.c: Remove file.
41933 * sysdeps/unix/xmknod.c: Remove file.
41934 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41936 * sysdeps/unix/sysv/settimeofday.c: Remove file.
41938 * sysdeps/unix/sysv/i386/time.S: Remove file.
41940 * sysdeps/unix/fxstat.c: Remove file.
41941 * sysdeps/unix/xstat.c: Likewise.
41942 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41944 * sysdeps/unix/sysv/sigaction.c: Remove file.
41946 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41947 (sysdep_headers): Remove variable.
41948 [termio.h not in sysdep_headers] (generated): Likewise.
41949 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41950 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41951 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41952 * sysdeps/unix/sysv/tcflow.c: Likewise.
41953 * sysdeps/unix/sysv/tcflush.c: Likewise.
41954 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41955 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41956 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41957 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41958 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41960 * sysdeps/unix/siglist.c: Remove file.
41962 * sysdeps/unix/getppid.S: Remove file.
41964 * sysdeps/unix/mkdir.c: Remove file.
41965 * sysdeps/unix/rmdir.c: Likewise.
41967 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41969 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41971 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41972 errlist-compat value.
41974 2012-04-18 David S. Miller <davem@davemloft.net>
41976 * sysdeps/generic/memcopy.h (reg_char): Delete.
41977 * debug/strcat_chk.c: Use char, not reg_char.
41978 * debug/strcpy_chk.c: Likewise.
41979 * debug/strncat_chk.c: Likewise.
41980 * debug/strncpy_chk.c: Likewise.
41981 * string/memchr.c: Likewise.
41982 * string/memrchr.c: Likewise.
41983 * string/rawmemchr.c: Likewise.
41984 * string/strcat.c: Likewise.
41985 * string/strchr.c: Likewise.
41986 * string/strchrnul.c: Likewise.
41987 * string/strcmp.c: Likewise.
41988 * string/strcpy.c: Likewise.
41989 * string/strncat.c: Likewise.
41990 * string/strncmp.c: Likewise.
41991 * string/strncpy.c: Likewise.
41993 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41995 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41996 __builtin_memcopy is called when src and dest ranges are known to not
41999 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42001 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42002 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42003 fwd_align_merge macro call.
42004 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42005 bwd_align_merge macro call.
42006 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42008 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42010 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42011 bwd_align_merge macros.
42012 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42013 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42014 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42016 2012-04-18 David S. Miller <davem@davemloft.net>
42018 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42020 2012-04-18 Andreas Jaeger <aj@suse.de>
42023 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42024 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42025 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42027 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42028 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42029 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42031 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42032 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42033 Adjust for changed ldbl-128 files.
42035 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42036 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42037 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42039 2012-04-17 David S. Miller <davem@davemloft.net>
42041 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42043 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42045 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42046 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42047 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42048 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42049 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42050 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42052 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42055 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42056 * math/libm-test.inc: Add ilogb errno and exception tests.
42057 * math/w_ilogb.c: New file: ilogb wrapper.
42058 * math/w_ilogbf.c: New file: ilogbf wrapper.
42059 * math/w_ilogbl.c: New file: ilogbl wrapper.
42060 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42061 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42062 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42063 exception being thrown with 0.0 as argument.
42064 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42065 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42066 exception being thrown with 0.0 as argument.
42067 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42068 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42069 exception being thrown with 0.0 as argument.
42070 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42071 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42072 exception being thrown with 0.0 as argument.
42073 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42074 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42075 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42076 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42077 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42078 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42079 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42080 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42081 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42083 2012-04-17 Petr Baudis <pasky@ucw.cz>
42085 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42088 2012-04-16 Marek Polacek <polacek@redhat.com>
42090 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42092 2012-04-16 Marek Polacek <polacek@redhat.com>
42094 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42095 operands of fdivp instruction.
42097 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42099 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42100 * elf/tst-auditmod3b.c: Likewise.
42101 * elf/tst-auditmod4b.c: Likewise.
42102 * elf/tst-auditmod5b.c: Likewise.
42103 * elf/tst-auditmod6b.c: Likewise.
42104 * elf/tst-auditmod6c.c: Likewise.
42105 * elf/tst-auditmod7b.c: Likewise.
42106 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42107 * sysdeps/x86_64/preconfigure.in: Likewise.
42108 * sysdeps/x86_64/preconfigure: Regenerated.
42110 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42112 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42115 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
42117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42118 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42120 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42123 * locale/iso-639.def: Fix gl language name. Spotted by
42126 2012-04-12 Roland McGrath <roland@hack.frob.com>
42129 * libio/libio.h (__io_write_fn): Update comment.
42131 2012-04-12 Petr Baudis <pasky@ucw.cz>
42134 * stdio.texi (Hook Functions): The user provided writer function
42135 is not allowed to return -1.
42137 2012-04-11 David S. Miller <davem@davemloft.net>
42139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42141 2012-04-11 Mike Frysinger <vapier@gentoo.org>
42143 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42144 Add a leading slash to rtkaio.
42146 2012-04-11 Jim Meyering <meyering@redhat.com>
42149 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42150 It is not necessarily an error to ignore fwrite's return
42151 value. One can reliably use ferror to test for errors after
42154 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42156 * bits/types.h (__snseconds_t): New type.
42157 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42159 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42160 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42161 (__SNSECONDS_T_TYPE): Likewise.
42162 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42163 (__SNSECONDS_T_TYPE): Likewise.
42164 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42165 (__SNSECONDS_T_TYPE): Likewise.
42167 2012-04-10 Andreas Jaeger <aj@suse.de>
42170 * manual/time.texi (Processor Time): Return type of times is
42171 elapsed real time since an arbitrary point in the past.
42172 (CPU Time): Move CLK_TCK from here...
42173 (Processor Time): ...to here. Correct description.
42174 * manual/conf.texi (Constants for Sysconf): Correct description of
42177 2012-04-10 David S. Miller <davem@davemloft.net>
42180 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42181 where the is a gap between DT_REL(A) and DT_JMPREL.
42183 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42185 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42186 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42187 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42189 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42191 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42192 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42193 (dl_main): Handle --inhibit-cache.
42194 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42196 * elf/dl-load.c (_dl_map_object): Use it.
42197 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42199 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42202 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42203 (__ieee754_powl): Saturate large exponents rather than testing for
42204 overflow of y*log2(x).
42205 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42206 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42210 * math/s_ctan.c: Include <float.h>.
42211 (__ctan): Avoid internal overflow or cancellation in calculating
42213 * math/s_ctanf.c: Likewise.
42214 * math/s_ctanl.c: Likewise.
42215 * math/s_ctanh.c: Likewise.
42216 * math/s_ctanhf.c: Likewise.
42217 * math/s_ctanhl.c: Likewise.
42218 * math/libm-test.inc (ctan_test): Add more tests.
42219 (ctanh_test): Likewise.
42220 * sysdeps/i386/fpu/libm-test-ulps: Update.
42221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42223 2012-04-09 Andreas Jaeger <aj@suse.de>
42226 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42227 is an optional BSD extension.
42230 * manual/stdio.texi (Opening Streams): Document additional fopen
42233 2012-04-09 Roland McGrath <roland@hack.frob.com>
42235 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42236 %eax without telling the compiler.
42238 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42241 * manual/install.texi: Use sourceware.org.
42243 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42246 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42247 (__ieee754_pow): Generate overflow and underflow using huge*huge
42248 and tiny*tiny rather than just returning constant infinity or zero
42249 for large exponents.
42250 * math/libm-test.inc (pow_test): Require overflow exceptions for
42251 applicable cases of large exponents.
42254 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42255 (__ieee754_pow): Use iterative multiplication algorithm only for
42256 integer exponents with absolute value below 1024. Check for odd
42257 integer exponents when using algorithm for real exponents.
42258 * math/libm-test.inc (pow_test): Add more tests.
42259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42261 2012-04-08 Joseph Myers <joseph@codesourcery.com>
42264 * math/libm-test.inc (exp_test): Do not allow overflow exception
42267 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42270 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42271 instead of __kernel_standard_f.
42273 2012-04-08 Mike Frysinger <vapier@gentoo.org>
42275 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42276 * sysdeps/x86_64/memset_chk.S: Likewise.
42278 2012-04-08 Andreas Jaeger <aj@suse.de>
42281 * manual/startup.texi (Environment Access): Describe return value
42282 for putenv and setenv.
42285 * manual/filesys.texi (Directory Entries): Add description for
42289 * manual/filesys.texi (Directory Entries): Clarify that it's file
42290 system not operating system in the description of DT_UNKNOWN.
42293 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42295 2012-04-08 Stephen Compall <s11@member.fsf.org>
42298 * manual/llio.texi (Opening and Closing Files): Add cross
42299 reference to explain mode argument.
42301 2012-04-07 Mike Frysinger <vapier@gentoo.org>
42303 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42304 * sysdeps/x86_64/memset_chk.S: Likewise.
42306 2012-04-07 David S. Miller <davem@davemloft.net>
42308 * elf/elf.h (R_SPARC_WDISP10): Define.
42309 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42311 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42312 R_SPARC_SIZE64 and R_SPARC_H34.
42314 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42316 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42317 conditions and remove no longer applicable assertion.
42319 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42321 * bits/byteswap.h: Include <features.h>.
42322 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42323 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42325 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42327 * bits/byteswap.h (__bswap_16): Removed.
42328 Include <bits/byteswap-16.h> to get __bswap_16.
42329 * sysdeps/i386/bits/byteswap.h: Likewise.
42330 * sysdeps/s390/bits/byteswap.h: Likewise.
42331 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42332 * bits/byteswap-16.h: New file.
42333 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42334 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42335 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42336 * string/Makefile (headers): Add bits/byteswap-16.h.
42338 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42341 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42343 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42344 * nss/tst-nss-static.c: New.
42346 2012-04-06 Robert Millan <rmh@gnu.org>
42349 * manual/llio.texi (File Position Primitive): lseek
42350 refers to WHENCE when it really means OFFSET.
42352 2012-04-06 Andreas Jaeger <aj@suse.de>
42354 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42355 strncmp declarations.
42357 * abilist/libc.abilist: Add __poll and __ppoll.
42359 2012-04-05 David S. Miller <davem@davemloft.net>
42361 * scripts/check-local-headers.sh: Accept a host triplet in the
42362 path matched by the exclude regexp.
42364 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42366 * sysdeps/powerpc/powerpc32/dl-machine.h
42367 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42368 * sysdeps/s390/s390-32/dl-machine.h
42369 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42370 * sysdeps/sparc/sparc32/dl-machine.h
42371 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42372 * sysdeps/sparc/sparc64/dl-machine.h
42373 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42375 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42377 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42378 undefined symbol errors.
42380 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42383 2012-04-05 Michael Matz <matz@suse.de>
42386 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42388 2012-04-05 Andreas Jaeger <aj@suse.de>
42391 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42394 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42396 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42397 which ROUND is no valid rounding mode.
42399 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42401 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42403 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42405 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42407 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42408 an exception using FPU order intentionally.
42410 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42412 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42413 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42414 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42415 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42417 2012-04-05 Simon Josefsson <simon@josefsson.org>
42420 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42421 EINVAL when BUFLEN is too smal.
42423 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42426 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42427 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42429 2012-04-03 Andreas Jaeger <aj@suse.de>
42432 * manual/setjmp.texi (System V contexts): Fix sentence.
42435 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42436 New macro for this case.
42437 [!__GNUC__] (__bswap_64): New inline function for this case.
42438 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42439 * bits/byteswap.h: Likewise.
42440 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42441 ull, guard with __GLIBC_HAVE_LONG_LONG.
42443 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42444 __GLIBC_HAVE_LONG_LONG.
42446 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42447 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42449 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42452 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42453 inptr and inend, rather than using last_ch.
42455 2012-04-02 David S. Miller <davem@davemloft.net>
42457 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42458 * stdio-common/printf-parse.h (read_int): Change return type to
42459 'int', return -1 on INT_MAX overflow.
42460 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42461 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42462 overflows INT_MAX. Check for overflow of in-format-string precision
42463 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42464 SIZE_MAX not INT_MAX for integer overflow test.
42465 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42466 skip the construct in the format string but do not record anything.
42467 * stdio-common/bug22.c: Adjust to test both width/prevision
42468 INT_MAX overflow as well as total length INT_MAX overflow. Check
42469 explicitly for proper errno values.
42471 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42473 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42475 * string/test-strcmp.c [! WIDE]: Likewise.
42476 * time/tst-mktime2.c: Likewise for INT_MAX.
42477 * string/test-string.h: #include <sys/param.h> for MIN.
42479 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42480 * sysdeps/i386/init-first.c (init): Likewise.
42481 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42482 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42483 * sysdeps/sh/init-first.c (init): Likewise.
42485 2012-04-01 Ulrich Drepper <drepper@gmail.com>
42487 * po/ru.po: Update from translation team.
42488 * po/vi.po: Likewise.
42490 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42492 * resolv/nss_dns/dns-host.c: Merge copyright years.
42494 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42496 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42497 Optimize memcpy with prefetch if
42498 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42499 src, dst pointers have unequal 16 byte alignments.
42501 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42504 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42505 from a CNAME entry and return the minimum ttl for the query.
42506 (gaih_getanswer_slice): Likewise.
42508 2012-03-30 Jeff Law <law@redhat.com>
42510 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42512 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42513 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42515 * resolv/nss_dns/dns-host.c: Update copyright year.
42517 2012-03-30 Ulrich Drepper <drepper@gmail.com>
42519 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42520 requests to save a system call. Fix check that all bytes are sent.
42522 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42523 comments for sendmmsg.
42525 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42528 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42529 with only 1 character between 0x0041 and 0x01b0.
42530 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42531 * wcsmbs/tst-mbsnrtowcs.c: New file.
42533 2012-03-29 David S. Miller <davem@davemloft.net>
42535 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42536 small copies by hand.
42538 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42541 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42542 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42545 2012-03-28 David S. Miller <davem@davemloft.net>
42547 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42548 that branches into memcpy.
42549 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42550 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42551 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42552 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42553 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42555 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42556 implementation too.
42557 * sysdeps/sparc/mempcpy.S: New file.
42559 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42560 the IFUNC routine in the libc case.
42561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42563 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42564 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42565 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42566 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42567 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42568 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42569 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42570 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42572 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42573 loop to 256 bytes instead of 64 bytes and fix test signedness.
42575 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42576 * sysdeps/sparc/sparc32/Makefile: rather than here...
42577 * sysdeps/sparc/sparc64/Makefile: and here.
42579 2012-03-28 Ulrich Drepper <drepper@gmail.com>
42581 * malloc/mallocbug.c: Avoid warnings about unused variables.
42583 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42586 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42587 in the right place. Discard and retry query if response is
42588 larger than input buffer size.
42590 2012-03-28 Joseph Myers <joseph@codesourcery.com>
42595 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42596 x for large integer exponent.
42597 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42598 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42599 sign of result as needed afterwards.
42600 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42601 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42602 result for underflowing pow the same as for overflow.
42603 (__kernel_standard_l): Handle powl overflow and underflow here
42604 rather than calling __kernel_standard.
42605 * math/libm-test.inc (pow_test): Add more tests.
42620 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42621 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42622 (__kernel_standard_l): New function.
42623 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42625 * math/w_acosl.c (__acosl): Likewise.
42626 * math/w_asinl.c (__asinl): Likewise.
42627 * math/w_atan2l.c (__atan2l): Likewise.
42628 * math/w_atanhl.c (__atanhl): Likewise.
42629 * math/w_coshl.c (__coshl): Likewise.
42630 * math/w_exp10l.c (__exp10l): Likewise.
42631 * math/w_exp2l.c (__exp2l): Likewise.
42632 * math/w_fmodl.c (__fmodl): Likewise.
42633 * math/w_hypotl.c (__hypotl): Likewise.
42634 * math/w_j0l.c (__j0l, __y0l): Likewise.
42635 * math/w_j1l.c (__j1l, __y1l): Likewise.
42636 * math/w_jnl.c (__jnl, __ynl): Likewise.
42637 * math/w_lgammal.c (__lgammal): Likewise.
42638 * math/w_log10l.c (__log10l): Likewise.
42639 * math/w_log2l.c (__log2l): Likewise.
42640 * math/w_logl.c (__logl): Likewise.
42641 * math/w_powl.c (__powl): Likewise.
42642 * math/w_remainderl.c (__remainderl): Likewise.
42643 * math/w_scalbl.c (sysv_scalbl): Likewise.
42644 * math/w_sinhl.c (__sinhl): Likewise.
42645 * math/w_sqrtl.c (__sqrtl): Likewise.
42646 * math/w_tgammal.c (__tgammal): Likewise.
42647 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42648 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42649 * math/libm-test.inc (acos_test): Add more tests.
42650 (acosh_test): Likewise.
42651 (asin_test): Likewise.
42652 (atanh_test): Likewise.
42653 (exp_test): Likewise.
42654 (exp10_test): Likewise.
42655 (exp2_test): Likewise.
42656 (expm1_test): Likewise.
42657 (lgamma_test): Likewise.
42658 (log_test): Likewise.
42659 (log10_test): Likewise.
42660 (log1p_test): Likewise.
42661 (log2_test): Likewise.
42662 (pow_test): Do not allow some spurious overflow exceptions.
42663 (sqrt_test): Add more tests.
42664 (tgamma_test): Likewise.
42665 (y0_test): Likewise.
42666 (y1_test): Likewise.
42667 (yn_test): Likewise.
42669 2012-03-27 Anton Blanchard <anton@samba.org>
42671 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42673 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42674 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42675 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42677 2012-03-27 David S. Miller <davem@davemloft.net>
42679 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42681 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42682 have-as-vis3 check.
42684 2012-03-27 Andreas Jaeger <aj@suse.de>
42686 * sysdeps/x86_64/elf/configure.in: Moved to ...
42687 * sysdeps/x86_64/configure.in: ... here.
42688 * sysdeps/x86_64/elf/start.S: Moved to ...
42689 * sysdeps/x86_64/start.S: ... here.
42690 * sysdeps/x86_64/elf/configure: Delete.
42692 * sysdeps/x86_64/configure.in: Merge contents from
42693 sysdeps/i386/configure.in (without i686 check).
42695 * sysdeps/i386/elf/Versions: Merge into ...
42696 * sysdeps/i386/Versions: ... this.
42697 * sysdeps/i386/elf/Versions: Delete file.
42698 * sysdeps/i386/elf/start.S: Moved to ...
42699 * sysdeps/i386/start.S: ...here.
42700 * sysdeps/i386/elf/configure.in: Merge into...
42701 * sysdeps/i386/configure.in: ...here.
42702 * sysdeps/i386/elf/configure.in: Delete file.
42703 * sysdeps/i386/elf/configure: Delete file.
42705 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42706 * debug/backtracesyms.c: ... here.
42707 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42708 * debug/backtracesymsfd.c: ... here.
42709 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42710 * sysdeps/generic/ifunc-sel.h: ... here.
42712 * sysdeps/unix/i386/start.c: Delete file.
42713 * sysdeps/unix/sparc/start.c: Delete file.
42714 * sysdeps/unix/start.c: Delete file.
42716 * sysdeps/sh/elf/configure.in: Moved to ...
42717 * sysdeps/sh/configure.in: ... here.
42718 * sysdeps/sh/elf/start.S: Moved to ...
42719 * sysdeps/sh/start.S: ... here.
42720 * sysdeps/sh/elf/configure: Delete file.
42722 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42723 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42724 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42725 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42726 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42727 * sysdeps/powerpc/powerpc64/start.S: here.
42728 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42729 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42730 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42731 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42732 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42734 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42735 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42736 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42737 * sysdeps/powerpc/powerpc32/start.S: ... here.
42738 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42739 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42740 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42742 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42743 * sysdeps/powerpc/ifunc-sel.h: ... here.
42744 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42745 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42747 * sysdeps/sparc/elf/configure.in: Moved to ...
42748 * sysdeps/sparc/configure.in: ... here.
42749 * sysdeps/sparc/elf/configure: Delete file.
42750 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42751 * sysdeps/sparc/sparc32/start.S: ... here.
42752 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42753 * sysdeps/sparc/sparc64/start.S: ... here.
42754 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42755 * sysdeps/sparc/sparc32/Makefile: ... this.
42756 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42757 * sysdeps/sparc/sparc64/Makefile: ... this.
42759 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42760 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42761 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42762 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42763 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42764 * sysdeps/s390/s390-32/setjmp.S: ... here.
42765 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42766 * sysdeps/s390/s390-32/configure.in: ... here.
42767 * sysdeps/s390/s390-32/elf/configure: Delete file.
42768 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42769 * sysdeps/s390/s390-32/start.S: ... here.
42771 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42772 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42773 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42774 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42775 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42776 * sysdeps/s390/s390-64/setjmp.S: ... here.
42777 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42778 * sysdeps/s390/s390-64/configure.in: ... here
42779 * sysdeps/s390/s390-64/elf/configure: Delete file.
42780 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42781 * sysdeps/s390/s390-64/start.S: ... here.
42782 * sysdeps/s390/s390-64/elf/configure: Delete.
42784 * configure.in: Remove support for elf directories in sysdeps.
42786 * configure: Regenerated.
42787 * sysdeps/i386/configure: Regenerated.
42788 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42789 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42790 * sysdeps/s390/s390-32/configure: Regenerated.
42791 * sysdeps/s390/s390-64/configure: Regenerated.
42792 * sysdeps/sh/configure: Regenerated.
42793 * sysdeps/sparc/configure: Regenerated.
42794 * sysdeps/x86_64/configure: Regenerated.
42796 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42800 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42801 denormal result into account.
42803 2012-03-25 Roland McGrath <roland@hack.frob.com>
42805 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42806 Reported by Allan McRae <allan@archlinux.org>.
42808 2012-03-23 Jeff Law <law@redhat.com>
42810 * nss/getnssent.c (__nss_getent): Fix typo.
42812 2012-03-23 David S. Miller <davem@davemloft.net>
42814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42816 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42818 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42819 to pad to uint64_t for each field.
42820 (dl_tls_index): Replace unsigned long with uint64_t.
42822 2012-03-23 Daniel Jacobowitz <dmj@google.com>
42823 Paul Pluzhnikov <ppluzhnikov@google.com>
42826 * grp/Makefile (otherlibs): Don't set it.
42827 * inet/Makefile (otherlibs): Likewise.
42828 * login/Makefile (otherlibs): Likewise.
42829 * nscd/Makefile (otherlibs): Likewise.
42830 * posix/Makefile (otherlibs): Likewise.
42831 * pwd/Makefile (otherlibs): Likewise.
42832 * rt/Makefile (otherlibs): Likewise.
42833 * sunrpc/Makefile (otherlibs): Likewise.
42834 * nss/Makefile (otherlibs): Likewise.
42835 Add libnss_files to routines and static-only-routines.
42836 ($(objpfx)getent): Remove rule.
42837 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42838 static-only-routines.
42840 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42843 * math/s_cexp.c: Include <float.h>.
42844 (__cexp): Handle exp result overflowing not necessarily
42845 overflowing both real and imaginary parts of result.
42846 * math/s_cexpf.c: Likewise.
42847 * math/s_cexpl.c: Likewise.
42848 * math/libm-test.inc (cexp_test): Add more tests.
42849 * sysdeps/i386/fpu/libm-test-ulps: Update.
42850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42852 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42854 * include/link.h (ELFW): New macro.
42855 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42856 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42858 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42860 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42863 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42865 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42867 (struct La_x32_retval): Likewise.
42869 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42871 * sysdeps/x86_64/preconfigure.in: New file.
42872 * sysdeps/x86_64/preconfigure: New generated file.
42874 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42877 * math/e_exp2l.c: Include <float.h>.
42878 (__ieee754_exp2l): Handle overflow and underflow cases
42879 separately. Only pass fractional part of argument to
42881 * math/libm-test.inc (exp2_test): Add more tests.
42883 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42884 negating x to take absolute value.
42885 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42887 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42888 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42890 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42891 computing low part if x was negated.
42892 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42894 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42896 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42897 la_x32_gnu_pltexit.
42898 (pltexit): Cast int_retval to ptrdiff_t.
42899 * elf/tst-auditmod3b.c: Likewise.
42900 * elf/tst-auditmod4b.c: Likewise.
42901 * elf/tst-auditmod5b.c: Likewise.
42902 * elf/tst-auditmod6b.c: Likewise.
42903 * elf/tst-auditmod6c.c: Likewise.
42904 * elf/tst-auditmod7b.c: Likewise.
42906 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42907 and x32_gnu_pltexit.
42909 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42910 __ELF_NATIVE_CLASS.
42911 (La_x32_regs): New macro.
42912 (La_x32_retval): Likewise.
42913 (la_x32_gnu_pltenter): New function prototype.
42914 (la_x32_gnu_pltexit): Likewise.
42916 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
42918 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42923 * configure.in (libc_cv_cc_nofma): Check for option to disable
42924 generation of FMA instructions.
42925 * configure: Regenerate.
42926 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42927 * sysdeps/ieee754/dbl-64/Makefile: New file.
42928 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42929 Remove brandred-fma4.
42930 (CFLAGS-brandred-fma4.c): Remove.
42931 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42932 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42934 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42937 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42939 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42940 LLONG_MAX != LONG_MAX.
42941 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42942 (_fitoa_word): Likewise.
42943 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42944 LLONG_MAX != LONG_MAX.
42945 * stdio-common/_itowa.h: Include <_itoa.h>.
42946 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42947 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42948 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42949 only if not defined.
42950 (_ITOA_WORD_TYPE): Likewise.
42951 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42952 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42954 2012-03-21 David S. Miller <davem@davemloft.net>
42956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42958 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42960 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42961 of x86_64 when setting libc_cv_slibdir, libdir and
42963 * sysdeps/unix/sysv/linux/configure: Regenerated.
42965 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42967 * manual/lang.texi (Old Varargs): Remove section.
42968 (How Variadic): Update menu.
42969 (va_start): Do not mention varargs.h.
42971 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42972 Joseph Myers <joseph@codesourcery.com>
42974 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42976 * configure: Regenerated.
42978 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42980 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42981 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42984 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42987 * Makefile (files-for-dist): Remove NOTES.
42988 (NOTES): Remove rule.
42989 * README: Don't refer to NOTES.
42990 * manual/creature.texi: Don't include macros.texi.
42991 * manual/intro.texi (creature.texi): Remove comment referring to
42994 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42995 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42996 * configure: Regenerated.
42997 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42998 LIBC_TRY_CC_OPTION.
42999 (libc_cv_as_i686): Likewise.
43000 (libc_cv_cc_avx): Likewise.
43001 (libc_cv_cc_sse2avx): Likewise.
43002 (libc_cv_cc_fma4): Likewise.
43003 (libc_cv_cc_novzeroupper): Likewise.
43004 * sysdeps/i386/configure: Regenerated.
43007 * sysdeps/i386/fpu/s_cexp.S: Remove.
43008 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43009 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43010 * math/libm-test.inc (cexp_test): Add more tests.
43011 * sysdeps/i386/fpu/libm-test-ulps: Update.
43012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43014 2012-03-21 Allan McRae <allan@archlinux.org>
43016 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43018 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43021 * math/w_exp2.c: Do not include <float.h>.
43022 (o_threshold, u_threshold): Remove.
43023 (__exp2): Calculate result before checking finiteness and calling
43025 * math/w_exp2f.c: Likewise.
43026 * math/w_exp2l.c: Likewise.
43027 * math/libm-test.inc (exp2_test): Require overflow exception for
43031 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43032 range of signed 64-bit integers before using fistpll. Remove
43033 checks for whether integers fit in mantissa bits.
43034 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43035 the range of signed 32-bit integers before using fistpl. Remove
43036 checks for whether integers fit in mantissa bits.
43037 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43038 (__ieee754_powl): Test for y outside the range of signed 64-bit
43039 integers before using fistpll. Reduce 64-bit values to 63-bit
43041 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43042 divide-by-zero is raised for zero to large negative powers.
43043 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43044 (__ieee754_powl): Test for y outside the range of signed 64-bit
43045 integers before using fistpll. Reduce 64-bit values to 63-bit
43047 * math/libm-test.inc (pow_test): Add more tests.
43049 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43051 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43052 <stdio-common/_itoa.h>.
43053 * debug/segfault.c: Likewise.
43054 * elf/dl-cache.c: Likewise.
43055 * elf/dl-minimal.c: Likewise.
43056 * elf/dl-misc.c: Likewise.
43057 * elf/dl-sysdep.c: Likewise.
43058 * elf/dl-version.c: Likewise.
43059 * elf/rtld.c: Likewise.
43060 * hurd/hurdsock.c: Likewise.
43061 * hurd/lookup-retry.c: Likewise.
43062 * malloc/malloc.c: Likewise.
43063 * malloc/mtrace.c: Likewise.
43064 * nscd/nscd_getgr_r.c: Likewise.
43065 * nscd/nscd_getpw_r.c: Likewise.
43066 * nscd/nscd_getserv_r.c: Likewise.
43067 * posix/getopt_init.c: Likewise.
43068 * posix/wordexp.c: Likewise.
43069 * stdio-common/_itoa.c: Likewise.
43070 * stdio-common/printf_fphex.c: Likewise.
43071 * stdio-common/vfprintf.c: Likewise.
43072 * string/_strerror.c: Likewise.
43073 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43074 * sysdeps/i386/i686/hp-timing.h: Likewise.
43075 * sysdeps/mach/_strerror.c: Likewise.
43076 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43077 * sysdeps/mach/hurd/sethostid.c: Likewise.
43078 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43079 * sysdeps/mach/xpg-strerror.c: Likewise.
43080 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43081 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43082 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43083 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43084 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43085 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43086 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43087 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43088 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43089 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43090 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43091 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43092 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43093 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43094 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43095 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43096 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43097 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43098 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43099 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43100 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43102 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43104 * stdio-common/_itoa.h: Moved to ...
43105 * sysdeps/generic/_itoa.h: Here.
43107 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43109 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43110 instead of "_itoa.h" and "_itowa.h".
43111 * stdio-common/vfprintf.: Likewise.
43113 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43115 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43117 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43118 (__signbit): Likwise.
43119 (llrintf): Likwise.
43122 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43124 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43127 2012-03-20 Joseph Myers <joseph@codesourcery.com>
43129 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43130 OVERFLOW_EXCEPTION_OK.
43131 * math/libm-test.inc ("Philosophy"): Update comment about
43133 (OVERFLOW_EXCEPTION): Define.
43134 (OVERFLOW_EXCEPTION_OK): Likewise.
43135 (INVALID_EXCEPTION_OK): Renumber.
43136 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43137 (IGNORE_ZERO_INF_SIGN): Likewise.
43138 (test_exceptions): Handle FE_OVERFLOW.
43139 (exp10_test): Expect overflow exceptions.
43140 (exp2_test): Likewise.
43141 (expm1_test): Likewise.
43142 (nextafter_test): Likewise.
43143 (pow_test): Likewise.
43144 (scalbn_test): Likewise.
43145 (scalbln_test): Likewise.
43147 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43149 * sysdeps/x86_64/bits/atomic.h
43150 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43152 (atomic_exchange_acq): Likewise.
43153 (__arch_exchange_and_add_body): Likewise.
43154 (__arch_add_body): Likewise.
43155 (atomic_add_negative): Likewise.
43156 (atomic_add_zero): Likewise.
43158 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43160 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43161 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43163 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43165 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43166 Check __x86_64__ instead of __WORDSIZE.
43168 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43170 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43172 2012-03-19 David S. Miller <davem@davemloft.net>
43174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43176 * sysdeps/sparc/fpu/fenv_private.h: New file.
43177 * sysdeps/sparc/fpu/math_private.h: Use it.
43178 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43180 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43181 (libc_feholdexcept_setroundl): Remove.
43182 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43184 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43185 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43187 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43189 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43190 int64_t instead of long int.
43191 (INSERT_WORDS64): Likwise.
43193 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43195 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43196 _Unwind_GetCFA return to _Unwind_Ptr first.
43198 2012-03-19 Joseph Myers <joseph@codesourcery.com>
43201 * math/s_clog.c: Include <float.h>.
43202 (__clog): Scale large or subnormal inputs.
43203 * math/s_clogf.c: Likewise.
43204 * math/s_clogl.c: Likewise.
43205 * math/s_clog10.c: Include <float.h>.
43206 (M_LOG10_2): Define.
43207 (__clog10): Scale large or subnormal inputs.
43208 * math/s_clog10f.c: Likewise.
43209 * math/s_clog10l.c: Likewise.
43210 * math/libm-test.inc (clog_test): Add more tests.
43211 (clog10_test): Likewise.
43212 * sysdeps/i386/fpu/libm-test-ulps: Update.
43213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43216 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43218 * math/libm-test.inc (atan2_test): Add another test.
43220 * Makerules (common-objdir-compile): Remove.
43221 * sysdeps/unix/Makefile (config-generated): Do not add
43222 $(unix-generated) to variable.
43223 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43224 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43226 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43228 [generic bits/local_lim.h] (before-compile): Do not append to
43230 [generic bits/local_lim.h] (common-generated): Likewise.
43231 [generic sys/param.h] (before-compile): Do not append to variable.
43232 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43233 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43234 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43235 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43237 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43238 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43239 [generic sys/param.h] ($(addprefix
43240 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43241 [generic sys/param.h] (common-generated): Do not append to
43243 [generic sys/param.h] (sysdep_headers): Likewise.
43244 [generic bits/errno.h] (before-compile): Do not append to
43246 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43248 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43249 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43250 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43251 [generic bits/errno.h] (common-generated): Do not append to
43253 [generic bits/ioctls.h] (before-compile): Do not append to
43255 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43257 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43258 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43259 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43261 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43262 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43263 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43264 [generic bits/ioctls.h] (common-generated): Do not append to
43266 [generic sys/syscall.h] (syscall.h): Remove variable.
43267 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43269 [generic sys/syscall.h] (before-compile): Do not append to
43271 [generic sys/syscall.h] (common-generated): Likewise.
43272 * sysdeps/unix/errnos-tmpl.c: Remove file.
43273 * sysdeps/unix/errnos.awk: Likewise.
43274 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43275 * sysdeps/unix/ioctls.awk: Likewise.
43276 * sysdeps/unix/mk-local_lim.c: Likewise.
43277 * sysdeps/unix/snarf-ioctls: Likewise.
43279 2012-03-19 Richard Henderson <rth@twiddle.net>
43281 * sysdeps/i386/fpu/fenv_private.h: New file.
43282 * sysdeps/i386/fpu/math_private.h: Use it.
43283 (math_opt_barrier, math_force_eval): Remove.
43284 (libc_feholdexcept_setround_53bit): Remove.
43285 (libc_feupdateenv_53bit): Remove.
43286 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43287 (math_opt_barrier, math_force_eval): Remove.
43288 (libc_feholdexcept): Remove.
43289 (libc_feholdexcept_setround): Remove.
43290 (libc_fetestexcept, libc_fesetenv): Remove.
43291 (libc_feupdateenv_test): Remove.
43292 (libc_feupdateenv, libc_feholdsetround): Remove.
43293 (libc_feresetround): Remove.
43295 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43296 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43298 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43299 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43300 (libc_feupdateenv_testl): New.
43301 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43302 (libc_feupdateenv_testf): New.
43303 (libc_feupdateenv): Use libc_feupdateenv_test.
43304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43305 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43307 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43308 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43309 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43310 (libc_feresetround_noex): New.
43311 (libc_feresetround_noexf): New.
43312 (libc_feresetround_noexl): New.
43313 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43314 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43315 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43316 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43318 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43319 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43321 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43322 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43323 SET_RESTORE_ROUND_NOEX.
43324 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43325 SET_RESTORE_ROUND_NOEXF.
43326 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43327 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43328 (libc_feholdsetroundf): New.
43329 (libc_feresetround, libc_feresetroundf): New.
43331 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43332 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43333 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43335 * sysdeps/generic/math_private.h: Include <fenv.h>.
43336 (default_libc_feholdexcept): New.
43337 (default_libc_feholdexcept_setround): New.
43338 (default_libc_fesetenv, default_libc_feupdateenv): New.
43339 (libc_feholdexcept): Only define if undefined.
43340 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43341 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43342 (libc_feholdexcept_setroundl): Likewise.
43343 (libc_feholdexcept_setround_53bit): Likewise.
43344 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43345 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43346 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43347 (libc_feupdateenv_53bit): Likewise.
43348 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43349 (libc_feholdexcept): Convert from macro to inline function.
43350 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43351 (libc_fesetenv, libc_feupdateenv): Likewise.
43353 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43354 not previously defined.
43355 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43356 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43357 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43358 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43359 * sysdeps/ieee754/flt-32/math_private.h: New file.
43360 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43361 math_private.h below SET_FLOAT_WORD.
43362 (__isnan, __isinf_ns, __finite): Remove.
43363 (__isnanf, __isinf_nsf, __finitef): Remove.
43365 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43369 2012-03-17 David S. Miller <davem@davemloft.net>
43372 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43375 2012-03-16 David S. Miller <davem@davemloft.net>
43377 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43381 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43383 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43384 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43385 sysdep_routines when subdir is sysvipc.
43386 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43387 __getshmlba helper.
43389 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43391 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43393 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43396 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43398 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43399 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43400 (__lround): Renamed to ...
43401 (__llround): This. Replace long int with long long int.
43402 Define lround functions as aliases of llround functions.
43403 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43405 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43407 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43408 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43409 adresses to uintptr_t. Replace "long int" and "unsigned long
43410 int" with "greg_t" on va_arg.
43412 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43414 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43415 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43417 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43418 Move e_machine check before EI_CLASS check. Handle x32
43419 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43420 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43421 SKIP_EM_IA_64 and include
43422 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43424 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43425 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43426 (add_system_dir): New macro.
43428 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43429 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43431 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43442 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43444 * math/w_j0f.c (j0f): Likewise.
43446 * math/w_j0l.c (__j0l): Likewise.
43448 * math/w_j1.c (j1): Likewise.
43450 * math/w_j1f.c (j1f): Likewise.
43452 * math/w_j1l.c (__j1l): Likewise.
43454 * math/w_jn.c (jn): Likewise.
43456 * math/w_jnf.c (jnf): Likewise.
43458 * math/w_jnl.c (__jnl): Likewise.
43460 * math/libm-test.inc (j0_test): Add more tests.
43461 (j1_test): Likewise.
43462 (jn_test): Likewise. Add trailing semicolon to existing test.
43463 (y0_test): Likewise.
43464 (y1_test): Likewise.
43465 * sysdeps/i386/fpu/libm-test-ulps: Update.
43466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43470 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43471 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43472 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43473 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43474 (__tanl): Set errno for infinite argument.
43475 * sysdeps/i386/fpu/mptan.c: Remove.
43476 * sysdeps/i386/fpu/s_tan.S: Likewise.
43477 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43478 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43479 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43480 * math/libm-test.inc (tan_test): Add more tests and enable more
43481 tests for double and long double.
43482 * sysdeps/i386/fpu/libm-test-ulps: Update.
43483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43485 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43487 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43488 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43490 2012-03-16 Roland McGrath <roland@hack.frob.com>
43492 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43493 * configure.in: Use it for both main tree and add-ons.
43494 * configure: Regenerated.
43496 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43498 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43500 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43502 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43506 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43507 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43508 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43509 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43510 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43512 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43513 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43514 != 0 for prec == 2.
43515 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43516 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43517 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43518 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43519 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43520 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43521 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43522 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43523 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43524 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43525 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43526 * math/libm-test.inc (cos_test): Add more tests and enable more
43527 tests for long double.
43528 (sin_test): Likewise.
43529 (sincos_test): Likewise.
43530 * sysdeps/i386/fpu/libm-test-ulps: Update.
43531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43533 2012-03-16 David S. Miller <davem@davemloft.net>
43535 * sysdeps/sparc/fpu/math_private.h: New file.
43537 2012-03-15 David S. Miller <davem@davemloft.net>
43539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43549 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43553 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43554 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43556 * sysdeps/sparc/sparc-ifunc.h: New file.
43557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43583 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43595 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43597 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43599 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43600 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43602 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43604 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43608 2012-03-15 Andreas Jaeger <aj@suse.de>
43611 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43612 ieee754/flt-32 implementation for sin, cos and sincos.
43613 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43614 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43615 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43616 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43617 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43618 ieee754/flt-32 implementation for tan.
43620 * math/libm-test.inc (cos_test): Enable some large input tests for
43622 (sin_test): Likewise.
43623 (sincos_test): Likewise.
43624 (tan_test): Add tests for large input.
43626 * sysdeps/i386/fpu/libm-test-ulps: Update.
43628 2012-03-15 Andreas Jaeger <aj@suse.de>
43631 * math/libm-test.inc (cos_test): Add more test cases.
43632 (sin_test): Likewise.
43633 (sincos_test): Likewise.
43635 2012-03-15 Andreas Jaeger <aj@suse.de>
43638 * math/libm-test.inc (cos_test): Add a test case for large input
43640 (sin_test): Likewise.
43641 (sincos_test): Likewise.
43643 2012-03-15 Andreas Jaeger <aj@suse.de>
43644 Joseph Myers <joseph@codesourcery.com>
43647 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43648 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43649 * sysdeps/i386/fpu/branred.c: Likewise.
43650 * sysdeps/i386/fpu/dosincos.c: Likewise.
43651 * sysdeps/i386/fpu/mpa.c: Likewise.
43652 * sysdeps/i386/fpu/s_cos.S: Likewise.
43653 * sysdeps/i386/fpu/s_sin.S: Likewise.
43654 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43655 * sysdeps/i386/fpu/sincos32.c: Likewise.
43657 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43659 (libc_feupdateenv_53bit): Define.
43660 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43662 (libc_feupdateenv_53bit): Define.
43664 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43665 53 bit (without extend i386 double precision).
43667 * math/libm-test.inc (sincos_test): Add tests for large input.
43671 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43673 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43677 2012-03-15 David S. Miller <davem@davemloft.net>
43679 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43680 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43681 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43682 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43706 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43707 fmin/fmax sysdep routines.
43708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43710 2012-03-14 David S. Miller <davem@davemloft.net>
43712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43716 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43740 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43784 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43789 * sysdeps/sparc/configure.in: New file.
43790 * sysdeps/sparc/configure: Generate.
43791 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43792 * configure: Regenerate.
43793 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43794 * config.make.in (have-as-vis3): New.
43795 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43796 available use -Av9d instead of -Av9a.
43797 * sysdeps/sparc/sparc64/Makefile: Likewise.
43798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43807 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43808 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43813 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43814 fzeros/fnegs to load 0x80000000 into a float register instead of
43816 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43818 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43822 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43823 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43824 ($(inst_includedir)/bits/syscall.h): Remove rule.
43825 ($(objpfx)bits/syscall.d): Include instead of
43826 $(objpfx)syscall-list.d.
43827 (generated): Change syscall-list.h and syscall-list.d to
43828 bits/syscall.h and bits/syscall.d.
43830 2012-03-14 Roland McGrath <roland@hack.frob.com>
43833 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43835 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43838 * math/s_csqrt.c: Include <float.h>.
43839 (__csqrt): Scale large or subnormal inputs.
43840 * math/s_csqrtf.c: Likewise.
43841 * math/s_csqrtl.c: Likewise.
43842 * math/libm-test.inc (csqrt_test): Add more tests.
43843 * sysdeps/i386/fpu/libm-test-ulps: Update.
43844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43847 * math/libm-test.inc (hypot_test): Add more tests.
43849 2012-03-13 David S. Miller <davem@davemloft.net>
43852 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43853 double-precision for the calculation instead of scaling.
43855 2012-03-13 Joseph Myers <joseph@codesourcery.com>
43857 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43858 manipulate bits before adding and subtracting TWO52[sx].
43859 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43860 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43862 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43864 2012-03-13 David S. Miller <davem@davemloft.net>
43866 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43867 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43868 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43869 rtld-global-offsets.h
43870 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43872 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43875 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43877 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43878 'err' in the ifdef scope in which it is actually used.
43880 * nss/nss_db/db-init.c: Include string.h
43882 2012-03-12 David S. Miller <davem@davemloft.net>
43884 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43885 masking out of the most significant byte of random value used.
43886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43887 Fix coding style in previous change.
43889 * sysdeps/unix/sysv/linux/kernel-features.h
43890 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43891 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43893 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43896 2012-03-11 David S. Miller <davem@davemloft.net>
43898 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43899 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43900 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43901 for 'resultvar' otherwise things get truncated on 64-bit.
43903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43904 Fix masking out of the most significant byte of random value used.
43906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43908 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
43910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43912 2012-03-09 David S. Miller <davem@davemloft.net>
43914 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43915 variables with appropriate CPP guards.
43916 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43917 from the frame pointer, not the stack pointer. Correct layout
43918 comments. Fix test on resulting framesize and the management of
43919 the outregs buffer for pltexit. Preserve floating point return
43920 values across _dl_call_pltexit call.
43921 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43922 framesize and the management of the outregs buffer for pltexit.
43923 Preserve floating point return values across _dl_call_pltexit
43925 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43926 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43927 (la_sparc64_gnu_pltexit): New functions.
43928 (print_exit): Fix format string for return register value.
43930 2012-03-10 Joseph Myers <joseph@codesourcery.com>
43932 * sunrpc/Makefile (others): Add rpcgen.
43933 ($(objpfx)rpcgen): Remove special build rule and dependency on
43935 * sunrpc/rpcgen.c: New file.
43937 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43940 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43941 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43942 * sysdeps/i386/crti.S: Likewise.
43943 * sysdeps/i386/crtn.S: Likewise.
43944 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43945 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43946 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43947 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43948 * sysdeps/sh/crti.S: Likewise.
43949 * sysdeps/sh/crtn.S: Likewise.
43950 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43953 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43955 * locale/programs/locfile-kw.gperf: Likewise.
43956 * locale/programs/charmap-kw.h: Regenerated.
43957 * locale/programs/locfile-kw.h: Likewise.
43960 * intl/plural.y: Replace FSF snail mail address with URL.
43961 * intl/plural.c: Regenerated.
43963 2012-03-09 Richard Henderson <rth@twiddle.net>
43965 * include/math_private.h: Remove file.
43966 * math/math_private.h: Move file ...
43967 * sysdeps/generic/math_private.h: ... here.
43969 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43970 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43971 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43973 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
43974 and <math_private.h>.
43975 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43976 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43977 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43978 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43979 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43980 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43981 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43983 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43984 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43986 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43987 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43989 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43990 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43991 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43992 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43993 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43994 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43996 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43997 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43999 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44000 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44001 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44002 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44004 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44005 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44006 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44007 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44008 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44009 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44010 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44011 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44012 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44013 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44014 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44015 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44016 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44017 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44018 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44019 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44020 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44021 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44022 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44023 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44024 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44025 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44026 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44027 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44028 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44029 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44030 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44031 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44032 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44033 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44034 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44035 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44036 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44037 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44038 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44039 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44040 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44041 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44042 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44043 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44044 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44045 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44046 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44047 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44049 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44053 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44054 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44055 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44056 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44057 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44058 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44059 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44062 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44063 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44064 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44065 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44066 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44067 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44068 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44069 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44070 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44071 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44072 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44073 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44074 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44075 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44076 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44077 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44078 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44079 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44080 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44081 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44082 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44083 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44084 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44085 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44086 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44087 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44088 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44089 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44090 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44091 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44092 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44093 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44094 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44095 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44096 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44097 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44098 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44099 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44100 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44101 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44102 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44103 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44104 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44105 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44106 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44107 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44108 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44109 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44110 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44111 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44112 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44113 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44114 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44115 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44116 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44117 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44118 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44119 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44120 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44121 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44122 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44123 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44124 * sysdeps/ieee754/k_standard.c: Likewise.
44125 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44126 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44127 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44128 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44129 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44130 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44131 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44132 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44133 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44134 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44135 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44136 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44137 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44138 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44139 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44140 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44141 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44142 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44144 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44145 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44146 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44147 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44148 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44149 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44150 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44151 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44152 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44153 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44154 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44155 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44156 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44157 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44158 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44159 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44160 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44161 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44162 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44163 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44164 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44165 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44166 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44167 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44168 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44169 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44170 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44171 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44173 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44174 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44175 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44176 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44177 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44178 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44180 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44181 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44182 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44183 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44184 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44185 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44186 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44187 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44188 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44191 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44192 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44193 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44195 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44196 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44197 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44198 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44199 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44201 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44202 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44204 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44205 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44206 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44207 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44208 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44209 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44210 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44211 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44212 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44213 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44214 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44215 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44216 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44217 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44218 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44221 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44222 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44223 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44224 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44226 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44227 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44228 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44229 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44230 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44231 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44232 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44233 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44234 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44235 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44236 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44237 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44238 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44239 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44240 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44241 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44242 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44243 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44244 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44245 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44246 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44247 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44248 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44249 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44250 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44251 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44252 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44253 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44254 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44255 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44256 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44257 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44258 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44259 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44260 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44261 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44262 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44263 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44264 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44265 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44266 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44267 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44268 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44269 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44270 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44271 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44272 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44273 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44274 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44275 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44276 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44279 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44280 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44281 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44282 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44283 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44284 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44285 * sysdeps/ieee754/s_lib_version.c: Likewise.
44286 * sysdeps/ieee754/s_matherr.c: Likewise.
44287 * sysdeps/ieee754/s_signgam.c: Likewise.
44288 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44289 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44290 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44291 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44292 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44293 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44294 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44295 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44296 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44297 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44298 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44299 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44300 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44301 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44302 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44303 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44304 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44305 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44306 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44310 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44312 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44313 * sunrpc/rpc_main.c: Likewise.
44314 * sunrpc/rpc_svcout.c: Likewise.
44316 2012-03-09 David S. Miller <davem@davemloft.net>
44318 * include/math_private.h: New file.
44320 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44322 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44323 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44324 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44325 from <bits/socket_type.h>.
44326 (enum __socket_type): Don't define here.
44327 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44329 bits/socket_type.h.
44332 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44333 checking __USE_GNU.
44335 * Makerules ($(inst_includedir)/%.h): New rule.
44336 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44337 (install-others): Remove variable setting.
44338 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44340 2012-03-08 Richard Henderson <rth@twiddle.net>
44342 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44343 from macro to inline function; merge with the
44344 !__LIBC_INTERNAL_MATH_INLINES version.
44345 (__ieee754_sqrtf): Likewise.
44347 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44348 to inline function.
44349 (__rintf, __floor, __floorf): Likewise.
44351 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44352 macro to inline function.
44353 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44355 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44356 not <math/math_private.h>.
44358 2012-03-08 David S. Miller <davem@davemloft.net>
44360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44362 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44364 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44366 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44368 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44369 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44371 2012-03-08 Ulrich Drepper <drepper@gmail.com>
44373 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44374 be defined individually, they must be defined as a block. Define
44375 S for printing a string instead of hidint the different by using a
44376 macro for adding the 'l'.
44377 * stdio-common/tst-fphex-wide.c: Adjust.
44379 2012-03-07 Marek Polacek <polacek@redhat.com>
44381 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44383 2012-03-08 Marek Polacek <polacek@redhat.com>
44386 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44387 * stdio-common/tst-fphex.c: Define a few macros to make the
44388 test reusable. Use them.
44389 * stdio-common/tst-fphex-wide.c: New file.
44391 2012-03-08 Joseph Myers <joseph@codesourcery.com>
44394 * manual/macros.texi (gnusystems): New macro.
44395 (nongnusystems): Likewise.
44396 (gnulinuxhurdsystems): Likewise.
44397 (gnuhurdsystems): Likewise..
44398 (gnulinuxsystems): Likewise.
44399 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44400 variants of the GNU system, not "GNU system".
44401 * manual/conf.texi: Likewise.
44402 * manual/errno.texi: Likewise. Update example of errno macro
44404 * manual/filesys.texi: Likewise.
44405 (getumask): Document as specific to GNU/Hurd.
44406 * manual/install.texi: Likewise. Reword some references to
44408 * manual/intro.texi: Likewise.
44409 * manual/io.texi: Likewise.
44410 (File Name Portability): Detail which constraints are inapplicable
44411 to all GNU systems and which are only inapplicable to GNU/Hurd.
44412 * manual/job.texi: Likewise.
44413 * manual/llio.texi: Likewise.
44414 (O_NOCTTY): Document as present on GNU/Linux.
44415 * manual/maint.texi: Likewise.
44416 * manual/memory.texi: Likewise.
44417 * manual/pattern.texi: Likewise.
44418 * manual/pipe.texi: Likewise.
44419 * manual/process.texi: Likewise.
44420 * manual/resource.texi: Likewise.
44421 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44423 * manual/setjmp.texi: Likewise.
44424 * manual/signal.texi: Likewise.
44425 * manual/startup.texi: Likewise.
44426 * manual/stdio.texi: Likewise.
44427 * manual/terminal.texi: Likewise.
44428 (ONLCR): Document as POSIX.
44429 (OXTABS): Document availability on GNU/Linux as XTABS.
44430 (ONOEOT): Document availability separately from other bits.
44431 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44432 * manual/time.texi: Likewise.
44433 * manual/users.texi: Likewise.
44434 * INSTALL: Regenerated.
44435 * sysdeps/gnu/errlist.c: Regenerated.
44437 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44438 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44439 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44441 * configure: Regenerated.
44443 2012-03-07 Joseph Myers <joseph@codesourcery.com>
44445 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44446 default includes instead of AC_HEADER_CHECK.
44447 * sysdeps/i386/configure: Regenerated.
44450 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44451 * math/s_cacoshf.c (__cacoshf): Likewise.
44452 * math/s_cacoshl.c (__cacoshl): Likewise.
44453 * math/s_casinh.c (__casinh): Set signs of result from argument.
44454 * math/s_casinhf.c (__casinhf): Likewise.
44455 * math/s_casinhl.c (__casinhl): Likewise.
44456 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44457 (casinh_test): Add more tests.
44458 * sysdeps/i386/fpu/libm-test-ulps: Update.
44459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44461 2012-03-07 Ulrich Drepper <drepper@gmail.com>
44463 * po/zh_TW.po: Update from translation team.
44465 * login/Makefile (distribute): Remove variable.
44466 * catgets/Makefile: Likewise.
44467 * mach/Makefile: Likewise.
44468 * malloc/Makefile: Likewise.
44469 * misc/Makefile: Likewise.
44470 * iconv/Makefile: Likewise.
44471 * nscd/Makefile: Likewise.
44472 * hurd/Makefile: Likewise.
44473 * manual/Makefile: Likewise.
44474 * locale/Makefile: Likewise.
44475 * intl/Makefile: Likewise.
44476 * conform/Makefile: Likewise.
44477 * nss/Makefile: Likewise.
44478 * time/Makefile: Likewise.
44479 * soft-fp/Makefile: Likewise.
44480 * dirent/Makefile: Likewise.
44481 * gmon/Makefile: Likewise.
44482 * po/Makefile: Likewise.
44483 * rt/Makefile: Likewise.
44484 * socket/Makefile: Likewise.
44485 * math/Makefile: Likewise.
44486 * signal/Makefile: Likewise.
44487 * debug/Makefile: Likewise.
44488 * elf/Makefile: Likewise.
44489 * timezone/Makefile: Likewise.
44490 * stdlib/Makefile: Likewise.
44491 * iconvdata/Makefile: Likewise.
44492 * sunrpc/Makefile: Likewise.
44493 * io/Makefile: Likewise.
44494 * argp/Makefile: Likewise.
44495 * inet/Makefile: Likewise.
44496 * hesiod/Makefile: Likewise.
44497 * grp/Makefile: Likewise.
44498 * csu/Makefile: Likewise.
44499 * wctype/Makefile: Likewise.
44500 * crypt/Makefile: Likewise.
44501 * libio/Makefile: Likewise.
44502 * string/Makefile: Likewise.
44503 * nis/Makefile: Likewise.
44504 * resolv/Makefile: Likewise.
44505 * stdio-common/Makefile: Likewise.
44506 * wcsmbs/Makefile: Likewise.
44507 * dlfcn/Makefile: Likewise.
44508 * posix/Makefile: Likewise.
44511 * timezone/Makefile: Don't install timezone files, just the programs
44514 2012-03-06 Ulrich Drepper <drepper@gmail.com>
44516 * nss/databases.def: Add missing gshadow entry.
44518 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44520 2012-03-06 Marek Polacek <polacek@redhat.com>
44523 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44524 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44525 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44526 * stdio-common/tst-long-dbl-fphex.c: New file.
44528 2012-03-06 David S. Miller <davem@davemloft.net>
44530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44531 (set_obp_int): New function.
44532 (get_obp_int): New function.
44533 (__get_clockfreq_via_dev_openprom): Likewise.
44534 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44535 Avoid unused variable warnings on 'val' and use builtin_expect.
44536 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44538 (INLINE_CLONE_SYSCALL): Likewise.
44540 2012-03-05 David S. Miller <davem@davemloft.net>
44542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44544 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44549 only for |x| >= 40.
44550 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44552 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
44554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44555 Replace gettimeofday with __vdso_gettimeofday.
44557 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44558 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44559 __vdso_clock_gettime and __vdso_getcpu.
44561 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44562 time with __vdso_time.
44564 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44566 * manual/lang.texi (size_t): Note types to which size_t may be
44567 equivalent with the GNU C Library, but do not describe when
44568 differences between them are significant.
44570 2012-03-05 Andreas Jaeger <aj@suse.de>
44572 * sysdeps/i386/fpu/libm-test-ulps: Update.
44574 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44577 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44578 (__ieee754_pow): Save and restore rounding mode and use
44579 round-to-nearest for main computations.
44580 * math/libm-test.inc (pow_test_tonearest): New function.
44581 (pow_test_towardzero): Likewise.
44582 (pow_test_downward): Likewise.
44583 (pow_test_upward): Likewise.
44584 (main): Call the new functions.
44585 * sysdeps/i386/fpu/libm-test-ulps: Update.
44586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44589 * math/libm-test.inc (cosh_test_tonearest): New function.
44590 (cosh_test_towardzero): Likewise.
44591 (cosh_test_downward): Likewise.
44592 (cosh_test_upward): Likewise.
44593 (sinh_test_tonearest): Likewise.
44594 (sinh_test_towardzero): Likewise.
44595 (sinh_test_downward): Likewise.
44596 (sinh_test_upward): Likewise.
44597 (main): Call the new functions.
44598 * sysdeps/i386/fpu/libm-test-ulps: Update.
44599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44601 2012-03-05 Tom de Vries <tom@codesourcery.com>
44603 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44604 default stack guard is set in last bytes.
44605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44607 2012-03-05 Kees Cook <keescook@chromium.org>
44609 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44612 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44613 possibly allocate from heap instead of stack.
44614 * stdio-common/bug-vfprintf-nargs.c: New file.
44615 * stdio-common/Makefile (tests): Add nargs overflow test.
44617 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44621 2012-03-03 Marek Polacek <polacek@redhat.com>
44623 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44624 * math/math_private.h: Likewise.
44625 * stdlib/tst-strtod.c: Likewise.
44626 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44627 * sysdeps/x86_64/bits/atomic.h: Likewise.
44629 2012-03-02 David S. Miller <davem@davemloft.net>
44631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44635 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44636 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44637 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44638 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44640 2012-03-02 Roland McGrath <roland@hack.frob.com>
44643 * manual/examples/README: New file, says the example source files
44644 can be used under GPL>=2.
44645 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44646 line containing just "*/".
44647 * manual/examples/add.c: Add copyright header (GPL>=2).
44648 * manual/examples/argp-ex1.c: Likewise.
44649 * manual/examples/argp-ex2.c: Likewise.
44650 * manual/examples/argp-ex3.c: Likewise.
44651 * manual/examples/argp-ex4.c: Likewise.
44652 * manual/examples/atexit.c: Likewise.
44653 * manual/examples/db.c: Likewise.
44654 * manual/examples/dir.c: Likewise.
44655 * manual/examples/dir2.c: Likewise.
44656 * manual/examples/execinfo.c: Likewise.
44657 * manual/examples/filecli.c: Likewise.
44658 * manual/examples/filesrv.c: Likewise.
44659 * manual/examples/fmtmsgexpl.c: Likewise.
44660 * manual/examples/genpass.c: Likewise.
44661 * manual/examples/inetcli.c: Likewise.
44662 * manual/examples/inetsrv.c: Likewise.
44663 * manual/examples/isockad.c: Likewise.
44664 * manual/examples/longopt.c: Likewise.
44665 * manual/examples/memopen.c: Likewise.
44666 * manual/examples/memstrm.c: Likewise.
44667 * manual/examples/mkfsock.c: Likewise.
44668 * manual/examples/mkisock.c: Likewise.
44669 * manual/examples/mygetpass.c: Likewise.
44670 * manual/examples/pipe.c: Likewise.
44671 * manual/examples/popen.c: Likewise.
44672 * manual/examples/rprintf.c: Likewise.
44673 * manual/examples/search.c: Likewise.
44674 * manual/examples/select.c: Likewise.
44675 * manual/examples/setjmp.c: Likewise.
44676 * manual/examples/sigh1.c: Likewise.
44677 * manual/examples/sigusr.c: Likewise.
44678 * manual/examples/stpcpy.c: Likewise.
44679 * manual/examples/strdupa.c: Likewise.
44680 * manual/examples/strftim.c: Likewise.
44681 * manual/examples/strncat.c: Likewise.
44682 * manual/examples/subopt.c: Likewise.
44683 * manual/examples/swapcontext.c: Likewise.
44684 * manual/examples/termios.c: Likewise.
44685 * manual/examples/testopt.c: Likewise.
44686 * manual/examples/testpass.c: Likewise.
44687 * manual/examples/timeval_subtract.c: Likewise.
44690 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44692 * manual/timeval_subtract.c.texi: ... here, new file.
44694 2012-03-02 David S. Miller <davem@davemloft.net>
44696 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44698 2012-03-02 Joseph Myers <joseph@codesourcery.com>
44701 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44702 (__sin): Save and restore rounding mode and use round-to-nearest
44703 for all computations.
44704 (__cos): Save and restore rounding mode and use round-to-nearest
44705 for all computations.
44706 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44708 (tan): Save and restore rounding mode and use round-to-nearest for
44710 * math/libm-test.inc (cos_test_tonearest): New function.
44711 (cos_test_towardzero): Likewise.
44712 (cos_test_downward): Likewise.
44713 (cos_test_upward): Likewise.
44714 (sin_test_tonearest): Likewise.
44715 (sin_test_towardzero): Likewise.
44716 (sin_test_downward): Likewise.
44717 (sin_test_upward): Likewise.
44718 (tan_test_tonearest): Likewise.
44719 (tan_test_towardzero): Likewise.
44720 (tan_test_downward): Likewise.
44721 (tan_test_upward): Likewise.
44722 (main): Call the new functions.
44723 * sysdeps/i386/fpu/libm-test-ulps: Update.
44724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44727 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44728 small n, then large n, before computing and testing k+n.
44729 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44732 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44734 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44735 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44736 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44737 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44738 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44739 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44740 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44741 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44742 * math/libm-test.inc (scalbn_test): Add more tests.
44743 (scalbln_test): Likewise.
44745 * manual/filesys.texi (mode_t): Describe constraints on size and
44746 signedness, not exact equivalence to a particular type.
44748 (ino64_t): Likewise.
44750 (nlink_t): Likewise.
44751 (blkcnt_t): Likewise.
44752 (blkcnt64_t): Likewise.
44753 * manual/llio.texi (off_t): Likewise.
44756 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44757 (__ieee754_exp): Save and restore rounding mode and use
44758 round-to-nearest for all computations.
44759 * math/libm-test.inc (exp_test_tonearest): New function.
44760 (exp_test_towardzero): Likewise.
44761 (exp_test_downward): Likewise.
44762 (exp_test_upward): Likewise.
44763 (main): Call the new functions.
44764 * sysdeps/i386/fpu/libm-test-ulps: Update.
44765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44767 2012-03-01 Chris Demetriou <cgd@google.com>
44769 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44770 have predictable order.
44772 2012-03-01 David S. Miller <davem@davemloft.net>
44774 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44776 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44777 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44778 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44779 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44781 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44782 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44783 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44785 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44786 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44787 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44788 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44789 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44793 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44794 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44795 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44797 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44798 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44799 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44800 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44801 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44802 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44804 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44805 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44806 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44807 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44810 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44811 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44813 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44814 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44815 * sysdeps/sparc/elf/configure: Regenerated.
44817 2012-03-01 Joseph Myers <joseph@codesourcery.com>
44819 * configure.in (AS, LD): Require binutils 2.20 or later.
44820 * configure: Regenerated.
44821 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44822 as required minimum version.
44823 * INSTALL: Regenerated.
44827 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44828 before squaring exponent.
44829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44830 bottom long double and 27 bits of top long double before squaring
44832 * math/libm-test.inc (erfc_test): Add more tests.
44833 * sysdeps/i386/fpu/libm-test-ulps: Update.
44834 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44837 2012-03-01 Kai Tietz <ktietz@redhat.com>
44839 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44840 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44841 containing bit-fields.
44842 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44843 * soft-fp/single.h (_FP_UNION_S): Likewise.
44844 * soft-fp/double.h (_FP_UNION_D): Likewise.
44846 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44849 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44850 not include ../strcmp.S.
44851 [USE_AS_STRNCASECMP_L]: Likewise.
44852 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44853 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44854 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44855 (__strncasecmp_l_ia32): Define as alias to
44856 __strncasecmp_l_nonascii.
44859 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44860 * sysdeps/i386/fpu/libm-test-ulps: Update.
44861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44863 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44866 2012-02-29 Jeff Law <law@redhat.com>
44868 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44869 out of bounds read.
44871 2012-02-29 Marek Polacek <polacek@redhat.com>
44874 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44875 * elf/Makefile: Add rules to run tst-unused-dep.out.
44877 2012-02-28 David S. Miller <davem@davemloft.net>
44879 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44880 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44883 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44884 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44886 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44888 * math/libm-test.inc (llround_test): Move one test from
44889 lround_test. Use TEST_f_L in moved test.
44890 (lround_test): Move misplaced test to llround_test. Add testcase
44893 2012-02-28 Ulrich Drepper <drepper@gmail.com>
44895 * sysdeps/x86_64/fpu/e_expf.S: New file.
44896 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44898 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
44901 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44902 of remain_len that may cause incomplete multi-byte character and
44904 * posix/bug-regex33.c: New file.
44905 * posix/Makefile (tests): Add bug-regex33.
44907 2012-02-28 Joseph Myers <joseph@codesourcery.com>
44909 * manual/macros.texi: New file.
44910 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44911 * manual/libc.texinfo: Include macros.texi.
44912 * manual/creatute.texi: Likewise.
44913 * manual/install.texi: Likewise.
44914 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44915 @glibcadj{} in references to the GNU C Library.
44916 * manual/charset.texi: Likewise.
44917 * manual/conf.texi: Likewise.
44918 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
44919 when not using those macros.
44920 * manual/creature.texi: Likewise.
44921 * manual/crypt.texi: Likewise.
44922 * manual/errno.texi: Likewise.
44923 * manual/filesys.texi: Likewise.
44924 * manual/header.texi: Likewise.
44925 * manual/install.texi: Likewise.
44926 * manual/intro.texi: Likewise.
44927 * manual/io.texi: Likewise.
44928 * manual/job.texi: Likewise.
44929 * manual/lang.texi: Likewise.
44930 * manual/libc.texiinfo: Likewise.
44931 * manual/llio.texi: Likewise.
44932 * manual/locale.texi: Likewise.
44933 * manual/maint.texi: Likewise.
44934 * manual/math.texi: Likewise.
44935 * manual/memory.texi: Likewise.
44936 * manual/message.texi: Likewise.
44937 * manual/nss.texi: Likewise.
44938 * manual/pattern.texi: Likewise.
44939 * manual/process.texi: Likewise.
44940 * manual/resource.texi: Likewise.
44941 * manual/search.texi: Likewise.
44942 * manual/setjmp.texi: Likewise.
44943 * manual/signal.texi: Likewise.
44944 * manual/socket.texi: Likewise.
44945 * manual/startup.texi: Likewise.
44946 * manual/stdio.texi: Likewise.
44947 * manual/string.texi: Likewise.
44948 * manual/sysinfo.texi: Likewise.
44949 * manual/syslog.texi: Likewise.
44950 * manual/terminal.texi: Likewise.
44951 * manual/time.texi: Likewise.
44952 * manual/users.texi: Likewise.
44953 * INSTALL: Regenerated.
44954 * NOTES: Regenerated.
44955 * sysdeps/gnu/errlist.c: Regenerated.
44957 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44959 * include/dirent.h: Include <dirstream.h> before
44962 2012-02-28 David S. Miller <davem@davemloft.net>
44964 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44965 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44966 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44967 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44969 2012-02-27 David S. Miller <davem@davemloft.net>
44971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44973 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44974 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44977 frame pointer instead of stack pointer relative arg slot.
44978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44979 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44980 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44982 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44985 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44987 2012-02-27 David S. Miller <davem@davemloft.net>
44989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44993 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44994 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44995 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44996 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44998 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45000 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45001 later. Allow versions 5-9.
45002 * configure: Regenerated.
45003 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45004 required minimum version and 4.6 as recommended version. Do not
45005 mention bugs in GCC 2.7 and 2.8.
45006 * INSTALL: Regenerated.
45008 2012-02-27 David S. Miller <davem@davemloft.net>
45010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45014 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45015 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45016 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45017 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45019 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45020 manipulate bits before adding and subtracting TWO112[sx].
45021 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45023 2012-02-27 Roland McGrath <roland@hack.frob.com>
45026 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45027 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45028 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45029 being in POSIX, because they are in 1003.1-2008.
45031 * rt/tst-aio.c: Include <fcntl.h>.
45032 * rt/tst-aio7.c: Likewise.
45033 * rt/tst-aio64.c: Likewise.
45035 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45037 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45039 * manual/install.texi (--with-headers): Describe headers as
45040 interface headers, not private headers.
45041 (Specific advice for GNU/Linux systems): Describe use of headers
45042 from "make headers_install", not private headers from older
45044 * INSTALL: Regenerated.
45045 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45047 * sysdeps/unix/sysv/linux/configure: Regenerated.
45049 * manual/llio.texi (fclean): Remove documentation.
45051 * manual/Makefile (libc-texi-generated): New variable. Include
45053 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45054 $(libc-texi-generated), not duplicated list of files.
45055 (version.texi, stamp-version): New rules.
45056 (realclean): Remove $(libc-texi-generated), not individual files
45057 from that list. Do not remove dir-add.texinfo.
45058 * manual/libc.texinfo: Comment out uses of edition numbers and
45059 references to printed manual. Remove last-updated dates.
45060 (EDITION): Comment out.
45062 (VERSION, UPDATED): Remove.
45063 (version.texi): Include.
45065 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45067 * sysdeps/posix/spawni.c: Include <signal.h>.
45068 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45069 * sysdeps/pthread/aio_fsync.c: Likewise.
45071 2012-02-26 Ulrich Drepper <drepper@gmail.com>
45073 * conform/Makefile (tests): Run only when not cross-compiling and
45074 when fast-check is not defined.
45076 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45077 * conform/data/limits.h-data: Fixes for POSIX2008.
45078 * conform/run-conformtest.sh: Run all tests.
45079 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45081 * include/bits/dlfcn.h: Likewise.
45082 * include/langinfo.h: Likewise.
45083 * include/monetary.h: Likewise.
45084 * include/sys/poll.h: Likewise.
45086 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45088 * posix/spawn.h: Define __need_sigset_t.
45089 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45090 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45091 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45092 to get sigevent_t only.
45093 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45094 only for __USE_GNU.
45095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45096 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45097 process_vm_writev only for __USE_GNU.
45098 * termios/termios.h: Declare tcgetsid also for POSIX2008.
45100 * conform/Makefile: For now ignore errors from run-conformtest.
45101 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45102 POSIX to avoid namespace pollution. Don't prepend headers.
45103 * conform/data/aio.h-data: Fixes for POSIX testing.
45104 * conform/data/fcntl.h-data: Likewise.
45105 * conform/data/glob.h-data: Likewise.
45106 * conform/data/grp.h-data: Likewise.
45107 * conform/data/pthread.h-data: Likewise.
45108 * conform/data/pwd.h-data: Likewise.
45109 * conform/data/signal.h-data: Likewise.
45110 * conform/data/spawn.h-data: Likewise.
45111 * conform/data/stdio.h-data: Likewise.
45112 * conform/data/stdlib.h-data: Likewise.
45113 * conform/data/stropts.h-data: Likewise.
45114 * conform/data/sys/mman.h-data: Likewise.
45115 * conform/data/sys/stat.h-data: Likewise.
45116 * conform/data/sys/types.h-data: Likewise.
45117 * conform/data/sys/wait.h-data: Likewise.
45118 * conform/data/time.h-data: Likewise.
45119 * conform/data/unistd.h-data: Likewise.
45120 * conform/data/utime.h-data: Likewise.
45122 * io/sys/stat.h: fchmod was always in POSIX.
45123 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45124 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45125 * rt/aio.h: Define __need_timespec before including <time.h>.
45126 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45127 struct. Add forward declaration of pthread_attr_t and use it in
45129 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45130 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45131 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45132 always remove CLK_TCK definition.
45134 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45136 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45138 2012-02-25 Ulrich Drepper <drepper@gmail.com>
45140 * conform/run-conformtest.sh: New file.
45141 * conform/Makefile: Run run-conformtest for tests.
45142 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45145 * conform/data/uchar.h-data: New file.
45146 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45147 * conform/data/arpa/inet.h-data: Likewise.
45148 * conform/data/assert.h-data: Likewise.
45149 * conform/data/complex.h-data: Likewise.
45150 * conform/data/cpio.h-data: Likewise.
45151 * conform/data/ctype.h-data: Likewise.
45152 * conform/data/dirent.h-data: Likewise.
45153 * conform/data/dlfcn.h-data: Likewise.
45154 * conform/data/errno.h-data: Likewise.
45155 * conform/data/fcntl.h-data: Likewise.
45156 * conform/data/float.h-data: Likewise.
45157 * conform/data/fmtmsg.h-data: Likewise.
45158 * conform/data/fnmatch.h-data: Likewise.
45159 * conform/data/ftw.h-data: Likewise.
45160 * conform/data/glob.h-data: Likewise.
45161 * conform/data/grp.h-data: Likewise.
45162 * conform/data/iconv.h-data: Likewise.
45163 * conform/data/inttypes.h-data: Likewise.
45164 * conform/data/langinfo.h-data: Likewise.
45165 * conform/data/libgen.h-data: Likewise.
45166 * conform/data/limits.h-data: Likewise.
45167 * conform/data/locale.h-data: Likewise.
45168 * conform/data/math.h-data: Likewise.
45169 * conform/data/monetary.h-data: Likewise.
45170 * conform/data/mqueue.h-data: Likewise.
45171 * conform/data/ndbm.h-data: Likewise.
45172 * conform/data/net/if.h-data: Likewise.
45173 * conform/data/netdb.h-data: Likewise.
45174 * conform/data/netinet/in.h-data: Likewise.
45175 * conform/data/nl_types.h-data: Likewise.
45176 * conform/data/poll.h-data: Likewise.
45177 * conform/data/pthread.h-data: Likewise.
45178 * conform/data/pwd.h-data: Likewise.
45179 * conform/data/regex.h-data: Likewise.
45180 * conform/data/sched.h-data: Likewise.
45181 * conform/data/search.h-data: Likewise.
45182 * conform/data/semaphore.h-data: Likewise.
45183 * conform/data/setjmp.h-data: Likewise.
45184 * conform/data/signal.h-data: Likewise.
45185 * conform/data/spawn.h-data: Likewise.
45186 * conform/data/stdarg.h-data: Likewise.
45187 * conform/data/stdio.h-data: Likewise.
45188 * conform/data/stdlib.h-data: Likewise.
45189 * conform/data/string.h-data: Likewise.
45190 * conform/data/strings.h-data: Likewise.
45191 * conform/data/stropts.h-data: Likewise.
45192 * conform/data/sys/ipc.h-data: Likewise.
45193 * conform/data/sys/mman.h-data: Likewise.
45194 * conform/data/sys/msg.h-data: Likewise.
45195 * conform/data/sys/resource.h-data: Likewise.
45196 * conform/data/sys/select.h-data: Likewise.
45197 * conform/data/sys/sem.h-data: Likewise.
45198 * conform/data/sys/shm.h-data: Likewise.
45199 * conform/data/sys/socket.h-data: Likewise.
45200 * conform/data/sys/stat.h-data: Likewise.
45201 * conform/data/sys/statvfs.h-data: Likewise.
45202 * conform/data/sys/time.h-data: Likewise.
45203 * conform/data/sys/timeb.h-data: Likewise.
45204 * conform/data/sys/times.h-data: Likewise.
45205 * conform/data/sys/types.h-data: Likewise.
45206 * conform/data/sys/uio.h-data: Likewise.
45207 * conform/data/sys/un.h-data: Likewise.
45208 * conform/data/sys/utsname.h-data: Likewise.
45209 * conform/data/sys/wait.h-data: Likewise.
45210 * conform/data/syslog.h-data: Likewise.
45211 * conform/data/tar.h-data: Likewise.
45212 * conform/data/termios.h-data: Likewise.
45213 * conform/data/utime.h-data: Likewise.
45214 * conform/data/utmpx.h-data: Likewise.
45215 * conform/data/varargs.h-data: Likewise.
45216 * conform/data/wchar.h-data: Likewise.
45217 * conform/data/wctype.h-data: Likewise.
45218 * conform/data/wordexp.h-data: Likewise.
45220 * include/stropts.h: New file.
45221 * include/uchar.h: New file.
45222 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45223 * include/assert.h: Likewise.
45224 * include/ctype.h: Likewise.
45225 * include/dirent.h: Likewise.
45226 * include/dlfcn.h: Likewise.
45227 * include/fcntl.h: Likewise.
45228 * include/fnmatch.h: Likewise.
45229 * include/glob.h: Likewise.
45230 * include/grp.h: Likewise.
45231 * include/libio.h: Likewise.
45232 * include/locale.h: Likewise.
45233 * include/math.h: Likewise.
45234 * include/net/if.h: Likewise.
45235 * include/netdb.h: Likewise.
45236 * include/netinet/in.h: Likewise.
45237 * include/pthread.h: Likewise.
45238 * include/pwd.h: Likewise.
45239 * include/regex.h: Likewise.
45240 * include/sched.h: Likewise.
45241 * include/search.h: Likewise.
45242 * include/setjmp.h: Likewise.
45243 * include/signal.h: Likewise.
45244 * include/stdio.h: Likewise.
45245 * include/stdlib.h: Likewise.
45246 * include/string.h: Likewise.
45247 * include/sys/cdefs.h: Likewise.
45248 * include/sys/mman.h: Likewise.
45249 * include/sys/msg.h: Likewise.
45250 * include/sys/resource.h: Likewise.
45251 * include/sys/select.h: Likewise.
45252 * include/sys/socket.h: Likewise.
45253 * include/sys/stat.h: Likewise.
45254 * include/sys/statvfs.h: Likewise.
45255 * include/sys/time.h: Likewise.
45256 * include/sys/times.h: Likewise.
45257 * include/sys/uio.h: Likewise.
45258 * include/sys/utsname.h: Likewise.
45259 * include/sys/wait.h: Likewise.
45260 * include/termios.h: Likewise.
45261 * include/time.h: Likewise.
45262 * include/ulimit.h: Likewise.
45263 * include/unistd.h: Likewise.
45264 * include/utime.h: Likewise.
45265 * include/wchar.h: Likewise.
45266 * include/wctype.h: Likewise.
45267 * include/wordexp.h: Likewise.
45269 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45271 * time/time.h: TIME_UTC must be a macro.
45272 Make timespec_get available for ISO C11 only as well.
45274 2012-02-24 Ulrich Drepper <drepper@gmail.com>
45276 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45277 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45279 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45281 * configure.in: Use -o not -a in test for unsupported multi-arch.
45283 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45285 * manual/texinfo.tex: Update to version 2012-01-19.16.
45287 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45289 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45291 2012-02-24 Roland McGrath <roland@hack.frob.com>
45294 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45295 * manual/fdl-1.3.texi: New file.
45296 * manual/fdl-1.1.texi: File removed.
45299 * manual/libc.texinfo (FDL_VERSION): New @set.
45300 Use it for mention of FDL in cover text.
45301 (Documentation License): Use it in @include file name.
45303 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45304 Roland McGrath <roland@hack.frob.com>
45307 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45308 (not LONG_LONG_MAX and LONG_LONG_MIN.
45309 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45310 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45312 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45314 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45318 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45319 manipulate bits before adding and subtracting TWO23[sx].
45320 * math/libm-test.inc (nearbyint_test): Add more tests.
45322 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45325 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45326 bits before adding and subtracting TWO23[sx].
45327 * math/libm-test.inc (rint_test): Add more tests.
45328 (rint_test_tonearest): Likewise.
45329 (rint_test_towardzero): Likewise.
45330 (rint_test_downward): Likewise.
45331 (rint_test_upward: Likewise.
45333 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45336 * include/stdc-predef.h: New file. Extracted from features.h.
45337 * include/features.h: Include stdc-predef.h.
45338 * Makefile (headers): Add stdc-predef.h.
45339 * CONFORMANCE (Compiler limitations): Update.
45341 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45343 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45345 2012-02-21 David S. Miller <davem@davemloft.net>
45347 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45348 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45350 2012-02-20 David S. Miller <davem@davemloft.net>
45352 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45353 using a normal save/restore sequence, rather than allocating a
45354 dummy stack frame just to store a frame pointer and restore.
45355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45357 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45359 * manual/install.texi: Fix stray word in line-wrapped comment.
45361 2012-02-20 David S. Miller <davem@davemloft.net>
45363 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45364 both binutils and gcc support GOTDATA.
45366 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45367 "rd %pc" in the PIC register setup sequences.
45369 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45370 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45371 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45372 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45373 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45375 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45376 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45378 (SYSCALL_ERROR_HANDLER): Likewise.
45379 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45380 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45382 (SYSCALL_ERROR_HANDLER): Likewise.
45384 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45385 (HAVE_GCC_GOTDATA): New.
45386 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45387 relocation support in both binutils and gcc.
45388 * sysdeps/sparc/elf/configure: Regenerate.
45390 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45391 * sysdeps/sparc/sparc32/elf/configure: Delete.
45392 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45393 * sysdeps/sparc/sparc64/elf/configure: Delete.
45394 * sysdeps/sparc/elf/configure.in: New file.
45395 * sysdeps/sparc/elf/configure: Generate.
45397 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45398 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45399 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45400 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45401 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45403 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45405 * manual/install.texi: Do not mention specific glibc version
45407 * manual/libc.texinfo (VERSION, UPDATED): Update.
45408 (@copying): Use @copyright{} and range of years.
45410 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45413 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45414 [crti.S not in sysdirs] (generated): Do not append.
45415 [crti.S not in sysdirs] (omit-deps): Likewise.
45416 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45417 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45418 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45419 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45420 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45422 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45423 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45424 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45425 * csu/defs.awk: Remove file.
45426 * sysdeps/generic/initfini.c: Likewise.
45427 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45429 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45432 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45434 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45435 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45436 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45437 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45438 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45439 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45441 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45442 (__EPOLL_PACKED): Define to empty if not defined by
45444 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45448 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45450 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45451 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45452 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45453 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45455 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45459 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45461 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45463 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45464 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45468 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45470 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45471 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45473 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45475 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45476 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45478 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45480 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45483 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45485 * math/w_acos.c: Use non-signaling floating-point comparisons.
45486 * math/w_acosf.c: Likewise.
45487 * math/w_acosh.c: Likewise.
45488 * math/w_acoshf.c: Likewise.
45489 * math/w_acoshl.c: Likewise.
45490 * math/w_acosl.c: Likewise.
45491 * math/w_asin.c: Likewise.
45492 * math/w_asinf.c: Likewise.
45493 * math/w_asinl.c: Likewise.
45494 * math/w_atanh.c: Likewise.
45495 * math/w_atanhf.c: Likewise.
45496 * math/w_atanhl.c: Likewise.
45497 * math/w_exp2.c: Likewise.
45498 * math/w_exp2f.c: Likewise.
45499 * math/w_exp2l.c: Likewise.
45500 * math/w_j0.c: Likewise.
45501 * math/w_j0f.c: Likewise.
45502 * math/w_j0l.c: Likewise.
45503 * math/w_j1.c: Likewise.
45504 * math/w_j1f.c: Likewise.
45505 * math/w_j1l.c: Likewise.
45506 * math/w_jn.c: Likewise.
45507 * math/w_jnf.c: Likewise.
45508 * math/w_log.c: Likewise.
45509 * math/w_log10.c: Likewise.
45510 * math/w_log10f.c: Likewise.
45511 * math/w_log10l.c: Likewise.
45512 * math/w_log2.c: Likewise.
45513 * math/w_log2f.c: Likewise.
45514 * math/w_log2l.c: Likewise.
45515 * math/w_logf.c: Likewise.
45516 * math/w_logl.c: Likewise.
45517 * math/w_sqrt.c: Likewise.
45518 * math/w_sqrtf.c: Likewise.
45519 * math/w_sqrtl.c: Likewise.
45520 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45521 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45522 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45523 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45524 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45526 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45529 * manual/string.texi (strnlen): Use correct parameter name in
45530 equivalent expression.
45532 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45535 * manual/users.texi (seteuid): Consistently use neweuid for
45538 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45541 * manual/nss.texi (Services in the NSS configuration): Correct
45542 list of services in example configuration file.
45544 2012-02-19 Nick Bowler <nbowler@draconx.ca>
45547 * manual/arith.texi: Remove statements about negative zero
45548 behaving identically to zero.
45550 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45553 * manual/install.texi: Do not document upgrading from libc5.
45555 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45558 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45560 2012-02-18 David S. Miller <davem@davemloft.net>
45562 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45563 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45564 %o7 across the call.
45565 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45568 SETUP_PIC_REG_LEAF.
45569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45570 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45571 * sysdeps/sparc/crtn.S: Likewise.
45573 2012-02-17 Ulrich Drepper <drepper@gmail.com>
45575 * aout/Makefile: Remove.
45577 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45580 * manual/examples/argp-ex1.c (main): Format definition in GNU
45582 * manual/examples/argp-ex2.c (main): Likewise.
45583 * manual/examples/argp-ex3.c (main): Likewise.
45584 * manual/examples/argp-ex4.c (main): Likewise.
45585 * manual/examples/longopt.c (main): Use new-style prototype
45587 * manual/examples/strncat.c (main): Specify return type and use
45588 (void) for arguments.
45589 * manual/examples/subopt.c (main): Use char **argv argument.
45591 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45594 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45597 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45600 * manual/string.texi (strchr): Change when strchrnul is
45603 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45606 * manual/locale.texi (setlocale): Document LOCPATH.
45608 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45611 * manual/process.texi (execle): Move @dots{} before last argument.
45613 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
45616 * manual/charset.texi (Generic Charset Conversion): Fix typo
45617 (LC_TYPE -> LC_CTYPE).
45619 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45622 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45623 (scalbnf): Likewise.
45624 (scalbnl): Likewise.
45625 (scalbln): Likewise.
45626 (scalblnf): Likewise.
45627 (scalblnl): Likewise.
45628 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45629 (vwarnx): Likewise.
45632 * manual/filesys.texi (telldir): Use braces around return type.
45633 * manual/llio.texi (mmap): Add space after comma.
45634 (mmap64): Likewise.
45635 * manual/math.texi (jn): Use @var{} on parameter names.
45641 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45643 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45645 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45646 (sched_get_priority_max): Likewise.
45647 * manual/signal.texi (sigvec): Add space after comma.
45648 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45650 (if_indextoname): Likewise.
45651 (if_freenameindex): Likewise.
45652 (sendto): Use ',' instead of '.' in prototype.
45653 * manual/startup.texi (syscall): Use @dots{} instead of literal
45655 * manual/stdio.texi (__fpending): Separate initial words of
45656 paragraph from @deftypefun line.
45657 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45659 (vsyslog): Use @var{} on parameter names.
45660 * manual/terminal.texi (stty): Use @var{} on parameter names.
45661 * manual/users.texi (getutmp): Use @var{} on parameter names.
45662 (getutmpx): Likewise.
45664 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45667 * manual/stdio.texi (fopen): Fix typos in description of
45670 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45673 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45674 get clock_id definition.
45676 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
45679 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45680 (madvise): Cast every argument to void on its own.
45682 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45685 * manual/startup.texi (Exit Status): Fix typo.
45687 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45690 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45691 * manual/examples/argp-ex2.c: Likewise.
45692 * manual/examples/argp-ex3.c: Likewise.
45694 2012-02-16 Richard Henderson <rth@redhat.com>
45696 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45697 * sysdeps/s390/s390-32/initfini.c: Remove.
45698 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45699 * sysdeps/s390/s390-64/initfini.c: Remove.
45701 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45703 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45704 compiler output for sysdeps/generic/initfini.c.
45705 * sysdeps/sh/elf/initfini.c: Remove file.
45707 2012-02-16 David S. Miller <davem@davemloft.net>
45710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45712 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45713 * sysdeps/sparc/crti.S: New file.
45714 * sysdeps/sparc/crtn.S: New file.
45715 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45716 * sysdeps/sparc/sparc64/Makefile: Likewise.
45718 2012-02-15 Mike Frysinger <vapier@gentoo.org>
45721 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45723 2012-02-15 Roland McGrath <roland@hack.frob.com>
45726 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45728 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45729 (write, read, close): Likewise.
45730 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45732 2012-02-15 Joseph Myers <joseph@codesourcery.com>
45734 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45735 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45736 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45737 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45739 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45743 2012-02-14 Marek Polacek <polacek@redhat.com>
45745 * sysdeps/x86_64/crti.S: New file.
45746 * sysdeps/x86_64/crtn.S: New file.
45747 * sysdeps/x86_64/elf/initfini.c: Remove file.
45749 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45751 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45752 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45753 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45754 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45756 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45760 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45762 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45763 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45764 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45765 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45767 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45771 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45773 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45774 __feraiseexcept instead of feraiseexcept.
45776 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45777 nanosleep invocations.
45778 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45779 strings, and add error checking for a nanosleep invocations.
45781 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45783 Replace FSF snail mail address with URLs, as per GNU coding standards.
45784 Most of the snail mail addresses were wrong anyway, and omitting
45785 them makes the source code easier to maintain. Almost all of the
45786 changes are to license notices and to locale LC_IDENTIFICATION
45787 addresses, except for this one:
45788 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45789 not its snail mail address.
45791 2012-02-09 Richard Henderson <rth@twiddle.net>
45793 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45794 of kernel-features.h.
45796 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45798 2012-02-08 Marek Polacek <polacek@redhat.com>
45800 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45801 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45802 * sysdeps/gnu/_G_config.h: Likewise.
45803 * sysdeps/generic/_G_config.h: Likewise.
45805 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45807 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45811 * sysdeps/powerpc/powerpc32/crti.S: New file.
45812 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45813 * sysdeps/powerpc/powerpc64/crti.S: New file.
45814 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45816 * Makeconfig (have-initfini): Don't set.
45817 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45818 * configure.in (nopic_initfini): Don't substitute.
45819 * config.h.in (HAVE_INITFINI): Don't #undef.
45820 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45821 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45823 2012-02-08 Joseph Myers <joseph@codesourcery.com>
45825 Support crti.S and crtn.S provided directly by architectures.
45826 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45827 [crti.S in sysdirs] (omit-deps): Likewise.
45828 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45829 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45830 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45831 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45832 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45833 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45834 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45835 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45836 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45837 compiler output for sysdeps/generic/initfini.c.
45838 * sysdeps/i386/elf/Makefile: Remove file.
45839 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45841 2012-02-07 Marek Polacek <polacek@redhat.com>
45843 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45844 * sysdeps/gnu/_G_config.h: Likewise.
45845 * sysdeps/mach/hurd/_G_config.h: Likewise.
45847 2012-02-07 Marek Polacek <polacek@redhat.com>
45849 * math/Makefile (tests): Add tst-CMPLX2.
45850 * math/tst-CMPLX2.c: New file.
45852 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45854 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45856 * math/libm-test.inc (jn_test): Add missing L suffix.
45858 2012-02-06 Marek Polacek <polacek@redhat.com>
45860 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45861 * sysdeps/i386/fpu/e_powf.S: Likewise.
45862 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45863 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45864 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45865 * sysdeps/i386/fpu/e_pow.S: Likewise.
45866 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45867 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45868 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45869 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45870 * sysdeps/i386/fpu/e_log2.S: Likewise.
45871 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45872 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45873 * sysdeps/i386/fpu/e_powl.S: Likewise.
45874 * sysdeps/i386/fpu/s_log1p.S: Likewise.
45875 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45876 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45877 * sysdeps/i386/fpu/e_logl.S: Likewise.
45878 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45879 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45880 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45881 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45882 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45883 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45884 * sysdeps/i386/fpu/e_log.S: Likewise.
45885 * sysdeps/i386/fpu/s_cexp.S: Likewise.
45886 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45887 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45888 * sysdeps/i386/fpu/e_logf.S: Likewise.
45889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45890 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45891 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45892 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45893 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45894 * sysdeps/i386/fpu/e_log10.S: Likewise.
45895 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45896 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45897 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45898 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45899 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45900 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45901 * sysdeps/i386/asm-syntax.h: Likewise.
45902 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45903 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45904 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45905 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45906 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45907 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45908 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45909 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45910 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45911 * sysdeps/powerpc/sysdep.h: Likewise.
45912 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45913 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45915 2012-02-06 Joseph Myers <joseph@codesourcery.com>
45918 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45920 2012-02-06 Joseph Myers <joseph@codesourcery.com>
45922 * sysdeps/i386/sysdep.h: Include <features.h>.
45923 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45926 2012-02-05 Joseph Myers <joseph@codesourcery.com>
45928 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45930 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45933 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45935 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45936 (SETUP_PIC_REG): Use GET_PC_THUNK.
45937 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45940 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45942 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45943 for non-PIC compilation.
45944 (SETUP_PIC_REG): Add .p2align directive.
45945 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45946 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45949 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45950 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45951 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45953 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45954 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45955 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45956 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45957 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45958 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45959 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45960 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45961 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45962 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45963 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45964 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45965 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45966 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45967 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45968 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45969 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45971 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45972 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45973 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45974 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45975 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45976 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45977 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45978 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45979 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45980 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45981 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45982 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45983 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45984 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45985 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45987 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45989 * math/tst-CMPLX.c: Include <stdio.h>.
45991 2012-01-31 Joseph Myers <joseph@codesourcery.com>
45993 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45995 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45996 * sysdeps/sparc/bits/mathdef.h: Likewise.
45998 2012-01-31 Marek Polacek <polacek@redhat.com>
46000 * libio/libio.h: Don't define _PARAMS.
46001 * locale/programs/config.h: Don't define PARAMS.
46002 * stdlib/strtol_l.c: Likewise.
46003 (__strtol_l): Remove PARAMS from the prototype.
46005 2012-01-31 Ulrich Drepper <drepper@gmail.com>
46007 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46008 names. Just use the correct names. Remove unnecessary wrapper
46010 * malloc/arena.c: Likewise.
46011 * malloc/hooks.c: Likewise.
46013 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46014 ARENA_TEST says not to. Simplify test for creation of a new arena.
46015 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46017 2012-01-30 Ulrich Drepper <drepper@gmail.com>
46019 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46021 (update_get_addr): New function.
46022 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46023 GET_ADDR_MODULE parameter.
46025 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46027 * crypt/cert.c: Remove __STDC__ conditionals.
46028 * crypt/crypt-entry.c: Likewise.
46029 * crypt/crypt_util.c: Likewise.
46030 * libio/filedoalloc.c: Likewise.
46031 * libio/fileops.c: Likewise.
46032 * libio/genops.c: Likewise.
46033 * libio/iofclose.c: Likewise.
46034 * libio/iofdopen.c: Likewise.
46035 * libio/iofopen.c: Likewise.
46036 * libio/iofopen64.c: Likewise.
46037 * libio/iogetdelim.c: Likewise.
46038 * libio/iopopen.c: Likewise.
46039 * libio/obprintf.c: Likewise.
46040 * libio/oldfileops.c: Likewise.
46041 * libio/oldiofclose.c: Likewise.
46042 * libio/oldiofdopen.c: Likewise.
46043 * libio/oldiofopen.c: Likewise.
46044 * libio/oldiopopen.c: Likewise.
46045 * libio/wfiledoalloc.c: Likewise.
46046 * libio/wgenops.c: Likewise.
46047 * locale/programs/xmalloc.c: Likewise.
46048 * misc/syslog.c: Likewise.
46049 * stdio-common/xbug.c: Likewise.
46050 * string/memchr.c: Likewise.
46051 * string/memcmp.c: Likewise.
46052 * string/memrchr.c: Likewise.
46053 * string/rawmemchr.c: Likewise.
46054 * sysdeps/posix/getcwd.c: Likewise.
46055 * time/strftime_l.c: Likewise.
46057 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46059 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46060 * config.make.in (config-cflags-sse2avx): Define.
46061 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46064 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46066 * scripts/config.guess: Update from upstream config git repository.
46067 * scripts/config.sub: Likewise.
46069 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46071 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46073 (R_TILEPRO_*, R_TILEGX_*): New macros.
46075 * scripts/firstversions.awk: Fix bug in version range handling.
46077 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46079 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46081 * include/sys/epoll.h: New file.
46082 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46085 2012-01-28 Ulrich Drepper <drepper@gmail.com>
46087 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46088 Avoid unnecessary __WORDSIZE == 64 test.
46089 (fmaxf): Use VEX format if possible.
46094 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46095 * math/math_private.h: Remove libc_fegetround* and
46097 * sysdeps/i386/configure.in: Check for -msse2avx.
46098 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46099 also if SSE2AVX is defined.
46100 Remove libc_fegetround* and libc_fesetround*.
46101 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46102 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46103 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46105 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46106 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46107 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46108 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46109 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46111 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46113 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46117 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46119 2012-01-27 Ulrich Drepper <drepper@gmail.com>
46122 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46124 * Makeconfig (libm): Define.
46125 * elf/Makefile: Add rules to build and run tst-relsort1.
46126 * elf/tst-relsort1.c: New file.
46127 * elf/tst-relsort1mod1.c: New file.
46128 * elf/tst-relsort1mod2.c: New file.
46130 2012-01-27 Joseph Myers <joseph@codesourcery.com>
46132 * math/s_ldexp.c: Remove __STDC__ conditionals.
46133 * math/s_ldexpf.c: Likewise.
46134 * math/s_ldexpl.c: Likewise.
46135 * math/s_nextafter.c: Likewise.
46136 * math/s_nexttowardf.c: Likewise.
46137 * math/s_significand.c: Likewise.
46138 * math/s_significandf.c: Likewise.
46139 * math/s_significandl.c: Likewise.
46140 * math/w_jnl.c: Likewise.
46141 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46142 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46143 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46144 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46145 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46146 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46147 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46148 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46149 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46150 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46151 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46152 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46153 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46154 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46155 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46156 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46157 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46158 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46160 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46161 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46162 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46163 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46164 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46165 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46166 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46167 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46168 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46169 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46170 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46171 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46172 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46173 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46174 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46175 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46176 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46177 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46178 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46179 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46180 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46181 * sysdeps/ieee754/k_standard.c: Likewise.
46182 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46183 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46184 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46185 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46186 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46187 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46188 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46189 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46190 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46191 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46192 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46193 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46194 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46195 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46196 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46197 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46198 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46199 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46200 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46201 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46202 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46203 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46204 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46205 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46206 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46207 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46211 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46212 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46213 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46214 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46215 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46216 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46217 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46218 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46221 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46222 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46223 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46224 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46225 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46226 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46227 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46228 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46229 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46230 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46231 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46232 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46233 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46234 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46235 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46236 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46237 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46238 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46239 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46240 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46241 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46249 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46250 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46251 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46252 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46253 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46254 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46255 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46256 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46257 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46258 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46259 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46260 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46261 * sysdeps/ieee754/s_matherr.c: Likewise.
46262 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46263 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46264 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46267 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46269 * crypt/md5.h: Remove __STDC__ conditionals.
46270 * libio/libioP.h: Likewise.
46271 * locale/programs/config.h: Likewise.
46272 * sysdeps/generic/sysdep.h: Likewise.
46273 * sysdeps/i386/asm-syntax.h: Likewise.
46274 * sysdeps/s390/asm-syntax.h: Likewise.
46275 * sysdeps/unix/sysdep.h: Likewise.
46276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46279 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46281 * libio/libio.h: Remove __STDC__ conditionals.
46282 * malloc/obstack.h: Likewise.
46283 * math/complex.h: Likewise.
46284 * math/math.h: Likewise.
46285 * sysdeps/generic/_G_config.h: Likewise.
46286 * sysdeps/gnu/_G_config.h: Likewise.
46287 * sysdeps/mach/hurd/_G_config.h: Likewise.
46288 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46289 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46290 * sysdeps/sparc/bits/mathdef.h: Likewise.
46292 2012-01-26 Ulrich Drepper <drepper@gmail.com>
46295 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46296 Clean up HAS_* macros.
46297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46298 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46302 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46303 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46304 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46305 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46306 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46308 2012-01-25 Joseph Myers <joseph@codesourcery.com>
46310 * elf/tst-unique3.cc (gets): Remove declaration.
46311 * elf/tst-unique3lib.cc (gets): Likewise.
46312 * elf/tst-unique3lib2.cc (gets): Likewise.
46313 * elf/tst-unique4.cc (gets): Likewise.
46315 2012-01-24 Ulrich Drepper <drepper@gmail.com>
46317 * include/stdio.h: Add C++ protection. Add gets declarations and
46319 * debug/tst-chk1.c: Don't declare gets here.
46320 * stdio-common/tst-gets.c: Likewise.
46322 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46324 * posix/glob: Remove directory.
46326 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46328 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46330 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46332 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46333 of the non-standard EPFNOSUPPORT.
46335 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46337 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46338 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46339 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46341 2012-01-21 Ulrich Drepper <drepper@gmail.com>
46343 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46345 2012-01-20 Ulrich Drepper <drepper@gmail.com>
46347 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46349 * nscd/grpcache.c (cache_addgr): Likewise.
46350 * nscd/hstcache.c (cache_addhst): Likewise.
46351 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46352 * nscd/pwdcache.c (cache_addpw): Likewise.
46353 * nscd/servicescache.c (cache_addserv): Likewise.
46355 2012-01-16 Ulrich Drepper <drepper@gmail.com>
46357 * malloc/malloc.c: Various cleanups.
46358 * malloc/hooks.c: Likewise.
46360 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46361 * stdlib/bug-fmtmsg1.c: New file.
46363 * stdlib/fmtmsg.c (init): Add missing unlock.
46364 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46366 2012-01-12 Marek Polacek <polacek@redhat.com>
46368 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46371 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46373 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46374 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46375 macro to ensure uniqueness of label name.
46376 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46377 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46379 2012-01-11 Ulrich Drepper <drepper@gmail.com>
46381 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46383 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46384 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46385 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46388 2012-01-10 Ulrich Drepper <drepper@gmail.com>
46390 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46392 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46393 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46394 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46396 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46398 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46399 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46400 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46403 * math/bits/math-finite.h: Add ldexp support.
46405 2012-01-10 Marek Polacek <polacek@redhat.com>
46407 * locale/programs/localedef.h (show_archive_content): Add noreturn
46410 2012-01-09 Ulrich Drepper <drepper@gmail.com>
46412 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46414 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46416 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46418 * io/Makefile (headers): Add bits/poll2.h.
46420 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46423 typo #include statement.
46425 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46427 * include/sys/cdefs.h: Define __attribute_alloc_size.
46428 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46429 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46430 * elf/pldd.c: Likewise.
46431 * iconv/iconv_charmap.c: Likewise.
46432 * iconv/iconvconfig.c: Likewise.
46433 * iconv/strtab.c: Likewise.
46434 * locale/programs/locale.c: Likewise.
46435 * locale/programs/localedef.h: Likewise.
46436 * locale/programs/simple-hash.c: Likewise.
46437 * nscd/nscd.h: Likewise.
46438 * nss/makedb.c: Likewise.
46439 * sysdeps/generic/ldconfig.h: Likewise.
46440 * locale/programs/localedef.c: Remove xmalloc prototype.
46441 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46443 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46445 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46448 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46450 * math/Makefile (tests): Add tst-CMPLX.
46451 * math/tst-CMPLX.c: New file.
46453 * math/complex.h (CMPLXL): Fix typo.
46455 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46456 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46458 * debug/tst-chk1.c: Add poll and ppoll tests.
46459 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46460 * include/sys/poll.h: Add hidden proto for ppoll.
46461 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46462 * sysdeps/mach/hurd/ppoll.c: Likewise.
46463 * io/ppoll.c: Likewise.
46464 * debug/poll_chk.c: New file.
46465 * debug/ppoll_chk.c: New file.
46466 * include/bits/poll2.h: New file.
46467 * io/bits/poll2.h: New file.
46470 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46472 * configure.in: static is always set to yes. Remove.
46473 * config.make.in: Don't set build-static.
46474 * Makeconfig: Remove use of build-static.
46475 * dlfcn/Makefile: Likewise.
46476 * elf/Makefile: Likewise.
46477 * math/Makefile: Likewise.
46478 * misc/Makefile: Likewise.
46479 * nptl/Makefile: Likewise.
46480 * sysdeps/mach/hurd/Makefile: Likewise.
46482 * configure.in: PWD_P is not used anymore.
46483 * config.make.in: Remove PWD_P entry.
46485 * configure.in: Remove last remnants of RANLIB.
46486 No need to check for signed size_t anymore.
46487 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46489 Remove __builtin_expect test because we require at least gcc 3.4.
46490 * aclocal.m4: Likewise.
46492 * wcsmbs/mbrtoc16.c: Implement using towc function.
46493 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46494 * wcsmbs/wcsmbsload.c: Likewise.
46495 * iconv/gconv_simple.c: Likewise.
46496 * iconv/gconv_int.h: Likewise.
46497 * iconv/gconv_builtin.h: Likewise.
46498 * iconv/iconv_prog.c: Remove CHAR16 handling.
46500 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46502 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46504 * configure.in: Remove --with-elf and --enable-bounded options.
46505 Dont set base_machine for ia64. More non-ELF conditions removed.
46506 Remove testing and setting of leading underscore information.
46507 * config.make.in (build-bounded): Set to no.
46508 * config.h.in: Remove NO_UNDERSCORES entry.
46509 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46511 * csu/start.c: Remove !NO_UNDERSCORE code.
46512 * locale/localeinfo.h: Likewise.
46513 * sysdeps/generic/machine-gmon.h: Likewise.
46514 * sysdeps/generic/sysdep.h: Likewise.
46515 * sysdeps/i386/sysdep.h: Likewise.
46516 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46517 * sysdeps/mach/sysdep.h: Likewise.
46518 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46519 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46520 * sysdeps/sh/sysdep.h: Likewise.
46521 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46522 * sysdeps/unix/i386/sysdep.S: Likewise.
46523 * sysdeps/unix/sparc/start.c: Likewise.
46524 * sysdeps/unix/sparc/sysdep.S: Likewise.
46525 * sysdeps/unix/sparc/sysdep.h: Likewise.
46526 * sysdeps/unix/start.c: Likewise.
46527 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46528 * sysdeps/x86_64/sysdep.h: Likewise.
46530 2012-01-07 Ulrich Drepper <drepper@gmail.com>
46533 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46535 * argp/argp-fmtstream.h: Use const instead __const.
46536 * argp/argp.h: Likewise.
46537 * assert/assert.h: Likewise.
46538 * bits/fenv.h: Likewise.
46539 * bits/sched.h: Likewise.
46540 * bits/sigset.h: Likewise.
46541 * bits/sigthread.h: Likewise.
46542 * catgets/nl_types.h: Likewise.
46543 * conform/data/pthread.h-data: Likewise.
46544 * crypt/crypt-private.h: Likewise.
46545 * crypt/crypt.h: Likewise.
46546 * crypt/crypt_util.c: Likewise.
46547 * ctype/ctype.h: Likewise.
46548 * debug/execinfo.h: Likewise.
46549 * debug/mbsnrtowcs_chk.c: Likewise.
46550 * debug/mbsrtowcs_chk.c: Likewise.
46551 * debug/wcsnrtombs_chk.c: Likewise.
46552 * debug/wcsrtombs_chk.c: Likewise.
46553 * debug/wcstombs_chk.c: Likewise.
46554 * dirent/dirent.h: Likewise.
46555 * dlfcn/dlfcn.h: Likewise.
46556 * elf/neededtest4.c: Likewise.
46557 * grp/grp.h: Likewise.
46558 * gshadow/gshadow.h: Likewise.
46559 * iconv/gconv.h: Likewise.
46560 * iconv/gconv_int.h: Likewise.
46561 * iconv/gconv_simple.c: Likewise.
46562 * iconv/iconv.h: Likewise.
46563 * iconv/loop.c: Likewise.
46564 * iconv/skeleton.c: Likewise.
46565 * include/aio.h: Likewise.
46566 * include/aliases.h: Likewise.
46567 * include/argz.h: Likewise.
46568 * include/arpa/inet.h: Likewise.
46569 * include/assert.h: Likewise.
46570 * include/dirent.h: Likewise.
46571 * include/dlfcn.h: Likewise.
46572 * include/execinfo.h: Likewise.
46573 * include/fcntl.h: Likewise.
46574 * include/fenv.h: Likewise.
46575 * include/glob.h: Likewise.
46576 * include/grp.h: Likewise.
46577 * include/libintl.h: Likewise.
46578 * include/mntent.h: Likewise.
46579 * include/netdb.h: Likewise.
46580 * include/pwd.h: Likewise.
46581 * include/rpc/netdb.h: Likewise.
46582 * include/sched.h: Likewise.
46583 * include/search.h: Likewise.
46584 * include/shadow.h: Likewise.
46585 * include/signal.h: Likewise.
46586 * include/stdio.h: Likewise.
46587 * include/stdlib.h: Likewise.
46588 * include/string.h: Likewise.
46589 * include/sys/socket.h: Likewise.
46590 * include/sys/stat.h: Likewise.
46591 * include/sys/statfs.h: Likewise.
46592 * include/sys/statvfs.h: Likewise.
46593 * include/sys/syslog.h: Likewise.
46594 * include/sys/time.h: Likewise.
46595 * include/sys/uio.h: Likewise.
46596 * include/time.h: Likewise.
46597 * include/unistd.h: Likewise.
46598 * include/utmp.h: Likewise.
46599 * include/wchar.h: Likewise.
46600 * include/wctype.h: Likewise.
46601 * inet/aliases.h: Likewise.
46602 * inet/arpa/inet.h: Likewise.
46603 * inet/netinet/ether.h: Likewise.
46604 * inet/netinet/in.h: Likewise.
46605 * intl/libintl.h: Likewise.
46606 * io/bits/fcntl2.h: Likewise.
46607 * io/fcntl.h: Likewise.
46608 * io/ftw.h: Likewise.
46609 * io/sys/poll.h: Likewise.
46610 * io/sys/stat.h: Likewise.
46611 * io/sys/statfs.h: Likewise.
46612 * io/sys/statvfs.h: Likewise.
46613 * io/utime.h: Likewise.
46614 * libio/bits/stdio.h: Likewise.
46615 * libio/bits/stdio2.h: Likewise.
46616 * libio/libio.h: Likewise.
46617 * libio/libioP.h: Likewise.
46618 * libio/stdio.h: Likewise.
46619 * locale/lc-ctype.c: Likewise.
46620 * locale/locale.h: Likewise.
46621 * login/utmp.h: Likewise.
46622 * malloc/arena.c: Likewise.
46623 * malloc/malloc.c: Likewise.
46624 * malloc/malloc.h: Likewise.
46625 * malloc/mcheck.c: Likewise.
46626 * malloc/mtrace.c: Likewise.
46627 * math/bits/mathcalls.h: Likewise.
46628 * math/fenv.h: Likewise.
46629 * math/math_private.h: Likewise.
46630 * misc/bits/error.h: Likewise.
46631 * misc/bits/syslog.h: Likewise.
46632 * misc/err.h: Likewise.
46633 * misc/error.h: Likewise.
46634 * misc/fstab.h: Likewise.
46635 * misc/mntent.h: Likewise.
46636 * misc/regexp.h: Likewise.
46637 * misc/search.h: Likewise.
46638 * misc/sgtty.h: Likewise.
46639 * misc/sys/mman.h: Likewise.
46640 * misc/sys/syslog.h: Likewise.
46641 * misc/sys/uio.h: Likewise.
46642 * misc/sys/xattr.h: Likewise.
46643 * misc/ttyent.h: Likewise.
46644 * nis/rpcsvc/ypclnt.h: Likewise.
46645 * nss/nss.h: Likewise.
46646 * posix/bits/unistd.h: Likewise.
46647 * posix/fnmatch.h: Likewise.
46648 * posix/glob.h: Likewise.
46649 * posix/sched.h: Likewise.
46650 * posix/spawn.h: Likewise.
46651 * posix/sys/wait.h: Likewise.
46652 * posix/unistd.h: Likewise.
46653 * posix/wordexp.h: Likewise.
46654 * pwd/pwd.h: Likewise.
46655 * resolv/netdb.h: Likewise.
46656 * resource/sys/resource.h: Likewise.
46657 * rt/aio.h: Likewise.
46658 * rt/bits/mqueue2.h: Likewise.
46659 * rt/mqueue.h: Likewise.
46660 * shadow/shadow.h: Likewise.
46661 * signal/signal.h: Likewise.
46662 * socket/send.c: Likewise.
46663 * socket/sendto.c: Likewise.
46664 * socket/sys/socket.h: Likewise.
46665 * stdio-common/printf.h: Likewise.
46666 * stdlib/bits/stdlib.h: Likewise.
46667 * stdlib/fmtmsg.h: Likewise.
46668 * stdlib/monetary.h: Likewise.
46669 * stdlib/stdlib.h: Likewise.
46670 * stdlib/ucontext.h: Likewise.
46671 * streams/stropts.h: Likewise.
46672 * string/argz.h: Likewise.
46673 * string/bits/string2.h: Likewise.
46674 * string/string.h: Likewise.
46675 * string/strings.h: Likewise.
46676 * sunrpc/rpc/auth.h: Likewise.
46677 * sunrpc/rpc/auth_des.h: Likewise.
46678 * sunrpc/rpc/clnt.h: Likewise.
46679 * sunrpc/rpc/netdb.h: Likewise.
46680 * sunrpc/rpc/pmap_clnt.h: Likewise.
46681 * sunrpc/rpc/xdr.h: Likewise.
46682 * sysdeps/generic/inttypes.h: Likewise.
46683 * sysdeps/generic/net/if.h: Likewise.
46684 * sysdeps/generic/sys/swap.h: Likewise.
46685 * sysdeps/gnu/net/if.h: Likewise.
46686 * sysdeps/gnu/utmpx.h: Likewise.
46687 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46688 * sysdeps/i386/i486/bits/string.h: Likewise.
46689 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46690 * sysdeps/s390/bits/string.h: Likewise.
46691 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46692 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46693 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46694 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46695 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46696 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46697 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46698 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46699 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46700 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46701 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46702 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46703 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46704 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46705 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46706 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46707 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46709 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46710 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46711 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46712 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46713 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46714 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46715 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46716 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46717 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46718 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46719 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46720 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46721 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46722 * sysvipc/sys/ipc.h: Likewise.
46723 * sysvipc/sys/msg.h: Likewise.
46724 * sysvipc/sys/sem.h: Likewise.
46725 * sysvipc/sys/shm.h: Likewise.
46726 * termios/termios.h: Likewise.
46727 * time/sys/time.h: Likewise.
46728 * time/time.h: Likewise.
46729 * wcsmbs/bits/wchar2.h: Likewise.
46730 * wcsmbs/uchar.h: Likewise.
46731 * wcsmbs/wchar.h: Likewise.
46732 * wctype/wctype.h: Likewise.
46735 * Makeconfig: Remove all but ELF support including AIX support.
46736 * Makerules: Likewise.
46737 * config.h.in: Likewise.
46738 * config.make.in: Likewise.
46739 * configure: Likewise.
46740 * configure.in: Likewise.
46741 * csu/Makefile: Likewise.
46742 * csu/version.c: Likewise.
46743 * debug/Makefile: Likewise.
46744 * dlfcn/Makefile: Likewise.
46745 * elf/Makefile: Likewise.
46746 * extra-lib.mk: Likewise.
46747 * iconv/Makefile: Likewise.
46748 * include/libc-symbols.h: Likewise.
46749 * include/shlib-compat.h: Likewise.
46750 * resolv/Makefile: Likewise.
46751 * resolv/res_libc.c: Likewise.
46752 * rt/Makefile: Likewise.
46753 * sysdeps/i386/asm-syntax.h: Likewise.
46754 * sysdeps/i386/sysdep.h: Likewise.
46755 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46756 * sysdeps/mach/sysdep.h: Likewise.
46757 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46758 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46759 * sysdeps/s390/asm-syntax.h: Likewise.
46760 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46761 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46762 * sysdeps/sh/sysdep.h: Likewise.
46763 * sysdeps/unix/sparc/sysdep.h: Likewise.
46764 * sysdeps/wordsize-32/divdi3.c: Likewise.
46765 * sysdeps/x86_64/sysdep.h: Likewise.
46767 * argp/Versions: Remove _argp_unlock_xxx.
46770 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46771 * abilist/libBrokenLocale.abilist: Likewise.
46772 * abilist/libanl.abilist: Likewise.
46773 * abilist/libc.abilist: Likewise.
46774 * abilist/libcrypt.abilist: Likewise.
46775 * abilist/libdl.abilist: Likewise.
46776 * abilist/libm.abilist: Likewise.
46777 * abilist/libnsl.abilist: Likewise.
46778 * abilist/libpthread.abilist: Likewise.
46779 * abilist/libresolv.abilist: Likewise.
46780 * abilist/librt.abilist: Likewise.
46781 * abilist/libthread_db.abilist: Likewise.
46782 * abilist/libutil.abilist: Likewise.
46783 * abilist/libnss_db.abilist: New file.
46785 * scripts/abilist.awk: Add support for indirect functions.
46787 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46789 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46791 * shlib-versions: Remove entries for ports architectures.
46793 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46795 * elf/stackguard-macros.h: Remove support for IA-64.
46796 * elf/tst-auditmod1.c: Likewise.
46797 * sysdeps/generic/ldsodefs.h: Likewise.
46799 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46800 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46804 * configure.in: Remove --enable-omitfp support.
46806 * config.make.in: Likewise.
46807 * Makeconfig: Likewise.
46808 * manual/install.texi: Likewise.
46810 In case anyone cares, the IA-64 architecture could move to ports.
46811 * sysdeps/ia64/*: Removed.
46812 * sysdeps/unix/sysv/linux/ia64/*: Removed.
46813 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46816 * configure.in: Remove entries for unsupported architectures.
46819 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46820 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46822 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46823 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46824 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46825 fall back to using wcrtomb.
46826 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46827 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46829 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46830 * wcsmbs/tst-c16c32-1.c: New file.
46832 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46835 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46837 * elf/tst-unique3.cc: Add explicit declaration of gets.
46838 * elf/tst-unique3lib.cc: Likewise.
46839 * elf/tst-unique3lib2.cc: Likewise.
46840 * elf/tst-unique4.cc: Likewise.
46842 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46844 2012-01-06 Joseph Myers <joseph@codesourcery.com>
46847 * assert/assert.h (static_assert): Don't define for C++.
46848 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46849 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46851 2012-01-03 Ulrich Drepper <drepper@gmail.com>
46853 * iconv/loop.c (single loop): Fix assertion in storing of
46856 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46858 2012-01-01 Ulrich Drepper <drepper@gmail.com>
46860 * posix/getconf.c: Update copyright year.
46861 * nss/getent.c: Likewise.
46862 * nss/makedb.c: Likewise.
46863 * iconv/iconvconfig.c: Likewise.
46864 * iconv/iconv_prog.c: Likewise.
46865 * elf/ldconfig.c: Likewise.
46866 * elf/pldd.c: Likewise.
46867 * elf/sotruss.ksh: Likewise.
46868 * catgets/gencat.c: Likewise.
46869 * csu/version.c: Likewise.
46870 * elf/ldd.bash.in: Likewise.
46871 * elf/sprof.c (print_version): Likewise.
46872 * locale/programs/locale.c: Likewise.
46873 * locale/programs/localedef.c: Likewise.
46874 * login/programs/pt_chown.c: Likewise.
46875 * nscd/nscd.c (print_version): Likewise.
46876 * debug/xtrace.sh: Likewise.
46877 * malloc/memusage.sh: Likewise.
46878 * malloc/mtrace.pl: Likewise.
46879 * debug/catchsegv.sh: Likewise.
46881 2011-12-30 Jakub Jelinek <jakub@redhat.com>
46883 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46886 2011-12-24 Ulrich Drepper <drepper@gmail.com>
46889 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46890 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46892 * iconv/gconv_int.h: Likewise.
46893 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46894 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46895 from libc for GLIBC_2.16.
46896 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46897 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46898 * wcsmbs/uchar.h: Really define mbstate_t.
46899 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46900 * wcsmbs/c16rtomb.c: New file.
46901 * wcsmbs/mbrtoc16.c: New file.
46902 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46903 for C/POSIX locale.
46904 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46905 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46907 * wcsmbs/wchar.h: Add missing __restrict.
46909 2011-12-23 Ulrich Drepper <drepper@gmail.com>
46912 * time/Makefile (routines): Add timespec_get.
46913 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46914 * time/time.h: Define TIME_UTC and declare timespec_get. Define
46915 timespec for ISO C11.
46916 * time/timespec_get.c: New file.
46917 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46918 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46921 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46922 * stdlib/stdlib.h: Declare aligned_alloc.
46923 * Versions.def: Add GLIBC_2.16 for libc.
46924 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46927 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46930 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
46934 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46937 * assert/assert.h (static_assert): Define.
46939 * version.h: Update for 2.16 development version.
46942 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46945 * version.h (RELEASE): Bump for 2.15 release.
46946 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46948 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46949 Patch by Marek Polacek <mpolacek@redhat.com>.
46951 * bits/byteswap.h: Protect long long constants with __extension__.
46952 * sysdeps/i386/bits/byteswap.h: Likewise.
46953 * sysdeps/ia64/bits/byteswap.h: Likewise.
46954 * sysdeps/s390/bits/byteswap.h: Likewise.
46955 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46957 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46960 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46961 destination buffer.
46962 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46964 2011-12-23 Marek Polacek <polacek@redhat.com>
46966 * elf/dl-addr.c (determine_info): Add inline keyword.
46967 * elf/tst-auditmod4b.c (check_avx): Likewise.
46968 * elf/tst-auditmod6b.c (check_avx): Likewise.
46969 * elf/tst-auditmod6c.c (check_avx): Likewise.
46970 * elf/tst-auditmod7b.c (check_avx): Likewise.
46972 2011-12-23 Ulrich Drepper <drepper@gmail.com>
46974 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46977 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46980 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46981 processing for last bytes.
46983 2011-08-06 Bruno Haible <bruno@clisp.org>
46986 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46987 U+0385, not to U+1FEE.
46990 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46991 entry for U+00A5 U+0301.
46993 2011-12-22 Ulrich Drepper <drepper@gmail.com>
46996 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46997 buffer for the output is too small.
46999 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47003 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47004 SSE flags if possible.
47006 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47010 processing for last bytes.
47012 2011-12-22 Joseph Myers <joseph@codesourcery.com>
47014 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47015 (syscall-list-default-options, syscall-list-default-condition)
47016 (syscall-list-includes): Define.
47017 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47018 list of ABIs and options and #if conditions for each ABI. Do not
47019 handle common syscalls between ABIs specially.
47020 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47022 (syscall-list-variants, syscall-list-32bit-options)
47023 (syscall-list-32bit-condition, syscall-list-64bit-options)
47024 (syscall-list-64bit-condition): Define.
47025 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47026 (syscall-list-variants, syscall-list-32bit-options)
47027 (syscall-list-32bit-condition, syscall-list-64bit-options)
47028 (syscall-list-64bit-condition): Define.
47029 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47031 (syscall-list-variants, syscall-list-32bit-options)
47032 (syscall-list-32bit-condition, syscall-list-64bit-options)
47033 (syscall-list-64bit-condition): Define.
47034 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47036 (syscall-list-variants, syscall-list-32bit-options)
47037 (syscall-list-32bit-condition, syscall-list-64bit-options)
47038 (syscall-list-64bit-condition): Define.
47040 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47042 * locale/iso-639.def: Add brx entry.
47045 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47046 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47048 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47049 __feraiseexcept_renamed.
47051 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47054 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47055 EPOLLET with unsigned values.
47056 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47059 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47060 to large cancellation.
47061 * math/s_cacoshf.c: Likewise.
47062 * math/s_cacoshl.c: Likewise.
47064 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47068 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47069 * math/s_cacoshf.c: Likewise.
47070 * math/s_cacoshl.c: Likewise.
47072 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47075 * iconv/gconv.h: Define __GCONV_SWAP.
47076 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47077 * iconvdata/utf-16.c: Likewise.
47078 * iconvdata/utf-32.c: Likewise.
47080 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47083 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47084 numerator after shifting it by one limb.
47086 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47088 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47089 under [__USE_EXTERN_INLINES].
47091 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47094 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47096 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47098 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47099 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47101 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47102 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47103 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47104 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47105 for strncasecmp/strncasecmp_l compilation.
47106 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47107 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47109 2011-12-08 Marek Polacek <mpolacek@redhat.com>
47112 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47115 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47118 * time/tzfile.c (__tzfile_read): Check values from file header.
47120 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47122 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47123 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47124 * powerpc/powerpc32/dl-start.S: Likewise.
47125 * powerpc/powerpc32/elf/start.S: Likewise.
47126 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47127 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47128 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47129 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47130 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47131 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47132 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47133 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47134 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47135 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47136 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47137 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47138 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47139 * powerpc/powerpc32/memset.S: Likewise.
47140 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47141 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47142 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47143 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47144 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47145 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47146 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47147 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47148 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47149 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47150 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47151 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47152 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47154 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47156 * math/libm-test.inc: Added more nearbyint tests.
47157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47158 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47162 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47164 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47167 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47169 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47170 Add wcscpy-ssse3 wcscpy-c.
47171 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47172 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47173 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47174 * sysdeps/x86_64/wcschr.S: New file.
47175 * sysdeps/x86_64/wcsrchr.S: New file.
47176 * string/test-strcmp.c: Remove checking of wcscmp function for
47178 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47179 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47180 wcsrchr-sse2 wcsrchr-c.
47181 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47182 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47183 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47184 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47185 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47186 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47187 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47188 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47189 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47190 * wcsmbc/wcschr.c (WCSCHR): New macro.
47192 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47194 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47195 * wcsmbs/test-wcsrchr.c: New file.
47196 * string/test-strrchr.c: Add wcsrchr support.
47198 * wcsmbs/test-wcscpy.c: New file.
47199 * string/test-strcpy.c: Add wcscpy support.
47202 2011-12-10 Ulrich Drepper <drepper@gmail.com>
47204 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47207 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47210 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47212 2011-12-04 Ulrich Drepper <drepper@gmail.com>
47214 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47215 Minor optimizations.
47217 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47218 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47219 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47221 2011-12-03 Ulrich Drepper <drepper@gmail.com>
47223 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47224 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47225 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47226 for gcc to avoid warnings.
47227 * inet/Makefile (tests): Add tst-checks.
47228 * inet/tst-checks.c: New file.
47230 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47233 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47236 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47237 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47239 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47241 2011-12-02 Ulrich Drepper <drepper@gmail.com>
47243 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47246 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47248 2011-11-29 Joseph Myers <joseph@codesourcery.com>
47250 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47251 conditional on GCC version.
47252 (__arch_compare_and_exchange_val_8_acq)
47253 (__arch_compare_and_exchange_val_16_acq)
47254 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47255 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47256 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47258 2011-12-02 Joseph Myers <joseph@codesourcery.com>
47260 * sysdeps/sh/backtrace.c: New file.
47262 2011-12-02 Andreas Schwab <schwab@redhat.com>
47264 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47267 2011-12-01 Andreas Schwab <schwab@redhat.com>
47269 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47270 falling back to utime.
47272 2011-11-30 Andreas Schwab <schwab@redhat.com>
47274 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47275 expectations for float.
47277 2011-11-29 Andreas Schwab <schwab@redhat.com>
47279 * locale/weight.h (findidx): Add parameter len.
47280 * locale/weightwc.h (findidx): Likewise.
47281 * posix/fnmatch_loop.c (FCT): Adjust caller.
47282 * posix/regcomp.c (build_equiv_class): Likewise.
47283 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47284 * posix/regexec.c (check_node_accept_bytes): Likewise.
47285 * string/strcoll_l.c (STRCOLL): Likewise.
47286 * string/strxfrm_l.c (STRXFRM): Likewise.
47288 2011-11-17 Ulrich Drepper <drepper@gmail.com>
47290 * Makefile.in: Remove CVSOPT handling.
47291 * configure.in: Remove use of AC_REVISION.
47292 * iconvdata/Makefile (distribute): No need to filter out CVS.
47293 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47296 2011-11-16 Andreas Schwab <schwab@redhat.com>
47298 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47299 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47300 [USE_AS_STRNCASECMP_L]: Likewise.
47301 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47302 NO_TLS_DIRECT_SEG_REFS.
47303 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47304 Fix argument offsets for non-PIC.
47305 [USE_AS_STRNCASECMP_L]: Likewise.
47306 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47307 NO_TLS_DIRECT_SEG_REFS.
47309 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47311 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47313 * locale/loadlocale.c (_nl_load_locale): Likewise.
47315 2011-11-15 Andreas Schwab <schwab@redhat.com>
47317 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47318 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47319 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47320 (SYSCALL_GETTIME): Set errno on error.
47322 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47323 count references to noai6ai_cached.
47325 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47327 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47329 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47330 FD_CLOEXEC for /proc/self/maps.
47332 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47333 FD_CLOEXEC for /proc/meminfo.
47335 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47338 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47339 FD_CLOEXEC for given file.
47341 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47343 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47344 FD_CLOEXEC for /etc/hosts.
47345 (_gethtent): Likewise.
47347 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47349 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47350 cancellation and set FD_CLOEXEC for /etc/netgroup.
47352 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47353 reading /etc/publickey.
47355 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47356 allow cancellation when reading /etc/group.
47358 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47360 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47362 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47363 when using data file.
47365 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47367 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47368 (write_nis_obj): Use "c" and "e" in fopen.
47370 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47372 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47374 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47376 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47378 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47381 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47383 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47385 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47387 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47388 file parsing and set FD_CLOEXEC.
47390 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47392 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47394 2011-11-14 Andreas Schwab <schwab@redhat.com>
47396 * malloc/arena.c (arena_get2): Don't call reused_arena when
47397 _int_new_arena failed.
47399 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47401 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47402 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47403 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47404 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47405 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47406 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47407 to compile strcasecmp and strncasecmp.
47408 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47409 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47413 2011-11-13 Ulrich Drepper <drepper@gmail.com>
47415 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47416 locale-defines.sym to gen-as-const-headers.
47417 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47418 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47420 to compile strcasecmp and strncasecmp.
47421 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47422 strcasecmp_l and strncasecmp_l.
47423 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47424 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47425 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47426 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47427 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47428 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47429 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47430 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47431 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47432 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47433 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47435 2011-11-12 Ulrich Drepper <drepper@gmail.com>
47437 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47438 result of SYSDEP_GETTIME_CPU to retval.
47439 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47440 parameter list to macro. Remove trailing semicolon. Adjust users.
47442 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47445 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47447 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47449 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47450 from unused variable.
47452 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47454 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47457 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47460 * sunrpc/rpc_prot.c (rejected): Fix case value.
47462 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47463 unsigned long long int to avoid warnings in shift.
47465 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47467 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47470 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47471 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47472 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47474 * nis/nis_table.c (nis_list): Use variable of correct type for
47475 result of __follow_path call.
47477 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47479 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47480 of math functions ceil, trunc, floor, round, and sqrt, when
47481 avaliable on the platform.
47482 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47484 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47485 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47486 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47488 2011-10-30 Marek Polacek <mpolacek@redhat.com>
47490 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47491 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47493 2011-11-11 Roland McGrath <roland@hack.frob.com>
47495 * include/unistd.h: Fix __readlink return type.
47496 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47498 2011-11-11 Ulrich Drepper <drepper@gmail.com>
47500 * stdlib/ucontext.h: Undo last change for makecontext.
47502 2011-11-11 Andreas Schwab <schwab@redhat.com>
47504 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47506 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47507 * setjmp/setjmp.h: Mark functions as non-leaf.
47508 * setjmp/bits/setjmp2.h: Likewise.
47509 * stdlib/ucontext.h: Likewise.
47511 2011-11-10 Andreas Schwab <schwab@redhat.com>
47513 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47514 (reused_arena): Don't check arena limit.
47515 (arena_get2): Atomically check arena limit.
47517 2011-11-08 Ulrich Drepper <drepper@gmail.com>
47519 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47520 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47525 2011-11-07 Andreas Schwab <schwab@redhat.com>
47527 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47528 handler when locking.
47530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47531 Fix size of allocated buffer.
47533 2011-11-04 Andreas Schwab <schwab@redhat.com>
47536 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47537 declarations for long double functions.
47538 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47540 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47542 2011-11-03 Andreas Schwab <schwab@redhat.com>
47544 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47547 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47550 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47552 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47554 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47556 * include/alloca.h (stackinfo_alloca_round): Define.
47557 (extend_alloca): Use it.
47558 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47559 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47562 * scripts/check-local-headers.sh: Ignore libaudit.h.
47564 * nscd/Makefile (extra-objs): Make recursively expanded.
47566 2011-11-01 Ulrich Drepper <drepper@gmail.com>
47568 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47569 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47571 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47572 * posix/tst-rfc3484-2.c: Likewise.
47573 * posix/tst-rfc3484-3.c: Likewise.
47575 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47577 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47579 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47580 process_vm_writev from libc using GLIBC_2.15 version.
47582 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47584 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47586 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47589 2011-10-31 Ulrich Drepper <drepper@gmail.com>
47592 * nss/getent.c (initgroups_keys): Show error message in case no group
47595 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47596 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47597 __bump_nl_timestamp.
47598 * nscd/connections (nscd_init): When host database is served open
47599 netlink socket and request notification about configuration changes.
47600 (main_loop_poll): Track netlink file descriptor and bump timestamp
47601 in case data becomes available.
47602 (main_loop_epoll): Likewise.
47603 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47604 (database_pers_head): Add extra_data fileds.
47605 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47606 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47607 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47609 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47610 in6ai data, call __free_in6ai.
47611 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47612 Add -DHAVE_NETLINK.
47613 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47614 interface information. Reuse previous data if netlink timestamp
47616 (__bump_nl_timestamp): New function.
47617 (__free_in6ai): New function.
47619 2011-10-30 Ulrich Drepper <drepper@gmail.com>
47621 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47622 close_not_cancel_no_status here.
47623 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47625 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47628 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47631 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47632 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47633 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47635 2011-07-03 Andreas Jaeger <aj@suse.de>
47638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47639 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47640 * math/libm-test.inc (sin_test): Add test case.
47642 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47645 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47646 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47648 * elf/chroot_canon.c (chroot_canon): Cleanups.
47650 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47653 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47654 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47656 * string/test-strchr.c: Make usable for strchrnul testing.
47657 * string/test-strchrnul.c: New file.
47658 * string/Makefile (strop-tests): Add strchrnul.
47660 * po/it.po: Update from translation team.
47661 * po/es.po: Likewise.
47663 2011-10-28 Ulrich Drepper <drepper@gmail.com>
47665 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47666 the three constants needed as parameters. Drop the others.
47667 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47668 __m128i_strloadu_tolower.
47669 Create and initialize variable zero and use it in all the places
47670 where _mm_setzero_si128 was used.
47672 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47673 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47674 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47675 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47677 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47678 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47679 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47680 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47681 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47682 __mpranred, __mptan.
47683 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47684 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47685 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47686 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47687 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47688 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47689 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47690 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47691 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47693 2011-10-28 Andreas Schwab <schwab@redhat.com>
47695 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47696 redefine if SHARED.
47697 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47700 wide char related routines to wcsmbs subdir.
47702 2011-10-27 Andreas Schwab <schwab@redhat.com>
47705 * misc/sys/cdefs.h (__THROWNL): Define.
47706 * posix/unistd.h: Use __THREADNL instead of __THREAD
47707 for memory synchronization functions.
47709 2011-10-26 Roland McGrath <roland@hack.frob.com>
47712 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47714 * manual/stdio.texi (Obstack Streams): Node removed.
47716 2011-10-26 Andreas Schwab <schwab@redhat.com>
47718 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47719 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47720 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47722 * math/math_private.h (math_force_eval): Allow non-addressable
47724 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47726 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47728 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47729 file is not needed.
47731 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47732 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47733 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47734 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47735 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47737 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47738 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47740 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47741 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47742 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47743 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47744 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47745 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47746 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47747 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47748 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47749 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47750 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47751 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47752 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47753 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47754 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47755 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47756 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47757 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47758 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47760 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47761 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47763 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47764 place. Use VEX encoding when compiling for AVX.
47766 2011-10-25 Andreas Schwab <schwab@redhat.com>
47768 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47769 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47771 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47773 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47775 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47776 useless if() expression.
47777 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47778 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47780 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47781 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47782 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47783 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47784 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47785 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47786 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47787 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47788 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47789 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47790 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47791 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47792 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47793 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47794 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47795 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47797 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47799 2011-10-25 Andreas Schwab <schwab@redhat.com>
47801 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47803 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47805 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47807 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47808 .text section. Avoid duplicate constants.
47809 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47811 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47812 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47813 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47815 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47817 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47818 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47819 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47820 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47821 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47822 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47823 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47824 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47825 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47826 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47827 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47829 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47830 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47831 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47832 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47833 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47834 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47835 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47836 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47837 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47838 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47839 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47840 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47841 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47842 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47843 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47844 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47845 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47846 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47847 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47848 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47849 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47850 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47851 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47852 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47853 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47855 2011-10-24 Ulrich Drepper <drepper@gmail.com>
47857 * sysdeps/x86_64/dla.h: Move to ...
47858 * sysdeps/x86_64/fpu/dla.h: ...here.
47859 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47860 situations. Use __builtin_fma only for gcc 4.6 and up.
47862 * config.make.in: Add have-mfma4 entry.
47863 * configure.in: Substitute libc_cv_cc_fma4.
47864 * math/Makefile (dbl-only-routines): Add sincostab.
47865 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47866 Use __sincostab not sincos.
47867 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47874 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
47875 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
47876 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47877 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47879 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47880 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47882 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
47883 define aliases when function name is a macro.
47884 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47885 sysdeps/ieee754/dbl-64/sincos.tbl.
47886 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47887 fma4-enabled routines.
47888 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47889 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47890 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47891 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47892 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47893 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47894 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47895 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47896 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47897 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47898 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47899 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47900 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47901 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47902 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47903 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47904 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47905 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47906 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47908 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47909 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47910 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47911 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47913 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47914 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47915 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47916 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47917 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47919 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47925 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47930 2011-10-24 Andreas Schwab <schwab@redhat.com>
47932 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47934 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47936 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47938 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47940 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47942 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47943 Remove unused variable magic_bits.
47944 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47946 * string/strnlen.c: Define and use STRNLEN macro.
47947 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47948 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47950 * wcsmbs/wcslen.c: Define and use WCSLEN.
47951 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47952 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47953 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47954 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47955 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47956 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47957 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47959 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47962 strnlen-sse2-no-bsf.
47963 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47964 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47965 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47966 Add strnlen support.
47967 (USE_AS_STRNLEN): New macro.
47968 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47969 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47970 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47971 * sysdeps/x86_64/wcslen.S: New file.
47973 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47975 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47976 XMM-moves are used for copying on small sizes.
47978 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47980 * wcsmbs/Makefile (strop-tests): Add wcschr.
47981 * wcsmbs/test-wcschr.c: New file.
47982 * string/test-strchr.c: Update.
47983 Add wcschr support.
47986 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47988 * wcsmbs/Makefile (strop-tests): Add wcslen.
47989 * wcsmbs/test-wcslen.c: New file.
47990 * string/test-strlen.c: Update.
47991 Add wcslen support.
47994 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47996 * po/it.po: Update from translation team.
47998 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48000 * sysdeps/x86_64/wcscmp.S: Update.
48001 Fix wrong comparison semantics.
48002 wcscmp shall use signed comparison not unsigned.
48003 Don't use substraction to avoid overflow bug.
48004 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48005 * wcsmbc/wcscmp.c: Likewise.
48006 * string/test-strcmp.c: Likewise.
48007 Add new tests to check cases with negative values.
48009 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48011 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48012 * sysdeps/x86_64/dla.h: ...here. New file.
48013 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48014 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48018 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48020 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48023 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48025 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48026 __ynl_finite aliases.
48028 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48032 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48034 [DLA_FMA] (EMULV): Use DLA_FMA.
48035 [DLA_FMA] (MUL12): Use EMULV.
48036 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48037 that are not needed.
48038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48042 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48043 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48044 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48046 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48048 * math/s_nan.c: Undef __nan.
48049 * math/s_nanf.c: Undef __nanf.
48050 * math/s_nanl.c: Undef __nanl.
48051 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48054 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48056 * math/s_catan.c: Add branch predictions.
48057 * math/s_catanf.c: Likewise.
48058 * math/s_catanh.c: Likewise.
48059 * math/s_catanhf.c: Likewise.
48060 * math/s_catanhl.c: Likewise.
48061 * math/s_catanl.c: Likewise.
48062 * math/s_cexp.c: Likewise.
48063 * math/s_cexpf.c: Likewise.
48064 * math/s_cexpl.c: Likewise.
48065 * math/s_clog.c: Likewise.
48066 * math/s_clog10.c: Likewise.
48067 * math/s_clog10f.c: Likewise.
48068 * math/s_clog10l.c: Likewise.
48069 * math/s_clogf.c: Likewise.
48070 * math/s_clogl.c: Likewise.
48071 * math/s_csqrt.c: Likewise.
48072 * math/s_csqrtf.c: Likewise.
48073 * math/s_csqrtl.c: Likewise.
48074 * math/s_ctanf.c: Likewise.
48075 * math/s_ctanh.c: Likewise.
48076 * math/s_ctanhf.c: Likewise.
48077 * math/s_ctanhl.c: Likewise.
48078 * math/s_ctanl.c: Likewise.
48080 * math/math_private.h: Define __nan, __nanf, __nanl.
48081 * math/s_cacosh.c: Include <math_private.h>.
48082 * math/s_cacoshl.c: Likewise.
48083 * math/s_casinh.c: Likewise.
48084 * math/s_casinhf.c: Likewise.
48085 * math/s_casinhl.c: Likewise.
48086 * math/s_ccos.c: Rely entire on ccosh.
48087 * math/s_ccosf.c: Rely entire on ccoshf.
48088 * math/s_ccosl.c: Rely entirely on ccoshl.
48089 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48090 Remove tests for FE_INVALID.
48091 * math/s_ccoshf.c: Likewise.
48092 * math/s_ccoshl.c: Likewise.
48093 * math/s_csin.c: Likewise.
48094 * math/s_csinf.c: Likewise.
48095 * math/s_csinh.c Likewise.
48096 * math/s_csinhf.c: Likewise.
48097 * math/s_csinhl.c: Likewise.
48098 * math/s_csinl.c: Likewise.
48099 * math/s_ctan.c: Likewise.
48100 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48101 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48102 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48104 2011-10-21 Ulrich Drepper <drepper@gmail.com>
48106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48107 compilation problems.
48109 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48112 2011-10-20 Ulrich Drepper <drepper@gmail.com>
48114 * sysdeps/i386/configure.in: Test for -mfma4 option.
48115 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48116 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48117 COMMON_CPUID_INDEX_80000001.
48118 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48119 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48120 use it if FMA3 is not supported.
48121 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48123 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48124 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48126 2011-10-20 Andreas Schwab <schwab@redhat.com>
48129 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48130 it would create a cycle with a link time dependency.
48132 2011-10-19 Ulrich Drepper <drepper@gmail.com>
48134 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48136 * string/Makefile (strop-tests): Add rawmemchr.
48137 * string/test-rawmemchr.c: New file.
48139 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48141 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48142 when compiling str{,n}casecmp and when AVX is available. Hook up
48143 new optimized code in initializers.
48145 2011-10-19 Andreas Schwab <schwab@redhat.com>
48147 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48148 __feraiseexcept instead of feraiseexcept.
48150 2011-10-18 Ulrich Drepper <drepper@gmail.com>
48152 * math/math_private.h: Define defaults for libc_fetestexcept and
48154 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48155 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48156 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48157 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48158 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48159 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48160 libc_fetestexcept and libc_feupdateenv.
48162 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48163 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48164 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48165 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48166 libc_feholdexcept_setround.
48168 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48169 Add s_nearbyint-c and s_nearbyintf-c.
48170 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48171 nearbyintf inlines.
48172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48173 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48174 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48175 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48177 * math/math_private.h: Define defaults for libc_fegetround,
48178 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48179 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48180 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48182 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48183 standard functions.
48184 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48185 Remove comments and hacks for old compiler versions.
48186 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48187 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48188 libc_feholdexceptl.
48190 2011-10-18 Andreas Schwab <schwab@redhat.com>
48192 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48193 (__feraiseexcept_renamed): Add __NTH.
48194 (feraiseexcept): Add __NTH. Rename local variables to fix
48195 namespace violations.
48197 2011-10-17 Ulrich Drepper <drepper@gmail.com>
48199 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48201 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48203 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48204 recently added interfaces.
48205 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48207 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48208 about macro parameter expansion.
48210 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48211 __NO_MATH_INLINES is defined. Cleanups.
48213 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48214 and __floorf is target has SSE4.1.
48215 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48216 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48217 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48218 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48220 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48222 (floorf): Likewise.
48224 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48226 2011-10-17 Andreas Schwab <schwab@redhat.com>
48228 * misc/sys/cdefs.h: Fix last change.
48230 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48233 2011-10-16 Ulrich Drepper <drepper@gmail.com>
48235 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48237 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48238 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48239 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48240 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48241 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48242 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48243 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48244 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48245 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48246 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48247 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48248 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48249 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48250 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48251 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48252 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48253 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48254 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48255 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48256 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48257 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48258 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48260 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48261 ceil, ceilf, floor, floorf.
48263 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48264 Perform IRELATIVE relocations last.
48266 * elf/do-rel.h: Add another parameter nrelative, replacing the
48267 local variable with the same name. Change name of the function
48268 to end in Rel or Rela (uppercase).
48269 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48270 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48271 elf_dynamic_do_##reloc function.
48273 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48275 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48276 is sufficient, at least on modern CPUs.
48278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48280 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48281 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48283 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48285 * math/bits/math-finite.h: Add entries for exp.
48286 * math/e_expl.c: Add __*_finite alias.
48287 * sysdeps/i386/fpu/e_exp.S: Likewise.
48288 * sysdeps/i386/fpu/e_expf.S: Likewise.
48289 * sysdeps/i386/fpu/e_expl.c: Likewise.
48290 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48291 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48292 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48294 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48295 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48296 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48298 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48299 is sufficient, at least on modern CPUs.
48301 * ctype/ctype-info.c (__ctype_init): Define.
48302 * include/ctype.h (__ctype_init): Declare.
48303 (__ctype_b_loc): The variable is always initialized.
48304 (__ctype_toupper_loc): Likewise.
48305 (__ctype_tolower_loc): Likewise.
48306 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48307 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48309 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48311 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48313 * configure.in: Also look in $cxxmachine/include for C++ system
48316 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48318 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48319 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48320 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48321 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48322 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48323 (USE_AS_WMEMCMP): New macro.
48325 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48326 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48327 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48328 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48330 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48331 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48332 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48333 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48334 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48335 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48336 (USE_AS_WMEMCMP): New macro.
48337 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48338 * sysdeps/string/test-memcmp.c: Update.
48339 Fix simple_wmemcmp.
48341 * wcsmbs/wmemcmp.c: Update.
48342 (WMEMCMP): New macro.
48345 2011-10-12 Andreas Jaeger <aj@suse.de>
48348 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48350 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48352 * libio/iofwide.c (do_length): Avoid warning.
48354 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48356 2011-10-14 Ulrich Drepper <drepper@gmail.com>
48358 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48360 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48361 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48362 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48363 * sysdeps/i386/i686/fpu/e_log.S: New file.
48364 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48365 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48367 * ctype/ctype.h: Add support for inlined isXXX functions when
48368 compiling C++ code.
48370 2011-10-14 Andreas Schwab <schwab@redhat.com>
48372 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48374 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48376 2011-10-13 Roland McGrath <roland@hack.frob.com>
48379 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48381 2011-10-13 Andreas Schwab <schwab@redhat.com>
48383 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48384 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48387 * sysdeps/x86_64/memrchr.S: Check for zero size.
48389 * string/stratcliff.c: Add memrchr tests.
48391 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48394 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48395 rawmemchr-sse2 rawmemchr-sse2-bsf.
48396 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48397 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48398 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48399 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48400 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48401 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48402 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48403 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48404 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48405 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48406 * string/memrchr.c (MEMRCHR): New macro.
48408 2011-10-12 Ulrich Drepper <drepper@gmail.com>
48410 Add integration with gcc's -ffinite-math-only and optimize wrapper
48412 * Versions.def: Define GLIBC_2.15 version for libm.
48413 * math/Makefile (headers): Add bits/math-finite.h.
48414 * math/bits/math-finite.h: New file.
48415 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48416 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48417 * math/e_acoshl.c: Add __*_finite alias.
48418 * math/e_acosl.c: Likewise.
48419 * math/e_asinl.c: Likewise.
48420 * math/e_atan2l.c: Likewise.
48421 * math/e_atanhl.c: Likewise.
48422 * math/e_coshl.c: Likewise.
48423 * math/e_exp10.c: Likewise.
48424 * math/e_exp10f.c: Likewise.
48425 * math/e_exp10l.c: Likewise.
48426 * math/e_exp2l.c: Likewise.
48427 * math/e_fmodl.c: Likewise.
48428 * math/e_gammal_r.c: Likewise.
48429 * math/e_hypotl.c: Likewise.
48430 * math/e_j0l.c: Likewise.
48431 * math/e_j1l.c: Likewise.
48432 * math/e_jnl.c: Likewise.
48433 * math/e_lgammal_r.c: Likewise.
48434 * math/e_log10l.c: Likewise.
48435 * math/e_log2l.c: Likewise.
48436 * math/e_logl.c: Likewise.
48437 * math/e_powl.c: Likewise.
48438 * math/e_sinhl.c: Likewise.
48439 * math/e_sqrtl.c: Likewise.
48440 * math/e_scalb.c: Completely rewritten and optimized.
48441 * math/e_scalbf.c: Likewise.
48442 * math/e_scalbl.c: Likewise.
48443 * math/w_acos.c: Likewise.
48444 * math/w_acosf.c: Likewise.
48445 * math/w_acosl.c: Likewise.
48446 * math/w_acosh.c: Likewise.
48447 * math/w_acoshf.c: Likewise.
48448 * math/w_acoshl.c: Likewise.
48449 * math/w_asin.c: Likewise.
48450 * math/w_asinf.c: Likewise.
48451 * math/w_asinl.c: Likewise.
48452 * math/w_atan2.c: Likewise.
48453 * math/w_atan2f.c: Likewise.
48454 * math/w_atan2l.c: Likewise.
48455 * math/w_atanh.c: Likewise.
48456 * math/w_atanhf.c: Likewise.
48457 * math/w_atanhl.c: Likewise.
48458 * math/w_exp10.c: Likewise.
48459 * math/w_exp10f.c: Likewise.
48460 * math/w_exp10l.c: Likewise.
48461 * math/w_fmod.c: Likewise.
48462 * math/w_fmodf.c: Likewise.
48463 * math/w_fmodl.c: Likewise.
48464 * math/w_j0.c: Likewise.
48465 * math/w_j0f.c: Likewise.
48466 * math/w_j0l.c: Likewise.
48467 * math/w_j1.c: Likewise.
48468 * math/w_j1f.c: Likewise.
48469 * math/w_j1l.c: Likewise.
48470 * math/w_jn.c: Likewise.
48471 * math/w_jnf.c: Likewise.
48472 * math/w_log.c: Likewise.
48473 * math/w_logf.c: Likewise.
48474 * math/w_logl.c: Likewise.
48475 * math/w_log10.c: Likewise.
48476 * math/w_log10f.c: Likewise.
48477 * math/w_log10l.c: Likewise.
48478 * math/w_log2.c: Likewise.
48479 * math/w_log2f.c: Likewise.
48480 * math/w_log2l.c: Likewise.
48481 * math/w_pow.c: Likewise.
48482 * math/w_powf.c: Likewise.
48483 * math/w_powl.c: Likewise.
48484 * math/w_remainder.c: Likewise.
48485 * math/w_remainderf.c: Likewise.
48486 * math/w_remainderl.c: Likewise.
48487 * math/w_scalb.c: Likewise.
48488 * math/w_scalbf.c: Likewise.
48489 * math/w_scalbl.c: Likewise.
48490 * math/w_sqrt.c: Likewise.
48491 * math/w_sqrtf.c: Likewise.
48492 * math/w_sqrtl.c: Likewise.
48493 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48494 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48496 * math/math_private.h: Declare __kernel_standard_f.
48497 * math/w_cosh.c: Remove cruft and optimize a bit.
48498 * math/w_coshf.c: Likewise.
48499 * math/w_coshl.c: Likewise.
48500 * math/w_exp2.c: Likewise.
48501 * math/w_exp2f.c: Likewise.
48502 * math/w_exp2l.c: Likewise.
48503 * math/w_hypot.c: Likewise.
48504 * math/w_hypotf.c: Likewise.
48505 * math/w_hypotl.c: Likewise.
48506 * math/w_lgamma.c: Likewise.
48507 * math/w_lgamma_r.c: Likewise.
48508 * math/w_lgammaf.c: Likewise.
48509 * math/w_lgammaf_r.c: Likewise.
48510 * math/w_lgammal.c: Likewise.
48511 * math/w_lgammal_r.c: Likewise.
48512 * math/w_sinh.c: Likewise.
48513 * math/w_sinhf.c: Likewise.
48514 * math/w_sinhl.c: Likewise.
48515 * math/w_tgamma.c: Likewise.
48516 * math/w_tgammaf.c: Likewise.
48517 * math/w_tgammal.c: Likewise.
48518 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48519 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48520 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48521 Minor optimizations. Pretty printing. Remove cruft.
48522 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48523 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48524 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48525 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48526 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48527 * sysdeps/i386/fpu/e_asin.S: Likewise.
48528 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48529 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48530 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48531 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48532 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48533 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48534 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48535 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48536 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48537 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48538 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48539 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48540 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48541 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48542 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48543 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48544 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48545 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48546 * sysdeps/i386/fpu/e_log.S: Likewise.
48547 * sysdeps/i386/fpu/e_log10.S: Likewise.
48548 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48549 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48550 * sysdeps/i386/fpu/e_log2.S: Likewise.
48551 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48552 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48553 * sysdeps/i386/fpu/e_logf.S: Likewise.
48554 * sysdeps/i386/fpu/e_logl.S: Likewise.
48555 * sysdeps/i386/fpu/e_pow.S: Likewise.
48556 * sysdeps/i386/fpu/e_powf.S: Likewise.
48557 * sysdeps/i386/fpu/e_powl.S: Likewise.
48558 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48559 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48560 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48561 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48562 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48563 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48564 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48565 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48566 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48567 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48568 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48570 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48571 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48572 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48573 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48574 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48575 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48576 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48577 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48578 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48581 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48583 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48584 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48585 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48586 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48587 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48588 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48589 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48590 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48591 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48592 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48593 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48594 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48595 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48596 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48597 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48598 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48599 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48600 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48601 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48602 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48603 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48604 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48605 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48606 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48607 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48608 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48609 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48610 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48611 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48612 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48613 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48614 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48615 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48616 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48617 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48618 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48619 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48620 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48621 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48622 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48623 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48624 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48625 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48626 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48627 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48628 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48629 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48630 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48631 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48632 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48633 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48634 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48635 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48636 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48637 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48638 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48639 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48640 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48641 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48642 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48644 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48645 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48646 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48647 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48648 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48650 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48651 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48652 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48653 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48654 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48655 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48656 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48657 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48658 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48659 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48660 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48661 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48662 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48663 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48664 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48665 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48666 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48667 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48668 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48669 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48670 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48671 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48672 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48673 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48674 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48675 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48676 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48677 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48678 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48679 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48680 (__isnanf): Likewise.
48681 (__isinf_ns): Likewise.
48682 (__isinf_nsf): Likewise.
48683 (__finite): Likewise.
48684 (__finitef): Likewise.
48685 (__ieee754_sqrt): Define as macro.
48686 (__ieee754_sqrtf): Define as macro.
48687 (__ieee754_sqrtl): Define as macro.
48688 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48690 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48691 __FINITE_MATH_ONLY__ consistent.
48692 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48694 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48696 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48699 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48701 2011-10-09 Ulrich Drepper <drepper@gmail.com>
48703 * po/ja.po: Update from translation team.
48705 2011-10-08 Roland McGrath <roland@hack.frob.com>
48707 * locale/programs/locarchive.c (prepare_address_space): New function.
48708 (create_archive, enlarge_archive, open_archive): Use it.
48710 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48711 inside [SHARED], where it is used.
48713 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48715 * nss/getent.c (netgroup_keys): Remove unused variable.
48716 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48718 2011-10-08 Ulrich Drepper <drepper@gmail.com>
48720 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48721 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48723 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48724 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48725 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48726 * math/Makefile (libm-calls): Add s_isinf_ns.
48727 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48728 * math/multc3.c: Likewise.
48729 * math/s_casin.c: Likewise.
48730 * math/s_casinf.c: Likewise.
48731 * math/s_casinl.c: Likewise.
48732 * math/s_ccos.c: Likewise.
48733 * math/s_ccosf.c: Likewise.
48734 * math/s_ccosl.c: Likewise.
48735 * math/s_ctan.c: Likewise.
48736 * math/s_ctanf.c: Likewise.
48737 * math/s_ctanh.c: Likewise.
48738 * math/s_ctanhf.c: Likewise.
48739 * math/s_ctanhl.c: Likewise.
48740 * math/s_ctanl.c: Likewise.
48741 * math/w_fmod.c: Likewise.
48742 * math/w_fmodf.c: Likewise.
48743 * math/w_fmodl.c: Likewise.
48744 * math/w_remainder.c: Likewise.
48745 * math/w_remainderf.c: Likewise.
48746 * math/w_remainderl.c: Likewise.
48747 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48748 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48749 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48751 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48752 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48753 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48754 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48756 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48758 * stdio-common/printf_fphex.c: Likewise.
48759 * stdio-common/printf_size.c: Likewise.
48761 * math/e_exp10.c: Include math_private.h using <...> not "...".
48762 * math/e_exp10f.c: Likewise.
48763 * math/e_exp10l.c: Likewise.
48764 * math/e_exp2l.c: Likewise.
48765 * math/e_j0l.c: Likewise.
48766 * math/e_j1l.c: Likewise.
48767 * math/e_jnl.c: Likewise.
48768 * math/e_lgammal_r.c: Likewise.
48769 * math/e_rem_pio2l.c: Likewise.
48770 * math/e_scalb.c: Likewise.
48771 * math/e_scalbf.c: Likewise.
48772 * math/e_scalbl.c: Likewise.
48773 * math/k_cosl.c: Likewise.
48774 * math/k_sinl.c: Likewise.
48775 * math/k_tanl.c: Likewise.
48776 * math/s_cacoshf.c: Likewise.
48777 * math/s_catan.c: Likewise.
48778 * math/s_catanf.c: Likewise.
48779 * math/s_catanh.c: Likewise.
48780 * math/s_catanhf.c: Likewise.
48781 * math/s_catanhl.c: Likewise.
48782 * math/s_catanl.c: Likewise.
48783 * math/s_ccosh.c: Likewise.
48784 * math/s_ccoshf.c: Likewise.
48785 * math/s_ccoshl.c: Likewise.
48786 * math/s_cexp.c: Likewise.
48787 * math/s_cexpf.c: Likewise.
48788 * math/s_cexpl.c: Likewise.
48789 * math/s_clog.c: Likewise.
48790 * math/s_clog10.c: Likewise.
48791 * math/s_clog10f.c: Likewise.
48792 * math/s_clog10l.c: Likewise.
48793 * math/s_clogf.c: Likewise.
48794 * math/s_clogl.c: Likewise.
48795 * math/s_csin.c: Likewise.
48796 * math/s_csinf.c: Likewise.
48797 * math/s_csinh.c: Likewise.
48798 * math/s_csinhf.c: Likewise.
48799 * math/s_csinhl.c: Likewise.
48800 * math/s_csinl.c: Likewise.
48801 * math/s_csqrt.c: Likewise.
48802 * math/s_csqrtf.c: Likewise.
48803 * math/s_csqrtl.c: Likewise.
48804 * math/s_ctan.c: Likewise.
48805 * math/s_ctanf.c: Likewise.
48806 * math/s_ctanh.c: Likewise.
48807 * math/s_ctanhf.c: Likewise.
48808 * math/s_ctanhl.c: Likewise.
48809 * math/s_ctanl.c: Likewise.
48810 * math/s_ldexp.c: Likewise.
48811 * math/s_ldexpf.c: Likewise.
48812 * math/s_ldexpl.c: Likewise.
48813 * math/s_significand.c: Likewise.
48814 * math/s_significandf.c: Likewise.
48815 * math/s_significandl.c: Likewise.
48816 * math/w_acos.c: Likewise.
48817 * math/w_acosf.c: Likewise.
48818 * math/w_acosh.c: Likewise.
48819 * math/w_acoshf.c: Likewise.
48820 * math/w_acoshl.c: Likewise.
48821 * math/w_acosl.c: Likewise.
48822 * math/w_asin.c: Likewise.
48823 * math/w_asinf.c: Likewise.
48824 * math/w_asinl.c: Likewise.
48825 * math/w_atan2.c: Likewise.
48826 * math/w_atan2f.c: Likewise.
48827 * math/w_atan2l.c: Likewise.
48828 * math/w_atanh.c: Likewise.
48829 * math/w_atanhf.c: Likewise.
48830 * math/w_atanhl.c: Likewise.
48831 * math/w_cosh.c: Likewise.
48832 * math/w_coshf.c: Likewise.
48833 * math/w_coshl.c: Likewise.
48834 * math/w_dremf.c: Likewise.
48835 * math/w_exp10.c: Likewise.
48836 * math/w_exp10f.c: Likewise.
48837 * math/w_exp10l.c: Likewise.
48838 * math/w_exp2.c: Likewise.
48839 * math/w_exp2f.c: Likewise.
48840 * math/w_fmod.c: Likewise.
48841 * math/w_fmodf.c: Likewise.
48842 * math/w_fmodl.c: Likewise.
48843 * math/w_hypot.c: Likewise.
48844 * math/w_hypotf.c: Likewise.
48845 * math/w_hypotl.c: Likewise.
48846 * math/w_j0.c: Likewise.
48847 * math/w_j0f.c: Likewise.
48848 * math/w_j0l.c: Likewise.
48849 * math/w_j1.c: Likewise.
48850 * math/w_j1f.c: Likewise.
48851 * math/w_j1l.c: Likewise.
48852 * math/w_jn.c: Likewise.
48853 * math/w_jnf.c: Likewise.
48854 * math/w_jnl.c: Likewise.
48855 * math/w_lgamma.c: Likewise.
48856 * math/w_lgamma_r.c: Likewise.
48857 * math/w_lgammaf.c: Likewise.
48858 * math/w_lgammaf_r.c: Likewise.
48859 * math/w_lgammal.c: Likewise.
48860 * math/w_lgammal_r.c: Likewise.
48861 * math/w_log.c: Likewise.
48862 * math/w_log10.c: Likewise.
48863 * math/w_log10f.c: Likewise.
48864 * math/w_log10l.c: Likewise.
48865 * math/w_log2.c: Likewise.
48866 * math/w_log2f.c: Likewise.
48867 * math/w_log2l.c: Likewise.
48868 * math/w_logf.c: Likewise.
48869 * math/w_logl.c: Likewise.
48870 * math/w_pow.c: Likewise.
48871 * math/w_powf.c: Likewise.
48872 * math/w_powl.c: Likewise.
48873 * math/w_remainder.c: Likewise.
48874 * math/w_remainderf.c: Likewise.
48875 * math/w_remainderl.c: Likewise.
48876 * math/w_scalb.c: Likewise.
48877 * math/w_scalbf.c: Likewise.
48878 * math/w_scalbl.c: Likewise.
48879 * math/w_sinh.c: Likewise.
48880 * math/w_sinhf.c: Likewise.
48881 * math/w_sinhl.c: Likewise.
48882 * math/w_sqrt.c: Likewise.
48883 * math/w_sqrtf.c: Likewise.
48884 * math/w_sqrtl.c: Likewise.
48885 * math/w_tgamma.c: Likewise.
48886 * math/w_tgammaf.c: Likewise.
48887 * math/w_tgammal.c: Likewise.
48889 * po/ja.po: Update from translation team.
48891 2011-09-29 Andreas Jaeger <aj@suse.de>
48894 * sunrpc/netname.c (netname2host): Fix logic.
48898 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48900 * math/w_remainder.c (__remainder): Likewise.
48901 * math/w_remainderf.c (__remainderf): Likewise.
48902 * math/libm-test.inc (remainder_test): Add test cases.
48904 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48906 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
48909 2011-10-07 Ulrich Drepper <drepper@gmail.com>
48911 * string/test-memcmp.c: Avoid unncessary #defines.
48912 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48914 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48916 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48917 Use new sse2 version for core i3 - i7 as it's faster
48918 than sse42 version.
48919 (bit_Prefer_PMINUB_for_stringop): New.
48920 * sysdeps/x86_64/rawmemchr.S: Update.
48921 Replace with faster SSE2 version.
48922 * sysdeps/x86_64/memrchr.S: New file.
48923 * sysdeps/x86_64/memchr.S: Update.
48924 Replace with faster SSE2 version.
48926 2011-09-12 Marek Polacek <mpolacek@redhat.com>
48928 * elf/dl-load.c (lose): Add cast to avoid warning.
48930 2011-10-07 Ulrich Drepper <drepper@gmail.com>
48932 * po/ca.po: Update from translation team.
48934 * inet/getnetgrent_r.c: Hook up nscd.
48935 * nscd/Makefile (routines): Add nscd_netgroup.
48936 (nscd-modules): Add netgroupcache.
48937 (CFLAGS-netgroupcache.c): Define.
48938 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48939 (cache_search): Add const to second parameter.
48940 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48942 (dbs): Add netgrdb entry.
48943 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48944 (verify_persistent_db): Handle netgrdb.
48945 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48946 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48948 (netgroup_response_header): Define.
48949 (innetgroup_response_header): Define.
48950 (datahead): Add netgroup_response_header and innetgroup_response_header
48952 * nscd/nscd.conf: Add entries for netgroup cache.
48953 * nscd/nscd.h (dbtype): Add netgrdb.
48954 (_PATH_NSCD_NETGROUP_DB): Define.
48955 (netgroup_iov_disabled): Declare.
48956 (xmalloc, xcalloc, xrealloc): Move declarations here.
48957 (cache_search): Adjust prototype.
48958 Add netgroup-related prototypes.
48959 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48960 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48961 (__nscd_innetgr): Declare.
48962 * nscd/selinux.c (perms): Use access_vector_t as element type and
48963 add netgroup-related initializers.
48964 * nscd/netgroupcache.c: New file.
48965 * nscd/nscd_netgroup.c: New file.
48966 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48967 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48968 For four parameters use innetgr.
48969 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48970 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48971 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48972 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48974 * nscd/connections.c (register_traced_file): Don't register file
48975 for disabled databases.
48977 2011-10-06 Ulrich Drepper <drepper@gmail.com>
48979 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48981 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48982 from tree and freeing node.
48984 2011-09-25 Jiri Olsa <jolsa@redhat.com>
48986 * nss/nsswitch.c (__nss_database_lookup): Handle
48987 nss_parse_service_list out of memory case.
48989 2011-09-15 Jiri Olsa <jolsa@redhat.com>
48991 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48992 out of memory case.
48994 2011-10-04 Andreas Schwab <schwab@redhat.com>
48996 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48997 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48999 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49000 elf_machine_rela, elf_machine_lazy_rel.
49001 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49002 (ELF_DYNAMIC_DO_REL): Likewise.
49003 (ELF_DYNAMIC_DO_RELA): Likewise.
49004 (ELF_DYNAMIC_RELOCATE): Likewise.
49005 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49006 to ELF_DYNAMIC_DO_REL.
49007 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49008 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49009 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49011 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49012 skip_ifunc, don't call ifunc function if non-zero.
49013 (elf_machine_rela): Likewise.
49014 (elf_machine_lazy_rel): Likewise.
49015 (elf_machine_lazy_rela): Likewise.
49016 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49017 (elf_machine_lazy_rel): Likewise.
49018 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49020 (elf_machine_lazy_rel): Likewise.
49021 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49023 (elf_machine_lazy_rel): Likewise.
49024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49025 (elf_machine_lazy_rel): Likewise.
49026 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49027 (elf_machine_lazy_rel): Likewise.
49028 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49029 (elf_machine_lazy_rel): Likewise.
49030 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49031 (elf_machine_lazy_rel): Likewise.
49032 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49033 (elf_machine_lazy_rel): Likewise.
49034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49035 (elf_machine_lazy_rel): Likewise.
49037 2011-09-28 Ulrich Drepper <drepper@gmail.com>
49039 * nss/nss_files/files-init.c (_nss_files_init): Use static
49040 initialization for all the *_traced_file variables.
49042 2011-09-28 Andreas Schwab <schwab@redhat.com>
49044 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49046 2011-09-27 Roland McGrath <roland@hack.frob.com>
49049 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49051 2011-09-27 Andreas Schwab <schwab@redhat.com>
49053 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49054 Reread the line before reparsing it.
49056 2011-09-26 Andreas Schwab <schwab@redhat.com>
49058 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49060 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49061 Maxim Kuvyrkov <maxim@codesourcery.com>
49062 Joseph Myers <joseph@codesourcery.com>
49064 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49065 if needed for __stack_chk_guard.
49067 2011-09-19 Roland McGrath <roland@hack.frob.com>
49069 * sysdeps/posix/spawni.c (script_execute): Always define it.
49070 It will be optimized away if unused.
49071 (maybe_script_execute): New function.
49072 (__spawni): Call it.
49074 * Makerules: Don't include tls.make.
49075 (config-tls): Always set to thread.
49076 * tls.make.c: File removed.
49078 2011-09-19 Mike Frysinger <vapier@gentoo.org>
49080 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49081 * config.make.in (CPPFLAGS-config): New substituted variable.
49083 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49085 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49088 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49089 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49091 2011-09-15 Roland McGrath <roland@hack.frob.com>
49093 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49094 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49095 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49096 (CALL_FAIL): Likewise.
49097 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49098 (CALL_FAIL): Macro removed.
49099 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49101 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49103 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49104 for __FINITE_MATH_ONLY__ == 1.
49106 2011-09-15 Andreas Schwab <schwab@redhat.com>
49108 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49109 __ieee754_sqrt instead of sqrt.
49110 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49111 __ieee754_sqrtf instead of sqrtf.
49112 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49113 __floorf instead of floorf.
49114 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49115 __floorf, __truncf instead of floorf, truncf.
49117 2011-09-14 Ulrich Drepper <drepper@gmail.com>
49119 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49121 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49122 __extern_always_inline.
49123 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49126 2011-09-14 Andreas Schwab <schwab@redhat.com>
49128 * elf/rtld.c (dl_main): Also relocate in dependency order when
49129 doing symbol dependency testing.
49131 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49133 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49134 Always define `refsym'.
49136 2011-09-13 Andreas Schwab <schwab@redhat.com>
49138 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49139 (__FD_ELT): Renamed from __FDELT.
49140 * misc/bits/select2.h (__FD_ELT): Likewise.
49141 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49142 __FD_MASK instead of __FDELT, __FDMASK.
49143 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49145 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49148 * elf/Makefile (gen-ldd): Fix pattern.
49150 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49151 (init_tls): Likewise.
49153 2011-09-12 Ulrich Drepper <drepper@gmail.com>
49155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49157 2011-09-12 Andreas Schwab <schwab@redhat.com>
49159 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49160 `struct cmsghdr *' instead of `void *'.
49161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49164 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49166 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49168 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49169 ldd_rewrite_script.
49171 2011-09-11 Ulrich Drepper <drepper@gmail.com>
49173 * configure.in: Remove --with-tls option.
49174 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49175 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49176 out in case it is missing.
49177 * sysdeps/ia64/elf/configure.in: Likewise.
49178 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49179 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49180 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49181 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49182 * sysdeps/sh/elf/configure.in: Likewise.
49183 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49184 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49185 * sysdeps/x86_64/elf/configure.in: Likewise.
49186 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49187 * sysdeps/mach/hurd/tls.h: Likewise.
49190 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49193 * configure.in: Fix use of AC_INIT.
49195 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49197 2011-09-10 Ulrich Drepper <drepper@gmail.com>
49199 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49201 * malloc/hooks.c: Likewise.
49204 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49205 variables statically.
49206 (narenas): Initialize.
49207 (list_lock): Initialize.
49208 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49209 initializtion of main_arena and list_lock. Small cleanups.
49210 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49211 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49212 Add initializers to main_arena and mp_.
49213 (malloc_state): Remove pagesize member. Change all users to use
49216 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49217 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49218 is always initialized.
49220 * malloc/malloc.c: Removed unused configurations and dead code.
49221 * malloc/arena.c: Likewise.
49222 * malloc/hooks.c: Likewise.
49223 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49225 * include/tls.h: Removed. USE___THREAD must always be defined.
49226 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49227 * elf/dl-libc.c: Likewise.
49228 * elf/dl-tsd.c: Likewise.
49229 * include/errno.h: Likewise.
49230 * include/netdb.h: Likewise.
49231 * include/resolv.h: Likewise.
49232 * inet/herrno-loc.c: Likewise.
49233 * inet/herrno.c: Likewise.
49234 * malloc/arena.c: Likewise.
49235 * malloc/hooks.c: Likewise.
49236 * malloc/malloc.c: Likewise.
49237 * resolv/res-state.c: Likewise.
49238 * resolv/res_libc.c: Likewise.
49239 * sysdeps/i386/dl-machine.h: Likewise.
49240 * sysdeps/ia64/dl-machine.h: Likewise.
49241 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49242 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49243 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49244 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49245 * sysdeps/sh/dl-machine.h: Likewise.
49246 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49247 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49248 * sysdeps/unix/i386/sysdep.S: Likewise.
49249 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49250 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49255 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49258 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49259 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49260 * sysdeps/x86_64/dl-machine.h: Likewise.
49261 * tls.make.c: Likewise.
49263 * configure.in: Remove --with-__thread option. Make tests for
49264 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49265 tls_model attribute fail if no support is available. Remove
49267 * Makeconfig: Adjust for dropped configure option. All features are
49269 * Makerules: Likewise.
49270 * Versions.def: Likewise.
49271 * argp/argp-fmtstream.c: Likewise.
49272 * argp/argp-fmtstream.h: Likewise.
49273 * argp/argp-help.c: Likewise.
49274 * assert/assert.c: Likewise.
49275 * config.h.in: Likewise.
49276 * config.make.in: Likewise.
49277 * configure: Likewise.
49278 * configure.in: Likewise.
49279 * csu/Versions: Likewise.
49280 * csu/init.c: Likewise.
49281 * elf/tst-audit2.c: Likewise.
49282 * elf/tst-tls10.c: Likewise.
49283 * elf/tst-tls10.h: Likewise.
49284 * elf/tst-tls11.c: Likewise.
49285 * elf/tst-tls12.c: Likewise.
49286 * elf/tst-tls14.c: Likewise.
49287 * elf/tst-tlsmod11.c: Likewise.
49288 * elf/tst-tlsmod12.c: Likewise.
49289 * elf/tst-tlsmod13.c: Likewise.
49290 * elf/tst-tlsmod13a.c: Likewise.
49291 * elf/tst-tlsmod14a.c: Likewise.
49292 * elf/tst-tlsmod15b.c: Likewise.
49293 * elf/tst-tlsmod16a.c: Likewise.
49294 * elf/tst-tlsmod16b.c: Likewise.
49295 * elf/tst-tlsmod7.c: Likewise.
49296 * elf/tst-tlsmod8.c: Likewise.
49297 * elf/tst-tlsmod9.c: Likewise.
49298 * gmon/gmon.c: Likewise.
49299 * grp/fgetgrent_r.c: Likewise.
49300 * grp/putgrent.c: Likewise.
49301 * hurd/fopenport.c: Likewise.
49302 * include/libc-symbols.h: Likewise.
49303 * include/tls.h: Likewise.
49304 * intl/gettextP.h: Likewise.
49305 * intl/loadinfo.h: Likewise.
49306 * locale/global-locale.c: Likewise.
49307 * locale/localeinfo.h: Likewise.
49308 * mach/devstream.c: Likewise.
49309 * malloc/arena.c: Likewise.
49310 * malloc/set-freeres.c: Likewise.
49311 * misc/err.c: Likewise.
49312 * misc/getttyent.c: Likewise.
49313 * misc/mntent_r.c: Likewise.
49314 * posix/getopt.c: Likewise.
49315 * posix/wordexp.c: Likewise.
49316 * pwd/fgetpwent_r.c: Likewise.
49317 * resolv/Versions: Likewise.
49318 * resolv/res_hconf.c: Likewise.
49319 * shadow/fgetspent_r.c: Likewise.
49320 * shadow/putspent.c: Likewise.
49321 * stdio-common/printf_fphex.c: Likewise.
49322 * stdio-common/tmpfile.c: Likewise.
49323 * stdlib/abort.c: Likewise.
49324 * stdlib/fmtmsg.c: Likewise.
49325 * sunrpc/auth_unix.c: Likewise.
49326 * sunrpc/clnt_perr.c: Likewise.
49327 * sunrpc/clnt_tcp.c: Likewise.
49328 * sunrpc/clnt_udp.c: Likewise.
49329 * sunrpc/clnt_unix.c: Likewise.
49330 * sunrpc/openchild.c: Likewise.
49331 * sunrpc/svc_simple.c: Likewise.
49332 * sunrpc/svc_tcp.c: Likewise.
49333 * sunrpc/svc_udp.c: Likewise.
49334 * sunrpc/svc_unix.c: Likewise.
49335 * sunrpc/xdr.c: Likewise.
49336 * sunrpc/xdr_array.c: Likewise.
49337 * sunrpc/xdr_rec.c: Likewise.
49338 * sunrpc/xdr_ref.c: Likewise.
49339 * sunrpc/xdr_stdio.c: Likewise.
49341 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49343 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49345 2011-07-03 Andreas Jaeger <aj@suse.de>
49347 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49348 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49349 regenerate with gen-libm-tests.pl.
49351 2010-05-12 Petr Baudis <pasky@suse.cz>
49354 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49355 around j0() zero points by switching to j1().
49356 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49357 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49358 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49361 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49363 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49365 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49368 Patch in part by Pavel Roskin <proski@gnu.org>.
49371 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49373 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49374 Free memory block if necessary.
49377 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49378 be NULL. Don't lock in this case.
49380 2011-09-09 Roland McGrath <roland@hack.frob.com>
49382 * elf/elf.h (ELFOSABI_GNU): New macro.
49383 (ELFOSABI_LINUX): Define to that.
49385 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49387 * string/strncat.c (strncat): Undef the symbol in case it has been
49388 defined in bits/string.h.
49390 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49392 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49394 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49397 2011-08-17 Andreas Jaeger <aj@suse.de>
49399 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49401 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49402 Ian Lance Taylor <iant@google.com>
49404 * math/libm-test.inc (lround_test): New testcase.
49405 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49407 2011-09-08 Ulrich Drepper <drepper@gmail.com>
49409 * Makefile: Remove support for automatic cvs check-ins.
49410 * Makerules: Likewise.
49411 * config.make.in: Likewise.
49412 * configure.in: Likewise.
49413 * intl/Makefile: Likewise.
49414 * locale/Makefile: Likewise.
49415 * po/Makefile: Likewise.
49416 * posix/Makefile: Likewise.
49417 * sysdeps/gnu/Makefile: Likewise.
49418 * sysdeps/mach/hurd/Makefile: Likewise.
49419 * sysdeps/sparc/sparc32/Makefile: Likewise.
49422 * posix/Makefile (bug-regex32-ENV): Define.
49423 Patch by John Stanley <jpsinthemix@verizon.net>.
49425 * misc/Makefile (headers): Add bits/select2.h.
49426 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49427 * misc/bits/select2.h: New file.
49428 * include/bits/select2.h: New file.
49429 * debug/Makefile (routines): Add fdelt_chk.
49430 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49431 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49433 * debug/fdelt_chk.c: New file.
49435 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49436 * wcsmbs/test-wmemcmp.c: Likewise.
49437 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49438 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49440 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49442 * string/Makefile (strop-tests): Add memcmp.
49443 * string/test-wmemcmp.c: New file.
49444 * string/test-memcmp.c: Add wmemcmp support.
49446 2011-09-08 Roland McGrath <roland@hack.frob.com>
49449 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49452 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49453 garbage value in a __mach_port_mod_refs call in the cases of the
49454 task-self and thread-self ports.
49456 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49458 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49460 2011-09-08 Andreas Schwab <schwab@redhat.com>
49462 * elf/dl-load.c (lose): Check for non-null L.
49464 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49466 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49468 * elf/dl-libc.c (dlerror_run): Pass back error code from
49472 * elf/dl-load.c (lose): Free l_origin if it is valid.
49474 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49476 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49477 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49479 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49480 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49481 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49483 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49485 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49486 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49487 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49488 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49489 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49490 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49491 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49492 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49493 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49494 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49496 2011-08-15 Alan Modra <amodra@gmail.com>
49499 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49500 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49501 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49502 ppc_mcount to static-only-routines.
49503 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49505 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49506 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49508 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49510 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49511 for finite and infinity parameters.
49513 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49516 and add nop instructions for throughput optimization.
49517 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49519 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49521 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49522 aligned copy for power7 with vector-scalar instructions.
49523 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49525 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49530 2011-09-07 Andreas Schwab <schwab@redhat.com>
49533 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49536 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49538 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49539 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49540 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49541 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49544 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49546 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49547 Forgot to demangle the pointer.
49549 * sysdeps/i386/sysdep.h: Define atom_text_section.
49550 * sysdeps/x86_64/sysdep.h: Likewise.
49551 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49552 section with atom_text_section.
49553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49554 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49555 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49556 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49557 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49559 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49560 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49561 already be defined. Change to take two parameters and don't assign
49562 result to variable. Adjust all users.
49563 Define INTERNAL_GETTIME if not already defined.
49564 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49567 HAVE_CLOCK_GETTIME_VSYSCALL.
49568 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49570 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49571 gettimeofday vsyscall, just use time.
49573 2011-09-06 Andreas Schwab <schwab@redhat.com>
49575 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49578 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49580 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49584 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49585 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49586 syscall if possible.
49588 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49590 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49591 e_ident. Don't pass to find_mapsXX.
49592 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49594 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49597 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49598 * sysdeps/x86_64/multiarch/strchr.S: Update.
49599 Check bit_slow_BSF bit.
49600 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49601 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49602 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49604 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49607 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49609 (tryshell): Define.
49610 (__spawni): Change last parameter to be flag. Test
49611 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49612 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49613 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49614 * posix/spawni.c: Likewise.
49615 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49616 * posix/spawnp.c: Likewise. Change normal version to use
49617 SPAWN_XFLAGS_USE_PATH.
49618 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49619 SPAWN_XFLAGS_TRY_SHELL.
49622 * posix/glob.h: Remove gcc 1.x support.
49625 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49627 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49630 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49632 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49633 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49634 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49635 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49636 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49637 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49639 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49641 * sysdeps/x86_64/wcscmp.S: New file.
49643 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49644 wcscmp-c wcscmp-sse2
49645 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49646 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49647 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49648 * wcsmbs/wcscmp.c: Allow renaming.
49650 2011-09-05 David S. Miller <davem@davemloft.net>
49652 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49653 stack slot, rather than the struct return pointer slot.
49654 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49655 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49657 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49659 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49661 * po/ja.po: Update from translation team.
49664 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49665 kernel in 64-bit binaries.
49667 2011-09-01 David S. Miller <davem@davemloft.net>
49669 * elf/elf.h (HWCAP_SPARC_*): Move to..
49670 * sysdeps/sparc/sysdep.h: this new file and add new values.
49671 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49672 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49673 _DL_HWCAP_COUNT to 24.
49674 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49676 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49677 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49678 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49680 instead of magic constants.
49681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49683 2011-08-31 David S. Miller <davem@davemloft.net>
49685 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49687 Reimplement to do errno handling inline.
49688 (SYSCALL_ERROR_HANDLER): New macro.
49689 (__SYSCALL_STRING): Do not do errno handling in asm.
49690 (__CLONE_SYSCALL_STRING): Delete.
49691 (__INTERNAL_SYSCALL_STRING): Delete.
49692 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49693 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49694 (PSEUDO): Reimplement to do errno handling inline.
49695 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49696 (SYSCALL_ERROR_HANDLER): New macro.
49697 (__SYSCALL_STRING): Do not do errno handling in asm.
49698 (__CLONE_SYSCALL_STRING): Delete.
49699 (__INTERNAL_SYSCALL_STRING): Delete.
49700 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49701 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49703 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49704 (inline_syscall*): Add 'err' argument.
49705 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49706 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49707 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49708 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49710 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49711 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49713 2011-08-30 Andreas Schwab <schwab@redhat.com>
49715 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49717 2011-08-29 Jiri Olsa <jolsa@redhat.com>
49719 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49722 2011-08-24 David S. Miller <davem@davemloft.net>
49724 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49726 2011-08-24 Andreas Schwab <schwab@redhat.com>
49728 * elf/Makefile: Add rules to build and run unload8 test.
49729 * elf/unload8.c: New file.
49730 * elf/unload8mod1.c: New file.
49731 * elf/unload8mod1x.c: New file.
49732 * elf/unload8mod2.c: New file.
49733 * elf/unload8mod3.c: New file.
49735 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49738 2011-08-23 David S. Miller <davem@davemloft.net>
49740 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49741 subtract stack bias.
49742 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49743 %sp not %fp in calculations.
49744 (_JMPBUF_UNWINDS_ADJ): Likewise.
49746 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49747 (aio_suspend): Call it to force an exception region around the
49748 AIO_MISC_WAIT() invocation.
49750 2011-08-23 Andreas Schwab <schwab@redhat.com>
49752 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49755 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49757 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49759 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49760 and <dl-machine.h>.
49761 (Elf64_FuncDesc): Remove.
49763 2011-08-22 David S. Miller <davem@davemloft.net>
49765 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49766 sigaltstack check, add missing cfi directives.
49767 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49768 missing cfi directives, and sigaltstack handling.
49770 2011-08-16 Andreas Schwab <schwab@redhat.com>
49773 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49774 object is seen twice.
49775 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49777 * elf/Makefile (distribute): Add tst-initorder2.c.
49778 (tests): Add tst-initorder2.
49779 (modules-names): Add tst-initorder2a tst-initorder2b
49780 tst-initorder2c tst-initorder2d. Add rules to build them.
49781 ($(objpfx)tst-initorder2.out): New rule.
49782 * elf/tst-initorder2.c: New file.
49783 * elf/tst-initorder2.exp: New file.
49785 2011-08-22 Andreas Schwab <schwab@redhat.com>
49787 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49789 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49790 dependencies back to end of function.
49792 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49793 $(elfobjdir)/ld.so.
49795 2011-08-21 Ulrich Drepper <drepper@gmail.com>
49797 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49798 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49799 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49800 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49801 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49802 of __vdso_gettimeofday.
49803 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49804 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49806 (_libc_vdso_platform_setup): Remove initialization of
49807 __vdso_gettimeofday and __vdso_time.
49809 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49811 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49812 and fgetc_unlocked.
49813 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49816 * elf/dl-open.c (add_to_global): Report additions to the global scope
49817 for LD_DEBUG=scopes.
49818 (dl_open_worker): Also print scope of newly loaded dependencies.
49819 (_dl_show_scope): Indicate if there is no scope.
49822 * stdio-common/Makefile (tests): Add bug24.
49823 * stdio-common/bug24.c: New file.
49825 2011-08-19 Andreas Jaeger <aj@suse.de>
49828 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49829 non-existant file when using close-on-exec mode.
49831 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49833 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49834 the very first instruction.
49836 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49837 the CFI state in the end.
49838 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49839 inclusion of dl-trampoline.h.
49840 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49842 2011-08-19 Andreas Schwab <schwab@redhat.com>
49844 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49845 expectations for long double.
49847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49848 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49850 2011-08-14 David S. Miller <davem@davemloft.net>
49852 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49853 artificual limit depends upon the system page size.
49855 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49857 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49858 * resolv/Makefile: Define CFLAGS-libresolv.
49860 2011-08-17 Andreas Schwab <schwab@redhat.com>
49862 * nss/makedb.c (compute_tables): Make variables used in nested
49865 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49867 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49868 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49869 if buffer was too small.
49871 * elf/pldd.c (main): Attach to all threads in the process.
49872 Rewrite /proc handling to use *at functions.
49874 2011-08-16 Ulrich Drepper <drepper@gmail.com>
49876 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49877 specifies first scope to show.
49878 (dl_open_worker): Update callers. Move printing scope of new
49879 object to before the relocation.
49880 * elf/rtld.c (dl_main): Update _dl_show_scope call.
49881 * sysdeps/generic/ldsodefs.h: Update declaration.
49883 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49884 string for the scope number.
49886 2011-08-14 Ulrich Drepper <drepper@gmail.com>
49888 * nscd/servicescache.c (cache_addserv): Make sure written is always
49891 2011-08-14 Roland McGrath <roland@hack.frob.com>
49893 * sysdeps/i386/i486/bits/atomic.h
49894 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49895 statement expression, so as to suppress "set but not used" warning.
49896 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49898 * string/strncat.c (STRNCAT): Use prototype definition.
49900 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49901 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49903 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49904 (localedef-modules): Add localedef.
49905 (locale-modules): Add locale.
49907 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49908 * elf/rtld.c (dl_main): Invert order of assignment in last change,
49909 to avoid a warning.
49911 2011-08-14 David S. Miller <davem@davemloft.net>
49913 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49914 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49916 2011-08-13 Ulrich Drepper <drepper@gmail.com>
49918 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
49919 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49920 * elf/rtld.c (dl_main): Set l_name of vDSO.
49921 Call _dl_show_scope when DL_DEBUG_SCOPES.
49922 (process_dl_debug): Recognize scopes flag and also set it for all.
49923 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49924 Declare _dl_show_scope.
49926 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49927 (do_dlopen): Pass caller_dlopen to dl_open.
49928 (__libc_dlopen_mode): Initialize caller_dlopen.
49930 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49931 of libc. Make tolower call locale-independent. Optimize a bit by
49932 using isdigit instead of isalnum.
49933 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49935 2011-08-12 Ulrich Drepper <drepper@gmail.com>
49937 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49938 was a dependency or dynamically loaded.
49940 2011-08-11 Ulrich Drepper <drepper@gmail.com>
49942 * intl/l10nflist.c: Allow architecture-specific pop function.
49943 * sysdeps/x86_64/l10nflist.c: New file.
49945 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49948 2011-08-10 Andreas Schwab <schwab@redhat.com>
49950 * include/dirent.h: Add libc_hidden_proto for scandirat and
49951 scandirat64. Don't declare __scandirat64.
49952 * dirent/scandirat.c: Add libc_hidden_def.
49953 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49954 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49956 2011-08-10 David S. Miller <davem@davemloft.net>
49958 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49960 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49961 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49962 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49964 2011-08-09 Ulrich Drepper <drepper@gmail.com>
49966 * Versions.def [libc]: Add GLIBC_2.15.
49967 * dirent/Makefile (routines): Add scandirat and scandirat64.
49968 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49970 * dirent/dirent.h: Declare scandirat and scandirat64.
49971 * dirent/scandirat.c: New file.
49972 * dirent/scandirat64.c: New file.
49973 * sysdeps/wordsize-64/scandirat.c: New file.
49974 * sysdeps/wordsize-64/scandirat64.c: New file.
49975 * dirent/opendir.c: Define opendirat.
49976 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49978 * dirent/scandir64.c: Adjust for scandir.c change.
49979 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49980 __scandirat64, and __scandir_cancel_handler.
49981 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49982 additional parameter and use openat instead of open (outside of ld.so).
49983 Add new __opendir as wrapper around __opendirat.
49984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49985 here without requiring old scandirat implementation.
49987 2011-08-08 Ulrich Drepper <drepper@gmail.com>
49989 * dirent/scandir.c (cancel_handler): Renamed to
49990 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49991 defined. Adjust users.
49992 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49993 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49995 2011-08-04 Ulrich Drepper <drepper@gmail.com>
49997 * string/test-string.h (IMPL): Use __STRING to expand name and then
50000 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50003 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50005 * string/Makefile: Update.
50006 (strop-tests): Append strncat.
50007 * string/test-wcscmp.c: New file.
50008 New comprehensive test for wcscmp.
50009 * string/test-strcmp.c: Update.
50010 (WIDE): New define.
50012 2011-07-22 Andreas Schwab <schwab@redhat.com>
50014 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50017 2011-07-26 Andreas Schwab <schwab@redhat.com>
50019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50020 encoding to ACE if AI_IDN.
50022 2011-08-01 Jakub Jelinek <jakub@redhat.com>
50024 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50025 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50027 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50029 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50030 Fix overflow bug in strncat.
50031 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50033 * string/test-strncat.c: Update.
50034 Add new tests for checking overflow bugs.
50036 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50039 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50040 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50041 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50042 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50043 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50044 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50045 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50046 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50048 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50049 (USE_AS_STRCAT): Define.
50050 Add strcat and strncat support.
50051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50053 2011-07-25 Andreas Schwab <schwab@redhat.com>
50055 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50056 __n bigger than INT_MAX+1.
50057 (__strncmp_g): Likewise.
50059 2011-07-23 Ulrich Drepper <drepper@gmail.com>
50061 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50062 * libio/stido.h: Likewise.
50064 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50069 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50070 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50071 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50072 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50073 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50076 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50079 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50081 (_dl_x86_64_save_sse): Likewise.
50083 2011-07-22 Ulrich Drepper <drepper@gmail.com>
50085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50087 (_dl_x86_64_save_sse): Likewise.
50089 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50091 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50093 2011-07-21 Andreas Schwab <schwab@redhat.com>
50095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50097 (_dl_x86_64_save_sse): Use correct AVX check.
50099 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50102 bug in strncpy/strncat.
50103 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50105 2011-07-21 Ulrich Drepper <drepper@gmail.com>
50107 * string/tester.c (test_strcat): Add tests for different alignments
50108 of source and destination.
50109 (test_strncat): Likewise.
50111 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50114 * posix/glob.c (glob): Check passed in values before using them in
50115 expressions to avoid some overflows.
50116 (glob_in_dir): Likewise.
50119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50120 check for AVX enablement so that we don't crash with old kernels and
50122 * elf/tst-audit4.c: Add same checks here.
50123 * elf/tst-audit6.c: Likewise.
50125 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50127 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50129 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50131 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50133 * po/cs.po: Update from translation team.
50134 * po/bg.po: Likewise.
50136 2011-07-12 Marek Polacek <mpolacek@redhat.com>
50138 * misc/sys/cdefs.h: Add support for const attribute.
50139 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50140 to gnu_dev_{major,minor,makedev} functions.
50142 2011-07-20 Marek Polacek <mpolacek@redhat.com>
50144 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50146 2011-07-20 Andreas Schwab <schwab@redhat.com>
50148 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50151 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50154 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50155 register in order to avoid conflicts with the soft frame pointer
50156 being held in r11 when necessary.
50157 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50158 (INTERNAL_VSYSCALL_NCS): Likewise.
50160 2011-07-14 Marek Polacek <mpolacek@redhat.com>
50162 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50163 * elf/dl-fini.c (_dl_fini): Adjust caller.
50164 * elf/dl-close.c (_dl_close_worker): Likewise.
50165 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50167 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50169 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50170 "aux_cache->nlibs < 0".
50172 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50173 in the reload-count case.
50175 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50178 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50179 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50180 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50181 * sysdeps/x86_64/multiarch/strcat.S: New file.
50182 * sysdeps/x86_64/multiarch/strncat.S: New file.
50183 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50184 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50185 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50186 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50187 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50188 (USE_AS_STRCAT): Define.
50189 Add strcat and strncat support.
50190 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50191 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50192 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50193 * string/strncat.c: Update.
50194 (USE_AS_STRNCAT): Define.
50195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50196 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50198 * sysdeps/x86_64/multiarch/init-arch.h
50199 (bit_Prefer_PMINUB_for_stringop): New.
50200 (index_Prefer_PMINUB_for_stringop): Likewise.
50201 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50202 bit_Prefer_PMINUB_for_stringop.
50204 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50206 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50208 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50209 of casting of buffer.
50210 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50211 buffer32 and buffer64.
50212 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50213 writes instead of casting of buffer.
50214 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50216 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50219 2011-07-19 Andreas Schwab <schwab@redhat.com>
50221 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50223 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50225 * nscd/nscd.c (termination_handler): Don't do anything for a database
50226 if it has not yet been initialized.
50228 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50230 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50232 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50234 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50236 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50238 * po/nl.po: Update from translation team.
50239 * po/sv.po: Likewise.
50241 2011-07-16 Roland McGrath <roland@hack.frob.com>
50243 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50244 now disallowed by GCC.
50246 * configure.in (use-default-link): Default to yes if a test -shared
50247 link meets our qualifications.
50248 * configure: Regenerated.
50250 * config.make.in (output-format): New variable.
50251 * configure.in: Check for ld --print-output-format support.
50252 * configure: Regenerated.
50253 * Makerules ($(common-objpfx)format.lds)
50254 [$(output-format) != unknown]: Just use $(output-format),
50255 instead of the linker-script munging.
50257 2011-07-14 Roland McGrath <roland@hack.frob.com>
50259 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50260 of $(common-objpfx)shlib.lds.
50261 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50263 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50264 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50266 * configure.in (-z relro check): Adjust test code to add a large
50267 writable data section after it.
50268 * configure: Regenerated.
50270 2011-07-11 Roland McGrath <roland@hack.frob.com>
50272 * configure.in (-z relro check): Fix test code to make the variable
50274 * configure: Regenerated.
50276 2011-07-11 Ulrich Drepper <drepper@gmail.com>
50278 * nscd/nscd.h (struct traced_file): Define.
50279 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50280 elements. Add traced_files.
50281 (inotify_fd): Declare.
50282 (register_traced_file): Declare.
50283 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50284 (inotify_fd): Export.
50285 (resolv_conf_descr): Remove.
50286 (nscd_init): Move inotify descriptor creation to main.
50287 Don't register files for notification here.
50288 (register_traced_file): New function.
50289 (invalidate_cache): Don't use reset_res to determine whether to call
50290 res_init, go through the list of registered files.
50291 (main_loop_poll): The inotify descriptors are now stored in the
50292 structures for the traced files.
50293 (main_loop_epoll): Likewise
50294 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50295 to __nss_disable_nscd.
50296 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50297 for a database anymore. Check the records for all the registered
50299 * nss/Makefile (libnss_files-routines): Add files-init.
50300 (libnss_db-routines): Add db-init.
50301 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50302 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50303 * nss/nss_db/db-init.c: New file.
50304 * nss/nss_files/files-init.c: New file.
50305 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50306 __nss_lookup_function.
50307 (__nss_lookup_function): Call nss_load_library.
50308 (nss_load_all_libraries): New function.
50309 (__nss_disable_nscd): Take parameter with callback function for files
50310 to register. Set is_nscd. Load all the DSOs for the NSS modules
50311 used for the cached services.
50312 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50313 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50314 options for features to all the files in nscd.
50316 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50318 2011-07-10 Roland McGrath <roland@hack.frob.com>
50320 * csu/elf-init.c (__libc_csu_init): Comment typo.
50322 2011-07-09 Ulrich Drepper <drepper@gmail.com>
50324 * po/pl.po: Update from translation team.
50325 * po/ja.po: Likewise.
50326 * po/ru.po: Likewise.
50327 * po/ko.po: Likewise.
50328 * po/fr.po: Likewise.
50330 2011-07-09 Roland McGrath <roland@hack.frob.com>
50332 * configure.in (.ctors/.dtors header and trailer check):
50333 Use an empirical test on a built program.
50334 * configure: Regenerated.
50336 * configure.in (-z relro check): Use an empirical test on a built DSO.
50337 Detect, but do not require, on ia64.
50338 * configure: Regenerated.
50340 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50341 Update tests that use readelf to use $READELF instead.
50342 * configure: Regenerated.
50344 2011-07-08 Ulrich Drepper <drepper@gmail.com>
50346 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50347 if the result is not used.
50349 2011-07-05 Andreas Jaeger <aj@suse.de>
50352 * stdlib/tst-strtod.c: Add testcase.
50354 2011-07-07 Ulrich Drepper <drepper@gmail.com>
50356 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50357 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50358 The latter has a higher limit. Take additional parameter to pass to
50360 (__pathconf): Pass file to __statfs_link_max.
50361 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50363 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50367 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50370 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50371 (__statfs_filesize_max): Likewise.
50372 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50374 2011-07-05 Andreas Jaeger <aj@suse.de>
50376 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50378 2011-07-06 Marek Polacek <mpolacek@redhat.com>
50380 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50382 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50385 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50387 * Makefile (strop-tests): Add strncat.
50388 * string/test-strncat.c: New file.
50390 2011-06-30 Marek Polacek <mpolacek@redhat.com>
50392 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50394 2011-06-21 Andreas Jaeger <aj@suse.de>
50396 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50397 Copy rule from iconvdata/Makefile.
50399 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50402 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50403 but no long options are defined, just return 'W'.
50405 2011-06-22 Marek Polacek <mpolacek@redhat.com>
50408 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50410 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50412 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50414 (innetgr): Likewise.
50416 2011-07-05 Roland McGrath <roland@hack.frob.com>
50418 * config.make.in (install_root): Default to $(DESTDIR).
50420 2011-07-05 Ulrich Drepper <drepper@gmail.com>
50422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50424 2011-07-02 Roland McGrath <roland@hack.frob.com>
50426 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50428 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50429 containing directory rather than embedding absolute directory names.
50431 * scripts/check-local-headers.sh: Rewritten using awk.
50432 Match by word, not by line. Print error messages for matches.
50433 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50435 * Makerules [shlib-lds-flags empty]:
50436 ($(common-objpfx)libc_pic.opts): New target.
50437 ($(common-objpfx)libc_pic.os.clean): New target.
50438 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50440 * config.make.in (OBJCOPY): New variable.
50441 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50442 * configure: Regenerated.
50444 * config.make.in (use-default-link): New variable.
50445 * configure.in (use_default_link): Grok --with-default-link to set it.
50446 * configure: Regenerated.
50447 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50448 (shlib-lds, shlib-lds-flags): Define to empty.
50450 * Makerules (shlib-lds): New variable.
50451 (shlib-lds-flags): New variable.
50452 (build-shlib, build-moduile, build-module-asneeded): Use it.
50453 ($(common-objpfx)libc.so): Use $(shlib-lds).
50454 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50455 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50457 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50458 DT_FLAGS/DT_FLAGS_1 with zero flags.
50460 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50461 linker script munging.
50463 2011-07-02 Ulrich Drepper <drepper@gmail.com>
50465 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50467 * crypt/sha512.c (sha512_process_block): Perform total addition using
50468 128-bit if possible.
50469 (__sha512_finish_ctx): Likewise.
50470 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50472 * crypt/sha256.c (SWAP64): Define.
50473 (sha256_process_block): Perform total addition using 64-bit if
50475 (__sha256_finish_ctx): Likewise.
50477 2011-07-01 Ulrich Drepper <drepper@gmail.com>
50479 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50481 * nscd/hstcache.c (cache_addhst): Likewise.
50482 * nscd/grpcache.c (cache_addgr): Likewise.
50483 * nscd/aicache.c (addhstaiX): Likewise
50484 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50486 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
50488 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50489 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50490 * nscd/hstcache.c (cache_addhst): Likewise.
50491 * nscd/grpcache.c (cache_addgr): Likewise.
50492 * nscd/aicache.c (addhstaiX): Likewise
50494 2011-07-01 Andreas Schwab <schwab@redhat.com>
50496 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50497 domain only when needed.
50499 2011-06-30 Andreas Schwab <schwab@redhat.com>
50501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50502 is always restored.
50504 2011-06-29 Ulrich Drepper <drepper@gmail.com>
50506 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50507 are re-adding the entry.
50508 * nscd/servicescache.c (cache_addserv): Likewise.
50510 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50512 * sysdeps/generic/dl-irel.h: fix protection against multiple
50514 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50516 2011-06-28 Ulrich Drepper <drepper@gmail.com>
50519 * malloc/memusage.sh: Fix quoting in message.
50520 * debug/xtrace.sh: Likewise.
50522 * configure.in: Remove support for --experimental-malloc option, make
50524 * config.make.in: Likewise.
50525 * malloc/Makefile: Likewise.
50527 2011-06-27 Andreas Schwab <schwab@redhat.com>
50529 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50530 two-byte characters.
50532 2011-06-27 Roland McGrath <roland@hack.frob.com>
50534 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50535 AC_CACHE_CHECK invocation.
50536 * configure: Regenerated.
50538 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50540 2011-06-27 Ulrich Drepper <drepper@gmail.com>
50543 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50544 bit from old_res_options.
50546 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50548 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50549 value type for setfct.
50551 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50553 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50554 __gettimeofday instead of gettimeofday.
50556 2011-06-26 Ulrich Drepper <drepper@gmail.com>
50558 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50560 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50564 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50567 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50570 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50571 strcpy-sse2-unaligned strncpy-sse2-unaligned
50572 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50573 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50574 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50575 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50576 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50577 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50578 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50579 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50580 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50581 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50582 (STRCPY): Support SSE2 and SSSE3 versions.
50584 2011-06-24 Ulrich Drepper <drepper@gmail.com>
50587 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50588 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50589 kernels which artificially limit size of requests.
50591 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50594 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50595 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50596 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50597 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50598 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50599 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50600 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50601 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50602 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50603 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50604 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50605 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50606 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50607 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50609 Enable unaligned load optimization for Intel Core i3, i5 and i7
50611 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50613 (index_Fast_Unaligned_Load): Define.
50614 (HAS_FAST_UNALIGNED_LOAD): Define.
50616 2011-06-23 Marek Polacek <mpolacek@redhat.com>
50618 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50620 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50623 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50624 until it is clear that the information is realy needed.
50625 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50627 2011-06-22 Andreas Schwab <schwab@redhat.com>
50629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50631 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50633 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50634 /sys/devices/system/cpu/online if it is usable.
50636 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50637 reading the information from the /proc filesystem to once a second.
50639 2011-06-21 Andreas Jaeger <aj@suse.de>
50641 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50642 NULL after inclusion of kernel headers.
50644 2011-06-21 Ulrich Drepper <drepper@gmail.com>
50646 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50647 calls to internal_setent.
50650 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50651 addresses using gethostbyname4_r ignore IPv4 addresses.
50653 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50654 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50656 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50658 2011-06-20 David S. Miller <davem@davemloft.net>
50660 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50662 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50664 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50665 (elf_irel): Use it.
50666 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50667 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50668 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50669 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50670 * sysdeps/x86_64/dl-irel.h: Likewise.
50672 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50673 * elf/dl-sym.c: Likewise.
50675 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50677 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50678 need to dereference resplen2.
50680 2011-06-14 Andreas Schwab <schwab@redhat.com>
50682 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50684 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50686 * Makeconfig: Define vardbdir and inst_vardbdir.
50687 * nss/Makefile: Add rules to install db-Makefile.
50689 * nss/nss_db/db-XXX.c: Cleanup.
50691 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50692 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50694 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50695 * nss/makedb.c: Implement -g option to specify that value strings
50696 are generated and should not be added to table iterated over for
50698 * nss/nss_db/db-initgroups.c: New file.
50700 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50703 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50704 (internal_getgrouplist): Adjust to name change.
50705 Update use_initgroups_entry if this is not the first call.
50706 * nss/databases.def: Add initgroups entry.
50708 * nss/makedb.c (compute_tables): Check result of multiple hash table
50709 sizes to minimize maximum chain length.
50711 2011-06-14 Ulrich Drepper <drepper@gmail.com>
50713 * Versions.def: Add entry for libnss_db.
50714 * shlib-versions: Likewise.
50715 * nss/Makefile: Add rules to build libnss_db.
50716 * nss/Versions: Add libnss_db information. Organize libnss_files
50718 * nss/db-Makefile: Add gshadow support. Change rules for the new
50719 makedb progra. Some minor improvements to generate smaller files.
50720 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50722 * nss/makedb.c: ...here.
50723 Improve database format to be smaller and require less memory at
50725 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50727 * nss/nss_db/db-netgrp.c: Likewise.
50728 * nss/nss_db/db-open.c: Likewise.
50729 * nss/nss_files/flies-XXX.x: Adjust comments.
50730 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50731 * nss/nss_files/files-grp.c: Likewise.
50732 * nss/nss_files/files-hosts.c: Likewise.
50733 * nss/nss_files/files-network.c: Likewise.
50734 * nss/nss_files/files-proto.c: Likewise.
50735 * nss/nss_files/files-pwd.c: Likewise.
50736 * nss/nss_files/files-rpc.c: Likewise.
50737 * nss/nss_files/files-service.c: Likewise.
50738 * nss/nss_files/files-sgrp.c: Likewise.
50739 * nss/nss_files/files-spwd.c: Likewise.
50740 * nss/nss_db/db-alias.c: Removed.
50741 * nss/nss_db/dummy-db.h: Removed.
50743 2011-06-02 Ulrich Drepper <drepper@gmail.com>
50745 * nss/makedb.c: Rewritten to not use database library.
50746 * nss/Makefile: Update to build new makedb program.
50748 2011-06-14 Andreas Jaeger <aj@suse.de>
50750 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50751 memset declaration.
50753 2011-06-10 Andreas Schwab <schwab@redhat.com>
50755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50758 2011-06-10 Roland McGrath <roland@hack.frob.com>
50760 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50761 * elf/Makefile ($(objpfx)ld.so): Likewise.
50763 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50764 Don't list ld.so twice in dependencies.
50766 * posix/bug-regex31.c: Include <stdlib.h>.
50768 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50770 * nis/nss_compat/compat-spwd.c
50771 (getspent_next_nss_netgr): Remove unused variable.
50772 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50774 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50775 nonmembers" output to use the right array.
50777 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50779 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50781 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50782 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50783 * catgets/gencat.c (read_input_file): Likewise.
50784 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50786 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50787 variable definition inside #if's controlling its use.
50789 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50791 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50793 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50795 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50798 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50800 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50801 * configure: Regenerated.
50803 * Makerules: Revert last change.
50804 * elf/Makefile: Likewise.
50806 2011-06-09 Roland McGrath <roland@hack.frob.com>
50808 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50809 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50810 (reloc-link): Likewise.
50812 2011-06-09 Ulrich Drepper <drepper@gmail.com>
50814 * elf/Makefile: Add rules to build pldd.
50815 * elf/pldd.c: New file.
50816 * elf/pldd-xx.c: New file.
50818 2011-06-07 Ulrich Drepper <drepper@gmail.com>
50820 * version.h: Update for 2.15 development version.
50822 2011-06-07 David S. Miller <davem@davemloft.net>
50824 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50827 elf_machine_lazy_rel): Likewise.
50828 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50829 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50830 elf_machine_lazy_rel): Likewise.
50831 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50832 dl_hwcap via passed in argument.
50833 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50836 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50838 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50840 2011-06-06 Roland McGrath <roland@hack.frob.com>
50843 * manual/fdl-1.1.texi: New file, verbatim from:
50844 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50845 * manual/lgpl-2.1.texi: New file, verbatim from:
50846 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50847 * manual/Makefile (licenses): New variable, list those new file names.
50849 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50851 * manual/fdl.texi: File removed.
50852 * manual/lesser.texi: File removed.
50853 * manual/libc.texinfo (Copying, Documentation License):
50854 Use new @include file names, put @appendix directive before @include.
50856 2011-06-04 Jakub Jelinek <jakub@redhat.com>
50859 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50860 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50861 (mq_open): Add __NTH.
50863 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50866 Assume Intel Core i3/i5/i7 processor if AVX is available.
50868 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50873 2011-05-31 Andreas Schwab <schwab@redhat.com>
50875 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50876 memory. Use alloca_account. Fix memory leak when retrying.
50878 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50880 * version.h (RELEASE): Bump for 2.14 release.
50881 * include/features.h (__GLIBC_MINOR__): Bump to 14.
50883 * config.make.in (RANLIB): Remove entry.
50885 2011-05-30 Ulrich Drepper <drepper@gmail.com>
50887 * po/Makefile (po-sed-cmd): Add ksh to extensions.
50888 (libc.pot): Work around missing support for .ksh extension in xgettext.
50891 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50892 if both request failed.
50893 (send_dg): In case of server errors clear resplen or *resplen2.
50896 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50897 when there are multiple maps.
50898 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50899 (_dl_fini): Remove test here.
50901 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50903 2011-05-29 Ulrich Drepper <drepper@gmail.com>
50906 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50907 bit from old_res_options.
50908 (gaih_inet): Likewise.
50911 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
50914 * resolv/res_init.c (res_setoptions): Make the code more compact.
50917 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50921 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50923 * malloc/malloc.h: Mark malloc hook variables as deprecated.
50926 * malloc/malloc.h: Declare malloc hook variables as volatile.
50928 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50932 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
50933 raise in the comment.
50934 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50935 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50936 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50938 2011-05-28 Ulrich Drepper <drepper@gmail.com>
50941 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50942 grow the buffers more if it already has to be sufficient.
50943 (build_wcs_upper_buffer): Likewise.
50944 * posix/regexec.c (check_matching): Likewise.
50945 (clean_state_log_if_needed): Likewise.
50946 (extend_buffers): Don't enlarge buffers beyond size of the input
50948 Patches mostly by Emil Wojak <emil@wojak.eu>.
50949 * posix/bug-regex32.c: New file.
50950 * posix/Makefile (tests): Add bug-regex32.
50952 * locale/findlocale.c (_nl_find_locale): Return right away if
50953 _nl_explode_name failed.
50954 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50956 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50958 * debug/xtrace.sh: Unify messages.
50959 * malloc/memusage.sh: Likewise.
50962 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50963 time symbol from vDSO. Substitute with vsyscall if not available.
50964 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50967 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50968 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50969 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50970 Add sendmmsg and internal_sendmmsg.
50971 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50972 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50973 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50975 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50976 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50977 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50979 2011-05-27 Ulrich Drepper <drepper@gmail.com>
50982 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50983 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50985 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50989 * iconvdata/Makefile (tests): Add bug-iconv9.
50990 * iconvdata/bug-iconv9.c: New file.
50992 2011-05-27 Andreas Schwab <schwab@redhat.com>
50995 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50997 2011-05-25 Jakub Jelinek <jakub@redhat.com>
50999 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51000 (struct user_regs_struct): Change intcs field back to cs.
51002 2011-05-25 Ulrich Drepper <drepper@gmail.com>
51004 * po/ja.po: Update from translation team.
51006 2011-05-23 Ulrich Drepper <drepper@gmail.com>
51009 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51010 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51012 2011-05-20 Andreas Schwab <schwab@redhat.com>
51014 * stdlib/longlong.h: Update from GCC.
51016 2011-05-23 Andreas Schwab <schwab@redhat.com>
51018 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51020 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51021 Add parameter name.
51022 (__sysconf): Pass it down.
51024 2011-05-22 Ulrich Drepper <drepper@gmail.com>
51027 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51029 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51030 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51031 add in in __libc_use_alloca calls. Adjust callers.
51032 (glob): Use malloc in some situations.
51034 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51035 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51038 2011-05-21 Ulrich Drepper <drepper@gmail.com>
51040 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51041 and CLOCK_BOOTTIME_ALARM.
51044 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51047 * string/_strerror.c (__strerror_r): Print negative errors as signed
51051 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51052 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51053 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51055 * configure.in: Fix typo in redirection and correct removal of test
51056 files in two cases.
51059 * locale/setlocale.c (new_composite_name): Fix test to check for
51060 identical name of all categories.
51063 * libio/filedoalloc.c (local_isatty): New function.
51064 (_IO_file_doallocate): Use local_isatty.
51065 * stdio-common/perror.c (perror): In case a new stream is used
51066 forward the stream error.
51067 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51070 2011-05-20 Ulrich Drepper <drepper@gmail.com>
51073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51075 * include/alloca.h (extend_alloca_account): Define.
51078 * posix/regex.h: Fix comments with documentation of user-accessible
51079 fields after compilation and describe correct free'ing of pattern
51080 after re_compile_pattern.
51081 Patch by Reuben Thomas <rrt@sc3d.org>.
51083 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51085 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51086 and -mno-altivec to prevent the compiler from using Altivec and/or
51087 VSX instructions when the corresponding registers are not available.
51089 2011-05-19 Andreas Schwab <schwab@redhat.com>
51091 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51093 2011-05-19 Ulrich Drepper <drepper@gmail.com>
51095 * libio/freopen.c (freopen): Use __dup2, not dup2.
51096 * libio/freopen64.c (freopen64): Likewise.
51098 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51101 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51102 * math/Makefile (tests): Add test-powl.
51103 (CFLAGS-test-powl.c): Define.
51104 * math/test-powl.c: New file.
51106 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51108 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51110 2011-05-17 Ulrich Drepper <drepper@gmail.com>
51113 * iconvdata/gb18030.c: Update to GB18020-2005.
51115 2011-05-16 Ulrich Drepper <drepper@gmail.com>
51117 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51118 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51119 Patch by Aharon Robbins <arnold@skeeve.com>.
51122 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51126 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51127 through underflows.
51130 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51131 point to strings before performing equality test for error_one_per_line
51135 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51138 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51139 (struct user_fpregs_struct): Avoid __uint*_t types.
51142 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51143 symbol info. Use it instead of calling _dl_addr locally.
51144 (lock_and_info): New function.
51145 (tr_freehook): Call lock_and_info and pass symbol info as additional
51146 parameter to tr_where.
51147 (tr_mallochook): Likewise.
51148 (tr_reallochook): Likewise.
51149 (tr_memalignhook): Likewise.
51151 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51152 used and couldn't be at all thread-safe.
51154 2011-05-15 Ulrich Drepper <drepper@gmail.com>
51156 * libio/freopen.c (freopen): Don't close old file descriptor
51157 before the new one is opened. Instead dup the new file descriptor
51158 to the old one after the new stream is created.
51159 * libio/freopen64.c (freopen64): Likewise.
51160 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51161 * libio/fileops.c (_IO_new_file_close_it): Handle new
51162 _IO_FLAGS2_NOCLOSE flag.
51163 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51164 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51165 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51166 _IO_FLAGS2_NOCLOSE flag.
51167 * include/unistd.h: Add hidden_proto for dup3.
51168 Define __have_dup3.
51169 * io/dup3.c: Define hidden symbol.
51170 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51173 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51174 when an incomplete long option is used.
51175 * posix/tst-getopt_long1.c: New file.
51176 * posix/Makefile (tests): Add tst-getopt_long1.
51179 * scripts/config.guess: Update from autoconf-2.68.
51180 * scripts/config.sub: Likewise.
51183 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51185 (has_cpuclock): ...this. New function.
51186 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51187 macro here based on has_cpuclock code.
51190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51191 First byte (not low byte) is now always NUL.
51192 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51195 Use non-cancelable interfaces.
51198 * locale/iso-639.def: Add entry for Sorani.
51201 * include/stdlib.h: Move include protection to the right place.
51202 Define abort_msg_s. Declare __abort_msg with it.
51203 * stdlib/abort.c (__abort_msg): Adjust type.
51204 * assert/assert.c (__assert_fail_base): New function. Majority
51205 of code from __assert_fail. Allocate memory for __abort_msg with
51207 (__assert_fail): Now call __assert_fail_base.
51208 * assert/assert-perr.c: Remove bulk of implementation. Use
51209 __assert_fail_base.
51210 * include/assert.hL Declare __assert_fail_base.
51211 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51213 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51215 2011-05-14 Ulrich Drepper <drepper@gmail.com>
51219 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51220 until all modules are registered in the DTV.
51221 * elf/Makefile: Add rules to build and run tst-tls19.
51222 * elf/tst-tls19.c: New file.
51223 * elf/tst-tls19mod1.c: New file.
51224 * elf/tst-tls19mod2.c: New file.
51225 * elf/tst-tls19mod3.c: New file.
51226 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51229 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51233 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51234 two-byte sequence errors.
51235 * iconvdata/Makefile (tests): Add bug-iconv8.
51236 * iconvdata/bug-iconv8.c: New file.
51239 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51242 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51245 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51246 (dummy_getcfa): New function.
51247 (init): Get _Unwind_GetCFA address, use dummy if not found.
51248 (backtrace_helper): In recursion check, also check whether CFA changes.
51249 (__backtrace): Completely initialize arg.
51251 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51252 storing incomplete byte sequence in state object. Avoid testing for
51253 guaranteed too small input if we know there is enough data available.
51255 2011-05-11 Andreas Schwab <schwab@redhat.com>
51257 * Makeconfig (+link-pie): Indent.
51258 * Rules (binaries-pie): Define if $(have-fpie) and
51260 (binaries-shared): Also filter out $(binaries-pie).
51261 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51262 * nscd/Makefile (others-pie): Add nscd.
51263 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51264 ($(objpfx)nscd): Remove command override.
51265 * login/Makefile (others-pie): Add pt_chown.
51266 ($(objpfx)pt_chown): Remove command override.
51267 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51268 remove command overrides.
51270 2011-05-13 Ulrich Drepper <drepper@gmail.com>
51272 * libio/tst_putwc.c: Fix error messages.
51275 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51276 currently writing and seek to current position when not.
51277 * libio/Makefile (tests): Add bug-fclose1.
51278 * libio/bug-fclose1.c: New file.
51280 2011-05-12 Ulrich Drepper <drepper@gmail.com>
51283 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51284 don't set DF_1_NODELETE here.
51285 (do_lookup_x): When entering new entry test for copy relocation
51286 and if necessary set DF_1_NODELETE flag.
51287 * elf/tst-unique4.cc: New file.
51288 * elf/tst-unique4.h: New file.
51289 * elf/tst-unique4lib.cc: New file.
51290 * elf/Makefile: Add rules to build and run tst-unique4.
51291 Patch by Piotr Bury <pbury@goahead.com>.
51293 2011-05-11 Ulrich Drepper <drepper@gmail.com>
51296 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51299 * misc/mntent_r.c (addmntent): Flush the stream after the output
51302 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51303 (is_trusted_path_normalize): Skip initial colon. Append slash
51304 to empty buffer. Duplicate is_trusted_path code but allow
51305 constructed patch to be prefix.
51306 (is_dst): Allow $ORIGIN followed by /.
51307 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51308 Correct testing of result of is_trusted_path_normalize
51309 (decompose_rpath): Fix warning.
51311 2011-05-10 Ulrich Drepper <drepper@gmail.com>
51314 * grp/initgroups.c (internal_getgrouplist): When we found the service
51315 list through the initgroups entry in nsswitch.conf do not always
51316 continue on a successful lookup. Don't always use the
51317 __nss_group_database value if it is set.
51318 * nss/nsswitch.conf (initgroups): Change action for successful db
51319 lookup to continue for compatibility.
51321 2011-05-09 Ulrich Drepper <drepper@gmail.com>
51324 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51326 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51328 * iconvdata/tst-tables.sh: Likewise.
51329 * iconvdata/cp770.c: New file.
51330 * iconvdata/cp771.c: New file.
51331 * iconvdata/cp772.c: New file.
51332 * iconvdata/cp773.c: New file.
51333 * iconvdata/cp774.c: New file.
51334 * iconvdata/testdata/CP770: New file.
51335 * iconvdata/testdata/CP770..UTF8: New file.
51336 * iconvdata/testdata/CP771: New file.
51337 * iconvdata/testdata/CP771..UTF8: New file.
51338 * iconvdata/testdata/CP772: New file.
51339 * iconvdata/testdata/CP772..UTF8: New file.
51340 * iconvdata/testdata/CP773: New file.
51341 * iconvdata/testdata/CP773..UTF8: New file.
51342 * iconvdata/testdata/CP774: New file.
51343 * iconvdata/testdata/CP774..UTF8: New file.
51345 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51347 * iconvdata/gen-8bit-gap.sh: Likewise.
51348 * iconvdata/gen-8bit.sh: Likewise.
51350 * locale/iso-639.def: Add ary entry.
51353 * locale/C-translit.h.in: Add U20A1 transliteration.
51356 * locale/iso-639.def: Add wae entry.
51357 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51360 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51364 * locale/C-translit.h.in: Add entry for U20B9.
51365 Patch by pravin.d.s@gmail.com.
51367 2011-05-08 Ulrich Drepper <drepper@gmail.com>
51370 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51371 ENAMETOOLONG use generic getcwd.
51372 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51373 in rtld. Use *stat64.
51374 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51375 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51376 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51377 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51378 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51379 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51380 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51381 __fstatat64 macros.
51382 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51383 * dirent/rewinddir.c: Add libc_hidden_def.
51384 * sysdeps/mach/hurd/rewinddir.c: Likewise.
51385 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
51387 * include/dirent.h (__alloc_dir): Add flags parameter.
51388 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51389 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51391 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51392 from fdopendir if O_CLOEXEC is already set.
51394 2011-03-15 Alan Modra <amodra@gmail.com>
51396 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51397 l_tls_firstbyte_offset non-zero. Save padding offset in
51398 l_tls_firstbyte_offset for later use.
51399 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51400 freeing static tls block.
51402 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51404 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51405 where #ifdef was intended. The intent is to prevent ARG_MAX from
51406 being defined by the kernel headers.
51408 2011-05-07 Ulrich Drepper <drepper@gmail.com>
51411 * resolv/resolv.h: Define RES_NOTLDQUERY.
51412 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51413 no-tld-query and set RES_NOTLDQUERY.
51414 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51415 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51416 modern BIND to search name as TLD unless forbidden.
51418 2011-05-07 Petr Baudis <pasky@suse.cz>
51419 Ulrich Drepper <drepper@gmail.com>
51422 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51423 (is_trusted_path): ...to here.
51424 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51425 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51426 using is_trusted_path_normalize() in setuid scripts.
51428 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51430 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51431 __BEGIN/__END_DECLS.
51433 2011-05-06 Ulrich Drepper <drepper@gmail.com>
51435 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51436 NSS_STATUS_NOTFOUND if no record was found.
51438 2011-05-05 Andreas Schwab <schwab@redhat.com>
51440 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51441 (headers-not-in-tirpc): Remove rpc/netdb.h
51442 * resolv/netdb.h: Revert last change.
51444 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51446 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51447 circular dependency between libgcc.a and libc.a.
51449 2011-05-05 Andreas Schwab <schwab@redhat.com>
51451 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51452 * nis/Makefile: Don't install rpcsvc/*.
51453 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51454 instead of <rpc/types.h>.
51455 (MAXHOSTNAMELEN): Define.
51457 2011-05-03 Andreas Schwab <schwab@redhat.com>
51459 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51461 2011-04-28 Maciej Babinski <mbabinski@google.com>
51464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51465 gethostbyname4_r when IPv6 results are possible.
51467 2011-05-02 Ulrich Drepper <drepper@gmail.com>
51470 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51471 _PC_PIPE_BUF handling.
51473 2011-04-30 Bruno Haible <bruno@clisp.org>
51476 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51477 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51479 * inet/getnameinfo.c (getnameinfo): Likewise.
51481 2011-04-29 Ulrich Drepper <drepper@gmail.com>
51483 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51484 to groups setting in database lookup.
51485 * nss/nsswitch.conf: Add initgroups entry.
51487 2011-04-22 Ulrich Drepper <drepper@gmail.com>
51490 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51492 Patch by Eric Blake <eblake@redhat.com>.
51494 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51496 * sunrpc/Makefile (need-export-routines): Add svc_run.
51497 (routines): Remove svc_run.
51498 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51499 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51500 * sunrpc/svc_run.c (svc_run): Likewise.
51501 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51503 2011-04-21 Ulrich Drepper <drepper@gmail.com>
51505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51506 problem in reallocation in last patch.
51508 2011-04-20 Ulrich Drepper <drepper@gmail.com>
51510 * sunrpc/Makefile: Move inclusion of Rules.
51512 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51514 * nss/nss_files/files-initgroups.c: New file.
51515 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51516 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51517 _nss_files_initgroups_dyn.
51519 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51521 * elf/elf.h (R_ARM_IRELATIVE): Define.
51523 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51525 * po/ru.po: Update from translation team.
51527 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51529 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51532 2011-02-06 Mike Frysinger <vapier@gentoo.org>
51535 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51536 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51537 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51538 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51541 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51543 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51545 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51546 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51547 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51549 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51552 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51554 * stdlib/bug-getcontext.c: New file.
51555 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51557 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51559 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51560 instructions into .machine "z9-109".
51561 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51562 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51564 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51566 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51567 between environment variables and auxiliary vector.
51569 2011-04-16 Ulrich Drepper <drepper@gmail.com>
51571 * Makefile: Add rules to build linkobj/libc.so.
51572 * include/libc-symbols.h: Define libc_hidden_nolink.
51573 * include/rpc/auth.h: Mark functions which are to be hidden.
51574 * include/rpc/auth_des.h: Likewise.
51575 * include/rpc/auth_unix.h: Likewise.
51576 * include/rpc/clnt.h: Likewise.
51577 * include/rpc/des_crypt.h: Likewise.
51578 * include/rpc/key_prot.h: Likewise.
51579 * include/rpc/pmap_clnt.h: Likewise.
51580 * include/rpc/pmap_prot.h: Likewise.
51581 * include/rpc/pmap_rmt.h: Likewise.
51582 * include/rpc/rpc_msg.h: Likewise.
51583 * include/rpc/svc.h: Likewise.
51584 * include/rpc/svc_auth.h: Likewise.
51585 * include/rpc/xdr.h: Likewise.
51586 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51587 * nss/Makefile: Likewise.
51588 * sunrpc/Makefile: Don't install headers. Build library with normal
51589 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51590 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51591 for the compat linking library. Remove use of INTDEF/INTUSE.
51592 * sunrpc/auth_none.c: Likewise.
51593 * sunrpc/auth_unix.c: Likewise.
51594 * sunrpc/authdes_prot.c: Likewise.
51595 * sunrpc/authuxprot.c: Likewise.
51596 * sunrpc/clnt_gen.c: Likewise.
51597 * sunrpc/clnt_perr.c: Likewise.
51598 * sunrpc/clnt_raw.c: Likewise.
51599 * sunrpc/clnt_simp.c: Likewise.
51600 * sunrpc/clnt_tcp.c: Likewise.
51601 * sunrpc/clnt_udp.c: Likewise.
51602 * sunrpc/clnt_unix.c: Likewise.
51603 * sunrpc/des_crypt.c: Likewise.
51604 * sunrpc/des_soft.c: Likewise.
51605 * sunrpc/get_myaddr.c: Likewise.
51606 * sunrpc/key_call.c: Likewise.
51607 * sunrpc/key_prot.c: Likewise.
51608 * sunrpc/netname.c: Likewise.
51609 * sunrpc/pm_getmaps.c: Likewise.
51610 * sunrpc/pm_getport.c: Likewise.
51611 * sunrpc/pmap_clnt.c: Likewise.
51612 * sunrpc/pmap_prot.c: Likewise.
51613 * sunrpc/pmap_prot2.c: Likewise.
51614 * sunrpc/pmap_rmt.c: Likewise.
51615 * sunrpc/publickey.c: Likewise.
51616 * sunrpc/rpc_cmsg.c: Likewise.
51617 * sunrpc/rpc_common.c: Likewise.
51618 * sunrpc/rpc_dtable.c: Likewise.
51619 * sunrpc/rpc_prot.c: Likewise.
51620 * sunrpc/rpc_thread.c: Likewise.
51621 * sunrpc/rtime.c: Likewise.
51622 * sunrpc/svc.c: Likewise.
51623 * sunrpc/svc_auth.c: Likewise.
51624 * sunrpc/svc_authux.c: Likewise.
51625 * sunrpc/svc_raw.c: Likewise.
51626 * sunrpc/svc_run.c: Likewise.
51627 * sunrpc/svc_simple.c: Likewise.
51628 * sunrpc/svc_tcp.c: Likewise.
51629 * sunrpc/svc_udp.c: Likewise.
51630 * sunrpc/svc_unix.c: Likewise.
51631 * sunrpc/svcauth_des.c: Likewise.
51632 * sunrpc/xcrypt.c: Likewise.
51633 * sunrpc/xdr.c: Likewise.
51634 * sunrpc/xdr_array.c: Likewise.
51635 * sunrpc/xdr_float.c: Likewise.
51636 * sunrpc/xdr_intXX_t.c: Likewise.
51637 * sunrpc/xdr_mem.c: Likewise.
51638 * sunrpc/xdr_rec.c: Likewise.
51639 * sunrpc/xdr_ref.c: Likewise.
51640 * sunrpc/xdr_sizeof.c: Likewise.
51641 * sunrpc/xdr_stdio.c: Likewise.
51643 2011-04-10 Ulrich Drepper <drepper@gmail.com>
51646 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51647 * sysdeps/ia64/dl-tls.h: Likewise.
51648 * sysdeps/powerpc/dl-tls.h: Likewise.
51649 * sysdeps/s390/dl-tls.h: Likewise.
51650 * sysdeps/sh/dl-tls.h: Likewise.
51651 * sysdeps/sparc/dl-tls.h: Likewise.
51652 * sysdeps/x86_64/dl-tls.h: Likewise.
51653 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51655 2011-03-14 Andreas Schwab <schwab@redhat.com>
51657 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51658 rpath element also skip the following colon.
51659 (expand_dynamic_string_token): Add is_path parameter and pass
51660 down to DL_DST_REQUIRED and _dl_dst_substitute.
51661 (decompose_rpath): Call expand_dynamic_string_token with
51662 non-zero is_path. Ignore empty rpaths.
51663 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51666 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51671 2011-04-09 Ulrich Drepper <drepper@gmail.com>
51674 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51675 Patch by Filipe David Manana <fdmanana@apache.org>.
51677 2011-04-07 Andreas Schwab <schwab@redhat.com>
51679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51680 Maintain aligned stack.
51681 (CHECK_RSP): Remove unused macro.
51683 2011-04-03 Ulrich Drepper <drepper@gmail.com>
51685 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51686 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51688 2011-04-02 Ulrich Drepper <drepper@gmail.com>
51690 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51692 * include/features.h: Mention __USE_XOPEN2K8 in comment.
51694 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51697 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51698 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51699 * sysdeps/x86_64/memmove.c: New file.
51700 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51701 (memcpy): Renamed to ...
51702 (__new_memcpy): This.
51703 (memcpy): Provide GLIBC_2_14 memcpy.
51704 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51705 (memcpy): Provide GLIBC_2_2_5 memcpy.
51707 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51710 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51712 2011-03-30 Andreas Schwab <schwab@redhat.com>
51714 * misc/syncfs.c: New file.
51715 * misc/Makefile (routines): Add syncfs.
51716 * posix/unistd.h: Declare syncfs.
51717 * sysdeps/unix/syscalls.list: Add syncfs.
51719 2011-04-01 Andreas Schwab <schwab@redhat.com>
51721 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51724 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51726 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51727 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51728 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51729 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51731 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51733 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51734 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51735 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51739 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51741 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51742 sync_file_range.c with -fexceptions.
51743 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51744 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51745 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51746 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51747 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51748 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51749 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51750 sync_file_range as cancellation point
51751 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51752 now a wrapper around __call_sync_file_range with cancellation handling.
51753 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51754 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51755 function name to __call_sync_file_range.
51756 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51757 Add call_sync_file_range.
51759 2011-04-01 Andreas Schwab <schwab@redhat.com>
51761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51764 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51766 * iconv/iconv.h: Fix typo in comment.
51767 * io/fcntl.h: Likewise.
51768 * libio/stdio.h: Likewise.
51769 * posix/spawn.h: Likewise.
51770 * posix/unistd.h: Likewise.
51771 * stdlib/stdlib.h: Likewise.
51772 * time/time.h: Likewise.
51773 * wcsmbs/wchar.h: Likewise.
51775 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51776 open_by_handle): Add.
51777 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51778 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51779 Augment a few comments.
51780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51782 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51784 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51785 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51788 * io/fcntl.h (AT_EMPTY_PATH): Define.
51790 2011-03-30 Ulrich Drepper <drepper@gmail.com>
51792 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51793 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51794 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51796 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
51797 * Versions.def: Add GLIBC_2.14.
51798 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51801 2011-03-22 Ulrich Drepper <drepper@gmail.com>
51803 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51805 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51807 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51810 * string/test-strncmp.c (do_page_test): New function.
51811 (check2): Likewise.
51812 (test_main): Call check2.
51813 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51815 2011-03-20 Ulrich Drepper <drepper@gmail.com>
51818 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51819 Handle cache information in CPU leaf 4.
51820 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51822 2011-03-18 Ulrich Drepper <drepper@gmail.com>
51825 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51826 character representation.
51827 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51829 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51831 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51832 END(__isnan) to END(__isnanf) to match function entry point/label
51833 EALIGN(__isnanf,...).
51835 2011-03-10 Jakub Jelinek <jakub@redhat.com>
51837 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51839 2011-03-10 Ulrich Drepper <drepper@gmail.com>
51842 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51843 copy from the symbol referenced in the relocation to initialize the
51845 Patch by Piotr Bury <pbury@goahead.com>.
51846 * elf/Makefile: Add rules to build and tst-unique3.
51847 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51848 * elf/tst-unique3.cc: New file.
51849 * elf/tst-unique3.h: New file.
51850 * elf/tst-unique3lib.cc: New file.
51851 * elf/tst-unique3lib2.cc: New file.
51853 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51855 2011-03-10 Mike Frysinger <vapier@gentoo.org>
51857 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51858 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51861 2011-03-06 Ulrich Drepper <drepper@gmail.com>
51863 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51864 to-be-loaded object along a path to loader is ld.so.
51866 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51867 Ulrich Drepper <drepper@gmail.com>
51869 * sysdeps/x86_64/memset.S: After aligning destination, code
51870 branches to different locations depending on the value of
51871 misalignment, when multiarch is enabled. Fix this.
51873 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51875 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51876 Set _x86_64_preferred_memory_instruction for AMD processsors.
51877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51878 Set bit_Prefer_SSE_for_memop for AMD processors.
51880 2011-03-04 Ulrich Drepper <drepper@gmail.com>
51882 * libio/fmemopen.c (fmemopen): Optimize a bit.
51884 2011-03-03 Andreas Schwab <schwab@redhat.com>
51886 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51888 2011-03-03 Roland McGrath <roland@redhat.com>
51890 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51892 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
51894 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
51895 __bzero_ultra1 instead of __memset_ultra1.
51897 2011-02-23 Andreas Schwab <schwab@redhat.com>
51898 Ulrich Drepper <drepper@gmail.com>
51901 * include/link.h (struct link_map): Add l_orig_initfini.
51902 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51903 returning unsuccessfully.
51904 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51905 close of a file loaded at startup, restore the original l_initfini
51907 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51908 list, store the pointer.
51909 * elf/Makefile ($(objpfx)noload-mem): New rule.
51910 (noload-ENV): Define.
51911 (tests): Add $(objpfx)noload-mem.
51912 * elf/noload.c: Include <memcheck.h>.
51913 (main): Call mtrace. Close all opened handles.
51915 2011-02-17 Andreas Schwab <schwab@redhat.com>
51918 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51919 dependencies are missing.
51921 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
51923 Fix __if_freereq crash: Unlike the generic version which uses free,
51925 * sysdeps/mach/hurd/ifreq.h: New file.
51927 2011-01-27 Petr Baudis <pasky@suse.cz>
51928 Ulrich Drepper <drepper@gmail.com>
51931 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51932 to extend_alloca().
51933 * stdio-common/bug23.c: New file.
51934 * stdio-common/Makefile (tests): Add bug23.
51936 2010-09-28 Andreas Schwab <schwab@redhat.com>
51937 Ulrich Drepper <drepper@gmail.com>
51940 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51941 before performing relro protection. At old place add assertion
51942 to make sure nothing changed.
51944 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51945 Glauber de Oliveira Costa <glommer@gmail.com>
51947 * elf/elf.h: Add new ARM TLS relocs.
51949 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51952 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51954 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51956 * sysdeps/wordsize-64/tst-writev.c: New file.
51958 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51960 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51961 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51962 insns in _dl_start to prevent a TOC reference before relocs are
51965 2011-02-15 Ulrich Drepper <drepper@gmail.com>
51968 * Makeconfig: Remove RANLIB definition.
51969 * Makerules: Don't use RANLIB.
51970 * aclocal.m4: Remove ranlib test.
51971 * configure.in: No need to check for ranlib.
51972 * elf/rtld-Rules: Don't use RANLIB.
51974 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51976 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51978 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51979 inclusion protection macro.
51981 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51982 SIGRTMIN and SIGRTMAX and print information in that case only when
51983 SIGRTMIN is defined.
51985 2011-02-11 Jakub Jelinek <jakub@redhat.com>
51987 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51988 arginfo fn returning -1.
51990 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51991 and thousands string is zero terminated.
51993 2011-02-03 Andreas Schwab <schwab@redhat.com>
51995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51996 sysdeps/unix/sysv/linux/bits/socket.h.
51998 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52000 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52001 (__CPU_COUNT): Remove old macros.
52002 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52003 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52004 (__CPU_ALLOC, __CPU_FREE): Add macros.
52005 (__sched_cpualloc, __sched_cpufree): Add declarations.
52007 2011-02-05 Ulrich Drepper <drepper@gmail.com>
52009 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52010 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52011 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52012 (readdhstai): Return value of addhstaiX call.
52013 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52014 (addgrbyX): Return value returned by cache_addgr.
52015 (readdgrbyname): Return value returned by addgrbyX.
52016 (readdgrbygid): Likewise.
52017 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52018 (addpwbyX): Return value returned by cache_addpw.
52019 (readdpwbyname): Return value returned by addhstbyX.
52020 (readdpwbyuid): Likewise.
52021 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52022 (addservbyX): Return value returned by cache_addserv.
52023 (readdservbyname): Return value returned by addservbyX:
52024 (readdservbyport): Likewise.
52025 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52026 (addhstbyX): Return value returned by cache_addhst.
52027 (readdhstbyname): Return value returned by addhstbyX.
52028 (readdhstbyaddr): Likewise.
52029 (readdhstbynamev6): Likewise.
52030 (readdhstbyaddrv6): Likewise.
52031 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52032 (readdinitgroups): Return value returned by addinitgroupsX.
52033 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52034 (prune_cache): Keep track of timeout value of re-added entries.
52035 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52036 * nscd/nscd.h: Adjust prototypes of readd* functions.
52038 2011-02-04 Roland McGrath <roland@redhat.com>
52040 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52041 (nis_stats): Likewise.
52042 * nis/nis_modify.c (nis_modify): Likewise.
52043 * nis/nis_remove.c (nis_remove): Likewise.
52044 * nis/nis_add.c (nis_add): Likewise.
52046 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52048 * posix/fnmatch_loop.c: Add some consts.
52050 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52052 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52055 * config.make.in (config-cflags-novzeroupper): Define.
52056 * configure.in: Substitute libc_cv_cc_novzeroupper.
52057 * elf/Makefile (AVX-CFLAGS): Define.
52058 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52059 (CFLAGS-tst-auditmod4a.c): Likewise.
52060 (CFLAGS-tst-auditmod4b.c): Likewise.
52061 (CFLAGS-tst-auditmod6b.c): Likewise.
52062 (CFLAGS-tst-auditmod6c.c): Likewise.
52063 (CFLAGS-tst-auditmod7b.c): Likewise.
52064 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52066 2011-02-02 Ulrich Drepper <drepper@gmail.com>
52068 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52069 function to the callback.
52070 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52072 2011-02-02 Andreas Schwab <schwab@redhat.com>
52074 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52077 2011-01-19 Ulrich Drepper <drepper@gmail.com>
52080 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52082 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52084 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52087 * elf/Makefile: Add rules to build and run new test.
52088 * elf/tst-initorder.c: New file.
52089 * elf/tst-initorder.exp: New file.
52090 * elf/tst-initordera1.c: New file.
52091 * elf/tst-initordera2.c: New file.
52092 * elf/tst-initordera3.c: New file.
52093 * elf/tst-initordera4.c: New file.
52094 * elf/tst-initorderb1.c: New file.
52095 * elf/tst-initorderb2.c: New file.
52096 * elf/tst-order-a1.c: New file.
52097 * elf/tst-order-a2.c: New file.
52098 * elf/tst-order-a3.c: New file.
52099 * elf/tst-order-a4.c: New file.
52100 * elf/tst-order-b1.c: New file.
52101 * elf/tst-order-b2.c: New file.
52102 * elf/tst-order-main.c: New file.
52103 New test case by George Gensure <werkt0@gmail.com>.
52105 2010-10-01 Andreas Schwab <schwab@redhat.com>
52107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52108 decoding ACE if AI_CANONIDN.
52110 2011-01-18 Ulrich Drepper <drepper@gmail.com>
52112 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52114 2011-01-17 Ulrich Drepper <drepper@gmail.com>
52116 * version.h (RELEASE): Bump for 2.13 release.
52117 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52119 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52121 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52123 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52125 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52126 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52127 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52128 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52130 * posix/getconf.c: Update copyright year.
52131 * catgets/gencat.c: Likewise.
52132 * csu/version.c: Likewise.
52133 * debug/catchsegv.sh: Likewise.
52134 * debug/xtrace.sh: Likewise.
52135 * elf/ldconfig.c: Likewise.
52136 * elf/ldd.bash.in: Likewise.
52137 * elf/sprof.c (print_version): Likewise.
52138 * iconv/iconv_prog.c: Likewise.
52139 * iconv/iconvconfig.c: Likewise.
52140 * locale/programs/locale.c: Likewise.
52141 * locale/programs/localedef.c: Likewise.
52142 * malloc/memusage.sh: Likewise.
52143 * malloc/mtrace.pl: Likewise.
52144 * nscd/nscd.c (print_version): Likewise.
52145 * nss/getent.c: Likewise.
52147 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52148 PF_CAIF, and PF_ALG.
52149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52151 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52153 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52154 (modules-names): Use them.
52155 (ifunc-test-modules, ifunc-pie-tests): Define.
52156 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52157 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52158 (test-extras): Likewise.
52159 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52160 $(compile-command.c).
52161 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52162 (all-built-dso): Define.
52163 (check-textrel.out, check-execstack.out): Depend on it.
52165 * configure.in: Don't override --enable-multi-arch.
52167 2011-01-15 Ulrich Drepper <drepper@gmail.com>
52170 * nscd/hstcache.c (tryagain): Define.
52171 (cache_addhst): Return tryagain not notfound for temporary errors.
52172 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52175 2011-01-14 Ulrich Drepper <drepper@gmail.com>
52178 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52179 to make the syscall.
52180 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52183 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52184 and fall back to matching as normal character if the string ends before
52185 the matching ']' is found. This is what POSIX requires.
52186 * posix/testfnm.c: Adjust test result.
52187 * posix/globtest.sh: Adjust test result. Add new test.
52188 * posix/tst-fnmatch.input: Likewise.
52189 * posix/tst-fnmatch2.c: Add new test.
52191 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52193 * elf/Makefile (check-execstack): Revert last change. Depend on
52195 (check-execstack.h): New target.
52196 (generated): Add check-execstack.h.
52197 * elf/check-execstack.c: Include "check-execstack.h".
52198 (main): Revert last change.
52199 (handle_file): Return zero if GNU_STACK is absent and
52200 DEFAULT_STACK_PERMS doesn't include PF_X.
52202 2011-01-13 Ulrich Drepper <drepper@gmail.com>
52204 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52205 in child fails because the descriptor is already closed.
52206 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52207 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52208 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52211 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52215 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52216 temporary buffer used to handle multi lookups locally.
52217 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52219 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52221 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52224 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52226 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52227 alignment for SSE2.
52229 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52232 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52233 characters. When rounding increased number of integer digits recompute
52235 * stdio-common/tst-grouping.c: New file.
52236 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52238 2011-01-09 Ulrich Drepper <drepper@gmail.com>
52240 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52241 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52243 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52245 * bits/select.h: Likewise.
52247 2011-01-08 Ulrich Drepper <drepper@gmail.com>
52249 * po/ja.po: Update from translation team.
52251 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
52254 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52255 implementation just like for lxstat, fxstatat, et al.
52257 2010-12-27 Jim Meyering <meyering@redhat.com>
52260 * posix/regexec.c (build_trtable): Return failure indication upon
52261 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52263 2010-12-25 Ulrich Drepper <drepper@gmail.com>
52266 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52267 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52268 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52269 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52272 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52275 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52276 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52278 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52280 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52281 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52282 script has SORT_BY_INIT_PRIORITY.
52283 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52284 NO_CTORS_DTORS_SECTIONS is defined.
52285 * elf/soinit.c: Likewise.
52286 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52287 NO_CTORS_DTORS_SECTIONS is defined.
52288 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52289 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52290 * sysdeps/sh/init-first.c: Likewise.
52291 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52293 2010-12-24 Ulrich Drepper <drepper@gmail.com>
52295 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52296 always use the slow path.
52298 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52300 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52301 similar rule which adds the sysdep directories to the header search in
52302 order to pick up the correct platform stackinfo.h.
52303 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52304 perform test if it is, otherwise return successfully without testing.
52305 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52306 DEFAULT_STACK_PERMS define in stackinfo.h.
52307 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52308 defined in stackinfo.h.
52309 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52310 DEFAULT_STACK_PERMS defined in stackinfo.h.
52311 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52312 * sysdeps/ia64/stackinfo.h: Likewise.
52313 * sysdeps/s390/stackinfo.h: Likewise.
52314 * sysdeps/sh/stackinfo.h: Likewise.
52315 * sysdeps/sparc/stackinfo.h: Likewise.
52316 * sysdeps/x86_64/stackinfo.h: Likewise.
52317 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52318 PF_X for powerpc64. Retain PF_X for powerpc32.
52320 2010-12-19 Ulrich Drepper <drepper@gmail.com>
52322 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52324 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52325 GETDENTS_64BIT_ALIGNED.
52327 2010-12-14 Ulrich Drepper <dreper@gmail.com>
52329 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52331 2010-12-10 Andreas Schwab <schwab@redhat.com>
52333 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52336 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52337 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52339 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52340 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52342 2010-12-09 Ulrich Drepper <drepper@gmail.com>
52345 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52348 2010-12-09 Jakub Jelinek <jakub@redhat.com>
52350 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52352 2010-12-03 Ulrich Drepper <drepper@gmail.com>
52354 * po/it.po: Update from translation team.
52356 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52361 2010-11-30 Ulrich Drepper <drepper@gmail.com>
52363 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52365 2010-11-24 Andreas Schwab <schwab@redhat.com>
52367 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52369 (gaih_getanswer_slice): Likewise.
52371 2010-10-20 Jakub Jelinek <jakub@redhat.com>
52373 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52375 2010-05-31 Petr Baudis <pasky@suse.cz>
52378 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52379 silently even in the chroot mode.
52381 2010-11-22 Ulrich Drepper <drepper@gmail.com>
52383 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52384 last patch a bit. Pretty printing
52386 2010-05-31 Petr Baudis <pasky@suse.cz>
52389 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52390 initialization of skip_initgroups_dyn.
52392 2010-11-19 Ulrich Drepper <drepper@gmail.com>
52394 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52395 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52397 2010-11-16 Ulrich Drepper <drepper@gmail.com>
52399 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52401 2010-11-11 Andreas Schwab <schwab@redhat.com>
52403 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52404 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52405 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52406 ($(objpfx)tst-fnmatch-mem): New rule.
52407 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52408 * posix/tst-fnmatch.c (main): Call mtrace.
52410 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52413 Support Intel processor model 6 and model 0x2c.
52415 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
52417 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52420 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52423 * string/test-strncasecmp.c (check_result): New function.
52424 (do_one_test): Use it.
52425 (check1): New function.
52426 (test_main): Use it.
52427 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52428 Support strcasecmp and strncasecmp.
52430 2010-11-08 Ulrich Drepper <drepper@gmail.com>
52433 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52434 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52436 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52438 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52442 * sysdeps/x86_64/multiarch/bzero.S: New file.
52443 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52444 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52445 * sysdeps/x86_64/multiarch/memset.S: New file.
52446 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52448 Set bit_Prefer_SSE_for_memop for Intel processors.
52449 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52451 (index_Prefer_SSE_for_memop): Define.
52452 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52454 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
52456 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52457 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52459 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52462 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52463 (__x86_64_raw_data_cache_size_half): Likewise.
52464 (__x86_64_raw_shared_cache_size): Likewise.
52465 (__x86_64_raw_shared_cache_size_half): Likewise.
52467 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52468 (__x86_64_raw_data_cache_size_half): Likewise.
52469 (__x86_64_raw_shared_cache_size): Likewise.
52470 (__x86_64_raw_shared_cache_size_half): Likewise.
52471 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52472 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52473 and __x86_64_raw_shared_cache_size_half. Round
52474 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52475 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52476 to multiple of 256 bytes.
52478 2010-11-03 Ulrich Drepper <drepper@gmail.com>
52481 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52482 of inacessible symlinks. Verify result of symlink before returning it.
52483 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52484 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52486 2010-10-28 Erich Ritz <erichritz@gmail.com>
52488 * math/math.h (isinf): Fix typo in comment.
52490 2010-11-01 Ulrich Drepper <drepper@gmail.com>
52492 * po/da.po: Update from translation team.
52494 2010-10-26 Ulrich Drepper <drepper@gmail.com>
52496 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52497 is added to the list.
52499 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52500 Ulrich Drepper <drepper@gmail.com>
52502 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52503 the global list here. Move code to...
52504 (_dl_add_to_namespace_list): ...here. New function.
52505 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52506 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52507 * elf/dl-load.c (lose): Don't remove the element from the list.
52508 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52509 (_dl_map_object): Likewise.
52511 2010-10-25 Ulrich Drepper <drepper@gmail.com>
52514 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52515 into all bytes of SSE register.
52516 Patch by Richard Li <richardpku@gmail.com>.
52518 2010-10-24 Ulrich Drepper <drepper@gmail.com>
52521 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52524 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52526 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52527 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52528 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52529 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52534 2010-10-22 Andreas Schwab <schwab@redhat.com>
52536 * include/dlfcn.h (__RTLD_SECURE): Define.
52537 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52538 mode & __RTLD_SECURE instead.
52539 (open_path): Rename preloaded parameter to secure.
52540 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52541 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52542 * elf/dl-deps.c (openaux): Likewise.
52543 * elf/rtld.c (struct map_args): Remove is_preloaded.
52544 (map_doit): Don't use it.
52545 (dl_main): Likewise.
52546 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52547 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52549 2010-09-09 Andreas Schwab <schwab@redhat.com>
52551 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52552 (sysd-rules-targets): Remove duplicates.
52553 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52554 rtld-%.$o dependency.
52556 2010-10-18 Andreas Schwab <schwab@redhat.com>
52558 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52559 _dl_map_object do it.
52561 2010-10-19 Ulrich Drepper <drepper@gmail.com>
52563 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52564 fast fma builtins, define the macros in the C99 standard.
52565 (FP_FAST_FMAF): Likewise.
52566 (FP_FAST_FMAL): Likewise.
52567 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52569 * bits/mathdef.h: Update copyright year.
52570 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52572 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52574 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52575 builtins, define the macros in the C99 standard.
52576 (FP_FAST_FMAF): Likewise.
52577 (FP_FAST_FMAL): Likewise.
52578 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52580 (FP_FAST_FMAF): Likewise.
52582 2010-10-15 Jakub Jelinek <jakub@redhat.com>
52585 * math/libm-test.inc (fma_test): Some new testcases.
52586 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52587 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52588 y and infinite z. Do multiplication by C already in long double.
52589 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52591 y and infinite z. Do bitwise or of inexact bit into u.d.
52592 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52593 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52594 * sysdeps/i386/fpu/s_fma.S: Removed.
52595 * sysdeps/i386/fpu/s_fmal.S: Removed.
52597 2010-10-16 Jakub Jelinek <jakub@redhat.com>
52600 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52602 computation is not scheduled after fetestexcept. Fix value
52603 of minimum denormal long double.
52605 2010-10-14 Jakub Jelinek <jakub@redhat.com>
52608 * math/libm-test.inc (fma_test): Add some more tests.
52609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52612 2010-10-15 Andreas Schwab <schwab@redhat.com>
52614 * scripts/data/localplt-s390-linux-gnu.data: New file.
52615 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52617 2010-10-13 Jakub Jelinek <jakub@redhat.com>
52620 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52621 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52623 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52625 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52627 if one of x and y is very large and the other is subnormal.
52628 * sysdeps/s390/fpu/s_fmaf.c: New file.
52629 * sysdeps/s390/fpu/s_fma.c: New file.
52630 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52631 * sysdeps/powerpc/fpu/s_fma.S: New file.
52632 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52633 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52634 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52636 2010-10-12 Jakub Jelinek <jakub@redhat.com>
52639 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52641 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52642 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52643 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52644 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52645 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52646 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52647 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52649 2010-10-12 Ulrich Drepper <drepper@redhat.com>
52652 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52653 * posix/bug-regex31.input: Add test case.
52655 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52657 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52658 * posix/bug-regex31.input: New file.
52661 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52662 (parse_sub_exp): Fix last change, use postorder.
52664 * posix/bug-regex31.c: New file.
52665 * posix/Makefile: Add rules to build and run bug-regex31.
52667 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52670 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52673 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52674 to have entries in sys_siglist.
52677 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52680 2010-10-07 Jakub Jelinek <jakub@redhat.com>
52683 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52684 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52685 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52686 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52687 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52688 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52689 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52690 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52691 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52692 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52693 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52694 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52695 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52696 * math/ftestexcept.c (fetestexcept): Likewise.
52697 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52698 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52699 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52700 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52701 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52702 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52703 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52705 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52708 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52711 2010-10-06 Ulrich Drepper <drepper@gmail.com>
52713 * string/bug-strstr1.c: New file.
52714 * string/Makefile: Add rules to build and run bug-strstr1.
52716 2010-10-05 Eric Blake <eblake@redhat.com>
52719 * string/str-two-way.h (two_way_long_needle): Always clear memory
52720 when skipping input due to the shift table.
52722 2010-10-03 Ulrich Drepper <drepper@gmail.com>
52725 * malloc/mcheck.c: Handle large requests.
52728 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52729 for strncmp and strncasecmp.
52730 * string/stratcliff.c: Add tests for strcmp and strncmp.
52731 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52733 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52735 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52738 2010-09-30 Andreas Jaeger <aj@suse.de>
52740 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52741 (CGROUP_SUPER_MAGIC): Define.
52742 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52743 Handle btrfs and cgroup file systems.
52744 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52747 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
52749 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52750 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52752 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52755 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52756 trying to locate the ELF header.
52758 2010-09-27 Andreas Schwab <schwab@redhat.com>
52761 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52762 Mask out sign-bit copies when constructing f_fsid.
52764 2010-09-24 Petr Baudis <pasky@suse.cz>
52766 * debug/stack_chk_fail_local.c: Add missing licence exception.
52767 * debug/warning-nop.c: Likewise.
52769 2010-09-15 Joseph Myers <joseph@codesourcery.com>
52771 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52772 implementing getdents64 using getdents syscall, set d_type if
52773 __ASSUME_GETDENTS32_D_TYPE.
52775 2010-09-16 Andreas Schwab <schwab@redhat.com>
52777 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52778 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52780 2010-09-21 Ulrich Drepper <drepper@redhat.com>
52783 * posix/unistd.h: Undo change of feature selection for ftruncate from
52786 2010-09-20 Ulrich Drepper <drepper@redhat.com>
52788 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52791 2010-09-20 Andreas Schwab <schwab@redhat.com>
52793 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52795 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52797 2010-09-14 Andreas Schwab <schwab@redhat.com>
52799 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52800 variables after CHECK_SP call.
52801 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52803 2010-09-13 Andreas Schwab <schwab@redhat.com>
52804 Ulrich Drepper <drepper@redhat.com>
52806 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52807 re-relocationg ld.so.
52808 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52809 _dl_init_paths call.
52810 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52813 2010-09-14 Ulrich Drepper <drepper@redhat.com>
52815 * resolv/res_init.c (__res_vinit): Count the default server we added.
52817 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52818 Ulrich Drepper <drepper@redhat.com>
52821 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52822 (____longjmp_chk): Use %ebx for saving value across system call.
52825 2010-09-06 Andreas Schwab <schwab@redhat.com>
52827 * manual/Makefile: Don't mix pattern rules with normal rules.
52829 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52831 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52833 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52834 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52835 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52836 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52840 2010-09-04 Ulrich Drepper <drepper@redhat.com>
52843 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52844 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52846 2010-09-02 Ulrich Drepper <drepper@redhat.com>
52848 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52849 * sysdeps/x86_64/addmul_1.S: Likewise.
52850 * sysdeps/x86_64/lshift.S: Likewise.
52851 * sysdeps/x86_64/mul_1.S: Likewise.
52852 * sysdeps/x86_64/rshift.S: Likewise.
52853 * sysdeps/x86_64/sub_n.S: Likewise.
52854 * sysdeps/x86_64/submul_1.S: Likewise.
52856 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52858 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52859 Define __sched_param instead of SCHED_* and sched_param when
52860 <bits/sched.h> is included with __need_schedparam defined.
52861 * bits/sched.h [__need_schedparam]
52862 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52863 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52864 (__defined_schedparam): Define to 1.
52865 (__sched_param): New structure, identical to sched_param.
52866 (__need_schedparam): Undefine.
52868 2010-08-31 Mike Frysinger <vapier@gentoo.org>
52870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52871 (epoll_create1): Declare.
52873 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52875 2010-08-31 Andreas Schwab <schwab@redhat.com>
52878 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52879 shifting retval into place.
52881 2010-09-01 Ulrich Drepper <drepper@redhat.com>
52883 * nis/rpcsvc/nis.h: Update copyright notice.
52884 * nis/rpcsvc/nis.x: Likewise.
52885 * nis/rpcsvc/nis_callback.h: Likewise.
52886 * nis/rpcsvc/nis_callback.x: Likewise.
52887 * nis/rpcsvc/nis_object.x: Likewise.
52888 * nis/rpcsvc/nis_tags.h: Likewise.
52889 * nis/rpcsvc/yp.h: Likewise.
52890 * nis/rpcsvc/yp.x: Likewise.
52891 * nis/rpcsvc/ypupd.h: Likewise.
52892 * nis/yp_xdr.c: Likewise.
52893 * nis/ypupdate_xdr.c: Likewise.
52895 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
52896 mainly the body of pmap_getport. Add parameters to specify timeouts.
52897 (pmap_getport): Use __libc_rpc_getport.
52898 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52899 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52900 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52902 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
52904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52907 2010-08-27 Roland McGrath <roland@redhat.com>
52909 * sysdeps/i386/i686/multiarch/Makefile
52910 (CFLAGS-varshift.c): New variable.
52912 2010-08-27 Ulrich Drepper <drepper@redhat.com>
52914 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52915 * sysdeps/i386/i686/multiarch/varshift.c: New file.
52917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52919 * sysdeps/x86_64/strlen.S: Minimal code improvement.
52921 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
52923 * sysdeps/x86_64/strlen.S: Unroll the loop.
52924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52925 strlen-sse2 strlen-sse2-bsf.
52926 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52927 __strlen_no_bsf if bit_Slow_BSF is set.
52928 (__strlen_sse42): Removed.
52929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52930 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52932 2010-08-25 Roland McGrath <roland@redhat.com>
52934 * sysdeps/x86_64/multiarch/varshift.S: File removed.
52935 * sysdeps/x86_64/multiarch/varshift.c: New file.
52936 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52937 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52938 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52939 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52941 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52944 strlen-sse2 strlen-sse2-bsf.
52945 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52946 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52947 (__strlen_sse2): Removed.
52948 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52951 bit_Slow_BSF for Atom.
52952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52953 (index_Slow_BSF): Define.
52954 (HAS_SLOW_BSF): Define.
52956 2010-08-25 Ulrich Drepper <drepper@redhat.com>
52959 * resolv/res_init.c (__res_vinit): When no server address at all
52960 is given default to loopback.
52962 2010-08-24 Roland McGrath <roland@redhat.com>
52964 * configure.in: Remove config-name.h generation.
52965 * configure: Regenerated.
52966 * config-name.in: File removed.
52967 * scripts/config-uname.sh: New file.
52968 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52969 ($(objdir)config-name.h): New target.
52971 * sunrpc/rpc_parse.h: Avoid nested comment.
52973 2010-08-24 Richard Henderson <rth@redhat.com>
52974 Ulrich Drepper <drepper@redhat.com>
52975 H.J. Lu <hongjiu.lu@intel.com>
52977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52979 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52980 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52981 _mm_alignr_epi8 with _mm_loadu_si128.
52982 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52983 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52984 (__m128i_shift_right): Removed.
52985 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52986 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52987 * sysdeps/x86_64/multiarch/varshift.h: New file.
52988 * sysdeps/x86_64/multiarch/varshift.S: New file.
52990 2010-08-21 Mike Frysinger <vapier@gentoo.org>
52992 * configure.in: Move assembler checks to before sysdep dir checking.
52994 2010-08-20 Petr Baudis <pasky@suse.cz>
52996 * LICENSES: Sync the sunrpc license.
52998 2010-08-19 Ulrich Drepper <drepper@redhat.com>
53000 * sunrpc/auth_des.c: Update copyright notice once again.
53001 * sunrpc/auth_none.c: Likewise.
53002 * sunrpc/auth_unix.c: Likewise.
53003 * sunrpc/authdes_prot.c: Likewise.
53004 * sunrpc/authuxprot.c: Likewise.
53005 * sunrpc/bindrsvprt.c: Likewise.
53006 * sunrpc/clnt_gen.c: Likewise.
53007 * sunrpc/clnt_perr.c: Likewise.
53008 * sunrpc/clnt_raw.c: Likewise.
53009 * sunrpc/clnt_simp.c: Likewise.
53010 * sunrpc/clnt_tcp.c: Likewise.
53011 * sunrpc/clnt_udp.c: Likewise.
53012 * sunrpc/clnt_unix.c: Likewise.
53013 * sunrpc/des_crypt.c: Likewise.
53014 * sunrpc/des_soft.c: Likewise.
53015 * sunrpc/get_myaddr.c: Likewise.
53016 * sunrpc/getrpcport.c: Likewise.
53017 * sunrpc/key_call.c: Likewise.
53018 * sunrpc/key_prot.c: Likewise.
53019 * sunrpc/openchild.c: Likewise.
53020 * sunrpc/pm_getmaps.c: Likewise.
53021 * sunrpc/pm_getport.c: Likewise.
53022 * sunrpc/pmap_clnt.c: Likewise.
53023 * sunrpc/pmap_prot.c: Likewise.
53024 * sunrpc/pmap_prot2.c: Likewise.
53025 * sunrpc/pmap_rmt.c: Likewise.
53026 * sunrpc/rpc/auth.h: Likewise.
53027 * sunrpc/rpc/auth_unix.h: Likewise.
53028 * sunrpc/rpc/clnt.h: Likewise.
53029 * sunrpc/rpc/des_crypt.h: Likewise.
53030 * sunrpc/rpc/key_prot.h: Likewise.
53031 * sunrpc/rpc/netdb.h: Likewise.
53032 * sunrpc/rpc/pmap_clnt.h: Likewise.
53033 * sunrpc/rpc/pmap_prot.h: Likewise.
53034 * sunrpc/rpc/pmap_rmt.h: Likewise.
53035 * sunrpc/rpc/rpc.h: Likewise.
53036 * sunrpc/rpc/rpc_des.h: Likewise.
53037 * sunrpc/rpc/rpc_msg.h: Likewise.
53038 * sunrpc/rpc/svc.h: Likewise.
53039 * sunrpc/rpc/svc_auth.h: Likewise.
53040 * sunrpc/rpc/types.h: Likewise.
53041 * sunrpc/rpc/xdr.h: Likewise.
53042 * sunrpc/rpc_clntout.c: Likewise.
53043 * sunrpc/rpc_cmsg.c: Likewise.
53044 * sunrpc/rpc_common.c: Likewise.
53045 * sunrpc/rpc_cout.c: Likewise.
53046 * sunrpc/rpc_dtable.c: Likewise.
53047 * sunrpc/rpc_hout.c: Likewise.
53048 * sunrpc/rpc_main.c: Likewise.
53049 * sunrpc/rpc_parse.c: Likewise.
53050 * sunrpc/rpc_parse.h: Likewise.
53051 * sunrpc/rpc_prot.c: Likewise.
53052 * sunrpc/rpc_sample.c: Likewise.
53053 * sunrpc/rpc_scan.c: Likewise.
53054 * sunrpc/rpc_scan.h: Likewise.
53055 * sunrpc/rpc_svcout.c: Likewise.
53056 * sunrpc/rpc_tblout.c: Likewise.
53057 * sunrpc/rpc_util.c: Likewise.
53058 * sunrpc/rpc_util.h: Likewise.
53059 * sunrpc/rpcinfo.c: Likewise.
53060 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53061 * sunrpc/rpcsvc/key_prot.x: Likewise.
53062 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53063 * sunrpc/rpcsvc/mount.x: Likewise.
53064 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53065 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53066 * sunrpc/rpcsvc/rex.x: Likewise.
53067 * sunrpc/rpcsvc/rstat.x: Likewise.
53068 * sunrpc/rpcsvc/rusers.x: Likewise.
53069 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53070 * sunrpc/rpcsvc/spray.x: Likewise.
53071 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53072 * sunrpc/rtime.c: Likewise.
53073 * sunrpc/svc.c: Likewise.
53074 * sunrpc/svc_auth.c: Likewise.
53075 * sunrpc/svc_authux.c: Likewise.
53076 * sunrpc/svc_raw.c: Likewise.
53077 * sunrpc/svc_run.c: Likewise.
53078 * sunrpc/svc_simple.c: Likewise.
53079 * sunrpc/svc_tcp.c: Likewise.
53080 * sunrpc/svc_udp.c: Likewise.
53081 * sunrpc/svc_unix.c: Likewise.
53082 * sunrpc/svcauth_des.c: Likewise.
53083 * sunrpc/xcrypt.c: Likewise.
53084 * sunrpc/xdr.c: Likewise.
53085 * sunrpc/xdr_array.c: Likewise.
53086 * sunrpc/xdr_float.c: Likewise.
53087 * sunrpc/xdr_mem.c: Likewise.
53088 * sunrpc/xdr_rec.c: Likewise.
53089 * sunrpc/xdr_ref.c: Likewise.
53090 * sunrpc/xdr_sizeof.c: Likewise.
53091 * sunrpc/xdr_stdio.c: Likewise.
53093 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53096 2010-08-19 Andreas Schwab <schwab@redhat.com>
53098 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53100 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
53102 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53103 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53104 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53105 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53106 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53107 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53108 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53109 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53110 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53111 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53112 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53113 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53114 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53115 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53117 2010-07-26 Anton Blanchard <anton@samba.org>
53119 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53120 * malloc/arena.c (heap_trim): Likewise.
53122 2010-08-16 Ulrich Drepper <drepper@redhat.com>
53124 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53126 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53127 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53129 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53131 * sysdeps/i386/elf/Makefile: New file.
53133 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53135 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53136 from fanotify_init.
53137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53138 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53140 2010-08-15 Ulrich Drepper <drepper@redhat.com>
53142 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53144 * sysdeps/multiarch/strcmp.S: Likewise.
53146 2010-08-14 Ulrich Drepper <drepper@redhat.com>
53148 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53149 strncase_l-nonascii.
53150 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53151 Add strncase_l-ssse3.
53152 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53153 * sysdeps/x86_64/strcmp.S: Likewise.
53154 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53155 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53156 * sysdeps/x86_64/strncase.S: New file.
53157 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53158 * sysdeps/x86_64/strncase_l.S: New file.
53159 * string/Makefile (strop-tests): Add strncasecmp.
53160 * string/test-strncasecmp.c: New file.
53162 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53165 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53166 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53168 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53170 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53172 2010-08-12 Ulrich Drepper <drepper@redhat.com>
53174 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53175 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53176 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53178 2010-05-01 Alan Modra <amodra@gmail.com>
53180 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53181 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53182 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53183 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53184 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53185 tidying. Don't tail-call __sigjmp_save for static lib.
53186 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53188 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53189 (CALL_MCOUNT): Add eh info, and nop after bl.
53190 (TAIL_CALL_SYSCALL_ERROR): New macro.
53191 (PSEUDO_RET): Use it.
53192 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53193 Correct save location of integer regs and cr.
53194 (_dl_profile_resolve): Correct cr save location. Delete nops
53195 after bl when SHARED. Reduce cfi size a little by better
53196 placement of cfi directives.
53197 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53198 make a stack frame. Instead use parm save area as a temp.
53199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53200 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53202 Don't make a stack frame for parent, use parm save area.
53203 Increase child stack frame to 112 bytes. Don't save unused reg,
53204 and adjust reg usage. Set up cfi on error recovery and
53205 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53207 (__makecontext): Add dummy nop after jump to exit.
53208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53209 Use correct parm save area and cr save, reduce stack frame.
53210 Correct cfi for possible PSEUDO_RET frame setup.
53211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53212 Branch to local label emitted by PSEUDO_RET rather than
53215 2010-08-12 Andreas Schwab <schwab@redhat.com>
53218 * locale/programs/locale.c (print_assignment): New function.
53219 (show_locale_vars): Use it.
53221 2010-08-11 Ulrich Drepper <drepper@redhat.com>
53223 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53225 (struct statfs64): Likewise.
53226 (_STATFS_F_FLAGS): Define.
53227 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53228 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53229 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53230 (ST_VALID): Define locally.
53231 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53232 __statvfs_getflags, use the provided value.
53233 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53234 __ASSUME_STATFS_F_FLAGS.
53236 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53238 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53239 Add sys/fanotify.h.
53240 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53241 fanotify_mask for GLIBC_2.13.
53242 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53243 fanotify_init and fanotify_mark.
53244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53245 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53247 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53249 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53250 prlimit64 for GLIBC_2.13.
53251 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53256 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53257 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53258 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53261 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53264 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53265 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53267 * nss/Makefile: Add rules to build and run tst-nss-test1.
53268 * shlib-versions: Add entry for libnss_test1.
53269 * nss/nss_test1.c: New file.
53270 * nss/tst-nss-test1.c: New file.
53272 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53273 (__nss_configure_lookup): Set appropriate entry in
53274 __nss_configure_lookup to true.
53275 * nss/nsswitch.h: Define enum with indeces of databases in
53276 databases and __nss_database_custom arrays. Declare
53277 __nss_database_custom.
53278 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53279 to avoid using nscd when custom rules are installed.
53280 * nss/getXXbyYY_r.c: Likewise.
53281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53283 * nss/nss_files/files-parse.c: Whitespace fixes.
53285 2010-08-09 Ulrich Drepper <drepper@redhat.com>
53288 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53289 * posix/fnmatch_loop.c: Likewise.
53291 2010-07-17 Andi Kleen <ak@linux.intel.com>
53293 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53294 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53295 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53296 * Versions.def [GLIBC_2.13]: Add.
53298 2010-08-06 Ulrich Drepper <drepper@redhat.com>
53300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53301 Also fail if tpwd after pwuid call is NULL.
53303 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53305 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53306 when converting to ms.
53308 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53310 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53311 EOPNOTSUPP errors with ENOTTY.
53312 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53313 EOPNOTSUPP errors with ENOTTY.
53315 2010-07-31 Ulrich Drepper <drepper@redhat.com>
53317 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53318 Add strcasecmp_l-ssse3.
53319 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53321 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53322 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53323 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53325 2010-07-30 Ulrich Drepper <drepper@redhat.com>
53327 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53329 * string/Makefile (strop-tests): Add strcasecmp.
53330 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53331 strcasecmp_l-nonascii.
53332 (gen-as-const-headers): Add locale-defines.sym.
53333 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53334 * sysdeps/x86_64/strcasecmp.S: New file.
53335 * sysdeps/x86_64/strcasecmp_l.S: New file.
53336 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53337 * sysdeps/x86_64/locale-defines.sym: New file.
53338 * string/test-strcasecmp.c: New file.
53340 * string/test-strcasestr.c: Test both ends of the range of characters.
53341 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53343 2010-07-29 Roland McGrath <roland@redhat.com>
53346 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53348 2010-07-27 Ulrich Drepper <drepper@redhat.com>
53350 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53353 2010-07-27 Andreas Schwab <schwab@redhat.com>
53355 * manual/memory.texi (Malloc Tunable Parameters): Document
53358 2010-07-26 Roland McGrath <roland@redhat.com>
53361 * configure.in (-fgnu89-inline check): Set and substitute
53362 gnu89_inline, not libc_cv_gnu89_inline.
53363 * configure: Regenerated.
53364 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53366 2010-07-26 Ulrich Drepper <drepper@redhat.com>
53368 * string/test-strnlen.c: New file.
53369 * string/Makefile (strop-tests): Add strnlen.
53370 * string/tester.c (test_strnlen): Add a few more test cases.
53371 * string/tst-strlen.c: Better error reporting.
53373 * sysdeps/x86_64/strnlen.S: New file.
53375 2010-07-24 Ulrich Drepper <drepper@redhat.com>
53377 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53378 lower-latency instructions.
53380 2010-07-23 Ulrich Drepper <drepper@redhat.com>
53382 * string/test-strcasestr.c: New file.
53383 * string/test-strstr.c: New file.
53384 * string/Makefile (strop-tests): Add strstr and strcasestr.
53385 * string/str-two-way.h: Don't undefine MAX.
53386 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53388 2010-07-21 Andreas Schwab <schwab@redhat.com>
53390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53391 strcasestr-nonascii.
53392 (CFLAGS-strcasestr-nonascii.c): Define.
53393 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53394 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53395 Remove unused attribute.
53397 2010-07-20 Roland McGrath <roland@redhat.com>
53399 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53400 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53401 ld.so.cache was broken. With it, there is no way to disable dsocaps
53402 like LD_HWCAP_MASK can disable hwcaps.
53404 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53406 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53408 2010-07-16 Ulrich Drepper <drepper@redhat.com>
53410 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53411 call in strcasestr.
53412 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53413 __strcasestr_sse42_nonascii.
53414 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53415 strcasestr-nonascii.c.
53416 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53418 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
53420 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53421 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53422 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53423 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53425 2010-07-09 Ulrich Drepper <drepper@redhat.com>
53427 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53430 2010-07-06 Andreas Schwab <schwab@redhat.com>
53433 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53436 2010-07-06 Ulrich Drepper <drepper@redhat.com>
53438 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53439 _PC_PIPE_BUF using F_GETPIPE_SZ.
53441 2010-07-05 Roland McGrath <roland@redhat.com>
53443 * manual/arith.texi (Rounding Functions): Fix rint description
53444 implicit in round description.
53446 2010-07-02 Ulrich Drepper <drepper@redhat.com>
53448 * elf/Makefile: Fix linking for a few tests to make recent linker
53451 2010-06-30 Andreas Schwab <schwab@redhat.com>
53453 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53454 $(common-objpfx)libc_nonshared.a.
53456 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
53458 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53459 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53460 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53461 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53462 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53463 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53464 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53465 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53480 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53481 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53482 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53483 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53484 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53485 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53486 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53487 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53488 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53489 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53490 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53491 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53507 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53509 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53510 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53511 * string/memmove.c (memmove): Renamed to ...
53512 (MEMMOVE): ...this. Default to memmove.
53513 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53514 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53517 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53518 mempcpy-ssse3-back memmove-ssse3-back.
53519 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53522 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53523 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53524 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53525 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53526 * sysdeps/x86_64/multiarch/memmove.c: New file.
53527 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53528 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53529 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53530 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53531 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53532 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53534 (index_Fast_Copy_Backward): Define.
53535 (HAS_ARCH_FEATURE): Define.
53536 (HAS_FAST_REP_STRING): Define.
53537 (HAS_FAST_COPY_BACKWARD): Define.
53539 2010-06-21 Andreas Schwab <schwab@redhat.com>
53541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53542 Restore proper fallback handling.
53544 2010-06-19 Ulrich Drepper <drepper@redhat.com>
53547 * posix/group_member.c (__group_member): Correct checking loop.
53549 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53550 OOM in getpwuid_r correctly. Return error number when the caller
53551 should return, otherwise -1.
53552 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53553 call returning > 0 value.
53554 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53556 2010-06-07 Andreas Schwab <schwab@redhat.com>
53558 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53559 libc_nonshared.a from targets in modules-names.
53561 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53563 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53566 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
53568 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53569 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53571 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53573 2010-06-02 Andreas Schwab <schwab@redhat.com>
53575 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53577 2010-06-14 Ulrich Drepper <drepper@redhat.com>
53579 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53585 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53588 2010-06-14 Roland McGrath <roland@redhat.com>
53590 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53592 2010-06-07 Jakub Jelinek <jakub@redhat.com>
53594 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53595 __REDIRECT followed by __THROW.
53596 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53597 * posix/getopt.h (getopt): Likewise.
53599 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53601 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53602 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53603 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53605 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53606 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53608 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
53610 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53612 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53616 Properly check family and model.
53618 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53620 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53622 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
53624 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53626 2010-05-21 Ulrich Drepper <drepper@redhat.com>
53628 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53631 2010-05-19 Andreas Schwab <schwab@redhat.com>
53633 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53636 2010-05-21 Andreas Schwab <schwab@redhat.com>
53638 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53639 and internal_recvmmsg.
53640 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53641 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53642 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53643 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53645 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53646 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53647 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53649 2010-05-20 Andreas Schwab <schwab@redhat.com>
53651 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53653 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
53655 POWER7 optimizations.
53656 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53657 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53659 2010-05-19 Ulrich Drepper <drepper@redhat.com>
53661 * version.h: Update for 2.13 development version.
53663 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
53665 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53666 exceptions. Return 0.
53668 2010-05-07 Roland McGrath <roland@redhat.com>
53670 * elf/ldconfig.c (main): Add a const.
53672 2010-05-06 Ulrich Drepper <drepper@redhat.com>
53674 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53675 (args_options): Add no-idn option.
53676 (ahosts_keys_int): Add idn_flags to ai_flags.
53677 (parse_option): Handle 'i' option to clear idn_flags.
53679 * malloc/malloc.c (_int_free): Possible race in the most recently
53680 added check. Only act on the data if no current modification
53683 See ChangeLog.17 for earlier changes.