1 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
5 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12 Undefine after defining function. Define as weak alias of
13 __wcschr. Use libc_hidden_weak.
14 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
15 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
16 (libc_hidden_def): Also define __GI___wcschr alias.
17 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18 __wcschr and define as weak alias of __wcschr.
19 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21 [!WCSCHR] (DEFAULT_WCSCHR): Define.
22 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
24 libc_hidden_weak. Do not use libc_hidden_def.
25 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
28 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29 [IS_IN (libc)] (wcschr): Define as macro expanding to
31 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32 [IS_IN (libc)] (__wcschr_power6): Likewise.
33 [IS_IN (libc)] (__wcschr_power7): Likewise.
34 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
36 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
38 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
39 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
40 __wcschr and define as weak alias of __wcschr. Use
41 libc_hidden_builtin_def.
42 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
43 as weak alias of __wcschr. Use libc_hidden_weak.
44 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
46 * time/era.c (_nl_init_era_entries): Likewise.
47 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
49 (test-xfail-XPG3/time.h/linknamespace): Likewise.
50 (test-xfail-XPG4/time.h/linknamespace): Likewise.
52 2014-12-10 Joseph Myers <joseph@codesourcery.com>
54 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
55 format for long int variable.
57 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
60 * manual/search.texi: (Array Sort Function): Remove claim how to make
63 2014-12-10 Andreas Schwab <schwab@suse.de>
66 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
67 user-controlled locks.
69 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
71 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
74 2014-12-10 Joseph Myers <joseph@codesourcery.com>
76 * configure.ac (--disable-werror): New configure option.
77 (enable_werror): New AC_SUBST.
78 * configure: Regenerated.
79 * config.make.in (enable-werror): New variable.
80 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
82 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
83 * manual/install.texi (Configuring and compiling): Document
85 * INSTALL: Regenerated.
86 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
87 (CFLAGS-tst-chk2.c): Likewise.
88 (CFLAGS-tst-chk3.c): Likewise.
89 (CFLAGS-tst-chk4.cc): Likewise.
90 (CFLAGS-tst-chk5.cc): Likewise.
91 (CFLAGS-tst-chk6.cc): Likewise.
92 (CFLAGS-tst-lfschk1.c): Likewise.
93 (CFLAGS-tst-lfschk2.c): Likewise.
94 (CFLAGS-tst-lfschk3.c): Likewise.
95 (CFLAGS-tst-lfschk4.cc): Likewise.
96 (CFLAGS-tst-lfschk5.cc): Likewise.
97 (CFLAGS-tst-lfschk6.cc): Likewise.
99 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
100 (main): Disable -Wdeprecated-declarations around calls to
101 register_printf_function.
103 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
104 (do_test): Disable -Wdiv-by-zero around some calls to
105 fwrite_unlocked and fread_unlocked.
107 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
108 (DIAG_POP_NEEDS_COMMENT): Likewise.
109 (_DIAG_STR1): Likewise.
110 (_DIAG_STR): Likewise.
111 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
112 * stdio-common/bug21.c: Include <libc-internal.h>.
113 (do_test): Disable -Wformat around call to sscanf.
114 * stdio-common/scanf14.c: Include <libc-internal.h>.
115 (main): Disable -Wformat around some calls to scanf functions.
117 2014-12-09 Torvald Riegel <triegel@redhat.com>
119 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
121 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
123 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
124 stack variable alignment.
126 2014-12-06 Joseph Myers <joseph@codesourcery.com>
129 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
130 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
131 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
132 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
133 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
134 __getrlimit instead of getrlimit.
135 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
136 __gettimeofday instead of gettimeofday.
137 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
139 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
141 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
142 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
144 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
145 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
147 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
149 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
150 for wide-character tests.
152 2014-12-04 Roland McGrath <roland@hack.frob.com>
154 * io/openat64.c: #include <libc-internal.h>
155 (__openat64): Prototypify. Use ignore_value on MODE.
156 * io/openat.c: Likewise.
157 * misc/reboot.c: #include <libc-internal.h>
158 (reboot): Prototypify. Use ignore_value on HOWTO.
159 * misc/ptrace.c: #include <libc-internal.h>
160 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
162 2014-12-04 Joseph Myers <joseph@codesourcery.com>
164 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
165 XPG4, UNIX98 and XOPEN2K.
166 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
168 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
170 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
172 * libio/fileops.c: Use ISO C style for function definitions.
173 * libio/iofopen.c: Likewise.
174 * libio/wfileops.c: Likewise.
177 * libio/fileops.c (_IO_new_file_underflow): Unset cached
179 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
180 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
181 (fgets_func): Function pointer to fgets and fgetws.
182 (do_ftell_test): Add test to verify ftell value after read
184 (do_test): Set fgets_func.
186 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
187 O_TRUNC flag for w and w+ modes.
188 (do_rewind_test): Likewise.
189 (do_ftell_test): Likewise.
190 (do_write_test): Likewise.
193 * libio/fileops.c (do_ftell): Seek only when there are
195 * libio/wfileops.c (do_ftell_wide): Likewise.
196 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
198 (do_one_test): Call it.
200 2014-12-03 Joseph Myers <joseph@codesourcery.com>
202 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
203 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
204 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
206 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
207 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
208 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
210 2014-12-02 Joseph Myers <joseph@codesourcery.com>
212 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
214 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
217 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
218 as weak alias of __getifaddrs. Use libc_hidden_weak.
219 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
220 __freeifaddrs. Use libc_hidden_weak.
221 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
222 define as weak alias of __getifaddrs. Use libc_hidden_weak.
223 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
224 __freeifaddrs. Use libc_hidden_weak.
225 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
226 __getifaddrs and define as weak alias of __getifaddrs. Use
228 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
229 __freeifaddrs. Use libc_hidden_weak.
230 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
232 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
233 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
235 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
238 * sysdeps/mips/start.S (__start): Use indirect jump to call
241 2014-12-02 Joseph Myers <joseph@codesourcery.com>
243 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
245 * nptl/tst-mutex1.c: Include <stdbool.h>.
246 [!ATTR] (ATTR_NULL): New macro.
247 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
248 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
249 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
251 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
255 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
256 Change conditional to [__USE_MISC].
259 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
261 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
263 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
265 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
267 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
268 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
269 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
270 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
271 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
272 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
273 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
274 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
275 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
277 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
279 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
281 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
282 Remove strpbrk objects.
283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
284 (__libc_ifunc_impl_list): Remove strpbrk implementation.
285 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
286 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
287 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
288 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
290 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
291 Remove strcspn objects.
292 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
293 (__libc_ifunc_impl_list): Remove strcspn implementation.
294 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
295 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
296 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
297 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
299 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
300 Remove strspn objetcs.
301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
302 (__libc_ifunc_impl_list): Remove strspn implementation.
303 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
304 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
305 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
306 * sysdeps/powerpc/powerpc64/strspn.S: New file.
308 2014-12-01 James Lemke <jwlemke@codesourcery.com>
312 (mem2mem_check): Add a terminator to the chain of checking blocks.
313 (malloc_check_get_size): Use it here.
314 (mem2chunk_check): Ditto.
316 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
318 * sysdeps/powerpc/powerpc64/strtok.S: New file.
319 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
321 2014-11-29 Carlos O'Donell <carlos@redhat.com>
323 * bits/ioctl-types.h: Indent preprocessor directives correctly.
325 * nptl/nptl-init.c: Include libc-internal.h.
326 (__pthread_initialize_minimal_internal): Use ROUND_UP.
328 * elf/ldconfig.c (search_dir): Expand comment.
330 2014-11-29 Joseph Myers <joseph@codesourcery.com>
332 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
334 (linknamespace-symlist-stdlibs-tests): Likewise.
335 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
336 instead of $(objpfx)symlist-stdlibs.
337 (linknamespace-libs-isoc): New variable.
338 (linknamespace-libs): Use $(linknamespace-libs-isoc).
339 (linknamespace-libs-ISO): New variable.
340 (linknamespace-libs-ISO99): Likewise.
341 (linknamespace-libs-ISO11): Likewise.
342 (linknamespace-libs-XPG3): Likewise.
343 (linknamespace-libs-XPG4): Likewise.
344 (linknamespace-libs-POSIX): Likewise.
345 (linknamespace-libs-UNIX98): Likewise.
346 (linknamespace-libs-XOPEN2K): Likewise.
347 (linknamespace-libs-POSIX2008): Likewise.
348 (linknamespace-libs-XOPEN2K8): Likewise.
349 ($(objpfx)symlist-stdlibs): Replace by
350 $(linknamespace-symlist-stdlibs-tests). Use
351 $(linknamespace-libs-$*) as set of libraries.
352 ($(linknamespace-header-tests)): Update dependencies. Use
353 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
354 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
355 * conform/linknamespace.pl: Remove comment about considering
356 definitions of symbols from irrelevant libraries.
358 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
361 * elf/dl-tls.c: Include <atomic.h>.
362 (oom): Remove #ifdef SHARED/#endif.
363 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
364 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
365 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
367 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
368 * nptl/Makefile (tests): Add tst-stack4.
369 (modules-names): Add tst-stack4mod.
370 ($(objpfx)tst-stack4): New.
371 (tst-stack4mod.sos): Likewise.
372 ($(objpfx)tst-stack4.out): Likewise.
373 ($(tst-stack4mod.sos)): Likewise.
375 * nptl/tst-stack4.c: New file.
376 * nptl/tst-stack4mod.c: Likewise.
378 2014-11-27 J. Brown <jb999@gmx.de>
380 * sysdeps/x86/bits/string.h: Add recent CPUs.
382 2014-11-27 Joseph Myers <joseph@codesourcery.com>
384 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
387 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
390 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
393 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
395 * nscd/connections.c: Include libc-internal.h because of macro
398 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
400 * string/bits/string3.h (__warn_memset_zero_len): Don't
401 declare for gcc newer than 5.0.
402 (memset): Don't test for zero-length __LEN for gcc newer than
405 2014-11-27 Joseph Myers <joseph@codesourcery.com>
407 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
408 size_t for %zu format.
410 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
413 2014-11-26 Joseph Myers <joseph@codesourcery.com>
415 * include/libc-internal.h (ignore_value): New macro.
416 * nscd/connections.c (restart): Wrap calls to setuid and setgid
419 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
422 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
423 pthread_cleanup_push to void *.
425 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
430 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
433 * libio/bug-rewind.c (do_test): Check fwscanf return values.
434 * libio/bug-rewind2.c (do_test): Likewise.
436 * debug/test-stpcpy_chk-ifunc.c: Remove file.
437 * debug/test-strcpy_chk-ifunc.c: Likewise.
438 * wcsmbs/test-wcschr-ifunc.c: Likewise.
439 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
440 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
441 * wcsmbs/test-wcslen-ifunc.c: Likewise.
442 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
443 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
444 * Rules [$(multi-arch) = no] (tests): Do not filter out
446 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
447 * debug/Makefile (tests-ifunc): Remove variable.
448 (tests): Do not add $(tests-ifunc).
449 * wcsmbs/Makefile (tests-ifunc): Remove variable.
450 (tests): Do not add $(tests-ifunc).
451 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
452 [TEST_IFUNC]: Remove conditionals.
453 * string/test-string.h (TEST_IFUNC): Remove macro.
454 [TEST_IFUNC]: Remove conditionals.
456 * string/test-strchr.c [!WIDE] (L): New macro.
457 [WIDE] (L): Likewise.
458 (check1): Use CHAR instead of char. Use L on string and character
461 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
463 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
465 * sysdeps/powerpc/bits/atomic.h
466 (__arch_atomic_exchange_and_add_32_acq): Add definition.
467 (__arch_atomic_exchange_and_add_32_rel): Likewise.
468 (atomic_exchange_and_add_acq): Likewise.
469 (atomic_exchange_and_add_rel): Likewise.
470 * sysdeps/powerpc/powerpc32/bits/atomic.h
471 (__arch_atomic_exchange_and_add_64_acq): Add definition.
472 (__arch_atomic_exchange_and_add_64_rel): Likewise.
473 * sysdeps/powerpc/powerpc64/bits/atomic.h
474 (__arch_atomic_exchange_and_add_64_acq): Add definition.
475 (__arch_atomic_exchange_and_add_64_rel): Likewise.
477 2014-11-26 Torvald Riegel <triegel@redhat.com>
479 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
480 Change synchronization of __sched_fifo_min_prio and
481 __sched_fifo_max_prio.
482 * nptl/pthread_mutexattr_getprioceiling.c
483 (pthread_mutexattr_getprioceiling): Likewise.
484 * nptl/pthread_mutexattr_setprioceiling.c
485 (pthread_mutexattr_setprioceiling): Likewise.
486 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
487 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
490 2014-11-26 Joseph Myers <joseph@codesourcery.com>
492 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
495 2014-11-25 Joseph Myers <joseph@codesourcery.com>
497 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
498 third argument const.
500 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
502 fnmatch: work around GCC compiler warning bug with uninit var
503 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
504 This works around a bug with x86-64 GCC 4.9.2 and earlier
505 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
506 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
507 used uninitialized in this function [-Wmaybe-uninitialized]".
509 2014-11-25 Joseph Myers <joseph@codesourcery.com>
511 * posix/bug-regex31.c (main): Return RES not 0.
513 2014-11-25 Anton Blanchard <anton@samba.org>
515 * sysdeps/powerpc/bits/atomic.h
516 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
518 2014-11-24 Sterling Augustine <saugustine@google.com>
520 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
522 2014-11-24 Ryan Cumming <etaoins@gmail.com>
525 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
527 2014-11-24 Joseph Myers <joseph@codesourcery.com>
530 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
531 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
533 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
534 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
536 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
538 * string/strncpy.c (strncpy): Improve performance by using memset.
540 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
542 * string/strcpy.c (strcpy):
543 Improve performance by using strlen and memcpy.
545 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
547 * string/strcoll_l.c (get_next_seq): __always_inline.
548 * string/strcoll_l.c (do_compare): __always_inline.
550 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
552 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
554 * include/mqueue.h: Likewise.
555 * include/stdlib.h: Likewise.
557 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
558 (get_null_defines): Adjust.
559 * sunrpc/Makefile: Adjust comment.
560 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
561 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
562 (CFLAGS-interp.c): Likewise.
563 (CFLAGS-ldconfig.c): Likewise.
564 (CPPFLAGS-.os): Likewise.
565 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
566 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
567 * extra-modules.mk (extra-modules.mk): Likewise.
568 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
569 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
570 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
571 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
572 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
573 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
574 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
575 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
576 * iconvdata/Makefile (CPPFLAGS): Likewise.
577 (cpp-srcs-left): Add libof for all iconvdata routines.
578 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
579 * include/assert.h: Likewise.
580 * include/ctype.h: Likewise.
581 * include/errno.h: Likewise.
582 * include/libc-symbols.h: Likewise.
583 * include/math.h: Likewise.
584 * include/netdb.h: Likewise.
585 * include/resolv.h: Likewise.
586 * include/stdio.h: Likewise.
587 * include/stdlib.h: Likewise.
588 * include/string.h: Likewise.
589 * include/sys/stat.h: Likewise.
590 * include/wctype.h: Likewise.
591 * intl/l10nflist.c: Likewise.
592 * libidn/idn-stub.c: Likewise.
593 * libio/libioP.h: Likewise.
594 * nptl/libc_multiple_threads.c: Likewise.
595 * nptl/pthreadP.h: Likewise.
596 * posix/regex_internal.h: Likewise.
597 * resolv/res_hconf.c: Likewise.
598 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
599 * sysdeps/arm/memmove.S: Likewise.
600 * sysdeps/arm/sysdep.h: Likewise.
601 * sysdeps/generic/_itoa.h: Likewise.
602 * sysdeps/generic/symbol-hacks.h: Likewise.
603 * sysdeps/gnu/errlist.awk: Likewise.
604 * sysdeps/gnu/errlist.c: Likewise.
605 * sysdeps/i386/i586/memcpy.S: Likewise.
606 * sysdeps/i386/i586/memset.S: Likewise.
607 * sysdeps/i386/i686/memcpy.S: Likewise.
608 * sysdeps/i386/i686/memmove.S: Likewise.
609 * sysdeps/i386/i686/mempcpy.S: Likewise.
610 * sysdeps/i386/i686/memset.S: Likewise.
611 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
612 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
613 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
614 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
615 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
616 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
617 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
618 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
619 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
620 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
621 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
622 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
623 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
624 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
625 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
626 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
627 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
628 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
629 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
630 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
631 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
632 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
633 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
634 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
635 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
636 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
637 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
638 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
639 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
640 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
641 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
642 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
644 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
645 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
646 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
647 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
648 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
649 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
650 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
651 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
652 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
653 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
654 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
655 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
656 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
657 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
658 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
659 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
660 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
661 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
662 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
663 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
664 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
665 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
666 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
667 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
668 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
669 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
670 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
671 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
672 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
673 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
674 * sysdeps/nptl/bits/libc-lock.h: Likewise.
675 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
676 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
677 * sysdeps/posix/closedir.c: Likewise.
678 * sysdeps/posix/opendir.c: Likewise.
679 * sysdeps/posix/readdir.c: Likewise.
680 * sysdeps/posix/rewinddir.c: Likewise.
681 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
682 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
683 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
684 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
685 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
686 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
687 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
688 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
689 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
690 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
691 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
692 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
693 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
694 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
695 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
696 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
697 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
698 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
699 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
700 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
701 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
702 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
703 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
704 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
705 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
706 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
707 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
708 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
709 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
711 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
712 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
713 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
716 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
717 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
718 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
719 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
720 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
721 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
722 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
723 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
724 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
725 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
726 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
727 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
728 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
729 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
730 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
731 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
732 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
733 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
734 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
735 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
736 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
737 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
738 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
739 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
740 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
741 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
742 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
743 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
744 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
745 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
746 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
747 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
748 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
749 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
750 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
751 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
752 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
753 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
754 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
755 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
756 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
757 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
758 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
759 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
760 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
761 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
762 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
763 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
764 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
765 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
766 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
767 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
768 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
769 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
770 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
771 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
772 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
773 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
774 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
775 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
776 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
777 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
778 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
779 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
780 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
781 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
782 * sysdeps/unix/alpha/sysdep.S: Likewise.
783 * sysdeps/unix/alpha/sysdep.h: Likewise.
784 * sysdeps/unix/make-syscalls.sh: Likewise.
785 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
786 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
787 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
788 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
789 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
790 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
791 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
792 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
793 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
794 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
795 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
796 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
797 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
798 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
799 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
800 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
801 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
802 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
803 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
804 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
805 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
806 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
807 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
808 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
809 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
810 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
811 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
814 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
815 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
816 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
817 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
819 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
820 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
823 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
824 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
825 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
826 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
827 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
828 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
829 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
830 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
832 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
834 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
835 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
836 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
837 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
838 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
839 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
840 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
841 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
843 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
844 * sysdeps/x86_64/memcpy.S: Likewise.
845 * sysdeps/x86_64/memmove.c: Likewise.
846 * sysdeps/x86_64/memset.S: Likewise.
847 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
848 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
849 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
850 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
851 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
852 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
853 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
854 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
855 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
856 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
857 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
858 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
859 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
860 * sysdeps/x86_64/multiarch/memset.S: Likewise.
861 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
862 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
863 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
864 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
865 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
866 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
867 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
868 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
869 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
870 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
871 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
872 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
873 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
874 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
875 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
876 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
877 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
878 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
879 * sysdeps/x86_64/strcmp.S: Likewise.
881 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
883 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
884 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
885 * elf/rtld-Rules: Likewise.
886 * elf/setup-vdso.h: Likewise.
887 * include/assert.h: Likewise.
888 * include/bits/stdlib-float.h: Likewise.
889 * include/errno.h: Likewise.
890 * include/sys/stat.h: Likewise.
891 * include/unistd.h: Likewise.
892 * sysdeps/aarch64/setjmp.S: Likewise.
893 * sysdeps/alpha/setjmp.S: Likewise.
894 * sysdeps/arm/__longjmp.S: Likewise.
895 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
896 * sysdeps/arm/setjmp.S: Likewise.
897 * sysdeps/arm/sysdep.h: Likewise.
898 * sysdeps/generic/_itoa.h: Likewise.
899 * sysdeps/generic/dl-sysdep.h: Likewise.
900 * sysdeps/generic/ldsodefs.h: Likewise.
901 * sysdeps/i386/dl-tls.h: Likewise.
902 * sysdeps/i386/setjmp.S: Likewise.
903 * sysdeps/m68k/setjmp.c: Likewise.
904 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
905 * sysdeps/mach/hurd/opendir.c: Likewise.
906 * sysdeps/posix/getcwd.c: Likewise.
907 * sysdeps/posix/opendir.c: Likewise.
908 * sysdeps/posix/profil.c: Likewise.
909 * sysdeps/powerpc/dl-procinfo.h: Likewise.
910 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
911 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
912 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
913 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
914 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
915 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
916 * sysdeps/s390/dl-tls.h: Likewise.
917 * sysdeps/s390/s390-32/setjmp.S: Likewise.
918 * sysdeps/s390/s390-64/setjmp.S: Likewise.
919 * sysdeps/sh/sh3/setjmp.S: Likewise.
920 * sysdeps/sh/sh4/setjmp.S: Likewise.
921 * sysdeps/unix/alpha/sysdep.h: Likewise.
922 * sysdeps/unix/arm/sysdep.S: Likewise.
923 * sysdeps/unix/i386/sysdep.S: Likewise.
924 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
925 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
926 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
927 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
928 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
929 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
930 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
931 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
932 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
933 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
934 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
935 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
936 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
939 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
940 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
941 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
942 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
943 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
944 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
946 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
947 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
948 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
949 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
951 * sysdeps/unix/x86_64/sysdep.S: Likewise.
952 * sysdeps/x86_64/setjmp.S: Likewise.
954 * include/math.h: Use IS_IN instead of IS_IN_libm.
955 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
956 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
957 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
958 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
959 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
960 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
961 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
962 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
963 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
964 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
965 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
966 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
967 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
968 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
969 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
970 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
971 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
972 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
973 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
974 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
975 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
976 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
977 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
978 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
979 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
980 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
981 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
982 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
983 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
984 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
985 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
986 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
987 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
998 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
999 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1000 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1001 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1002 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1003 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1009 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1010 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1011 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1012 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1013 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1014 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1015 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1016 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1017 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1018 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1019 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1020 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1021 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1022 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1024 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1026 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1027 * nptl/pthreadP.h: Likewise.
1028 * nptl_db/structs.def: Likewise.
1029 * sysdeps/arm/sysdep.h: Likewise.
1030 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1031 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1032 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1033 * sysdeps/unix/alpha/sysdep.h: Likewise.
1034 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1035 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1036 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1037 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1038 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1039 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1040 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1041 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1042 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1043 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1044 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1045 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1046 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1047 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1050 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1051 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1052 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1055 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1056 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1057 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1058 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1059 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1061 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1062 * nptl/pthreadP.h: Likewise.
1063 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1064 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1065 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1066 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1067 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1068 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1069 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1070 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1071 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1072 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1073 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1074 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1079 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1080 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1081 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1082 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1083 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1084 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1085 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1086 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1088 * dlfcn/dladdr.c: Use IS_IN.
1089 * dlfcn/dladdr1.c: Likewise.
1090 * dlfcn/dlclose.c: Likewise.
1091 * dlfcn/dlerror.c: Likewise.
1092 * dlfcn/dlinfo.c: Likewise.
1093 * dlfcn/dlmopen.c: Likewise.
1094 * dlfcn/dlopen.c: Likewise.
1095 * dlfcn/dlsym.c: Likewise.
1096 * dlfcn/dlvsym.c: Likewise.
1098 * include/ifaddrs.h: Use IS_IN.
1099 * inet/check_pf.c: Likewise.
1100 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1101 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1103 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1105 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1106 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1108 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1109 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1112 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1114 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1115 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1116 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1117 * include/libc-symbols.h (IS_IN_LIB): New macro.
1118 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1119 * include/netdb.h: Likewise.
1120 * include/stap-probe.h: Remove all uses of IN_LIB.
1122 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1123 instead of IN_MODULE.
1124 * include/libc-symbols.h (IN_MODULE): Define using
1126 (PASTE_NAME, PASTE_NAME1): New macros.
1127 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1129 (STAP_PROBE_ASM): Likewise.
1131 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1133 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1134 __mach_init in dlopened libc.
1136 2014-11-22 Mike Frysinger <vapier@gentoo.org>
1138 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1139 * sysdeps/arm/preconfigure: Regenerate.
1141 2014-11-21 Roland McGrath <roland@hack.frob.com>
1143 * nptl/pthread_create.c (__pthread_create_2_1): Set
1144 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1145 when copying values from IATTR into PD.
1147 2014-11-21 Will Newton <will.newton@linaro.org>
1148 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1150 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1151 Refactor inline-asm. Also add comment.
1153 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1154 ElfW macro instead of hardcoded Elf64 types.
1155 (la_aarch64_gnu_pltenter): Likewise.
1156 * sysdeps/aarch64/dl-machine.h
1157 (elf_machine_runtime_setup): Use ElfW(Addr).
1159 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1160 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1161 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1162 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1163 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1164 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1165 (R_AARCH64_TLS_DTPMOD): This.
1166 (R_AARCH64_TLS_DTPREL64): Rename to ...
1167 (R_AARCH64_TLS_DTPREL): This.
1168 (R_AARCH64_TLS_TPREL64): Rename to ...
1169 (R_AARCH64_TLS_TPREL): This.
1170 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1171 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1172 R_AARCH64_TLS_TPREL64.
1173 (elf_machine_rela): Likewise.
1175 2014-11-21 Torvald Riegel <triegel@redhat.com>
1177 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1178 by setting it to 0. 64b atomics are not supported currently.
1180 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1183 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1184 search domain names.
1186 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1190 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1192 * posix/tst-getaddrinfo5.c: New.
1193 * posix/Makefile (tests): Add it.
1195 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1199 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1200 after parsing line but before break_if_match.
1201 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1202 if there is a protocol mismatch.
1204 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1206 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1207 because the potential race is on the user-supplied stream.
1209 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1211 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1212 string literal if not passed a buffer.
1213 * manual/job.texi (ctermid): Update reasoning, note deviation
1214 from posix, suggest mtasurace when not passed a buffer, for
1215 future non-preliminary safety notes.
1217 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1219 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1220 of not passing it a buffer.
1221 Reported by Peng Haitao.
1223 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1225 * manual/Makefile ($(objpfx)stamp-summary): Require
1226 check-safety.sh to pass.
1227 * manual/check-safety.sh: Wish for verification that every
1228 @deftypefn and @deftypefun is followed by a @safety remark.
1230 2014-11-20 Roland McGrath <roland@hack.frob.com>
1232 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1234 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1235 PTHREAD_CANCEL_ASYNCHRONOUS.
1236 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1239 * nptl/default-sched.h: New file.
1240 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1241 * nptl/pthread_create.c: Include it.
1242 (__pthread_create_2_1): Use collect_default_sched instead of making
1243 Linux syscalls here directly.
1245 2014-11-20 Torvald Riegel <triegel@redhat.com>
1247 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1248 __pthread_once): Use C11 atomics.
1250 2014-11-20 Torvald Riegel <triegel@redhat.com>
1252 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1254 2014-11-20 Torvald Riegel <triegel@redhat.com>
1256 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1257 atomic_thread_fence_acquire, atomic_thread_fence_release,
1258 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1259 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1260 atomic_compare_exchange_weak_relaxed,
1261 atomic_compare_exchange_weak_acquire,
1262 atomic_compare_exchange_weak_release,
1263 atomic_exchange_acquire, atomic_exchange_release,
1264 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1265 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1266 atomic_fetch_and_acquire,
1267 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1269 2014-11-20 Torvald Riegel <triegel@redhat.com>
1271 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1272 USE_ATOMIC_COMPILER_BUILTINS): Define.
1273 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1274 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1275 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1276 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1277 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1278 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1279 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1280 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1281 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1282 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1283 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1284 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1285 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1286 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1287 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1288 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1289 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1290 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1291 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1292 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1293 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1294 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1295 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1296 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1297 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1298 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1299 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1300 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1301 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1302 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1303 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1304 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1305 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1306 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1307 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1308 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1309 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1310 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1311 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1312 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1314 2014-11-19 Roland McGrath <roland@hack.frob.com>
1316 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1317 the sched_priority value here. It was already checked when the user
1318 called pthread_attr_setschedparam.
1320 * nptl/tst-bad-schedattr.c: New file.
1321 * nptl/Makefile (tests): Add it.
1323 2014-11-19 Carlos O'Donell <carlos@redhat.com>
1324 Florian Weimer <fweimer@redhat.com>
1325 Joseph Myers <joseph@codesourcery.com>
1326 Adam Conrad <adconrad@0c3.net>
1327 Andreas Schwab <schwab@suse.de>
1328 Brooks <bmoses@google.com>
1331 * wordexp-test.c (__dso_handle): Add prototype.
1332 (__register_atfork): Likewise.
1333 (__app_register_atfork): New function.
1334 (registered_forks): New global.
1335 (register_fork): New function.
1336 (test_case): Add 3 new tests for WRDE_CMDSUB.
1337 (main): Call __app_register_atfork.
1338 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1339 fork count is non-zero fail the test.
1340 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1342 (parse_dollars): Remove check for WRDE_NOCMD.
1343 (parse_dquote): Likewise.
1345 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1347 * Makeconfig (built-modules): List non-library modules to be
1349 (module-cppflags): Include libc-modules.h for
1350 everything except shlib-versions.v.i.
1352 (before-compile): Add libc-modules.h.
1353 ($(common-objpfx)libc-modules.h,
1354 $(common-objpfx)libc-modules.stmp): New targets.
1355 (common-generated): Add libc-modules.h and libc-modules.stmp.
1356 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1357 * include/libc-symbols.h: Don't include libc-modules.h.
1358 * include/libc-modules.h: Remove file.
1359 * scripts/gen-libc-modules.awk: New script to generate
1361 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1362 Depend on libc-modules.stmp.
1364 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1366 * Makeconfig (in-module): Get value of libof set for the
1368 (CPPFLAGS): Use $(in-module).
1369 * Makerules: Don't suffix routine names for nonlib.
1370 * include/libc-modules.h: New file.
1371 * include/libc-symbols.h: Include libc-modules.h
1372 (IS_IN): New macro to replace IS_IN_* macros.
1373 * elf/Makefile: Set libof-* for each routine.
1374 * elf/rtld-Rules: Likewise.
1375 * extra-modules.mk: Likewise.
1376 * iconv/Makefile: Likewise.
1377 * iconvdata/Makefile: Likewise.
1378 * locale/Makefile: Likewise.
1379 * malloc/Makefile: Likewise.
1380 * nss/Makefile: Likewise.
1381 * sysdeps/gnu/Makefile: Likewise.
1382 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1383 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1384 * sysdeps/s390/s390-64/Makefile: Likewise.
1385 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1386 CPPFLAGS for nscd instead of nonlib.
1388 2014-11-18 Roland McGrath <roland@hack.frob.com>
1390 * nptl/createthread.c: New file.
1392 * nptl/createthread.c: Moved ...
1393 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1395 * nptl/createthread.c: Add proper top-line comment.
1396 (do_clone): Folded into ...
1397 (create_thread): ... here. Take new arguments STOPPED_START and
1398 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1399 increment __nptl_threads, do event-reporting logic, do
1400 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1401 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1402 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1403 just send SIGCANCEL.
1404 * nptl/pthread_create.c: Forward-declare create_thread before
1405 including createthread.c.
1406 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1407 declaration, and new macro START_THREAD_SELF to replace argument.
1408 Remove return statement.
1409 (report_thread_creation): New function.
1410 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1411 synchronization logic, and __nptl_nthreads increment here, around
1412 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1413 PD->parent_cancelhandling here, before create_thread. When
1414 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1415 __deallocate_stack, and ENOMEM translation here.
1417 2014-11-18 Joseph Myers <joseph@codesourcery.com>
1420 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1421 (mptwo): Rename to __mptwo.
1422 (__inv): Use __mptwo instead of mptwo.
1423 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1424 (mptwo): Rename to __mptwo.
1425 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1426 of mpone and __mptwo instead of mptwo.
1427 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1430 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1431 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1432 of mpone and __mptwo instead of mptwo.
1433 (__mpranred): Use __mpone instead of mpone.
1434 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1436 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1437 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1438 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1439 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1440 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1441 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1442 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1443 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1444 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1445 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1446 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1447 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1448 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1449 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1450 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1451 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1452 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1453 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1454 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1456 2014-11-18 Tom de Vries <tom@codesoucery.com>
1458 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1459 replace BSD Handler xref with BSD Signal Handling.
1461 2014-11-17 Richard Henderson <rth@redhat.com>
1463 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1464 (_FP_PACK_RAW_2): Remove.
1465 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1466 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1467 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1468 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1469 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1470 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1471 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1472 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1473 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1474 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1475 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1476 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1477 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1478 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1479 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1480 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1482 2014-11-14 Roland McGrath <roland@hack.frob.com>
1484 * signal/signal.h [__USE_MISC]
1485 (struct sigvec): Remove type.
1486 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1487 (sigvec): Remove declaration.
1488 * sysdeps/posix/sigvec.c: Moved ...
1489 * signal/sigvec.c: ... here, replacing old file.
1490 (struct sigvec): New type, copied from old signal.h definition.
1491 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1492 (__sigvec): Convert definition to prototype.
1493 (sigvec): Replace weak_alias with compat_symbol.
1494 * signal/Versions (libc: GLIBC_2.21): New version set.
1495 * include/signal.h: Remove __sigvec declaration.
1496 * sysdeps/unix/bsd/sigvec.c: Remove file.
1497 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1498 * manual/signal.texi (BSD Handler): Remove subsection.
1499 Move siginterrupt up to ...
1500 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1501 (Blocking in BSD): Fold subsection into its parent.
1502 * NEWS: Mention sigvec removal.
1504 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1506 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1507 (DLA_FMS): Make definition conditional only on [__FMA4__].
1508 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1511 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1512 Make definition conditional only on [PROF].
1513 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1515 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1516 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1518 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1520 * include/signal.h (__sigpause): Move declaration above call to
1522 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1524 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1525 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1527 2014-11-14 David S. Miller <davem@davemloft.net>
1529 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1530 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1532 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1534 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1535 * configure: Regenerated.
1536 * manual/install.texi (Tools for Compilation): Document a
1537 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1538 compiler verified to work.
1539 * INSTALL: Regenerated.
1541 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1542 redeclare with asm name.
1543 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1544 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1545 including <string.h>.
1546 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1547 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1548 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1549 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1550 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1551 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1552 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1554 2014-11-13 Joseph Myers <joseph@codesourcery.com>
1556 * stdlib/strtol.c (__strtol): Use prototype definition.
1559 * stdlib/strtol.c (SYM__): New macro.
1561 (__strtol): Likewise.
1562 (strtol): Rename to __strtol and define as weak alias of
1563 __strtol. Use libc_hidden_weak.
1565 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1567 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1568 Use numbered labels in inline assembly.
1570 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1572 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1573 Add setjmp LIBC_PROBE.
1574 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1576 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1577 Add longjmp, longjmp_target LIBC_PROBE.
1578 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1581 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1583 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1584 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1585 to get rid of unused variable warning.
1587 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1589 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1590 Check for unwind_backtrace == NULL only in SHARED case.
1591 (__backchain_backtrace): Compile only in SHARED case.
1592 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1594 (__backchain_backtrace): Declare as static.
1596 2014-11-12 Roland McGrath <roland@hack.frob.com>
1598 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1599 (__libc_multiple_threads_ptr): Variable moved ...
1600 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1602 2014-11-12 Joseph Myers <joseph@codesourcery.com>
1604 * conform/GlibcConform.pm: New file.
1605 * conform/conformtest.pl: Use GlibcConform module.
1606 * conform/linknamespace.pl: New file.
1607 * conform/list-header-symbols.pl: Likewise.
1608 * conform/Makefile (linknamespace-symlists-base): New variable.
1609 (linknamespace-symlists-tests): Likewise.
1610 (linknamespace-header-base): Likewise.
1611 (linknamespace-header-tests): Likewise.
1612 (tests-special): Add new tests.
1613 ($(linknamespace-symlists-tests)): New rule.
1614 (linknamespace-libs): New variable.
1615 ($(objpfx)symlist-stdlibs): New rule.
1616 ($(linknamespace-header-tests)): Likewise.
1617 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1618 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1619 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1620 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1621 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1622 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1623 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1624 (test-xfail-ISO/math.h/linknamespace): Likewise.
1625 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1626 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1627 (test-xfail-ISO/time.h/linknamespace): Likewise.
1628 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1629 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1630 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1631 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1632 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1633 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1634 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1635 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1636 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1637 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1638 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1639 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1640 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1641 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1642 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1643 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1644 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1645 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1646 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1647 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1648 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1649 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1650 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1651 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1652 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1653 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1654 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1655 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1656 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1657 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1658 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1659 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1660 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1661 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1662 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1663 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1664 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1665 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1666 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1667 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1668 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1669 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1670 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1671 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1672 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1673 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1674 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1675 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1676 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1677 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1678 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1679 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1680 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1681 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1682 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1683 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1684 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1685 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1686 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1687 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1688 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1689 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1690 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1691 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1692 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1693 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1694 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1695 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1696 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1697 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1698 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1699 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1700 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1701 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1702 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1703 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1704 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1705 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1706 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1707 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1708 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1709 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1710 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1711 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1712 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1713 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1714 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1715 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1716 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1717 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1718 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1719 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1720 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1721 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1722 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1723 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1724 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1725 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1726 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1727 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1728 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1729 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1730 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1731 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1732 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1733 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1734 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1735 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1736 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1737 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1738 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1739 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1740 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1741 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1742 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1743 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1744 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1745 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1746 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1747 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1748 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1749 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1750 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1751 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1752 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1753 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1754 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1755 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1756 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1757 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1758 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1759 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1760 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1761 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1762 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1763 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1764 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1765 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1766 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1767 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1768 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1769 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1770 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1771 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1772 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1773 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1774 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1775 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1776 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1777 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1780 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1784 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1785 (memmem): Rename to __memmem and define as weak alias of
1786 __memmem. Use libc_hidden_weak.
1787 (__memmem): Use libc_hidden_def.
1788 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1789 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1793 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1794 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1795 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1796 and define as weak alias of __fgets_unlocked. Use
1798 (__fgets_unlocked): Use libc_hidden_def.
1799 * include/stdio.h (__fgets_unlocked): Declare. Use
1801 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1802 __fgets_unlocked instead of fgets_unlocked.
1803 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1804 (GET_NPROCS_CONF_PARSER): Likewise.
1805 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1806 (GET_NPROCS_CONF_PARSER): Likewise.
1809 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1810 weak alias of __wmemset. Use libc_hidden_weak.
1811 (__wmemset): Use libc_hidden_def.
1812 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1813 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1817 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1818 with asm name __mempcpy.
1819 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1822 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1823 and define as weak alias of __rawmemchr.
1824 (__rawmemchr): Do not define as strong alias of rawmemchr.
1827 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1829 (qsort): Call __qsort_r instead of qsort_r.
1830 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1831 (__qsort_r): Declare. Call libc_hidden_proto.
1832 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1834 * nscd/gai.c (__qsort_r): Define to qsort_r.
1835 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1836 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1837 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1840 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1841 define as weak alias of __malloc_info.
1844 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1845 as weak alias of __rewinddir. Don't use libc_hidden_def.
1846 (__rewinddir): Use libc_hidden_def.
1847 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1848 as weak alias of __rewinddir. Don't use libc_hidden_def.
1849 (__rewinddir): Use libc_hidden_def.
1850 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1851 weak alias of __rewinddir. Don't use libc_hidden_def.
1852 (__rewinddir): Use libc_hidden_def.
1853 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1854 (__rewinddir): Use libc_hidden_proto.
1855 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1857 (__getcwd): Use __rewinddir instead of rewinddir.
1860 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1861 alias of __fileno. Use libc_hidden_weak.
1862 (__fileno): Use libc_hidden_def.
1863 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1864 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1866 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1868 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1869 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1871 (fread_unlocked): Don't use libc_hidden_ver.
1872 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1873 and define as weak alias of __fread_unlocked. Don't use
1875 (__fread_unlocked): Use libc_hidden_def.
1876 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1877 (ftello): Don't use libc_hidden_proto.
1878 (__ftello): Declare. Use libc_hidden_proto.
1879 (fread_unlocked): Don't use libc_hidden_proto.
1880 (__fread_unlocked): Declare. Use libc_hidden_proto.
1881 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1882 and __ftello instead of fileno, fread_unlocked and ftello.
1884 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1886 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1888 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1890 (_dl_start_user): Likewise.
1891 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1893 2014-11-12 Carlos O'Donell <carlos@redhat.com>
1894 Siddhesh Poyarekar <siddhesh@redhat.com>
1896 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1897 Move argv and envp down instead of moving argc up.
1898 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1900 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
1903 * test-skeleton.c (main): Return successful if one of
1904 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1905 * string/tst-strcoll-overflow.c: Define expected status.
1907 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1910 * locale/iso-639.def: Define Bhili and Tulu language codes.
1912 2014-11-11 Alan Hayward <alan.hayward@arm.com>
1914 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1916 2014-11-10 Renlin Li <Renlin.Li@arm.com>
1919 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1921 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1923 * configure.ac: Updated check of minimal required version to
1925 * manual/install.texi (Tools for Compilation): Updated version
1927 * configure: Regenerated.
1928 * INSTALL: Likewise.
1930 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1932 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1935 2014-11-07 Joseph Myers <joseph@codesourcery.com>
1937 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1938 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1939 (__waitpid): Don't define as alias. Use libc_hidden_def not
1941 (waitpid): Define as alias of __waitpid.
1942 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1944 (__waitpid): Don't define as alias. Use libc_hidden_def not
1946 (waitpid): Define as alias of __waitpid.
1947 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1948 __libc_waitpid alias.
1949 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1950 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1952 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1953 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1954 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1956 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1958 (__waitpid): Don't define as alias. Use libc_hidden_def not
1960 (waitpid): Define as alias of __waitpid.
1962 2014-11-06 Carlos O'Donell <carlos@redhat.com>
1964 * manual/llio.texi: Add comment that write safety has been
1967 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1968 (localplt-build-dso): Add elf/ld.so.
1969 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1970 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1973 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1978 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1979 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1980 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1981 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1982 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1983 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1984 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1985 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1986 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1987 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1988 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1990 2014-11-05 Joseph Myers <joseph@codesourcery.com>
1993 * include/libc-symbols.h (INTUSE): Remove macro.
1995 (INTVARDEF): Likewise.
1996 (_INTVARDEF): Likewise.
1997 (INTDEF2): Likewise.
1998 (INTVARDEF2): Likewise.
1999 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2000 rtld_hidden_def instead of INTVARDEF.
2001 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2002 (_dl_starting_up_internal): Remove declaration.
2003 (_dl_starting_up): Use rtld_hidden_proto.
2004 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2006 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2007 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2009 * elf/dl-writev.h (_dl_writev): Likewise.
2010 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2011 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2012 _dl_starting_up_internal.
2014 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2016 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2019 2014-11-05 Will Newton <will.newton@linaro.org>
2021 * benchtests/Makefile: (bench-malloc): Add malloc thread
2022 scalability benchmark.
2023 * benchtests/bench-malloc-threads.c: New file.
2025 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
2027 * sysdeps/aarch64/strchrnul.S: New file.
2029 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2031 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2033 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2035 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2037 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2039 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2041 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2044 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
2046 * catgets/test-gencat.c: Use test-skeleton.c.
2047 * catgets/tst-catgets.c: Likewise.
2048 * csu/tst-empty.c: Likewise.
2049 * elf/tst-audit2.c: Likewise.
2050 * elf/tst-global1.c: Likewise.
2051 * elf/tst-pathopt.c: Likewise.
2052 * elf/tst-piemod1.c: Likewise.
2053 * elf/tst-tls10.c: Likewise.
2054 * elf/tst-tls11.c: Likewise.
2055 * elf/tst-tls12.c: Likewise.
2056 * gnulib/tst-gcc.c: Likewise.
2057 * iconvdata/tst-e2big.c: Likewise.
2058 * iconvdata/tst-loading.c: Likewise.
2059 * iconv/tst-iconv1.c: Likewise.
2060 * iconv/tst-iconv2.c: Likewise.
2061 * inet/test-inet6_opt.c: Likewise.
2062 * inet/tst-gethnm.c: Likewise.
2063 * inet/tst-network.c: Likewise.
2064 * inet/tst-ntoa.c: Likewise.
2065 * intl/tst-codeset.c: Likewise.
2066 * intl/tst-gettext2.c: Likewise.
2067 * intl/tst-gettext3.c: Likewise.
2068 * intl/tst-ngettext.c: Likewise.
2069 * intl/tst-translit.c: Likewise.
2070 * io/test-stat.c: Likewise.
2071 * libio/test-fmemopen.c: Likewise.
2072 * libio/tst-freopen.c: Likewise.
2073 * libio/tst-sscanf.c: Likewise.
2074 * libio/tst-ungetwc1.c: Likewise.
2075 * libio/tst-ungetwc2.c: Likewise.
2076 * libio/tst-widetext.c: Likewise.
2077 * localedata/tst-ctype.c: Likewise.
2078 * localedata/tst-digits.c: Likewise.
2079 * localedata/tst-leaks.c: Likewise.
2080 * localedata/tst-mbswcs1.c: Likewise.
2081 * localedata/tst-mbswcs2.c: Likewise.
2082 * localedata/tst-mbswcs3.c: Likewise.
2083 * localedata/tst-mbswcs4.c: Likewise.
2084 * localedata/tst-mbswcs5.c: Likewise.
2085 * localedata/tst-setlocale.c: Likewise.
2086 * localedata/tst-trans.c: Likewise.
2087 * localedata/tst-wctype.c: Likewise.
2088 * localedata/tst-xlocale1.c: Likewise.
2089 * login/tst-grantpt.c: Likewise.
2090 * malloc/tst-calloc.c: Likewise.
2091 * malloc/tst-malloc.c: Likewise.
2092 * malloc/tst-mallocstate.c: Likewise.
2093 * malloc/tst-mcheck.c: Likewise.
2094 * malloc/tst-mtrace.c: Likewise.
2095 * malloc/tst-obstack.c: Likewise.
2096 * math/atest-exp2.c: Likewise.
2097 * math/atest-exp.c: Likewise.
2098 * math/atest-sincos.c: Likewise.
2099 * math/test-matherr.c: Likewise.
2100 * math/test-misc.c: Likewise.
2101 * math/test-powl.c: Likewise.
2102 * math/tst-definitions.c: Likewise.
2103 * misc/tst-dirname.c: Likewise.
2104 * misc/tst-efgcvt.c: Likewise.
2105 * misc/tst-fdset.c: Likewise.
2106 * misc/tst-hsearch.c: Likewise.
2107 * misc/tst-mntent2.c: Likewise.
2108 * nptl/tst-sem7.c: Likewise.
2109 * nptl/tst-sem8.c: Likewise.
2110 * nptl/tst-sem9.c: Likewise.
2111 * nss/test-netdb.c: Likewise.
2112 * posix/tst-fnmatch.c: Likewise.
2113 * posix/tst-getlogin.c: Likewise.
2114 * posix/tst-gnuglob.c: Likewise.
2115 * posix/tst-mmap.c: Likewise.
2116 * pwd/tst-getpw.c: Likewise.
2117 * resolv/tst-inet_ntop.c: Likewise.
2118 * rt/tst-timer.c: Likewise.
2119 * stdio-common/test-fseek.c: Likewise.
2120 * stdio-common/test-popen.c: Likewise.
2121 * stdio-common/test-vfprintf.c: Likewise.
2122 * stdio-common/tst-cookie.c: Likewise.
2123 * stdio-common/tst-fileno.c: Likewise.
2124 * stdio-common/tst-gets.c: Likewise.
2125 * stdio-common/tst-obprintf.c: Likewise.
2126 * stdio-common/tst-perror.c: Likewise.
2127 * stdio-common/tst-sprintf2.c: Likewise.
2128 * stdio-common/tst-sprintf3.c: Likewise.
2129 * stdio-common/tst-sprintf.c: Likewise.
2130 * stdio-common/tst-swprintf.c: Likewise.
2131 * stdio-common/tst-tmpnam.c: Likewise.
2132 * stdio-common/tst-unbputc.c: Likewise.
2133 * stdio-common/tst-wc-printf.c: Likewise.
2134 * stdlib/tst-environ.c: Likewise.
2135 * stdlib/tst-fmtmsg.c: Likewise.
2136 * stdlib/tst-limits.c: Likewise.
2137 * stdlib/tst-rand48-2.c: Likewise.
2138 * stdlib/tst-rand48.c: Likewise.
2139 * stdlib/tst-random2.c: Likewise.
2140 * stdlib/tst-random.c: Likewise.
2141 * stdlib/tst-strtol.c: Likewise.
2142 * stdlib/tst-strtoll.c: Likewise.
2143 * stdlib/tst-tls-atexit.c: Likewise.
2144 * stdlib/tst-xpg-basename.c: Likewise.
2145 * string/test-ffs.c: Likewise.
2146 * string/tst-bswap.c: Likewise.
2147 * string/tst-inlcall.c: Likewise.
2148 * string/tst-strtok.c: Likewise.
2149 * string/tst-strxfrm.c: Likewise.
2150 * sysdeps/x86_64/tst-audit10.c: Likewise.
2151 * sysdeps/x86_64/tst-audit3.c: Likewise.
2152 * sysdeps/x86_64/tst-audit4.c: Likewise.
2153 * sysdeps/x86_64/tst-audit5.c: Likewise.
2154 * time/tst-ftime_l.c: Likewise.
2155 * time/tst-getdate.c: Likewise.
2156 * time/tst-mktime3.c: Likewise.
2157 * time/tst-mktime.c: Likewise.
2158 * time/tst-posixtz.c: Likewise.
2159 * time/tst-strptime2.c: Likewise.
2160 * time/tst-strptime3.c: Likewise.
2161 * wcsmbs/tst-btowc.c: Likewise.
2162 * wcsmbs/tst-mbrtowc.c: Likewise.
2163 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2164 * wcsmbs/tst-wchar-h.c: Likewise.
2165 * wcsmbs/tst-wcpncpy.c: Likewise.
2166 * wcsmbs/tst-wcrtomb.c: Likewise.
2167 * wcsmbs/tst-wcsnlen.c: Likewise.
2168 * wcsmbs/tst-wcstof.c: Likewise.
2170 2014-11-04 Joseph Myers <joseph@codesourcery.com>
2173 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2175 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2177 (_dl_mcount): Use rtld_hidden_proto.
2178 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2180 * elf/rtld.c (_rtld_global_ro): Likewise.
2183 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2184 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2185 of _dl_init_internal.
2186 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2187 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2188 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2189 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2190 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2191 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2192 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2193 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2194 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2195 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2196 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2197 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2198 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2199 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2200 * sysdeps/tile/dl-start.S (_start): Likewise.
2201 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2202 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2205 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2206 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2207 (rtld_progname): Make macro definition unconditional.
2208 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2210 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2211 (dl_main): Likewise.
2212 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2213 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2214 instead of _dl_argv_internal.
2215 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2216 __GI__dl_argv instead of INTUSE(_dl_argv).
2217 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2218 __GI__dl_argv instead of _dl_argv_internal.
2220 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2221 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2223 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2224 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2226 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2227 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2229 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2230 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2232 2014-11-04 Andreas Schwab <schwab@suse.de>
2234 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2236 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2238 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2239 mtvsrd instruction in binary form.
2241 2014-11-03 Andreas Schwab <schwab@suse.de>
2244 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2245 for less than MB_LEN_MAX use a local buffer of that size.
2246 * libio/tst-fputws.c: New file.
2247 * libio/Makefile (tests): Add tst-fputws.
2249 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2251 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2252 the size of the fpu_fr.fpu_dregs[] array.
2254 2014-11-01 Joseph Myers <joseph@codesourcery.com>
2256 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2257 (__nanosleep): Do not define as alias.
2258 (nanosleep): Define as alias of __nanosleep.
2259 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2260 __libc_nanosleep name.
2262 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2264 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2265 install.texi in comment.
2267 2014-10-31 Torvald Riegel <triegel@redhat.com>
2269 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2270 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2271 ... add here and use lwsync or sync ...
2272 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2273 ... and add here using lwsync.
2275 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2277 * elf/dl-machine-reject-phdr.h: New file.
2278 * elf/dl-load.c: #include that.
2279 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2280 if that returned true.
2282 2014-10-31 Roland McGrath <roland@hack.frob.com>
2285 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2286 gen-as-const-headers chunk. Add a big scare comment after the last
2287 safe place to touch before-compile.
2289 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2291 * manual/install.texi (Tools for Compilation): Update autoconf
2292 version requirements.
2293 * INSTALL: Regenerated.
2295 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2296 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2297 (__libc_pselect): Likewise.
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2305 2014-10-31 Torvald Riegel <triegel@redhat.com>
2307 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2308 correct barrier instruction.
2309 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2311 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2314 2014-10-30 Roland McGrath <roland@hack.frob.com>
2316 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2317 after defining inlines. Instead, just use parens to defeat macro
2318 expansion of __isctype in its declaration.
2320 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2322 * include/sys/uio.h (__libc_readv): Remove declaration.
2323 (__libc_writev): Likewise.
2324 * misc/readv.c (__libc_readv): Rename to __readv.
2325 (__readv): Do not define as alias.
2326 (readv): Define as alias of __readv.
2327 * misc/writev.c (__libc_writev): Rename to __writev.
2328 (__writev): Do not define as alias.
2329 (writev): Define as alias of __writev.
2330 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2331 (__readv): Do not define as alias.
2332 (readv): Define unconditionally as alias of __readv.
2333 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2334 (__writev): Do not define as alias.
2335 (writev): Define unconditionally as alias of __writev.
2336 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2338 (writev): Do not define __libc_writev name.
2340 2014-10-30 Roland McGrath <roland@hack.frob.com>
2342 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2343 (convert_charseq): New function, broken out of ...
2344 (use_from_charmap): ... here. Call it.
2345 (use_to_charmap): Use convert_charseq and free instead of duplicating
2346 its code with a variable-length stack struct.
2348 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2350 * include/fcntl.h (__libc_creat): Remove declaration.
2351 * io/creat.c (__libc_creat): Rename to creat.
2352 (creat): Do not define as alias.
2353 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2354 of creat instead of __libc_creat.
2355 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2357 (creat): Do not define as alias.
2358 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2360 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2362 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2365 2014-10-29 Carlos O'Donell <carlos@redhat.com>
2367 * manual/llio.texi: Add comments discussing why write() may be
2368 considered MT-unsafe on Linux.
2370 2014-10-28 Carlos O'Donell <carlos@redhat.com>
2372 * dl-load.c (local_strdup): Remove.
2373 (expand_dynamic_string_token): Use __strdup.
2374 (decompose_rpath): Likewise.
2375 (_dl_map_object): Likewise.
2377 2014-10-28 Joseph Myers <joseph@codesourcery.com>
2380 * sysdeps/generic/unwind-dw2-fde.c
2381 (__register_frame_info_bases_internal): Do not declare.
2382 (__register_frame_info_table_bases_internal): Likewise.
2383 (__deregister_frame_info_bases_internal): Likewise.
2384 (__register_frame_info_bases): Declare and use hidden_proto before
2385 definition. Use hidden_def instead of INTDEF.
2386 (__register_frame_info_table_bases): Likewise.
2387 (__deregister_frame_info_bases): Likewise.
2388 (__register_frame_info): Do not use INTUSE.
2389 (__register_frame): Likewise.
2390 (__register_frame_info_table): Likewise.
2391 (__register_frame_table): Likewise.
2392 (__deregister_frame_info): Likewise.
2393 (__deregister_frame): Likewise.
2395 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2397 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2398 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2400 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2402 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2405 2014-10-27 Joseph Myers <joseph@codesourcery.com>
2408 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2409 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2410 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2411 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2412 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2413 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2414 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2415 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2416 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2417 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2418 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2419 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2420 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2422 (setfsuid): Likewise.
2423 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2424 (setfsuid): Likewise.
2425 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2426 (setfsuid): Likewise.
2427 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2429 (setfsuid): Likewise.
2430 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2431 (setfsuid): Likewise.
2432 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2434 (setfsuid): Likewise.
2436 2014-10-27 Andreas Schwab <schwab@suse.de>
2439 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2440 check for Slow_SSE4_2 feature bit.
2441 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2442 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2443 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2444 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2446 2014-10-24 Roland McGrath <roland@hack.frob.com>
2448 * configure.ac: Validate compiler version with a empirical test of
2449 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2451 * configure: Regenerated.
2453 * inet/htons.c (htons): Prototypify.
2454 * inet/htonl.c (htonl): Likewise.
2456 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2458 * string/strncat.c (strncat): Improve performance by using strlen.
2460 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2462 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2464 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2466 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2467 Call libc_fetestexcept_aarch64.
2469 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2471 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2472 Call libc_feholdexcept_aarch64.
2474 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2476 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2477 Call get_rounding_mode.
2479 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2481 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2484 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2486 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2489 2014-10-24 Joseph Myers <joseph@codesourcery.com>
2492 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2493 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2494 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2495 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2496 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2497 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2498 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2499 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2500 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2501 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2502 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2503 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2504 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2505 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2506 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2507 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2508 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2509 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2510 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2511 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2512 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2513 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2514 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2515 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2516 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2517 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2518 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2519 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2520 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2521 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2522 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2523 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2524 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2525 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2526 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2527 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2528 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2529 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2531 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2532 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2534 (geteuid): Likewise.
2537 (getresgid): Likewise.
2538 (getresuid): Likewise.
2539 (getgroups): Likewise.
2540 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2541 (geteuid): Likewise.
2544 (getresgid): Likewise.
2545 (getresuid): Likewise.
2546 (getgroups): Likewise.
2547 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2548 (geteuid): Likewise.
2551 (getresgid): Likewise.
2552 (getresuid): Likewise.
2553 (getgroups): Likewise.
2554 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2556 (geteuid): Likewise.
2559 (getresgid): Likewise.
2560 (getresuid): Likewise.
2561 (getgroups): Likewise.
2562 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2563 (geteuid): Likewise.
2566 (getresgid): Likewise.
2567 (getresuid): Likewise.
2568 (getgroups): Likewise.
2569 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2571 (geteuid): Likewise.
2574 (getgroups): Likewise.
2577 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2578 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2579 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2580 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2581 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2582 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2583 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2584 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2585 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2586 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2587 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2588 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2589 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2591 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2594 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2598 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2601 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2606 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2608 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2611 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2613 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2616 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2618 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2619 Remove unused include.
2621 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2623 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2624 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2625 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2626 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2628 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2629 Helge Deller <deller@gmx.de>
2632 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2633 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2634 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2636 2014-10-23 Joseph Myers <joseph@codesourcery.com>
2639 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2640 Remove macro definition.
2641 (__ashrdi3_v_glibc20): Likewise.
2642 (__lshrdi3_v_glibc20): Likewise.
2643 (__cmpdi2_v_glibc20): Likewise.
2644 (__ucmpdi2_v_glibc20): Likewise.
2645 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2646 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2647 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2648 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2649 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2650 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2652 2014-10-22 Roland McGrath <roland@hack.frob.com>
2654 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2655 old GNU extension [0] syntax.
2656 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2657 alloca rather than an array member with variable length.
2658 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2659 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2660 (parse_opt): ... here. Likewise use alloca there.
2661 Validate the -i argument before checking for rootness.
2662 (send_shutdown): New function, broken out of ...
2663 (parse_opt): ... here.
2665 2014-10-22 Roland McGrath <roland@hack.frob.com>
2667 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2668 macro to get at the _rt_local_ro field.
2669 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2670 ([PIC] case) or _dl_hwcap ([!PIC] case).
2671 * sysdeps/arm/setjmp.S: Likewise.
2673 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2674 * sysdeps/arm/configure.ac: New check to define it.
2675 * sysdeps/arm/configure: Regenerated.
2676 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2677 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2678 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2679 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2680 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2681 Use move/movt pair instead of a load.
2682 (LDST_GLOBAL): Macro removed.
2683 (LDR_GLOBAL): New macro replaces it.
2684 (LDR_HIDDEN): New macro.
2685 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2686 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2688 * setjmp/tst-setjmp-static.c: New file.
2689 * setjmp/Makefile (tests): Add it.
2690 (tests-static): New variable.
2692 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2695 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2697 2014-10-21 Joseph Myers <joseph@codesourcery.com>
2700 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2702 2014-10-21 Roland McGrath <roland@hack.frob.com>
2704 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2706 2014-10-20 Roland McGrath <roland@hack.frob.com>
2708 * io/fts.c (dirent_not_directory): New function.
2709 (fts_build): Call it.
2711 2014-10-20 Roland McGrath <roland@hack.frob.com>
2713 * nptl/version.c (__nptl_main): Use normal __write rather than
2715 (banner): Update copyright years.
2717 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2719 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2720 * nptl/pthread_cond_timedwait.c: Likewise.
2721 * nptl/pthread_mutex_timedlock.c: Likewise.
2722 * nptl/sem_timedwait.c: Likewise.
2724 * sysdeps/nptl/bits/libc-lock.h
2725 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2726 (__libc_lock_init_recursive): Return void, not 0.
2727 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2728 (__libc_rwlock_init): Likewise.
2729 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2731 2014-10-20 Torvald Riegel <triegel@redhat.com>
2734 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2735 (__pthread_once_slow): ... here.
2736 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2737 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2739 2014-10-20 Torvald Riegel <triegel@redhat.com>
2742 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2743 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2744 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2745 * nptl/pthread_once.c (__pthread_once): Likewise.
2748 2014-10-20 Joseph Myers <joseph@codesourcery.com>
2751 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2753 (writev): Use __libc_writev as strong name.
2754 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2755 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2757 2014-10-17 Roland McGrath <roland@hack.frob.com>
2759 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2761 * sysdeps/i386/nptl/tls.h
2762 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2763 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2765 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2766 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2767 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2768 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2769 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2770 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2772 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2773 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2775 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2777 (__pthread_mutex_init): ... here. Call it.
2778 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2779 Conditionalize PI cases on [__NR_futex].
2780 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2781 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2782 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2784 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2785 conditional on [SIGSETXID].
2786 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2787 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2788 is defined. Likewise for SIGSETXID.
2789 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2790 Conditionalize definitions on [SIGSETXID].
2791 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2792 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2793 unblocking on [SIGCANCEL].
2795 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2796 [__NR_set_robust_list].
2798 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2800 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2801 (do_compare): Likewise.
2803 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
2806 * string/strcoll_l.c: Don't include stdio.h.
2807 (coll_seq): Remove members idxarr and rulearr.
2808 (get_next_seq_cached): Remove function.
2809 (get_next_seq): Likewise.
2810 (get_next_seq_nocache): Rename to get_next_seq.
2811 (do_compare): Remove function.
2812 (do_compare_nocache): Rename to do_compare.
2813 (STRCOLL): Remove weight and rules cache.
2815 2014-10-16 Roland McGrath <roland@hack.frob.com>
2817 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2818 * sysdeps/arm/sfp-machine.h: ... to here.
2819 * sysdeps/arm/Implies: Remove arm/soft-fp.
2821 2014-10-14 Joseph Myers <joseph@codesourcery.com>
2823 * conform/data/sys/utsname.h-data (*_t): Allow.
2824 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2825 [POSIX] (WEXITED): Do not expect constant.
2826 [POSIX] (WSTOPPED): Likewise.
2827 [POSIX] (WNOHANG): Likewise.
2828 [POSIX] (WNOWAIT): Likewise.
2829 [POSIX] (siginfo_t): Do not expect type or elements.
2830 [POSIX] (pid_t): Do not expect type.
2831 [POSIX] (signal.h): Do not allow header.
2832 [POSIX] (sys/resource.h): Likewise.
2833 [POSIX] (si_*): Do not allow pattern.
2834 [POSIX] (W*): Likewise.
2835 [POSIX] (P_*): Likewise.
2836 [POSIX] (BUS_*): Likewise.
2837 [POSIX] (CLD_*): Likewise.
2838 [POSIX] (FPE_*): Likewise.
2839 [POSIX] (ILL_*): Likewise.
2840 [POSIX] (POLL_*): Likewise.
2841 [POSIX] (SEGV_*): Likewise.
2842 [POSIX] (SI_*): Likewise.
2843 [POSIX] (TRAP_*): Likewise.
2844 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2847 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2850 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2851 infinite loop when __recvmsg returns 0.
2853 2014-10-10 Joseph Myers <joseph@codesourcery.com>
2855 * CANCEL-FCT-WAIVE: Remove file.
2856 * CANCEL-FILE-WAIVE: Likewise.
2859 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2860 instead of INTVARDEF.
2861 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2862 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2863 rtld_hidden_data_def instead of INTVARDEF.
2864 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2865 * elf/dl-deps.c (expand_dst): Likewise.
2866 * elf/dl-load.c (_dl_dst_count): Likewise.
2867 (_dl_dst_substitute): Likewise.
2868 (decompose_rpath): Likewise.
2869 (_dl_init_paths): Likewise.
2870 (open_path): Likewise.
2871 (_dl_map_object): Likewise.
2872 * elf/rtld.c (dl_main): Likewise.
2873 (process_dl_audit): Likewise.
2874 (process_envvars): Likewise.
2875 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2877 (__libc_enable_secure): Use rtld_hidden_proto.
2879 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2882 (add_path): New function broken out of _dl_rtld_di_serinfo.
2883 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2885 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2887 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2888 parentheses around macro arguments.
2889 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2890 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2891 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2892 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2893 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2894 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2895 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2896 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2897 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2898 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2899 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2900 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2901 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2902 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2903 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2904 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2905 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2906 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2907 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2908 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2909 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2910 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2911 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2912 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2913 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2914 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2915 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2916 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2917 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2918 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2919 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2920 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2921 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2922 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2923 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2924 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2926 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2927 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2928 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2929 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2930 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2931 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2932 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2933 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2934 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2935 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2936 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2937 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2938 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2939 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2940 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2941 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2942 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2943 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2944 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2945 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2946 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2947 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2948 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2949 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2950 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2951 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2952 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2953 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2954 (_FP_FRAC_SRS_1): Likewise.
2955 (_FP_FRAC_CLZ_1): Likewise.
2956 (_FP_MUL_MEAT_1_imm): Likewise.
2957 (_FP_MUL_MEAT_1_wide): Likewise.
2958 (_FP_MUL_MEAT_1_hard): Likewise.
2959 (_FP_SQRT_MEAT_1): Likewise.
2960 (_FP_FRAC_ASSEMBLE_1): Likewise.
2961 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2962 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2963 (__FP_CLZ_2): Likewise.
2964 (_FP_MUL_MEAT_2_wide): Likewise.
2965 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2966 (_FP_MUL_MEAT_2_gmp): Likewise.
2967 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2968 (_FP_SQRT_MEAT_2): Likewise.
2969 (_FP_FRAC_ASSEMBLE_2): Likewise.
2970 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2971 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2972 (_FP_FRAC_CLZ_4): Likewise.
2973 (_FP_MUL_MEAT_4_wide): Likewise.
2974 (_FP_MUL_MEAT_4_gmp): Likewise.
2975 (_FP_SQRT_MEAT_4): Likewise.
2976 (_FP_FRAC_ASSEMBLE_4): Likewise.
2977 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2978 * soft-fp/op-common.h (_FP_CMP): Likewise.
2979 (_FP_CMP_EQ): Likewise.
2980 (_FP_CMP_UNORD): Likewise.
2981 (_FP_TO_INT): Likewise.
2982 (_FP_FROM_INT): Likewise.
2983 [!__FP_CLZ] (__FP_CLZ): Likewise.
2984 (_FP_DIV_HELP_imm): Likewise.
2985 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2987 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2988 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2989 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2990 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2991 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2992 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2993 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2994 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2995 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2996 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2997 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2998 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2999 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3000 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3001 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3002 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3003 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3004 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3005 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3006 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3007 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3008 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3009 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3010 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3011 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3012 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3013 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3014 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3015 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3016 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3017 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3018 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3019 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3020 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3021 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3022 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3023 (FP_UNPACK_RAW_SP): Likewise.
3024 (FP_PACK_RAW_S): Likewise.
3025 (FP_PACK_RAW_SP): Likewise.
3026 (FP_UNPACK_S): Likewise.
3027 (FP_UNPACK_SP): Likewise.
3028 (FP_UNPACK_SEMIRAW_S): Likewise.
3029 (FP_UNPACK_SEMIRAW_SP): Likewise.
3030 (FP_PACK_S): Likewise.
3031 (FP_PACK_SP): Likewise.
3032 (FP_PACK_SEMIRAW_S): Likewise.
3033 (FP_PACK_SEMIRAW_SP): Likewise.
3034 (_FP_SQRT_MEAT_S): Likewise.
3035 (FP_CMP_S): Likewise.
3036 (FP_CMP_EQ_S): Likewise.
3037 (FP_CMP_UNORD_S): Likewise.
3038 (FP_TO_INT_S): Likewise.
3039 (FP_FROM_INT_S): Likewise.
3041 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3043 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3044 (FP_EX_INVALID_IMZ): Likewise.
3045 (FP_EX_INVALID_IMZ_FMA): Likewise.
3046 (FP_EX_INVALID_ISI): Likewise.
3047 (FP_EX_INVALID_ZDZ): Likewise.
3048 (FP_EX_INVALID_IDI): Likewise.
3049 (FP_EX_INVALID_SQRT): Likewise.
3050 (FP_EX_INVALID_CVI): Likewise.
3051 (FP_EX_INVALID_VC): Likewise.
3052 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3053 "invalid" exceptions.
3054 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3055 (_FP_ADD_INTERNAL): Likewise.
3056 (_FP_MUL): Likewise.
3057 (_FP_FMA): Likewise.
3058 (_FP_DIV): Likewise.
3059 (_FP_CMP_CHECK_NAN): Likewise.
3060 (_FP_SQRT): Likewise.
3061 (_FP_TO_INT): Likewise.
3062 (FP_EXTEND): Likewise.
3064 2014-10-09 Allan McRae <allan@archlinux.org>
3066 * po/fr.po: Update French translation from translation project.
3068 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3071 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3073 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3074 (__cxa_atexit): Use libc_hidden_proto.
3075 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3078 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3080 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3081 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3082 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3083 [!_ISOMAC] (__iswctype_internal): Likewise.
3084 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3085 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3087 (fcntl): Remove __fcntl_internal alias.
3088 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3089 __connect_internal alias.
3090 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3093 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3094 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3096 (_FP_CHECK_FLUSH_ZERO): New macro.
3097 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3098 (_FP_CMP): Likewise.
3099 (_FP_CMP_EQ): Likewise.
3100 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3102 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3103 (FP_TRUNC): Likewise.
3105 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3106 treated as invalid conversion, not as normal exponent.
3108 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3109 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3110 (_FP_CMP_EQ): Likewise.
3111 (_FP_CMP_UNORD): Likewise.
3112 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3113 (FP_CMP_EQ_D): Likewise.
3114 (FP_CMP_UNORD_D): Likewise.
3115 * soft-fp/extended.h (FP_CMP_E): Likewise.
3116 (FP_CMP_EQ_E): Likewise.
3117 (FP_CMP_UNORD_E): Likewise.
3118 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3119 (FP_CMP_EQ_Q): Likewise.
3120 (FP_CMP_UNORD_Q): Likewise.
3121 * soft-fp/single.h (FP_CMP_S): Likewise.
3122 (FP_CMP_EQ_S): Likewise.
3123 (FP_CMP_UNORD_S): Likewise.
3124 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3125 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3126 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3127 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3128 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3129 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3130 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3131 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3132 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3133 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3134 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3135 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3136 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3138 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3140 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3141 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3143 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3145 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3146 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3147 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3148 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3150 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3152 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3153 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3155 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3157 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3158 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3159 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3160 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3163 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3164 a subnormal result, set the underflow exception if trapping on
3165 underflow is enabled.
3166 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3167 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3168 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3170 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3171 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3172 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3173 * soft-fp/extendxftf2.c (__extendxftf2): Use
3174 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3176 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3177 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3178 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3179 FP_HANDLE_EXCEPTIONS.
3180 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3181 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3182 FP_HANDLE_EXCEPTIONS.
3183 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3184 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3185 FP_HANDLE_EXCEPTIONS.
3186 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3187 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3188 FP_HANDLE_EXCEPTIONS.
3190 2014-10-08 Joseph Myers <joseph@codesourcery.com>
3193 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3194 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3196 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3197 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3199 (__adjtimex): Define using libc_hidden_ver.
3200 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3202 (ntp_gettime): Call __adjtimex directly.
3203 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3205 (ntp_gettimex): Call __adjtimex directly.
3206 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3207 __adjtimex_internal alias.
3209 2014-10-08 Roland McGrath <roland@hack.frob.com>
3212 * nscd/nscd.c (more_help): Rewrite list of tables collection
3213 using xstrdup and asprintf.
3215 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3217 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3218 Roland McGrath <roland@hack.frob.com>
3220 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3221 (do_lookup_unique): ... local function 'enter' here; update callers.
3223 2014-10-06 Joseph Myers <joseph@codesourcery.com>
3225 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3226 compat_symbol calls on [SHARED].
3227 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3228 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3230 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3231 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3232 (oldsetrlimit): Remove.
3233 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3235 (lchown): New syscall entry.
3236 (oldsetrlimit): Remove.
3237 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3238 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3239 (oldsetrlimit): Remove.
3240 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3243 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3244 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3245 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3246 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3247 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3248 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3250 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3255 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3257 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3258 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3259 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3260 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3261 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3263 (__old_sem_post): Likewise.
3265 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
3267 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3268 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3269 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3270 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3271 Use INLINE_VSYSCALL macro.
3272 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3273 __vdso_clock_gettime.
3274 * sysdeps/unix/sysv/linux/tile/init-first.c
3275 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3276 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3277 __vdso_clock_gettime.
3279 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3280 to set up frame more cleanly.
3282 * sysdeps/tile/memcmp.c: New file.
3284 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3286 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3287 * sysdeps/tile/tilegx/strcasestr.c: New file.
3288 * sysdeps/tile/tilegx/strnlen.c: New file.
3289 * sysdeps/tile/tilegx/strstr.c: New file.
3291 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3293 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
3295 * nptl/tst-setuid3.c: Write errors to stdout.
3297 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3300 (preload): New functions broken out of _dl_map_object_deps.
3301 (_dl_map_object_deps): Remove a nested function. Update call sites.
3303 2014-10-01 Joseph Myers <joseph@codesourcery.com>
3306 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3307 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3309 2014-10-01 Steve Ellcey <sellcey@mips.com>
3311 * sysdeps/mips/strcmp.S: New.
3313 2014-09-30 Joseph Myers <joseph@codesourcery.com>
3316 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3318 (mkdirat): Likewise.
3319 (readlinkat): Likewise.
3320 (renameat): Likewise.
3321 (symlinkat): Likewise.
3322 (unlinkat): Likewise.
3323 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3324 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3325 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3326 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3327 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3328 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3329 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3331 2014-09-30 Will Newton <will.newton@linaro.org>
3333 * math/math.h: Define long double math functions if
3334 _LIBC_TEST is defined.
3335 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3337 * localedata/Makefile: Move assignment to tests-special
3338 into an ifdef testing run-built-tests.
3339 * timezone/Makefile: Likewise.
3341 2014-09-29 Joseph Myers <joseph@codesourcery.com>
3343 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3344 with $(BASH) not $(SHELL).
3346 2014-09-29 Carlos O'Donell <carlos@redhat.com>
3347 Matthew LeGendre <legendre1@llnl.gov>
3350 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3353 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3355 * stdio-common/printf_fp.c
3356 (hack_digit): New function, broken out of ...
3357 (__printf_fp): ... local function here. Update call sites.
3358 hack_digit now takes an additional parameter that is a pointer
3359 to a struct of the referenced locals. Those locals moved inside
3360 the struct and references updated.
3362 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3364 * aclocal.m4: Require autoconf 2.69.
3365 * configure: Regenerated.
3366 * sysdeps/aarch64/configure: Likewise.
3367 * sysdeps/alpha/configure: Likewise.
3368 * sysdeps/arm/armv7/configure: Likewise.
3369 * sysdeps/arm/configure: Likewise.
3370 * sysdeps/ia64/configure: Likewise.
3371 * sysdeps/mach/configure: Likewise.
3372 * sysdeps/mips/configure: Likewise.
3373 * sysdeps/s390/configure: Likewise.
3374 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3377 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3379 * sysdeps/ia64/configure.ac: Likewise.
3381 2014-09-26 Joseph Myers <joseph@codesourcery.com>
3383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3384 specify symbol version for ld.so. Do not include entry for
3386 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3387 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3388 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3391 * Makeconfig [$(build-shared) = yes]
3392 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3394 [$(build-shared) = yes && $(soversions.mk-done) = t]
3395 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3396 [$(build-shared) = yes && $(soversions.mk-done) = t]
3397 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3399 [$(build-shared) = yes && $(soversions.mk-done) = t]
3400 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3402 [$(build-shared) = yes && $(soversions.mk-done) = t]
3403 (common-generated): Don't append gnu/lib-names.h and
3404 gnu/lib-names.stmp here.
3405 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3406 (lib-names-h-abi): New variable.
3407 [$(build-shared) = yes && $(soversions.mk-done) = t]
3408 (lib-names-stmp-abi): Likewise.
3409 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3410 abi-variants] (before-compile): Append
3411 $(common-objpfx)$(lib-names-h-abi).
3412 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3413 abi-variants] (common-generated): Append gnu/lib-names.h.
3414 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3415 abi-variants] (install-others-nosubdir): Depend on
3416 $(inst_includedir)/$(lib-names-h-abi).
3417 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3418 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3419 [$(build-shared) = yes && $(soversions.mk-done) = t]
3420 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3421 [$(build-shared) = yes && $(soversions.mk-done) = t]
3422 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3423 [$(build-shared) = yes && $(soversions.mk-done) = t]
3424 (common-generated): Append $(lib-names-h-abi) and
3425 $(lib-names-stmp-abi).
3426 * scripts/lib-names.awk: Do not handle multi being set.
3427 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3429 (abi-lp64_be-ld-soname): Likewise.
3430 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3432 (abi-hard-ld-soname): Likewise.
3433 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3434 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3436 (abi-o32_hard-ld-soname): Likewise.
3437 (abi-o32_soft_2008-ld-soname): Likewise.
3438 (abi-o32_hard_2008-ld-soname): Likewise.
3439 (abi-n32_soft-ld-soname): Likewise.
3440 (abi-n32_hard-ld-soname): Likewise.
3441 (abi-n32_soft_2008-ld-soname): Likewise.
3442 (abi-n32_hard_2008-ld-soname): Likewise.
3443 (abi-n64_soft-ld-soname): Likewise.
3444 (abi-n64_hard-ld-soname): Likewise.
3445 (abi-n64_soft_2008-ld-soname): Likewise.
3446 (abi-n64_hard_2008-ld-soname): Likewise.
3447 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3449 (abi-64-v2-ld-soname): Likewise.
3450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3452 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3454 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3456 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3458 (abi-64-ld-soname): Likewise.
3459 (abi-x32-ld-soname): Likewise.
3460 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3462 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3464 2014-09-23 Joseph Myers <joseph@codesourcery.com>
3467 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3468 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3469 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3470 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3471 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3472 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3473 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3474 syscall entry for GLIBC_2.2 symbol version.
3475 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3478 (setrlimit): Likewise.
3479 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3482 2014-09-23 Will Newton <will.newton@linaro.org>
3484 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3485 _LINUX_ARM_SYSDEP_H include guard too.
3486 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3489 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3491 * sysdeps/unix/sysv/linux/eventfd.c:
3492 Make first argument unsigned.
3493 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3494 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3496 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
3498 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3499 * socket/sys/socket.h: Likewise
3500 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3502 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3504 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3506 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
3508 * time/tst-ftime.c: New test.
3509 * time/Makefile (tests): Add tst-ftime.
3511 2014-09-17 Joseph Myers <joseph@codesourcery.com>
3513 * soft-fp/extended.h: Fix comment formatting.
3514 * soft-fp/op-1.h: Likewise.
3515 * soft-fp/op-2.h: Likewise.
3516 * soft-fp/op-4.h: Likewise.
3517 * soft-fp/op-8.h: Likewise.
3518 * soft-fp/op-common.h: Likewise.
3519 * soft-fp/soft-fp.h: Likewise.
3521 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3523 2014-09-16 Joseph Myers <joseph@codesourcery.com>
3526 * Makeconfig (soversions-default-setname): Remove variable.
3527 ($(common-objpfx)soversions.i): Don't pass default_setname to
3529 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3530 oldest_abi to abi-versions.awk.
3531 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3532 * config.make.in (oldest-abi): Remove variable.
3533 * configure.ac (--enable-oldest-abi): Remove configure option.
3534 * configure: Regenerated.
3535 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3537 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3538 * scripts/soversions.awk: Do not handle default_setname variable.
3539 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3541 * sysdeps/mach/hurd/configure: Regenerated.
3542 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3544 * sysdeps/unix/sysv/linux/configure: Regenerated.
3546 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3548 * elf/Makefile (CFLAGS-interp.c): Remove.
3549 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3551 * elf/interp.c: Include generated runtime-linker.h
3553 * Makerules (lib%.so): Don't include $(+interp) in
3555 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3556 * dlfcn/eval.c: Remove file.
3558 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3562 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3566 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3568 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3569 Jakub Jelinek <jakub@redhat.com>
3572 * libio/stdio.h: Check definition of __fortify_function
3573 instead of __extern_always_inline to include bits/stdio2.h.
3574 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3575 check if __extern_always_inline is defined.
3576 [__USE_MISC || __USE_XOPEN]: Likewise.
3577 [__USE_ISOC99] Likewise.
3578 * misc/sys/cdefs.h (__fortify_function): Define only if
3579 __extern_always_inline is defined.
3580 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3581 __extern_always_inline and __extern_inline only for g++-4.3
3582 and newer or a compatible gcc.
3584 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3587 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3588 last change to handle zero prefix length.
3590 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3592 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3595 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3598 2014-09-13 Allan McRae <allan@archlinux.org>
3600 * po/ru.po: Update Russian translation from translation project.
3602 2014-09-12 Roland McGrath <roland@hack.frob.com>
3604 * locale/programs/locale.c (show_locale_vars): Inline local function
3605 into its sole call site. Clean up some style nits.
3606 (print_item): New function, broken out of ...
3607 (show_info): ... local function here. Clean up style nits.
3609 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3611 (set_class_defaults): ... local function set_default here.
3612 Define set_default as a macro locally to pass constant parameters.
3613 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3614 rather than a shared local.
3616 * stdlib/rpmatch.c (try): New function, broken out of ...
3617 (rpmatch): ... local function here. Also, prototypify definition.
3619 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3621 * scripts/soversions.awk: Do not handle configuration names.
3622 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3623 vendor and os variables to soversions.awk.
3624 * configure.ac: Do not modify gnu-* host_os.
3625 * configure: Regenerated
3626 * shlib-versions: Remove first column with configuration names.
3627 * nptl/shlib-versions: Likewise.
3628 * nptl_db/shlib-versions: Likewise.
3629 * sysdeps/hppa/shlib-versions: Likewise.
3630 * sysdeps/m68k/shlib-versions: Likewise.
3631 * sysdeps/mach/hurd/shlib-versions: Likewise.
3632 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3633 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3634 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3635 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3636 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3637 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3638 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3639 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3642 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3643 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3644 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3645 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3646 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3647 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3648 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3649 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3652 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3655 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3657 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3659 * shlib-versions: Remove OS-specific entries. Moved to files in
3661 * sysdeps/mach/hurd/shlib-versions: New file.
3662 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3664 * nptl/shlib-versions: Remove architecture-specific entries.
3665 Moved to files in sysdeps.
3666 * shlib-versions: Likewise.
3667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3669 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3670 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3671 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3672 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3674 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3675 (UDP_NO_CHECK6_RX): Likewise.
3677 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3679 * sysdeps/posix/sysconf.c (__sysconf): Spell
3680 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3682 2014-08-12 Florian Weimer <fweimer@redhat.com>
3684 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3686 * iconv/Versions (__gconv_transliterate): Export for use from
3688 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3689 (struct __gconv_trans_data, __gconv_trans_fct,
3690 __gconv_trans_context_fct, __gconv_trans_query_fct,
3691 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3693 (struct __gconv_step_data): Remove __trans member.
3694 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3695 longer hidden. Remove unused trans_data argument.
3696 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3697 (__gconv_translit_find): Remove declaration.
3698 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3700 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3701 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3702 trans_data argument. Add hidden definition.
3703 (__gconv_translit_find): Remove.
3704 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3705 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3706 * iconv/skeleton.c: Remove transliteration initialization.
3707 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3708 __gconv_step_data initialization.
3709 * libio/iofwide.c (__libio_translit_): Remove.
3710 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3711 * wcsmbs/btowc.c (__btowc): Likewise.
3712 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3713 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3714 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3715 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3716 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3717 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3718 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3719 * wcsmbs/wctob.c (wctob): Likewise.
3721 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3724 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3725 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3727 * sysdeps/x86/Makefile: Adjust.
3729 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3730 Roland McGrath <roland@hack.frob.com>
3732 * locale/weight.h: Add include guard.
3733 (findidx): Make static rather than auto; take new parameters
3734 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3735 * locale/weightwc.h: Likewise.
3736 * posix/fnmatch_loop.c
3737 (FCT): Change type of EXTRA from int32_t to wint_t.
3738 Don't include either header inside the function.
3739 Call FINDIDX rather than findidx, and pass new arguments.
3740 #undef FINDIDX at the end of the file.
3741 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3742 FINDIDX before including fnmatch_loop.c for the non-wide version.
3743 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3744 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3745 for the wide version.
3746 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3747 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3748 Pass new arguments to findidx.
3749 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3750 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3751 Don't #include it inside the function. Pass new arguments to findidx.
3752 * posix/regex_internal.h
3753 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3754 (re_string_elem_size_at): Don't #include it inside the function.
3755 Pass new arguments to findidx.
3756 * string/strcoll_l.c: #include WEIGHT_H at top level.
3757 (get_next_seq): Don't #include it inside the function.
3758 Pass new arguments to findidx.
3759 (get_next_seq_nocache): Likewise.
3760 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3761 (STRXFRM): Don't #include it inside the function.
3762 Pass new arguments to findidx.
3764 2014-09-11 Florian Weimer <fweimer@redhat.com>
3767 * malloc/malloc.c (unlink): Turn asserts into a call to
3770 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
3773 * libio/wfileops (do_ftell_wide): Free OUT.
3775 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3777 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3779 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3782 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3783 group if the current group is empty.
3785 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3787 * benchtests/bench-memset.c (test_main): Add more test from size
3788 from 32 to 512 bytes.
3789 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3790 Add POWER8 memset object.
3791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3792 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3793 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3795 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3797 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3798 multiarch POWER8 memset optimization.
3799 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3800 POWER8 memset optimization.
3802 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3803 Remove bzero multiarch objects.
3804 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3805 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3806 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3807 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3809 [__bzero]: Redefine to specific name.
3810 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3811 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3812 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3814 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3815 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3817 2014-09-10 Florian Weimer <fweimer@redhat.com>
3819 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3820 warnings into errors.
3822 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3823 __cxa_thread_atexit_impl prototype.
3825 2014-09-09 Steve Ellcey <sellcey@mips.com>
3827 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3828 Fix capitalization of error message.
3830 2014-09-09 Steve Ellcey <sellcey@mips.com>
3832 * sysdeps/mips/preconfigure: Modify ABI tests.
3834 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3836 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3838 2014-09-07 Roland McGrath <roland@hack.frob.com>
3839 Carlos O'Donell <carlos@systemhalted.org>
3841 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3842 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3843 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3844 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3845 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3846 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3847 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3848 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3849 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3850 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3851 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3852 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3853 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3854 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3855 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3856 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3857 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3858 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3859 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3860 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3861 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3862 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3863 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3864 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3865 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3866 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3867 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3868 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3869 Deconditionalize the code that was previously under [RESET_PID].
3870 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3871 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3872 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3873 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3876 2014-09-08 Allan McRae <allan@archlinux.org>
3878 * version.h (RELEASE): Set to "development".
3879 (VERSION): Set to "2.20.90"
3881 2014-09-07 Allan McRae <allan@archlinux.org
3883 * version.h (RELEASE): Set to "stable".
3884 (VERSION): Set to "2.20"
3885 * include/features.h (__GLIBC_MINOR__): Set to 20.
3887 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3890 * po/ko.po: Update Korean translation from translation project.
3892 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3895 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3896 macro for handling signed relocations.
3898 2014-09-03 Florian Weimer <fweimer@redhat.com>
3901 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3902 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3904 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3905 * iconvdata/ibm935.c (BODY): Likewise.
3906 * iconvdata/ibm937.c (BODY): Likewise.
3907 * iconvdata/ibm939.c (BODY): Likewise.
3908 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3910 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3912 * iconvdata/run-iconv-test.sh: New test loop for checking for
3915 2014-09-02 Khem Raj <raj.khem@gmail.com>
3917 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3920 2014-09-01 Allan McRae <allan@archlinux.org>
3922 * po/eo.po: Update Esperanto translation from translation project.
3924 * po/ca.po: Update Catalan translation from translation project.
3926 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3928 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3931 2014-08-27 Mark Wielaard <mjw@redhat.com>
3934 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3935 to call set_thread_area instead of hand written asm.
3936 (__NR_set_thread_area): Removed define.
3937 (TLS_FLAG_WRITABLE): Likewise.
3938 (__ASSUME_SET_THREAD_AREA): Remove check.
3939 (TLS_EBX_ARG): Remove define.
3940 (TLS_LOAD_EBX): Likewise.
3942 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3944 Simplify atomicity of socket creation in bind.
3946 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3947 looking up the name after linking the file.
3949 2014-08-27 Allan McRae <allan@archlinux.org>
3951 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3953 2014-08-26 Florian Weimer <fweimer@redhat.com>
3956 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3957 trans_compare, open_translit, __gconv_translit_find):
3958 Remove module loading code.
3960 2014-08-26 Allan McRae <allan@archlinux.org>
3962 * po/vi.po: Update Vietnamese translation from translation project.
3964 * po/uk.po: Update Ukrainian translation from translation project.
3966 * po/fr.po: Update French translation from translation project.
3968 * po/ru.po: Update Russian translation from translation project.
3970 * po/pl.po: Update Polish translation from translation project.
3972 * po/cs.po: Update Czech translation from translation project.
3974 * po/de.po: Update German translation from translation project.
3976 * po/bg.po: Update Bulgarian translation from translation project.
3978 * po/sv.po: Update Sweedish translation from translation project.
3980 * po/nl.po: Update Dutch translation from translation project.
3982 * po/es.po: Update Spanish translation from translation project.
3984 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3986 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3988 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3989 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3990 (CPPFLAGS-iconvconfig): Likewise.
3991 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3993 * include/libc-symbols.h: Remove unnecessary check for
3995 * nptl/pthreadP.h: Likewise.
3996 * sysdeps/aarch64/setjmp.S: Likewise.
3997 * sysdeps/alpha/setjmp.S: Likewise.
3998 * sysdeps/arm/sysdep.h: Likewise.
3999 * sysdeps/i386/setjmp.S: Likewise.
4000 * sysdeps/m68k/setjmp.c: Likewise.
4001 * sysdeps/posix/getcwd.c: Likewise.
4002 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4003 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4004 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4005 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4006 * sysdeps/sh/sh3/setjmp.S: Likewise.
4007 * sysdeps/sh/sh4/setjmp.S: Likewise.
4008 * sysdeps/unix/alpha/sysdep.h: Likewise.
4009 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4010 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4011 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4012 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4015 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4016 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4017 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4018 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4019 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4020 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4022 * sysdeps/x86_64/setjmp.S: Likewise.
4024 2014-08-13 Joseph Myers <joseph@codesourcery.com>
4027 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4029 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4030 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4032 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4034 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4037 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4038 and __x86_64__ when disabling x87 inline functions.
4040 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4043 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4044 asm statement with __cpuid_count.
4046 2014-08-12 Mike Frysinger <vapier@gentoo.org>
4048 * configure.ac: Change __ehdr_start code to dereference the struct.
4049 Run readelf on the output to look for relocations.
4050 * configure: Regenerated.
4052 2014-08-12 Joseph Myers <joseph@codesourcery.com>
4055 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4057 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4059 2014-08-12 Roland McGrath <roland@hack.frob.com>
4061 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4063 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4066 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4067 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4069 2014-08-12 Sean Anderson <seanga2@gmail.com>
4071 * malloc/malloc.c: Fix typo in comment.
4073 2014-08-09 Allan McRae <allan@archlinux.org>
4075 * Regenerate libc.po.
4077 2014-08-08 Mike Frysinger <vapier@gentoo.org>
4079 * intl/tst-gettext2.sh: Check every lang file for creation.
4081 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4083 * sysdeps/aarch64/fpu/math_private.h
4084 (libc_feholdsetround_noex_aarch64_ctx): New function.
4086 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4088 * sysdeps/arm/armv6/strcpy.S (strcpy):
4089 Fix performance issue in misaligned cases.
4091 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4093 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4094 Move definition from termios.h.
4095 (struct termio): Likewise.
4096 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4097 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4098 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4099 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4101 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4102 Move definition to ioctl-types.h
4103 (struct termio): Likewise.
4104 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4105 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4106 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4107 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4110 2014-08-05 Richard Henderson <rth@redhat.com>
4112 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4114 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4116 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4117 Use __feraiseexcept.
4118 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4119 Protect libm symbols with IS_IN_libm.
4121 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4123 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4125 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4127 2014-08-04 Will Newton <will.newton@linaro.org>
4129 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4132 2014-08-04 Mike Frysinger <vapier@gentoo.org>
4134 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4135 variants for each function.
4137 2014-08-04 Roland McGrath <roland@hack.frob.com>
4139 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4141 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4142 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4144 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4145 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4146 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4147 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4148 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4149 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4150 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4151 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4152 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4153 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4154 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4155 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4156 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4157 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4158 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4159 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4160 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4161 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4162 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4163 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4164 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4165 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4166 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4167 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4168 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4169 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4170 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4171 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4172 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4173 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4174 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4175 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4176 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4177 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4178 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4179 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4180 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4181 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4182 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4183 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4184 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4185 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4186 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4187 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4188 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4189 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4190 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4191 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4192 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4193 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4194 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4195 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4196 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4198 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4199 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4201 2014-08-04 Roland McGrath <roland@hack.frob.com>
4203 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4204 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4205 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4206 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4207 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4208 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4210 2014-08-04 Roland McGrath <roland@hack.frob.com>
4212 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4213 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4214 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4215 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4217 2014-08-04 Roland McGrath <roland@hack.frob.com>
4219 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4220 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4221 (__libc_vfork): Define function under this name.
4222 (__vfork): Define as an alias.
4223 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4224 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4226 2014-08-04 Roland McGrath <roland@hack.frob.com>
4228 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4229 that was previously under [RESET_PID].
4230 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4232 2014-08-04 Andreas Schwab <schwab@suse.de>
4234 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4236 2014-08-03 Mike Frysinger <vapier@gentoo.org>
4238 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4241 2014-08-01 Roland McGrath <roland@hack.frob.com>
4243 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4245 2014-08-01 Richard Henderon <rth@redhat.com>
4247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4248 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4249 typo in exact zero test.
4250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4251 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4252 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4254 2014-08-01 Roland McGrath <roland@hack.frob.com>
4256 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4257 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4258 * sysdeps/arm/sysdep.h: ... here.
4259 [!__ASSEMBLER__]: Include <stdint.h>.
4261 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4263 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4264 (HAVE_WCTYPE_H): Likewise.
4265 (HAVE_ISWCTYPE): Likewise.
4266 (ENABLE_NLS): Likewise.
4267 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4268 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4270 * posix/regex_internal.c: Check if DEBUG is defined and is
4273 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4274 (HAVE_MBSRTOWCS): Likewise.
4275 * posix/fnmatch.c: Include string.h unconditionally.
4277 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4279 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4282 2014-07-31 Roland McGrath <roland@hack.frob.com>
4284 * sysdeps/generic/safe-fatal.h: New file.
4285 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4286 * nptl/forward.c: Include it.
4287 (__pthread_unwind): Use __safe_fatal as default action, rather
4288 than a bogus use of INTERNAL_SYSCALL that could never work.
4290 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4291 * configure.ac (libc_cv_builtin_trap): New test.
4292 * configure: Regenerated.
4293 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4294 (ABORT_INSTRUCTION): Define using __builtin_trap.
4296 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4297 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4298 * sysdeps/nptl/nptl-signals.h: New file.
4299 * nptl/pthreadP.h: Include <nptl-signals.h>.
4301 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4303 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4304 (ONE_DIRECTION): Define.
4305 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4306 (ONE_DIRECTION): Define.
4307 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4308 (ONE_DIRECTION): Define.
4310 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4312 * sysdeps/s390/Makefile: Delete file.
4313 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4314 * sysdeps/s390/__longjmp.c: Delete file.
4315 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4316 Remove fields __flags and __reserved.
4317 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4319 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4320 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4321 * sysdeps/s390/rtld-setjmp.S: Likewise.
4322 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4323 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4324 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4325 * sysdeps/s390/s390-32/setjmp.S: ... here.
4327 (__sigsetjmp): Remove setting __flags field.
4328 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4329 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4330 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4331 * sysdeps/s390/s390-64/setjmp.S: ... here.
4333 (__sigsetjmp): Remove setting __flags field.
4334 * sysdeps/s390/setjmp.S: Delete file.
4335 * sysdeps/s390/sigjmp.c: Likewise.
4336 * sysdeps/s390/v1-longjmp.c: Likewise.
4337 * sysdeps/s390/v1-setjmp.h: Likewise.
4338 * sysdeps/s390/v1-sigjmp.c: Likewise.
4339 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4340 Remove v1-longjmp_chk.
4341 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4342 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4343 Include debug/longjmp_chk.c and add versioning.
4344 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4345 Include nptl/pt-longjmp.c and add versioning.
4346 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4347 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4348 Include __longjmp.c.
4349 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4351 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4352 (__getcontext): Remove setting __flags field.
4354 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4355 Don't restore upper high grps.
4356 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4358 (__swapcontext): Remove setting uc_flags field.
4359 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4361 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4362 Include __longjmp.c.
4363 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4365 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4366 (__getcontext): Remove setting __flags field.
4368 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4369 (__swapcontext): Remove setting uc_flags field.
4370 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4371 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4372 Remove fields uc_high_gprs and __reserved.
4373 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4374 New file with reverted content.
4375 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4376 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4378 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4381 2014-07-31 Andreas Schwab <schwab@suse.de>
4383 * config.h.in (HAVE_IFUNC): Define to 0.
4384 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4387 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4390 memmove-avx-unaligned, memcpy-avx-unaligned and
4391 mempcpy-avx-unaligned.
4392 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4393 Add tests for AVX memcpy functions.
4394 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4395 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4397 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4398 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4400 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4401 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4403 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4404 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4405 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4407 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4410 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4413 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
4416 * manual/llio.texi: Add section about open file description locks.
4417 * manual/examples/ofdlocks.c: Example of open file description
4419 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4420 F_OFD_SETLK, and F_OFD_SETLKW.
4422 2014-07-23 Allan McRae <allan@archlinux.org>
4424 * po/es.po: Update Spanish translation from translation project.
4426 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4428 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4430 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4433 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4434 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4435 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4437 2014-07-17 Joseph Myers <joseph@codesourcery.com>
4440 * math/fesetenv.c (__fesetenv)
4441 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4442 * math/feupdateenv.c (__feupdateenv)
4443 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4445 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4446 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4447 (__ASSUME_SOCKETCALL): Do not define.
4449 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4450 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4451 (__ASSUME_SOCKETCALL): Do not define.
4452 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4453 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4454 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4455 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4456 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4457 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4458 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4459 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4461 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4462 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4463 (__ASSUME_SOCKETCALL): Do not define.
4464 (__ASSUME_IPC64): Define unconditionally.
4465 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4466 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4467 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4468 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4469 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4470 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4471 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4474 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4475 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4476 (__ASSUME_SOCKETCALL): Do not define.
4477 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4478 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4479 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4480 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4481 (__ASSUME_REQUEUE_PI): Define unconditionally.
4482 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4483 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4484 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4485 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4486 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4487 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4489 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4490 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4491 (__ASSUME_SOCKETCALL): Do not define.
4492 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4493 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4494 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4495 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4496 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4497 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4499 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4500 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4501 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4502 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4503 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4504 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4505 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4506 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4507 (__ASSUME_GETCPU_SYSCALL): Likewise.
4509 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4510 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4511 cases for individual architectures.
4512 * sysdeps/gnu/configure: Regenerated.
4513 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4514 LIBC_SLIBDIR_RTLDDIR.
4515 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4516 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4517 LIBC_SLIBDIR_RTLDDIR.
4518 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4520 LIBC_SLIBDIR_RTLDDIR.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4523 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4524 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4526 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4527 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4529 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4530 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4531 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4532 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4534 * sysdeps/aarch64/shlib-versions: Move to ...
4535 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4536 * sysdeps/alpha/shlib-versions: Move to ...
4537 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4538 * sysdeps/arm/shlib-versions: Move to ...
4539 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4540 * sysdeps/hppa/shlib-versions: Move all contents except for
4541 libgcc_s entry to ...
4542 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4544 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4545 * sysdeps/ia64/shlib-versions: Move to ...
4546 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4548 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4549 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4550 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4551 * sysdeps/microblaze/shlib-versions: Move to ...
4552 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4553 * sysdeps/mips/shlib-versions: Move to ...
4554 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4556 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4557 * sysdeps/tile/shlib-versions: Move to ...
4558 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4559 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4561 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4562 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4564 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4566 2014-07-17 Will Newton <will.newton@linaro.org>
4568 * sysdeps/arm/bits/atomic.h
4569 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4570 (__arch_compare_and_exchange_bool_16_int): Likewise.
4571 (__arch_compare_and_exchange_bool_64_int): Likewise.
4573 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4574 into an #else block.
4576 2014-07-16 Roland McGrath <roland@hack.frob.com>
4578 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4579 just Linux configurations. Test empirically that the compiler sets
4580 __ARM_EABI__, rather than using the tuple to decide.
4581 * sysdeps/arm/preconfigure: Regenerated.
4582 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4583 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4584 contents appended ...
4585 * sysdeps/arm/configure.ac: ... here.
4586 * sysdeps/arm/configure: Regenerated.
4588 2014-07-15 Roland McGrath <roland@hack.frob.com>
4590 * nptl/pthread_kill.c: New file.
4591 * nptl/pthread_sigmask.c: New file.
4592 * nptl/pthread_sigqueue.c: New file.
4594 * sysdeps/nptl/lowlevellock.h: New file.
4595 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4596 * sysdeps/nptl/lowlevellock-futex.h: New file.
4598 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4599 Remove dead declarations.
4601 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4603 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4604 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4606 * sysdeps/x86_64/configure.ac: Likewise.
4607 * sysdeps/i386/configure: Regenerated.
4608 * sysdeps/x86_64/configure: Likewise.
4609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4610 memset-avx2 only if config-cflags-avx2 is yes.
4611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4612 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4614 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4615 only if HAVE_AVX2_SUPPORT is defined.
4616 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4618 2014-07-14 Alan Modra <amodra@gmail.com>
4621 * elf/elf.h (DT_PPC64_NUM): Correct value.
4622 * NEWS: Add to fixed bug list.
4624 2014-07-13 Jim Meyering <meyering@fb.com>
4627 regex: don't deref NULL upon heap allocation failure
4628 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4629 failure in one more place.
4630 To trigger the segfault, configure grep -with-included-regex,
4631 build it, and run these commands:
4632 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4634 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4636 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4638 2014-07-11 Richard Henderson <rth@redhat.com>
4640 * sysdeps/aarch64/libm-test-ulps: Update.
4642 2014-07-10 Florian Weimer <fweimer@redhat.com>
4645 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4646 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4647 (__nptl_setxid): Initialize error member. Call
4648 __nptl_setxid_error.
4649 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4650 * nptl/descr.h (struct xid_command): Add error member.
4651 * nptl/tst-setuid3.c: New file.
4652 * nptl/Makefile (tests): Add it.
4654 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4656 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4658 (__lll_trylock): Use __lll_base_trylock.
4659 (__lll_cond_trylock): Likewise.
4661 2014-07-10 Roland McGrath <roland@hack.frob.com>
4663 * nptl/pthread_create.c (start_thread): Use atomic_or and
4664 lll_futex_wake directly rather than lll_robust_dead.
4665 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4666 (lll_robust_dead): Macro removed.
4667 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4668 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4669 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4670 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4671 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4672 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4673 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4674 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4675 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4676 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4677 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4678 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4679 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4680 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4681 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4683 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4684 Use atomic_compare_and_exchange_val_acq directly rather than
4686 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4687 (__lll_robust_trylock, lll_robust_trylock): Removed.
4688 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4689 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4690 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4691 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4692 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4693 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4694 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4695 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4696 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4697 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4698 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4699 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4700 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4701 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4703 2014-07-02 Florian Weimer <fweimer@redhat.com>
4705 * manual/locale.texi (Locale Names): New section documenting
4706 locale name syntax. Adjust menu and node chaining accordingly.
4707 (Choosing Locale): Reference Locale Names, Locale Categories.
4708 Mention setting LC_ALL=C. Reflect that name syntax is now
4710 (Locale Categories): New section title. Reference Locale Names.
4711 LC_ALL is an environment variable, but not a category.
4712 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4713 description, now in Locale Name. Reference that section. Locale
4714 name syntax is now documented.
4716 2014-07-02 Florian Weimer <fweimer@redhat.com>
4719 * locale/findlocale.c (name_present, valid_locale_name): New
4721 (_nl_find_locale): Use the loc_name variable to store name
4722 candidates. Call name_present and valid_locale_name to check and
4723 validate locale names. Return an error if the locale is invalid.
4725 2014-07-02 Florian Weimer <fweimer@redhat.com>
4727 * locale/setlocale.c (setlocale): Use strdup for allocating
4728 composite name copy.
4730 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4732 Sync up with gnulib.
4733 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4734 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4735 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4736 and _GL_ARG_NONNULL.
4737 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4738 [!_LIBC]: Include code for Windows and Cygwin.
4739 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4740 Include prototype for int strerror_r.
4741 [!_LIBC] (is_open): New function.
4742 (flush_stdout): New function.
4743 (print_errno_message): Use it.
4745 (error_at_line): Likewise.
4746 (error_tail) Add function attribute macros. Use
4749 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4751 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4753 * io/ftw.c: Include sys/param.h unconditionally.
4755 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4758 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4760 (freecache): New function to free CACHE on exit.
4762 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4765 2014-07-09 David S. Miller <davem@davemloft.net>
4767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4769 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4770 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4771 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4772 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4773 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4774 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4775 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4776 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4777 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4778 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4779 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4780 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4781 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4783 2014-07-09 Andreas Schwab <schwab@suse.de>
4785 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4787 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4788 (do_test): Likewise.
4790 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4792 2014-07-09 Will Newton <will.newton@linaro.org>
4794 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4795 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4796 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4797 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4798 * sysdeps/hppa/start.S (_start): Likewise.
4800 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4802 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4804 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4807 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4809 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4810 after checking that it is non-NULL.
4812 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4814 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4816 * sysdeps/powerpc/memmove.c: Remove file.
4817 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4818 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4819 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4820 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4821 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4822 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4823 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4824 string memmove instead of removed powerpc one.
4826 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4827 [weak_alias]: Fix compiler warning due trailing data.
4828 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4829 [weak_alias]: Likewise.
4830 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4831 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4834 (__libc_ifunc_impl_list): Add memmove functions.
4836 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4838 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4840 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4842 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4844 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4846 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4848 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4850 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4852 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4854 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4856 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4858 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4860 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4862 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4864 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4866 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4868 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4870 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4873 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4875 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4876 to avoid alignment traps in non-cacheable memory.
4877 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4879 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4881 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4882 file: multiarch power7 memmove.
4883 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4884 multiarch default memmove.
4885 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4886 multiarch memove for powerpc32/power4.
4888 * string/bcopy.c: Use full path to include memmove.c.
4889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4891 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4892 bcopy for powerpc64.
4893 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4894 bcopy for powerpc64.
4895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4896 and memmove implementations.
4897 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4898 optimized multiarch memmove for POWER7/powerpc64.
4899 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4900 default multiarch memmove for powerpc64.
4901 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4902 multiarch for powerpc64.
4903 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4904 for POWER7/powerpc64.
4905 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4906 memmove for POWER7/powerpc64.
4908 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4911 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4912 __ELF_NATIVE_CLASS equal to 64.
4914 2014-07-07 Roland McGrath <roland@hack.frob.com>
4916 * sysdeps/nptl/lowlevellock.h: File removed.
4918 * NEWS: NPTL is no longer an add-on!
4919 * nptl/internaltypes.h: Moved ...
4920 * sysdeps/nptl/internaltypes.h: ... here.
4921 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4922 * sysdeps/nptl/fork.c: Likewise.
4923 * sysdeps/nptl/gai_misc.h: Likewise.
4924 * sysdeps/nptl/librt-cancellation.c: Likewise.
4925 * sysdeps/nptl/jmp-unwind.c: Likewise.
4926 * sysdeps/nptl/setxid.h: Likewise.
4927 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4928 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4929 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4930 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4931 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4932 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4933 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4934 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4935 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4936 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4937 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4938 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4939 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4940 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4941 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4942 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4943 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4944 * nptl/Makeconfig: Moved ...
4945 * sysdeps/nptl/Makeconfig: ... here.
4946 * nptl/configure: File removed.
4947 * nptl/ANNOUNCE: File removed.
4948 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4949 * sysdeps/unix/sysv/linux/configure: Regenerated.
4951 * nptl/Makefile (routines): Add libc_pthread_init,
4952 libc_multiple_threads, register-atfork and unregister-atfork.
4953 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4954 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4955 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4956 pthread-pi-defines.sym, structsem.sym.
4957 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4958 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4959 [$(subdir) = nptl] (tests): Add tst-setgetname.
4960 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4961 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4962 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4963 [!LIBC_SIGACTION]: Remove aliases.
4964 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4965 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4966 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4967 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4968 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4969 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4970 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4971 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4972 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4973 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4974 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4975 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4976 __libc_allocate_rtsig_private.
4977 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4978 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4979 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4980 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4981 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4982 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4983 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4984 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4985 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4986 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4987 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4988 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4989 * nptl/internaltypes.h: ... here.
4990 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4991 * sysdeps/nptl/jmp-unwind.c: ... here.
4992 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4993 * nptl/libc-lowlevellock.c: ... here.
4994 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4995 * nptl/libc_multiple_threads.c: ... here.
4996 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4997 * nptl/libc_pthread_init.c: ... here.
4998 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4999 * nptl/lowlevelbarrier.sym: ... here.
5000 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5001 * nptl/lowlevelcond.sym: ... here.
5002 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5003 * nptl/lowlevellock.c: ... here.
5004 * nptl/lowlevellock.h: Moved ...
5005 * sysdeps/nptl/lowlevellock.h: ... here.
5006 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5007 * nptl/lowlevelrobustlock.c: ... here.
5008 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5009 * nptl/lowlevelrobustlock.sym: ... here.
5010 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5011 * nptl/lowlevelrwlock.sym: ... here.
5012 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5013 * nptl/pt-fork.c: ... here.
5014 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5015 * nptl/pthread-pi-defines.sym: ... here.
5016 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5017 * nptl/pthread_attr_getaffinity.c: ... here.
5018 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5019 * nptl/pthread_attr_setaffinity.c: ... here.
5020 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5021 * nptl/pthread_mutex_cond_lock.c: ... here.
5022 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5024 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5025 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5026 * nptl/pthread_once.c: ... here, replacing old file.
5027 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5028 * nptl/pthread_yield.c: ... here.
5029 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5030 * nptl/register-atfork.c: ... here.
5031 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5032 * nptl/sem_post.c: ... here.
5033 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5034 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5035 * nptl/sem_timedwait.c: ... here.
5036 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5037 * nptl/sem_trywait.c: ... here.
5038 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5039 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5040 * nptl/sem_wait.c: ... here.
5041 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5042 * nptl/structsem.sym: ... here.
5043 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5044 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5045 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5046 * nptl/unregister-atfork.c: ... here.
5047 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5048 * nptl/unwindbuf.sym: ... here.
5049 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5050 * sysdeps/nptl/fork.c: ... here.
5051 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5052 * sysdeps/nptl/fork.h: ... here.
5053 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5054 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5055 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5056 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5057 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5058 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5059 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5060 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5061 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5062 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5063 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5064 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5065 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5066 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5067 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5068 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5069 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5070 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5071 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5072 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5073 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5074 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5075 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5076 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5077 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5078 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5079 * sysdeps/unix/sysv/linux/raise.c: ... here.
5080 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5081 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5082 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5083 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5084 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5085 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5086 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5087 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5088 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5089 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5090 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5091 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5092 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5093 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5094 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5096 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5098 * sysdeps/generic/memcopy.h: Add comment for
5099 MEMCPY_OK_FOR_FWD_MEMMOVE.
5101 2014-07-04 Will Newton <will.newton@linaro.org>
5103 * string/memchr.c: Merge from gnulib.
5104 [_LIBC]: Remove conditionals.
5105 (__ptr_t): Remove define.
5106 (LONG_MAX_32_BITS): Likewise.
5107 (LONG_MAX): Likewise.
5108 (MEMCHR): Use ANSI prototype and optimize algorithm.
5110 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5112 2014-07-03 Roland McGrath <roland@hack.frob.com>
5114 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5115 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5117 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5118 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5119 in a bare environment with no <stdlib.h> installed.
5120 * sysdeps/nptl/configure: Regenerated.
5122 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5124 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5125 AC_EGREP_CPP for kernel header checks, so they only succeed if
5126 including <linux/version.h> actually works right.
5127 * sysdeps/unix/sysv/linux/configure: Regenerated.
5129 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5130 value so it's not diagnosed as unused.
5132 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5133 thing) with "ifeq ($(subdir),rt)".
5135 2014-07-03 Richard Henderson <rth@redhat.com>
5137 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5138 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5139 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5141 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5142 (math_force_eval): New.
5144 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5145 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5147 * sysdeps/alpha/fpu/s_round.c: Remove file.
5148 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5150 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5151 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5152 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5153 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5154 (_dl_start, print_statistics): Likewise.
5155 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5156 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5158 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5159 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5160 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5161 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5162 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5163 (HP_SMALL_TIMING_AVAIL): Define.
5164 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5165 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5166 (HP_SMALL_TIMING_AVAIL): Define.
5167 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5168 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5170 * sysdeps/aarch64/hp-timing.h: New file.
5172 * sysdeps/generic/hp-timing.h: Remove dead comment.
5173 * sysdeps/generic/hp-timing-common.h: New file.
5174 * sysdeps/alpha/hp-timing.h: Include it.
5175 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5176 * sysdeps/i386/i686/hp-timing.h: Likewise.
5177 * sysdeps/ia64/hp-timing.h: Likewise.
5178 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5179 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5180 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5181 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5182 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5183 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5186 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5187 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5188 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5189 * elf/rtld.c (_dl_start_final): Likewise.
5190 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5191 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5192 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5193 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5194 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5195 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5196 (HP_TIMING_DIFF_INIT): Remove.
5197 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5198 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5199 (HP_TIMING_DIFF_INIT): Remove.
5200 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5201 * sysdeps/i386/i686/hp-timing.c: Remove file.
5202 * sysdeps/x86_64/hp-timing.c: Remove file.
5203 * sysdeps/ia64/hp-timing.c: Remove file.
5204 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5205 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5206 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5207 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5209 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5210 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5211 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5212 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5213 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5214 (HP_TIMING_ACCUM): Remove.
5215 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5216 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5217 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5219 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5220 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5221 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5222 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5223 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5224 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5225 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5226 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5228 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5230 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5232 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5234 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5236 Sync up with gettext.
5237 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5238 [_MSC_VER]: Include malloc.h
5239 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5240 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5241 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5242 TEMP_FAILURE_RETRY. Cast return of alloca.
5243 [!_LIBC] Call gl_rwlock_init.
5244 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5246 2014-07-02 Roland McGrath <roland@hack.frob.com>
5248 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5249 before checking its value.
5251 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5253 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5255 * debug/memcpy_chk.c: Don't include pagecopy.h.
5256 * debug/mempcpy_chk.c: Likewise.
5257 * string/memcpy.c: Likewise.
5258 * string/memmove.c: Likewise.
5259 * sysdeps/powerpc/memmove.c: Likewise.
5260 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5261 definition of PAGE_COPY_FWD_MAYBE here...
5262 * sysdeps/generic/pagecopy.h: ... from here.
5263 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5265 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5266 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5268 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5272 (__libc_ifunc_impl_list): Likewise.
5273 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5274 multiarch strcat for PPC64.
5275 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5276 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5278 2014-07-02 Roland McGrath <roland@hack.frob.com>
5280 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5282 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5284 * intl/loadmsgcat.c: Remove declaration of
5285 get_sysdep_segment_value.
5286 (get_sysdep_segment_value): Use ISO C style.
5287 (_nl_load_domain): Use ISO C style. Get rid of redundant
5288 semicolon. Fix typo and formatting in comment.
5289 (_nl_unload_domain): Use ISO C style.
5291 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5293 2014-07-02 Will Newton <will.newton@linaro.org>
5295 * malloc/obstack.c: Merge from gnulib master.
5296 [HAVE_CONFIG_H]: Remove conditional code.
5297 [!_LIBC]: Include config.h.
5298 [!ELIDE_CODE]: Don't include inttypes.h, include
5299 stdint.h unconditionally.
5300 (print_and_abort): Mark as _Noreturn.
5301 (_obstack_allocated_p): Mark as __attribute_pure__.
5302 (obstack_free): Rename to __obstack_free.
5303 [!__attribute__]: Remove conditional code.
5304 * malloc/obstack.h: Merge from gnulib master.
5305 [__cplusplus]: Move conditional down.
5306 [!__attribute_pure__]: Define __attribute_pure__ here
5307 if it is not already defined.
5308 (_obstack_memory_used): Mark as __attribute_pure__.
5309 [!__obstack_free]: Define as obstack_free.
5310 [__GNUC__]: Remove check for ancient NeXT gcc.
5312 2014-07-02 Will Newton <will.newton@linaro.org>
5313 Paul Eggert <eggert@cs.ucla.edu>
5315 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5317 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5319 * resolv/gethnamaddr.c: Add comment warning that the file is
5322 2014-07-01 Carlos O'Donell <carlos@redhat.com>
5324 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5327 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5328 entry for aio_cancel and aio_cancel64.
5329 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5330 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5331 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5332 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5333 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5334 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5335 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5336 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5337 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5338 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5339 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5340 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5341 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5343 2014-07-01 Roland McGrath <roland@hack.frob.com>
5345 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5346 * nptl/pthread_mutex_lock.c: Likewise.
5347 * nptl/pthread_mutex_timedlock.c: Likewise.
5348 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5350 2014-07-01 Richard henderson <rth@redhat.com>
5352 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5353 (__isnan, __isnanl): Remove.
5354 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5356 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5358 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5360 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5362 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5364 * resolv/nss_dns/dns-host.c (getanswer_r)
5365 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5367 2014-07-01 Joseph Myers <joseph@codesourcery.com>
5369 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5370 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5372 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5373 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5375 2014-07-01 Roland McGrath <roland@hack.frob.com>
5377 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5378 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5380 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5381 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5383 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5384 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5386 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5387 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5389 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5390 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5391 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5392 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5394 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5395 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5396 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5397 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5398 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5400 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5402 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5403 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5404 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5405 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5406 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5407 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5408 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5409 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5410 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5411 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5412 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5413 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5414 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5415 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5416 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5417 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5418 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5419 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5420 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5421 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5423 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5424 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5425 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5426 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5427 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5428 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5429 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5430 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5432 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5434 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5435 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5436 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5439 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5443 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5445 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5446 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5448 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5450 * sysdeps/arm/libm-test-ulps: Regenerated.
5452 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5453 Roland McGrath <roland@hack.frob.com>
5455 * test-skeleton.c (signal_handler): Kill the whole process group
5456 before killing the child individually.
5457 (main): Report any failure on `setpgid'.
5459 2014-06-30 Roland McGrath <roland@hack.frob.com>
5461 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5462 from _TLS_H to _ARM_NPTL_TLS_H.
5463 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5464 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5466 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5469 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5470 (__expm1l): Return argument unchanged when small but not
5473 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5475 (_FP_UNPACK_RAW_1_P): Likewise.
5476 (_FP_PACK_RAW_1): Likewise.
5477 (_FP_PACK_RAW_1_P): Likewise.
5478 (_FP_MUL_MEAT_1_wide): Likewise.
5479 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5480 (_FP_MUL_MEAT_1_hard): Likewise.
5481 (_FP_DIV_MEAT_1_imm): Likewise.
5482 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5483 (_FP_DIV_MEAT_1_udiv): Likewise.
5484 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5485 (_FP_UNPACK_RAW_2): Likewise.
5486 (_FP_UNPACK_RAW_2_P): Likewise.
5487 (_FP_PACK_RAW_2): Likewise.
5488 (_FP_PACK_RAW_2_P): Likewise.
5489 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5490 (_FP_MUL_MEAT_2_wide): Likewise.
5491 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5492 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5493 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5494 (_FP_MUL_MEAT_2_gmp): Likewise.
5495 (_FP_DIV_MEAT_2_udiv): Likewise.
5496 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5497 (_FP_FRAC_SRL_4): Likewise.
5498 (_FP_FRAC_SRST_4): Likewise.
5499 (_FP_FRAC_SRS_4): Likewise.
5500 (_FP_UNPACK_RAW_4): Likewise.
5501 (_FP_UNPACK_RAW_4_P): Likewise.
5502 (_FP_PACK_RAW_4): Likewise.
5503 (_FP_PACK_RAW_4_P): Likewise.
5504 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5505 (_FP_MUL_MEAT_4_wide): Likewise.
5506 (_FP_MUL_MEAT_4_gmp): Likewise.
5507 (umul_ppppmnnn): Likewise.
5508 (_FP_DIV_MEAT_4_udiv): Likewise.
5509 (__FP_FRAC_ADD_4): Likewise.
5510 (__FP_FRAC_SUB_3): Likewise.
5511 (__FP_FRAC_SUB_4): Likewise.
5512 (__FP_FRAC_DEC_3): Likewise.
5513 (__FP_FRAC_DEC_4): Likewise.
5514 (__FP_FRAC_ADDI_4): Likewise.
5515 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5516 (_FP_FRAC_SRL_8): Likewise.
5517 (_FP_FRAC_SRS_8): Likewise.
5519 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5521 (FP_UNPACK_RAW_EP): Likewise.
5522 (FP_PACK_RAW_E): Likewise.
5523 (FP_PACK_RAW_EP): Likewise.
5524 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5525 (_FP_ISSIGNAN): Likewise.
5526 (_FP_ADD_INTERNAL): Likewise.
5527 (_FP_FMA): Likewise.
5528 (_FP_CMP): Likewise.
5529 (_FP_SQRT): Likewise.
5530 (_FP_TO_INT): Likewise.
5531 (_FP_FROM_INT): Likewise.
5532 (FP_EXTEND): Likewise.
5533 (_FP_DIV_MEAT_N_loop): Likewise.
5535 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5537 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5540 2014-06-29 Joseph Myers <joseph@codesourcery.com>
5543 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5544 result with correct sign in case of exponents that produce
5545 overflow except for X very close to 1.
5547 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5549 mktime: merge #if/#ifdef usage from glibc
5550 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5551 as that works with both Glibc's and Gnulib's style.
5552 See thread starting at Siddhesh Poyarekar's bug report at:
5553 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5555 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5557 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5558 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5559 * sysdeps/tile/tilegx/memmove.c: Remove file.
5561 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5563 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5564 abi-name definition.
5565 * scripts/soversions.awk: Do not handle or generate ABI lines.
5566 * shlib-versions: Remove ABI entries.
5567 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5568 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5570 2014-06-27 Roland McGrath <roland@hack.frob.com>
5572 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5573 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5574 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5575 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5576 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5577 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5578 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5580 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5582 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5583 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5584 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5585 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5586 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5587 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5588 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5589 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5590 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5591 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5592 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5593 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5594 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5596 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5597 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5598 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5599 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5600 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5601 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5603 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5604 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5606 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5607 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5608 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5609 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5611 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5612 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5613 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5614 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5615 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5616 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5617 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5618 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5620 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5621 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5622 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5623 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5625 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5626 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5628 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5629 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5630 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5631 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5633 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5635 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5636 Identical file removed.
5637 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5639 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5640 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5641 Identical file removed.
5642 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5643 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5644 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5646 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5647 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5648 Identical file removed.
5649 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5650 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5651 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5652 Identical file removed.
5653 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5654 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5655 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5656 Identical file removed.
5657 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5658 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5659 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5660 Identical file removed.
5661 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5663 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5664 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5665 Identical file removed.
5666 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5668 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5669 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5670 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5671 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5672 Identical file removed.
5673 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5675 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5677 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5678 Identical file removed.
5679 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5681 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5682 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5683 Identical file removed.
5684 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5686 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5687 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5688 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5690 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5691 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5693 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5694 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5695 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5697 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5698 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5699 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5700 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5701 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5703 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
5706 * nscd/nscd.c (monitor_child): Return exit status of child
5707 instead of return value from wait syscall.
5709 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5711 * configure.ac (libc_commonpagesize): Remove variable.
5712 (libc_relro_required): Likewise.
5713 (libc_cv_z_relro): Remove configure test.
5714 * configure: Regenerated.
5715 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5717 (libc_relro_required): Likewise.
5718 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5719 (libc_relro_required): Likewise.
5720 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5721 (libc_relro_required): Likewise.
5722 * sysdeps/arm/preconfigure: Regenerated.
5723 * sysdeps/ia64/preconfigure: Remove file.
5724 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5726 (libc_relro_required): Likewise.
5730 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5731 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5732 recompute overflowing results in original rounding mode.
5733 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5734 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5735 recompute overflowing results in original rounding mode.
5736 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5737 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5738 recompute overflowing results in original rounding mode.
5739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5740 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5741 recompute overflowing results in original rounding mode.
5742 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5743 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5744 recompute overflowing results in original rounding mode.
5745 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5746 (libc_feholdsetround_ctx): New macro.
5747 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5748 * sysdeps/i386/fpu/libm-test-ulps: Update.
5749 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5751 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5753 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5754 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5755 corresponding .cpsetup call.
5757 2014-06-26 Roland McGrath <roland@hack.frob.com>
5759 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5760 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5761 * sysdeps/arm/Makefile [$(subdir) = csu]
5762 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5763 (static-only-routines): Add aeabi_read_tp here.
5764 (shared-only-routines): Add libc-aeabi_read_tp here.
5765 (CFLAGS-libc-start.c): Add -fexceptions here.
5766 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5767 (sysdep_routines, static-only-routines, shared-only-routines):
5768 Don't add to these here.
5769 (CFLAGS-libc-start.c): Likewise.
5771 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5772 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5773 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5774 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5775 * sysdeps/arm/Makefile [$(subdir) = rt]
5776 (librt-sysdep_routines, librt-shared-only-routines):
5777 Append rt-aeabi_unwind_cpp_pr1 here.
5778 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5779 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5780 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5781 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5782 Append nptl-aeabi_unwind_cpp_pr1 here.
5783 (tests): Filter out tst-cleanupx4 here.
5784 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5785 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5786 Don't do those here.
5788 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5790 * scripts/list-sources.sh: Do not handle ports specially.
5792 2014-06-26 Roland McGrath <roland@hack.frob.com>
5794 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5795 * sysdeps/arm/feupdateenv.c: Likewise.
5797 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5799 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5801 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5802 trailing whitespace removed.
5803 * scripts/config.guess: Update to version 2014-03-23.
5804 * scripts/config.sub: Update to version 2014-05-01
5805 * scripts/install-sh: Update to version 2013-12-25.23.
5806 * scripts/move-if-change: Update from gnulib.
5808 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5810 * debug/memmove_chk.c: Remove pagecopy.h include.
5812 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5814 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5815 identical to gnulib mktime.
5817 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5819 * configure.ac: Do not test for machine being rs6000. Do not test
5821 * configure: Regenerated.
5823 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5825 * configure: Regenerated.
5826 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5827 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5828 Remove configure test.
5829 * sysdeps/arm/configure: Regenerated.
5830 * sysdeps/nptl/configure.ac: Do not check
5831 libc_cv_asm_cfi_directives.
5832 * sysdeps/nptl/configure: Regenerated.
5833 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5834 * sysdeps/x86_64/nptl/configure: Remove generated file.
5835 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5837 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5839 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5841 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5842 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5843 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5846 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5847 instead of whether it is defined.
5848 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5849 * sysdeps/hppa/dl-machine.h: Likewise.
5850 * sysdeps/ia64/dl-machine.h: Likewise.
5851 * sysdeps/m68k/dl-machine.h: Likewise.
5852 * sysdeps/microblaze/dl-machine.h: Likewise.
5853 * sysdeps/mips/dl-machine.: Likewise.
5854 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5855 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5856 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5857 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5858 * sysdeps/sh/dl-machine.h: Likewise.
5859 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5860 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5861 * sysdeps/tile/dl-machine.h: Likewise.
5862 * sysdeps/x86_64/dl-machine.h: Likewise.
5864 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5866 (verify_persistent_db): Likewise.
5868 2014-06-26 Roland McGrath <roland@hack.frob.com>
5870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5871 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5873 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5876 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5879 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5881 Identical file removed.
5882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5883 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5885 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5887 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5889 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5891 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5894 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5896 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5898 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5901 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5903 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5905 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5907 Identical file removed.
5908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5909 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5911 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5914 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5917 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5919 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5921 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5923 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5925 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5928 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5931 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5933 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5936 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5938 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5940 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5942 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5943 * sysdeps/unix/sysv/linux/s390/Versions
5944 (libpthread: GLIBC_2.19): New version set.
5945 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5946 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5947 (librt: GLIBC_2.3.3): New version set.
5948 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5949 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5950 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5951 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5952 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5953 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5954 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5955 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5956 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5957 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5958 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5959 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5960 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5961 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5962 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5963 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5964 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5965 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5966 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5967 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5968 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5969 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5970 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5971 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5972 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5973 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5974 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5975 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5976 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5977 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5978 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5979 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5980 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5981 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5982 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5983 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5984 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5985 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5986 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5987 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5988 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5989 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5990 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5991 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5992 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5994 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5995 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5996 (__libc_vfork): Define the function under this name.
5997 [!NOT_IN_libc] (__vfork): Make this an alias.
5998 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5999 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6000 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6001 (__libc_vfork): Define the function under this name.
6002 [!NOT_IN_libc] (__vfork): Make this an alias.
6003 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6004 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6005 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6006 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6007 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6008 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6010 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6011 code that was previously under [RESET_PID].
6012 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6013 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6014 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6016 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6017 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6018 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6019 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6020 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6021 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6022 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6023 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6024 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6025 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6026 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6028 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6029 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6030 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6031 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6032 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6033 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6034 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6035 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6036 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6037 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6038 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6039 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6040 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6041 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6042 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6043 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6044 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6045 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6046 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6047 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6048 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6049 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6050 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6051 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6052 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6053 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6054 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6055 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6056 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6058 2014-06-25 Roland McGrath <roland@hack.frob.com>
6060 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6061 that was previously under [RESET_PID].
6062 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6064 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6066 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6067 not undefine and redefine.
6068 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6069 [O_CLOEXEC]: Make code unconditional.
6070 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6071 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6072 <kernel-features.h>.
6073 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6074 conditional variable definition.
6075 (shm_open) [O_CLOEXEC]: Make code unconditional.
6076 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6079 * configure.ac (USE_REGPARMS): Don't define here.
6080 * configure: Regenerated.
6081 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6082 * sysdeps/i386/configure: Regenerated.
6084 * nptl/createthread.c: Don't include kernel-features.h.
6085 * nptl/pthread_cancel.c: Likewise.
6086 * nptl/pthread_condattr_setclock.c: Likewise.
6087 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6088 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6089 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6090 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6091 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6092 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6093 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6094 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6095 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6096 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6097 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6098 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6099 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6100 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6101 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6102 * nscd/gai.c: Likewise.
6103 * nss/nss_db/db-open.c: Likewise.
6104 * sysdeps/generic/ldsodefs.h: Likewise.
6105 * sysdeps/sh/nptl/tls.h: Likewise.
6106 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6107 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6108 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6109 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6110 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6111 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6112 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6113 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6114 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6115 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6116 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6117 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6118 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6119 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6120 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6121 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6122 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6123 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6124 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6125 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6126 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6127 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6128 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6129 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6130 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6131 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6132 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6133 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6134 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6135 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6136 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6137 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6138 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6139 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6140 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6141 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6142 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6143 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6144 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6145 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6146 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6147 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6148 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6149 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6150 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6151 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6152 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6153 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6154 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6155 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6156 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6157 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6158 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6159 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6160 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6161 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6162 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6163 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6186 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6187 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6188 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6189 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6190 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6191 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6192 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6193 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6194 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6195 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6196 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6197 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6198 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6199 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6200 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6201 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6202 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6203 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6204 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6205 * sysdeps/unix/sysv/linux/system.c: Likewise.
6206 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6207 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6208 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6209 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6210 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6211 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6212 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6214 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6215 * configure: Regenerated.
6216 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6218 * configure.ac (base_machine): Do not set specially for particular
6220 * configure: Regenerated.
6221 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6222 settings from configure.ac.
6223 * sysdeps/i386/preconfigure: New file.
6224 * sysdeps/s390/preconfigure: Likewise.
6225 * sysdeps/sh/preconfigure: Likewise.
6226 * sysdeps/sparc/preconfigure: Likewise.
6228 2014-06-25 Roland McGrath <roland@hack.frob.com>
6230 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6231 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6232 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6233 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6234 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6235 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6236 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6237 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6238 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6239 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6240 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6241 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6242 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6243 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6244 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6245 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6246 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6247 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6248 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6250 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6251 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6252 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6253 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6254 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6255 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6256 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6257 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6258 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6259 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6260 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6261 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6262 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6263 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6264 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6265 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6266 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6267 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6268 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6269 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6270 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6271 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6272 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6273 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6274 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6275 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6276 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6277 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6278 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6279 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6280 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6281 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6282 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6283 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6284 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6285 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6286 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6287 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6290 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6292 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6295 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6298 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6300 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6303 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6305 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6307 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6309 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6312 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6315 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6317 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6320 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6322 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6324 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6326 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6328 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6331 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6334 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6336 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6339 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6341 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6343 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6345 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6348 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6351 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6353 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6356 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6358 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6360 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6362 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6364 * timezone/checktab.awk: Update from tzcode 2014e.
6365 * timezone/private.h: Likewise.
6366 * timezone/tzfile.h: Likewise.
6367 * timezone/zdump.c: Likewise.
6368 * timezone/zic.c: Likewise.
6370 * sysdeps/unix/sysv/linux/kernel-features.h
6371 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6372 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6373 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6374 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6375 Remove conditional code.
6377 2014-06-25 Will Newton <will.newton@linaro.org>
6379 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6380 (_dl_arm_cap_flags): Add HWCAP2 values.
6381 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6382 (_DL_HWCAP_COUNT): Increase to 37.
6383 (_DL_HWCAP_LAST): New define.
6384 (_DL_HWCAP2_LAST): New define.
6385 (_dl_procinfo): Add support for printing
6387 (_dl_string_hwcap): Use _dl_hwcap_string.
6389 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6393 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6395 * README: Do not mention ports directory.
6397 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6399 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6400 <kernel-features.h>.
6401 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6402 conditional variable definition.
6403 (__futimes): Update comment.
6404 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6405 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6408 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6409 arguments close to 0.
6410 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6412 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6414 * math/auto-libm-test-in: Add more tests of exp10.
6415 * math/auto-libm-test-out: Regenerated.
6416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6418 * sysdeps/unix/sysv/linux/kernel-features.h
6419 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6420 * sysdeps/unix/sysv/linux/readv.c: Do not include
6421 <kernel-features.h>.
6422 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6423 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6424 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6426 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6428 * sysdeps/unix/sysv/linux/writev.c: Do not include
6429 <kernel-features.h>.
6430 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6431 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6432 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6434 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6437 2014-06-25 Will Newton <will.newton@linaro.org>
6439 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6440 comment changes throughout the file. Remove checks
6441 for HAVE_*_H definitions that are not required.
6442 (__gen_tempname): Call abort if an unknown kind value is
6445 2014-06-25 Andreas Schwab <schwab@suse.de>
6448 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6449 scalbln, scalblnf, scalblnl in libc.
6451 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6454 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6455 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6456 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6458 2014-06-24 Roland McGrath <roland@hack.frob.com>
6460 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6461 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6462 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6463 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6465 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6466 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6468 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6469 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6470 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6471 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6472 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6473 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6474 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6475 * sysdeps/x86/bits/semaphore.h: ... here.
6476 * sysdeps/x86/nptl/elide.h: Moved ...
6477 * sysdeps/x86/elide.h: ... here.
6478 * sysdeps/x86_64/nptl/Implies: File removed.
6479 * sysdeps/i386/nptl/Implies: File removed.
6481 2014-06-24 Joseph Myers <joseph@codesourcery.com>
6484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6485 return the argument for normal arguments with exponent below -64.
6486 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6488 * math/auto-libm-test-in: Add another test of expm1.
6489 * math/auto-libm-test-out: Regenerated.
6492 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6493 calling __erfcl for arguments at least 16.
6494 * math/auto-libm-test-in: Add more tests of erf.
6495 * math/auto-libm-test-out: Regenerated.
6497 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6498 individual architectures.
6499 * sysdeps/unix/sysv/linux/configure: Regenerated.
6500 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6501 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6502 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6503 (ldd_rewrite_script): Define variable.
6504 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6509 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6510 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6511 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6512 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6513 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6514 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6515 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6516 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6518 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6521 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6522 Rename member __data.d to __data.__elision_data.
6524 2014-06-24 Wilco <wdijkstr@arm.com>
6526 * NEWS: Add 16918 to fixed bug list.
6528 2014-06-24 Wilco <wdijkstr@arm.com>
6530 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6532 2014-06-24 Wilco <wdijkstr@arm.com>
6534 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6535 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6536 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6537 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6538 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6539 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6540 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6543 2014-06-24 Wilco <wdijkstr@arm.com>
6545 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6547 2014-06-24 Wilco <wdijkstr@arm.com>
6549 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6550 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6551 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6552 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6554 2014-06-24 Wilco <wdijkstr@arm.com>
6557 * sysdeps/arm/feupdateenv.c (feupdateenv):
6558 Rewrite to reduce FPSCR accesses and fix return value.
6560 2014-06-24 Wilco <wdijkstr@arm.com>
6562 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6563 Optimize to avoid unnecessary FPSCR writes.
6564 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6565 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6566 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6567 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6569 2014-06-24 Wilco <wdijkstr@arm.com>
6571 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6572 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6573 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6574 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6575 Call libc_fetestexcept_vfp.
6576 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6577 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6578 __SOFTFP__ ifdef so that they can be built for softfp.
6580 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6582 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6583 argument type signed char.
6585 * Makerules (check-abi): Dump diff of symlist if the test
6588 2014-06-23 Roland McGrath <roland@hack.frob.com>
6590 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6593 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6594 Remove unused variable ST.
6596 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6600 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6601 small arguments before calling __expm1.
6602 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6603 small arguments before calling __expm1f.
6604 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6605 small arguments before calling __expm1l.
6606 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6608 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6609 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6610 spurious underflow for some cosh tests.
6611 * math/auto-libm-test-out: Regenerated.
6612 * sysdeps/i386/fpu/libm-test-ulps: Update.
6615 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6616 (__ieee754_y1): Set errno if return value overflows.
6617 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6618 (__ieee754_y1f): Set errno if return value overflows.
6619 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6620 (__ieee754_y1l): Set errno if return value overflows.
6621 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6622 (__ieee754_y1l): Set errno if return value overflows.
6623 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6624 * math/auto-libm-test-out: Regenerated.
6626 * math/gen-auto-libm-tests.c: Document use of
6627 ignore-zero-inf-sign.
6628 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6629 (input_flags): Add ignore-zero-inf-sign.
6630 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6631 * math/gen-libm-test.pl (generate_testfile): Handle
6632 ignore-zero-inf-sign.
6633 * math/auto-libm-test-in: Mark some cpow tests with
6634 ignore-zero-inf-sign and some with xfail-rounding.
6635 * math/auto-libm-test-out: Regenerated.
6636 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6637 * sysdeps/i386/fpu/libm-test-ulps: Update.
6638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6641 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6642 overflowing or underflowing operations take place with sign of
6644 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6645 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6646 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6647 (__ieee754_pow): Recompute overflowing and underflowing results in
6648 original rounding mode.
6649 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6650 (__powl_helper): Allow negative argument X and scale negated value
6651 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6652 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6653 overflowing or underflowing operations take place with sign of
6655 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6657 * math/auto-libm-test-in: Add more tests of pow.
6658 * math/auto-libm-test-out: Regenerated.
6659 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6660 (pow_tonearest_test_data): Remove.
6661 (pow_test_tonearest): Likewise.
6662 (pow_towardzero_test_data): Likewise.
6663 (pow_test_towardzero): Likewise.
6664 (pow_downward_test_data): Likewise.
6665 (pow_test_downward): Likewise.
6666 (pow_upward_test_data): Likewise.
6667 (pow_test_upward): Likewise.
6668 (main): Don't call removed functions.
6669 * sysdeps/i386/fpu/libm-test-ulps: Update.
6670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6672 2014-06-23 Roland McGrath <roland@hack.frob.com>
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6848 2014-06-23 Will Newton <will.newton@linaro.org>
6849 Wilco <wdijkstr@arm.com>
6851 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6852 implementation. Include get-rounding-mode.h.
6853 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6854 [!libc_feholdsetround_noex_ctx]: Define
6855 libc_feholdsetround_noex_ctx.
6856 [!libc_feholdsetround_noexf_ctx]: Define
6857 libc_feholdsetround_noexf_ctx.
6858 [!libc_feholdsetround_noexl_ctx]: Define
6859 libc_feholdsetround_noexl_ctx.
6860 (libc_feholdsetround_ctx): New function.
6861 (libc_feresetround_ctx): New function.
6862 (libc_feholdsetround_noex_ctx): New function.
6863 (libc_feresetround_noex_ctx): New function.
6865 2014-06-23 Roland McGrath <roland@hack.frob.com>
6867 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6868 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6869 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6870 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6871 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6872 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6874 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6875 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6876 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6877 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6878 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6879 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6880 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6881 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6882 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6883 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6884 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6886 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6888 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6889 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6890 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6891 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6892 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6894 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6895 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6896 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6897 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6898 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6899 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6900 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6901 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6903 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6904 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6906 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6907 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6908 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6909 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6911 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6912 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6913 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6914 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6915 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6916 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6917 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6918 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6919 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6920 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6922 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6924 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6925 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6926 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6927 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6928 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6929 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6930 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6931 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6932 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6933 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6934 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6935 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6936 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6938 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6939 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6940 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6941 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6942 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6943 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6945 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6946 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6947 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6948 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6949 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6951 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6952 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6953 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6954 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6955 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6956 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6957 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6958 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6959 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6960 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6961 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6962 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6963 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6964 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6965 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6966 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6967 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6968 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6969 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6970 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6971 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6972 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6973 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6974 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6975 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6976 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6977 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6978 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6980 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6982 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6983 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6984 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6985 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6986 (IPV6_PMTUDISC_INTERFACE): Likewise.
6987 (IPV6_PMTUDISC_OMIT): Likewise.
6989 2014-06-23 Andreas Schwab <schwab@suse.de>
6991 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6992 Remove unused errout label.
6994 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6996 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6997 macro: hardware supports Vector Crypto instructions.
6999 2014-06-23 Will Newton <will.newton@linaro.org>
7001 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7002 rather than __builtin_expect.
7004 * elf/dl-lookup.c (undefined_msg): Remove variable.
7005 (_dl_lookup_symbol_x): Replace undefined_msg with string
7008 * elf/dl-lookup.c (do_lookup_unique): New function.
7009 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7010 to a separate function.
7012 2014-06-23 Andreas Schwab <schwab@suse.de>
7015 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7016 before reading the next line.
7018 2014-06-23 Will Newton <will.newton@linaro.org>
7020 * test-skeleton.c (signal_handler): Use printf and %m
7021 rather than perror. Use printf rather than fprintf to
7022 stderr. Use puts rather than fputs to stderr.
7025 2014-06-22 Ludovic Courtès <ludo@gnu.org>
7027 * nscd/nscd.c (thread_info_t): Remove typedef.
7028 (thread_info): Remove variable.
7030 2014-06-21 Allan McRae <allan@archlinux.org>
7032 * NEWS: Mention CVE-2014-4043.
7034 2014-06-20 Roland McGrath <roland@hack.frob.com>
7036 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7037 * nptl/smp.h: ... here.
7039 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7041 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7042 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7043 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7044 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7046 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7047 * nptl/stack-aliasing.h: New file.
7048 * sysdeps/i386/i686/stack-aliasing.h: New file.
7049 * sysdeps/i386/i686/nptl/Makefile: File removed.
7050 * sysdeps/x86_64/stack-aliasing.h: New file.
7051 * sysdeps/x86_64/nptl/Makefile
7052 (CFLAGS-pthread_create.c): Variable removed.
7054 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7055 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7057 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7058 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7061 2014-06-21 Joseph Myers <joseph@codesourcery.com>
7063 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7064 (__ASSUME_SIGFRAME_V2): Remove macro.
7065 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7066 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7067 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7068 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7069 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7070 Declare as function. Remove conditional macro definitions.
7071 (__default_rt_sa_restorer): Likewise.
7072 (__default_sa_restorer_v1): Remove declaration.
7073 (__default_sa_restorer_v2): Likewise.
7074 (__default_rt_sa_restorer_v1): Likewise.
7075 (__default_rt_sa_restorer_v2): Likewise.
7076 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7077 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7078 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7080 2014-06-20 Roland McGrath <roland@hack.frob.com>
7082 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7083 (libpthread-routines): Add sysdep.
7084 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7085 * sysdeps/unix/sysv/linux/sparc/Versions
7086 (libpthread: GLIBC_2.3.3): New version set.
7087 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7088 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7089 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7090 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7091 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7092 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7094 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7095 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7096 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7097 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7098 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7099 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7100 * sysdeps/sparc/nptl/sem_init.c: ... here.
7101 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7102 * sysdeps/sparc/nptl/sem_post.c: ... here.
7103 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7104 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7105 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7106 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7107 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7108 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7109 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7110 (libpthread-routines): Add cpu_relax.
7111 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7113 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7114 (librt: GLIBC_2.3.3): New version set.
7115 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7116 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7117 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7118 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7119 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7121 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7122 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7124 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7125 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7126 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7128 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7130 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7132 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7133 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7135 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7139 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7143 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7147 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7151 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7155 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7158 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7160 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7162 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7164 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7166 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7169 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7171 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7173 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7175 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7177 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7178 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7179 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7180 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7181 * nscd/nscd.c: Likewise.
7182 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7183 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7184 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7185 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7187 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7188 <kernel-features.h>.
7189 (init_mq_netlink): Remove conditional have_sock_cloexec
7190 definitions. Remove code conditional on have_sock_cloexec < 0.
7191 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7192 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7193 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7194 <kernel-features.h>.
7195 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7196 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7198 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7200 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7201 Add tests for memset_chk and memset.
7203 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7206 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7209 * elf/tst-dl-iter-static.c: New file.
7210 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7212 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7215 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7217 * sysdeps/unix/sysv/linux/kernel-features.h
7218 (__ASSUME_F_GETOWN_EX): Remove macro.
7219 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7220 <kernel-features.h>.
7221 (miss_F_GETOWN_EX): Remove variable or macro.
7222 (do_fcntl): Do not check miss_F_GETOWN_EX.
7223 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7225 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7228 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7229 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7231 * sysdeps/unix/sysv/linux/kernel-features.h
7232 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7233 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7234 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7235 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7237 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7240 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7241 Fix calculation of the symbol's value.
7242 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7243 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7244 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7245 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7246 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7247 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7248 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7249 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7250 (modules-names): Add `tst-armtlsdescmod',
7251 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7252 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7253 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7254 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7255 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7256 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7257 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7258 ($(objpfx)tst-armtlsdescloc): New dependency.
7259 ($(objpfx)tst-armtlsdescextnow): Likewise.
7260 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7261 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7263 * sysdeps/arm/configure: Regenerate.
7265 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7267 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7268 (__atfct_seterrno_2): Likewise.
7269 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7270 <kernel-features.h>.
7271 (__ASSUME_ATFCTS): Do not undefine and redefine.
7272 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7273 (__have_atfcts): Remove conditional definition.
7274 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7275 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7276 unreachable if [__ASSUME_ATFCTS].
7277 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7278 not undefine and redefine.
7279 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7280 <kernel-features.h>.
7281 (faccessat) [__NR_faccessat]: Make code unconditional.
7282 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7283 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7284 <kernel-features.h>.
7285 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7286 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7287 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7288 <kernel-features.h>.
7289 (fchownat) [__NR_fchownat]: Make code unconditional.
7290 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7291 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7292 <kernel-features.h>.
7293 (futimesat) [__NR_futimesat]: Make code unconditional.
7294 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7295 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7296 <kernel-features.h>.
7297 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7298 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7299 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7300 <kernel-features.h>.
7301 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7302 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7303 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7304 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7305 <kernel-features.h>.
7306 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7307 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7308 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7309 <kernel-features.h>.
7310 (linkat) [__NR_linkat]: Make code unconditional.
7311 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7312 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7313 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7314 <kernel-features.h>.
7315 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7316 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7317 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7318 <kernel-features.h>.
7319 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7320 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7321 * sysdeps/unix/sysv/linux/openat.c: Do not include
7322 <kernel-features.h>.
7323 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7324 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7325 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7326 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7327 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7328 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7329 <kernel-features.h>.
7330 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7331 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7332 result of INLINE_SYSCALL directly, not via int variable.
7333 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7334 <kernel-features.h>.
7335 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7336 (renameat) [__NR_renameat]: Make code unconditional.
7337 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7338 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7339 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7340 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7341 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7342 (__ASSUME_ATFCTS): Do not undefine and redefine.
7343 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7344 <kernel-features.h>.
7345 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7346 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7347 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7348 <kernel-features.h>.
7349 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7350 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7351 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7352 (__ASSUME_ATFCTS): Do not undefine and redefine.
7353 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7354 <kernel-features.h>.
7355 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7356 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7357 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7358 <kernel-features.h>.
7359 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7360 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7362 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7364 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7366 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7369 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7370 constructed tree before returning error.
7371 * posix/bug-regexp36.c: Expand test case.
7373 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7376 * math/libm-test.inc (scalbln_test_date):
7377 Add errno expectations.
7378 * math/w_scalblnf.c: New File.
7379 Add wrapper which checks for setting errno to ERANGE.
7380 Add weak_alias for corresponding scalbln function.
7381 * math/w_scalbln.c: Likewise.
7382 * math/w_scalblnl.c: Likewise.
7383 * math/Makefile (libm-calls): Add w_scalbln.
7384 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7385 Remove weak_alias for corresponding scalbln function.
7386 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7387 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7388 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7389 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7390 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7391 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7392 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7393 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7394 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7395 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7396 Remove long_double_symbol for scalblnl function in libm, libc.
7397 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7398 Add wrapper which checks for setting errno to ERANGE.
7399 Add long_double_symbol for scalblnl function in libm, libc.
7400 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7401 Remove long_double_symbol for scalblnl in libm.
7402 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7403 Add wrapper which checks for setting errno to ERANGE.
7404 Add long_double_symbol for scalblnl function in libm.
7405 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7406 Do not use wrapper because of own implementation.
7408 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7410 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7411 3 bytes for __pad1 for x32.
7412 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7414 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7415 H.J. Lu <hongjiu.lu@intel.com>
7417 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7418 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7419 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7420 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7421 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7423 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7426 * posix/regcomp.c (parse_expression): Deallocate partially
7427 constructed tree before returning error.
7428 * posix/Makefile.c (tests): Add bug-regex36.
7429 (generated): Add bug-regex36.mtrace.
7430 (tests-special): Add $(objpfx)bug-regex36-mem.out
7431 (bug-regex36-ENV): New variable.
7432 ($(objpfx)bug-regex36-mem.out): New rule.
7433 * posix/bug-regex36.c: New file.
7435 2014-06-19 Will Newton <will.newton@linaro.org>
7437 * malloc/malloc.c (systrim): If extra is zero then return
7440 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7442 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7444 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
7446 * sysdeps/aarch64/strchr.S: New file.
7448 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7451 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7452 from arguments -2 or below.
7453 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7454 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7456 2014-06-18 Andreas Schwab <schwab@suse.de>
7459 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7460 of a bracket expr not to run off the end of the string.
7461 * posix/Makefile (tests): Add tst-fnmatch3.
7462 * posix/tst-fnmatch3.c: New file.
7464 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7466 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7467 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7468 [$(cross-compiling) = no]: Likewise.
7469 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7470 [$(cross-compiling) = no]: Likewise.
7472 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7475 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7476 double, adjusted for any remainder from the high double.
7477 * math/libm-test.inc (nearbyint): Add tests.
7480 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7482 * nptl/sysdeps/powerpc/Makefile: Moved ...
7483 * sysdeps/powerpc/nptl/Makefile: ... here.
7484 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7485 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7486 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7487 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7488 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7489 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7490 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7491 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7492 * nptl/sysdeps/powerpc/tls.h: Moved ...
7493 * sysdeps/powerpc/nptl/tls.h: ... here.
7495 2014-06-16 Joseph Myers <joseph@codesourcery.com>
7498 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7499 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7500 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7501 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7502 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7503 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7504 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7505 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7506 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7508 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7510 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7512 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7514 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7517 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7520 2014-06-16 Florian Weimer <fweimer@redhat.com>
7523 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7524 non-executed part of the test.
7526 2014-06-16 Andreas Schwab <schwab@suse.de>
7528 * string/bits/string2.h (strdup, strndup): Update feature guard.
7530 2014-06-14 David S. Miller <davem@davemloft.net>
7532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7534 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7536 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7537 that was previously under [RESET_PID].
7538 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7540 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7541 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7542 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7543 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7544 (__libc_vfork): New strong alias.
7545 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7547 2014-06-14 Andi Kleen <ak@linux.intel.com>
7549 * sysdeps/generic/elide.h: New file.
7551 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7553 * Makefile (installed-headers): Adjust path of pthread.h header.
7555 2014-06-13 Roland McGrath <roland@hack.frob.com>
7557 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7558 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7559 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7560 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7562 * nptl/sysdeps/s390/Makefile: Moved ...
7563 * sysdeps/s390/nptl/Makefile: ... here.
7564 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7565 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7566 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7567 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7568 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7569 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7570 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7571 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7572 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7573 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7574 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7575 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7576 * nptl/sysdeps/s390/tls.h: Moved ...
7577 * sysdeps/s390/nptl/tls.h: ... here.
7579 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7580 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7582 2014-06-13 David S. Miller <davem@davemloft.net>
7584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7587 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7591 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7592 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7593 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7594 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7595 Remove RESET_PID cpp guards.
7596 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7597 Remove RESET_PID cpp guards.
7598 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7600 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7602 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7605 2014-06-13 Andi Kleen <ak@linux.intel.com>
7607 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7608 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7609 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7610 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7611 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7612 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7613 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7614 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7615 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7616 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7617 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7618 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7619 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7620 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7621 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7622 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7623 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7624 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7625 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7626 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7628 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7629 (pthread_rwlock_rdlock): Add elision.
7630 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7631 (pthread_rwlock_wrlock): Add elision.
7632 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7633 (pthread_rwlock_trywrlock): Add elision.
7634 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7635 (pthread_rwlock_tryrdlock): Add elision.
7636 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7637 (pthread_rwlock_tryrdlock): Add elision unlock.
7638 * nptl/sysdeps/pthread/pthread.h:
7639 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7640 (PTHREAD_RWLOCK_INITIALIZER,
7641 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7642 Handle new elision field.
7643 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7644 * sysdeps/arm/nptl/bits/pthreadtypes.h
7645 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7646 * sysdeps/sh/nptl/bits/pthreadtypes.h
7647 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7648 * sysdeps/tile/nptl/bits/pthreadtypes.h
7649 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7650 * sysdeps/a/nptl/bits/pthreadtypes.h
7651 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7652 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7653 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7654 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7655 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7656 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7657 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7658 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7659 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7660 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7661 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7662 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7663 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7664 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7665 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7666 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7667 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7668 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7669 (elision_init): Set try_xbegin to zero when no RTM.
7670 * sysdeps/x86/nptl/bits/pthreadtypes.h
7671 (pthread_rwlock_t): Change __pad1 to __rwelision.
7672 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7674 2014-06-13 Andi Kleen <ak@linux.intel.com>
7676 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7677 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7678 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7679 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7681 2014-06-13 Meador Inge <meadori@codesourcery.com>
7684 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7685 that the cached result has been set before returning it.
7687 2014-06-12 Roland McGrath <roland@hack.frob.com>
7689 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7690 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7691 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7692 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7693 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7694 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7696 * nptl/sysdeps/sparc/Makefile: Moved ...
7697 * sysdeps/sparc/nptl/Makefile: ... here.
7698 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7699 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7700 * nptl/sysdeps/sparc/tls.h: Moved ...
7701 * sysdeps/sparc/nptl/tls.h: ... here.
7702 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7703 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7704 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7705 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7706 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7707 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7708 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7709 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7710 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7711 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7712 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7713 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7714 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7715 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7716 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7717 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7718 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7719 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7721 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7722 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7724 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7725 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7727 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7728 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7731 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7733 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7734 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7736 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7737 (struct list_links): Type removed.
7738 (struct thread_node, struct timer_node): Replace struct list_links
7739 with struct list_head.
7740 (list_unlink_ip): Likewise.
7741 * sysdeps/pthread/timer_routines.c
7742 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7743 (list_append, list_insbefore): Likewise.
7744 (list_init): Function removed.
7745 (thread_init, init_module): Use INIT_LIST_HEAD instead.
7746 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7747 * sysdeps/pthread/Makefile: ... here, new file.
7749 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7750 * sysdeps/nptl/Implies: ... here.
7751 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7752 * nptl/sysdeps/pthread/list.h: Moved ...
7753 * include/list.h: ... here.
7754 * nptl/sysdeps/pthread/createthread.c: Moved ...
7755 * nptl/createthread.c: ... here.
7756 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7757 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7758 * nptl/pt-longjmp.c: ... here.
7759 * nptl/sysdeps/pthread/Makefile: Moved ...
7760 * sysdeps/nptl/Makefile: ... here.
7761 * nptl/sysdeps/pthread/Subdirs: Moved ...
7762 * sysdeps/nptl/Subdirs: ... here.
7763 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7764 * sysdeps/nptl/aio_misc.h: ... here.
7765 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7766 * sysdeps/nptl/bits/libc-lock.h: ... here.
7767 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7768 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7769 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7770 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7771 * nptl/sysdeps/pthread/configure: Moved ...
7772 * sysdeps/nptl/configure: ... here.
7773 * nptl/sysdeps/pthread/configure.ac: Moved ...
7774 * sysdeps/nptl/configure.ac: ... here.
7775 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7776 * sysdeps/nptl/gai_misc.h: ... here.
7777 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7778 * sysdeps/nptl/librt-cancellation.c: ... here.
7779 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7780 * sysdeps/nptl/malloc-machine.h: ... here.
7781 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7782 * sysdeps/nptl/pthread-functions.h: ... here.
7783 * nptl/sysdeps/pthread/pthread.h: Moved ...
7784 * sysdeps/nptl/pthread.h: ... here.
7785 * nptl/sysdeps/pthread/setxid.h: Moved ...
7786 * sysdeps/nptl/setxid.h: ... here.
7787 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7788 * sysdeps/nptl/sigfillset.c: ... here.
7789 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7790 * sysdeps/nptl/tcb-offsets.h: ... here.
7791 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7792 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7793 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7794 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7795 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7796 * sysdeps/pthread/allocalim.h: ... here.
7797 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7798 * sysdeps/pthread/bits/sigthread.h: ... here.
7799 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7800 * sysdeps/pthread/flockfile.c: ... here.
7801 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7802 * sysdeps/pthread/ftrylockfile.c: ... here.
7803 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7804 * sysdeps/pthread/funlockfile.c: ... here.
7805 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7806 * sysdeps/pthread/posix-timer.h: ... here.
7807 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7808 * sysdeps/pthread/timer_create.c: ... here.
7809 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7810 * sysdeps/pthread/timer_delete.c: ... here.
7811 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7812 * sysdeps/pthread/timer_getoverr.c: ... here.
7813 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7814 * sysdeps/pthread/timer_gettime.c: ... here.
7815 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7816 * sysdeps/pthread/timer_routines.c: ... here.
7817 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7818 * sysdeps/pthread/timer_settime.c: ... here.
7819 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7820 * sysdeps/pthread/tst-timer.c: ... here.
7821 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7822 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7824 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7825 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7827 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7828 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7829 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7830 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7831 Update #include target.
7832 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7833 * sysdeps/i386/i686/nptl/Makefile: ... here.
7834 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7835 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7836 Update #include target.
7837 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7838 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7839 * nptl/sysdeps/i386/Makefile: Moved ...
7840 * sysdeps/i386/nptl/Makefile: ... here.
7841 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7842 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7843 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7844 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7845 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7846 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7847 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7848 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7849 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7850 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7851 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7852 * nptl/sysdeps/i386/tls.h: Moved ...
7853 * sysdeps/i386/nptl/tls.h: ... here.
7855 * sysdeps/sh/Makefile [$(subdir) = csu]
7856 (gen-as-const-headers): Add tcb-offsets.sym.
7857 * nptl/sysdeps/sh/Makefile: File removed.
7858 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7859 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7860 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7861 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7862 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7863 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7864 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7865 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7866 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7867 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7868 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7869 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7870 * nptl/sysdeps/sh/tls.h: Moved ...
7871 * sysdeps/sh/nptl/tls.h: ... here.
7872 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7873 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7874 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7875 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7876 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7877 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7878 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7879 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7880 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7881 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7882 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7883 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7884 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7885 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7886 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7887 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7888 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7889 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7890 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7891 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7892 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7893 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7894 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7895 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7896 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7898 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7899 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7901 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7902 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7903 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7904 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7905 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7906 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7907 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7908 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7909 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7910 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7911 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7912 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7913 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7914 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7915 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7916 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7917 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7918 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7919 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7921 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7923 * posix/spawn_faction_addopen.c: Include string.h.
7925 2014-06-11 Roland McGrath <roland@hack.frob.com>
7927 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7928 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7929 * nptl/sysdeps/x86_64/Makefile: Moved ...
7930 * sysdeps/x86_64/nptl/Makefile: ... here.
7931 * nptl/sysdeps/x86_64/configure: Moved ...
7932 * sysdeps/x86_64/nptl/configure: ... here.
7933 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7934 * sysdeps/x86_64/nptl/configure.ac: ... here.
7935 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7936 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7937 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7938 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7939 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7940 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7941 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7942 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7943 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7944 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7945 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7946 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7947 * nptl/sysdeps/x86_64/tls.h: Moved ...
7948 * sysdeps/x86_64/nptl/tls.h: ... here.
7949 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7950 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7951 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7952 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7954 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7956 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7960 2014-06-11 Joseph Myers <joseph@codesourcery.com>
7962 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7964 [POSIX] (off_t): Likewise.
7965 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7966 [POSIX] (S_ISBLK): Require macro.
7967 [POSIX] (S_ISCHR): Likewise.
7968 [POSIX] (S_ISDIR): Likewise.
7969 [POSIX] (S_ISFIFO): Likewise.
7970 [POSIX] (S_ISREG): Likewise.
7971 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7973 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7975 [POSIX] (time_t): Likewise.
7976 [POSIX] (timer_t): Likewise.
7978 2014-06-11 Florian Weimer <fweimer@redhat.com>
7981 * posix/spawn_int.h (struct __spawn_action): Make the path string
7982 non-const to support deallocation.
7983 * posix/spawn_faction_addopen.c
7984 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7985 * posix/spawn_faction_destroy.c
7986 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7987 path in all spawn_do_open actions.
7988 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7989 posix_spawn_file_actions_addopen.
7991 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7993 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7994 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7995 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7996 conditional code always true.
7997 (__libc_vfork): New alias.
7999 2014-06-11 Roland McGrath <roland@hack.frob.com>
8001 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8002 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8004 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8006 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8007 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8009 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8010 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8012 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8013 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8015 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8017 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8018 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8019 multiarch strcmp for PPC64.
8020 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8021 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8023 multiarch optimizations.
8024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8025 (__libc_ifunc_impl_list): Likewise.
8027 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8029 * benchtests/scripts/validate_benchout.py: New script.
8030 * benchtests/Makefile (bench-func): Call it.
8031 * benchtests/scripts/benchout.schema.json: New file.
8033 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8035 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8036 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8037 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8038 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8039 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8040 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8041 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8042 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8043 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8044 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8045 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8046 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8047 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8048 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8049 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8050 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8154 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8155 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8156 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8157 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8158 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8160 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8162 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8163 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8164 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8165 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8166 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8167 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8168 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8169 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8170 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8171 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8172 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8173 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8176 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8177 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8179 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8180 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8181 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8182 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8184 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8185 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8186 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8187 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8188 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8189 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8190 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8192 2014-06-10 Wilco <wdijkstr@arm.com>
8194 * math/test-fenv-return.c: New file.
8195 * math/Makefile: Add new test test-fenv-return.
8197 2014-06-10 Joseph Myers <joseph@codesourcery.com>
8200 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8202 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8203 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8204 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8205 0.0L for an argument of 1.0L.
8206 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8208 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8209 value when x - 1 is zero.
8210 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8211 * sysdeps/i386/fpu/libm-test-ulps: Update.
8212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8214 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8217 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8219 2014-06-09 Roland McGrath <roland@hack.frob.com>
8221 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8222 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8224 2014-06-09 Roland McGrath <roland@hack.frob.com>
8226 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8227 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8229 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8230 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8232 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8233 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8235 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8236 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8238 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8239 if not already defined.
8240 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8241 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8242 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8243 (TLS_INIT_TP): Use it.
8244 (TLS_DEFINE_INIT_TP): New macro.
8245 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8247 2014-06-09 Joseph Myers <joseph@codesourcery.com>
8249 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8251 [POSIX] (IXANY): Likewise.
8252 [POSIX] (OLCUC): Likewise.
8253 [POSIX || POSIX2008] (CBAUD): Do not allow.
8254 [POSIX || POSIX2008] (DEFECHO): Likewise.
8255 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8256 [POSIX || POSIX2008] (ECHOKE): Likewise.
8257 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8258 [POSIX || POSIX2008] (EXTA): Likewise.
8259 [POSIX || POSIX2008] (EXTB): Likewise.
8260 [POSIX || POSIX2008] (FLUSHO): Likewise.
8261 [POSIX || POSIX2008] (LOBLK): Likewise.
8262 [POSIX || POSIX2008] (PENDIN): Likewise.
8263 [POSIX || POSIX2008] (SWTCH): Likewise.
8264 [POSIX || POSIX2008] (VDISCARD): Likewise.
8265 [POSIX || POSIX2008] (VDSUSP): Likewise.
8266 [POSIX || POSIX2008] (VLNEXT): Likewise.
8267 [POSIX || POSIX2008] (VREPRINT): Likewise.
8268 [POSIX || POSIX2008] (VSTATUS): Likewise.
8269 [POSIX || POSIX2008] (VWERASE): Likewise.
8270 (B*): Change to B[0123456789]*.
8271 * conform/data/time.h-data [POSIX || UNIX98]
8272 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8273 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8274 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8275 [POSIX] (tm_*): Do not allow.
8277 2014-06-07 Joseph Myers <joseph@codesourcery.com>
8279 * Makefile (install): Don't set LANGUAGE.
8280 * Makefile.in (install): Likewise.
8281 * assert/Makefile (test-assert-ENV): Remove variable.
8282 (test-assert-perr-ENV): Likewise.
8283 * elf/Makefile (neededtest4-ENV): Likewise.
8284 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8285 [$(cross-compiling) = no]: Don't set LANGUAGE.
8286 * io/ftwtest-sh (LANG): Remove variable.
8287 * libio/Makefile (tst-widetext-ENV): Likewise.
8288 * manual/install.texi (Running make install): Don't refer to
8289 environment settings for make install.
8290 * INSTALL: Regenerated.
8291 * nptl/tst-tls6.sh: Don't set LANG.
8292 * posix/globtest.sh (LANG): Remove variable.
8293 * string/Makefile (tester-ENV): Likewise.
8294 (inl-tester-ENV): Likewise.
8295 (noinl-tester-ENV): Likewise.
8296 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8297 [$(cross-compiling) = no]: Don't set LANGUAGE.
8298 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8299 without explicit environment settings.
8301 2014-06-06 Roland McGrath <roland@hack.frob.com>
8303 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8304 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8305 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8306 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8308 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8310 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8311 other files in the crypt directory.
8312 * crypt/crypt.c: Remove duplicate includes.
8313 * crypt/crypt-entry.c: Likewise.
8314 * crypt/crypt_util.c: Likewise.
8316 2014-06-06 Joseph Myers <joseph@codesourcery.com>
8318 * Makeconfig (run-program-env): New variable.
8319 (run-program-prefix-before-env): Likewise.
8320 (run-program-prefix-after-env): Likewise.
8321 (run-program-prefix): Define in terms of new variables.
8322 (built-program-cmd-before-env): New variable.
8323 (built-program-cmd-after-env): Likewise.
8324 (built-program-cmd): Define in terms of new variables.
8325 (test-program-prefix-before-env): New variable.
8326 (test-program-prefix-after-env): Likewise.
8327 (test-program-prefix): Define in terms of new variables.
8328 (test-program-cmd-before-env): New variable.
8329 (test-program-cmd-after-env): Likewise.
8330 (test-program-cmd): Define in terms of new variables.
8331 * Rules (make-test-out): Use $(run-program-env).
8332 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8333 (help): Do not mention environment variables. Mention
8334 --timeoutfactor option.
8335 (timeoutfactor): New variable.
8336 (blacklist_exports): Remove function.
8337 (exports): Remove variable.
8338 (command): Do not include ${exports}.
8339 * manual/install.texi (Configuring and compiling): Do not mention
8340 test wrappers preserving environment variables. Mention that last
8341 assignment to a variable must take precedence.
8342 * INSTALL: Regenerated.
8343 * benchtests/Makefile (run-bench): Use $(run-program-env).
8344 * catgets/Makefile ($(objpfx)test1.cat): Use
8345 $(built-program-cmd-before-env), $(run-program-env) and
8346 $(built-program-cmd-after-env).
8347 ($(objpfx)test2.cat): Do not specify environment variables
8349 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8350 $(run-program-env) and $(built-program-cmd-after-env).
8351 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8352 $(run-program-env) and $(test-program-cmd-after-env).
8353 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8355 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8356 run_program_env and test_program_cmd_after_env arguments.
8357 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8358 * elf/tst-pathopt.sh: Use run_program_env argument.
8359 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8360 $(test-wrapper-env) and $(run-program-env).
8361 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8362 run_program_env arguments.
8363 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8364 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8365 $(test-program-prefix-before-env), $(run-program-env) and
8366 $(test-program-prefix-after-env).
8367 ($(objpfx)tst-gettext2.out): Likewise.
8368 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8369 run_program_env and test_program_prefix_after_env arguments.
8370 * intl/tst-gettext2.sh: Likewise.
8371 * intl/tst-gettext4.sh: Do not set environment variables
8373 * intl/tst-gettext6.sh: Likewise.
8374 * intl/tst-translit.sh: Likewise.
8375 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8376 $(test-program-prefix-before-env), $(run-program-env) and
8377 $(test-program-prefix-after-env).
8378 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8379 run_program_env and test_program_prefix_after_env arguments.
8380 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8381 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8382 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8383 explicitly with each use of ${test_wrapper_env}.
8384 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8385 $(test-program-prefix-before-env), $(run-program-env) and
8386 $(test-program-prefix-after-env).
8387 * posix/tst-getconf.sh: Do not set environment variables
8389 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8390 run_program_env and test_program_prefix_after_env arguments.
8391 * stdio-common/tst-printf.sh: Do not set environment variables
8393 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8394 $(test-program-prefix-before-env), $(run-program-env) and
8395 $(test-program-prefix-after-env).
8396 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8397 run_program_env and test_program_prefix_after_env arguments.
8398 Split $test calls into $test_pre and $test.
8399 * timezone/Makefile (build-testdata): Use
8400 $(built-program-cmd-before-env), $(run-program-env) and
8401 $(built-program-cmd-after-env).
8403 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8405 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8406 strlen for non SHARED builds.
8408 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8410 * nptl/allocatestack.c (check_list): Inlined function...
8411 (__reclaim_stacks): ... here.
8413 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8416 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8419 2014-06-05 Joseph Myers <joseph@codesourcery.com>
8421 * Rules (make-test-out): Include
8422 LOCPATH=$(common-objpfx)localedata in default environment.
8423 * debug/Makefile (tst-chk1-ENV): Remove variable.
8424 (tst-chk2-ENV): Likewise.
8425 (tst-chk3-ENV): Likewise.
8426 (tst-chk4-ENV): Likewise.
8427 (tst-chk5-ENV): Likewise.
8428 (tst-chk6-ENV): Likewise.
8429 (tst-lfschk1-ENV): Likewise.
8430 (tst-lfschk2-ENV): Likewise.
8431 (tst-lfschk3-ENV): Likewise.
8432 (tst-lfschk4-ENV): Likewise.
8433 (tst-lfschk5-ENV): Likewise.
8434 (tst-lfschk6-ENV): Likewise.
8435 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8436 (tst-iconv7-ENV): Likewise.
8437 * intl/Makefile (LOCPATH-ENV): Likewise.
8438 (tst-codeset-ENV): Likewise.
8439 (tst-gettext3-ENV): Likewise.
8440 (tst-gettext5-ENV): Likewise.
8441 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8442 (tst-fopenloc-ENV): Likewise.
8443 (tst-fgetws-ENV): Remove variable.
8444 (tst-ungetwc1-ENV): Likewise.
8445 (tst-ungetwc2-ENV): Likewise.
8446 (bug-ungetwc2-ENV): Likewise.
8447 (tst-swscanf-ENV): Likewise.
8448 (bug-ftell-ENV): Likewise.
8449 (tst-fgetwc-ENV): Likewise.
8450 (tst-fseek-ENV): Likewise.
8451 (tst-ftell-partial-wide-ENV): Likewise.
8452 (tst-ftell-active-handler-ENV): Likewise.
8453 (tst-ftell-append-ENV): Likewise.
8454 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8455 (tst-regexloc-ENV): Likewise.
8456 (bug-regex1-ENV): Likewise.
8457 (tst-regex-ENV): Likewise.
8458 (tst-regex2-ENV): Likewise.
8459 (bug-regex5-ENV): Likewise.
8460 (bug-regex6-ENV): Likewise.
8461 (bug-regex17-ENV): Likewise.
8462 (bug-regex18-ENV): Likewise.
8463 (bug-regex19-ENV): Likewise.
8464 (bug-regex20-ENV): Likewise.
8465 (bug-regex22-ENV): Likewise.
8466 (bug-regex23-ENV): Likewise.
8467 (bug-regex25-ENV): Likewise.
8468 (bug-regex26-ENV): Likewise.
8469 (bug-regex30-ENV): Likewise.
8470 (bug-regex32-ENV): Likewise.
8471 (bug-regex33-ENV): Likewise.
8472 (bug-regex34-ENV): Likewise.
8473 (bug-regex35-ENV): Likewise.
8474 (tst-rxspencer-ENV): Likewise.
8475 (tst-rxspencer-no-utf8-ENV): Likewise.
8476 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8477 (tst-sscanf-ENV): Likewise.
8478 (tst-swprintf-ENV): Likewise.
8479 (tst-swscanf-ENV): Likewise.
8480 (test-vfprintf-ENV): Likewise.
8481 (scanf13-ENV): Likewise.
8482 (bug14-ENV): Likewise.
8483 (tst-grouping-ENV): Likewise.
8484 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8485 (tst-strtod3-ENV): Likewise.
8486 (tst-strtod4-ENV): Likewise.
8487 (tst-strtod5-ENV): Likewise.
8488 (testmb2-ENV): Likewise./
8489 * string/Makefile (tst-strxfrm-ENV): Likewise.
8490 (tst-strxfrm2-ENV): Likewise.
8491 (bug-strcoll1-ENV): Likewise.
8492 (test-strcasecmp-ENV): Likewise.
8493 (test-strncasecmp-ENV): Likewise.
8494 * time/Makefile (tst-strptime-ENV): Likewise.
8495 (tst-ftime_l-ENV): Likewise.
8496 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8497 (tst-mbrtowc-ENV): Likewise.
8498 (tst-wcrtomb-ENV): Likewise.
8499 (tst-mbrtowc2-ENV): Likewise.
8500 (tst-c16c32-1-ENV): Likewise.
8501 (tst-mbsnrtowcs-ENV): Likewise.
8503 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8505 * manual/resource.texi (How to get information about the memory
8506 subsystem?): Fix typo.
8507 Reported by Peon de la Parra Ivan <peon@keba.com>
8509 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8512 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8513 (pthread_spin_lock): Branch out of spin loop to proper location.
8514 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8515 (pthread_spin_lock): Likewise.
8517 * nptl/tst-spin4.c: New test.
8518 * nptl/Makefile (tests): Add tst-spin4.
8520 2014-06-03 Andreas Schwab <schwab@suse.de>
8523 * resolv/res_send.c (send_dg): Reload file descriptor after
8526 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8528 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8530 2014-06-03 Richard Henderson <rth@redhat.com>
8532 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8533 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8534 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8535 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8536 in the SAVE_PID block.
8537 (__libc_vfork): New alias.
8538 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8540 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8541 child in registers, not on the stack. Remove RESET_PID conditionals.
8542 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8544 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8546 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8548 2014-06-03 Wilco <wdijkstr@arm.com>
8550 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8551 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8552 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8553 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8554 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8557 2014-06-03 Wilco <wdijkstr@arm.com>
8559 * sysdeps/aarch64/fpu/math_private.h
8560 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8561 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8562 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8563 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8566 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8568 * crypt/crypt-private.h: Include ufc-crypt.h.
8569 (__b64_from_24bit): Declare extern.
8570 * crypt/crypt_util.c(__b64_from_24bit): New function.
8571 (b64t): New static const variable.
8572 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8573 (b64t): Remove variable.
8574 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8575 * crypt/sha256-crypt.c: Include crypt-private.h.
8576 (b64t): Remove variable.
8577 (__sha256_crypt_r): Remove b64_from_24bit and replace
8578 with __b64_from_24bit.
8579 * crypt/sha512-crypt.c: Likewise.
8581 2014-06-02 Roland McGrath <roland@hack.frob.com>
8583 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8584 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8585 Label the code __libc_vfork rather than __vfork.
8586 [!NOT_IN_libc] (vfork): Define as weak alias.
8587 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8588 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8589 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8591 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8593 * malloc/malloc.c (malloc_info): Fix format specifier for
8596 2014-06-02 Wilco <wdijkstr@arm.com>
8598 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8601 2014-06-02 Wilco <wdijkstr@arm.com>
8604 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8605 Rewrite to reduce FPCR/FPSR accesses.
8607 2014-06-01 David S. Miller <davem@davemloft.net>
8609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8611 2014-05-31 David S. Miller <davem@davemloft.net>
8613 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8614 to occur in round to nearest mode when |x| >= 2.0
8616 2014-05-30 Richard Henderson <rth@twiddle.net>
8618 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8619 (PSEUDO_RET_NOERRNO): Remove.
8620 (ret): Don't redefine.
8621 (ret_NOERRNO): Define in terms of ret.
8622 (ret_ERRVAL): Likewise.
8624 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8625 use of PSEUDO_RET; perform the error check directly.
8627 2014-05-30 Marko Myllynen <myllynen@redhat.com>
8629 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8632 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8634 * malloc/malloc (malloc_info): Fix formatting.
8636 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8637 Roland McGrath <roland@hack.frob.com>
8639 * malloc/malloc (malloc_info): Also print mmapped statistics.
8641 2014-05-30 Roland McGrath <roland@hack.frob.com>
8643 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8644 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8646 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
8648 * malloc/malloc.c (malloc_info): Inline mi_arena.
8650 2014-05-29 Richard Henderson <rth@twiddle.net>
8652 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8653 Remove comma before expanding ASM_ARGS_##nr.
8654 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8655 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8657 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8658 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8659 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8660 (ASM_ARGS_1): Add leading comma.
8662 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8663 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8664 to __errno_location.
8665 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8666 Remove the expected plt for __errno_location.
8668 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8669 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8672 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8673 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8674 it and break it down.
8675 (DOCARGS_0, DOCARGS_1): Do nothing.
8676 (DOCARGS_2): Update to store into the new stack frame.
8677 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8678 (UNDOCARGS_1): Update to restore from the new stack frame.
8679 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8680 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8682 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8683 (SINGLE_THREAD_P): New parameter for result regno.
8684 (PSEUDO): Update to match; use cbz instead of beq.
8686 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8687 Use ENTRY to define the _nocancel entry point. Share the syscall
8688 and syscall error check paths with the cancel path.
8691 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8692 whitespace; tabs before and after asm mnemonics.
8694 2014-05-29 Eric Wong <normalperson@yhbt.net>
8697 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8698 Call fstat64 or stat64 internally, depending on arguments passed.
8699 Replace stat buffer argument with file descriptor argument.
8700 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8701 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8702 Pass fd to __internal_statvfs instead of calling fstat64.
8703 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8704 Pass fd to __internal_statvfs64 instead of calling fstat64.
8705 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8706 Pass -1 to __internal_statvfs instead of calling stat64.
8707 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8708 Pass -1 to __internal_statvfs64 instead of calling stat64.
8710 2014-05-28 Roland McGrath <roland@hack.frob.com>
8712 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8713 that was previously under [RESET_PID].
8714 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8716 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8717 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8719 2014-05-27 Roland McGrath <roland@hack.frob.com>
8721 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8723 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8724 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8726 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
8728 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8730 2014-05-27 Andreas Schwab <schwab@suse.de>
8732 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8734 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8735 * elf/rtld.c (init_tls, dl_main): Likewise.
8736 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8737 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8738 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8739 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8740 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8741 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8742 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8743 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8744 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8745 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8746 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8747 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8748 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8749 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8750 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8751 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8752 * sysdeps/generic/tls.h: Update description.
8754 2014-05-27 Will Newton <will.newton@linaro.org>
8757 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8758 and restore r2 rather than just restoring.
8760 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8763 * libio/tst-ftell-append.c: New test case.
8764 * libio/Makefile (tests): Add test case.
8765 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8767 * libio/wfileops.c (do_ftell_wide): Likewise.
8769 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8773 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8777 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8778 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8779 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8780 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8781 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8782 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8783 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8786 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8789 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8790 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8791 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8792 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8793 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8795 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8796 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8798 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8800 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8802 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8803 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8804 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8806 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8807 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8808 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8809 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8811 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8814 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8817 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8820 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8824 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8827 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8832 conditional [RESET_PID].
8833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8834 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8836 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8841 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8842 (__libc_vfork): New strong alias.
8843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8845 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8850 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8851 (__libc_vfork): New strong alias.
8852 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8854 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8857 2014-05-26 Carlos O'Donell <carlos@redhat.com>
8859 * malloc/malloc.c (mi_arena): New function.
8860 (malloc_info): Remove nested function mi_arena. Call non-nosted
8863 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8865 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8867 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8868 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8869 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8870 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8871 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8872 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8873 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8875 2014-05-26 Andreas Schwab <schwab@suse.de>
8878 * locale/programs/repertoire.c (repertoire_read): Add slash
8879 between I18NPATH element and file name.
8880 * locale/programs/locfile.c (locfile_read): Likewise.
8882 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8884 * nptl/pthread_mutexattr_settype.c
8885 (__pthread_mutexattr_settype):
8886 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8888 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8890 * nptl/tst-mutex5 (do_test):
8891 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8893 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8895 * benchtests/README: Document 'init' directive.
8896 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8898 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8899 (parse_file): Recognize 'init' directive.
8901 2014-05-26 Kyle McMartin <kyle@redhat.com>
8904 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8905 alignment of struct pthread.
8907 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8910 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8911 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8912 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8913 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8915 2014-05-25 Richard Henderson <rth@twiddle.net>
8917 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8918 (SINGLE_THREAD_P_PIC): Remove.
8919 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8920 (SINGLE_THREAD_P_PIC): Remove.
8922 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8923 branch to syscall error ...
8925 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8926 from __local_syscall_error to .Lsyscall_error.
8927 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8928 (SYSCALL_ERROR): Update label name.
8930 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8931 Do not use DOARGS/UNDOARGS.
8932 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8933 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8934 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8935 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8936 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8938 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8941 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8942 define if !NOT_IN_libc.
8943 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8944 define with non-default symbol versions.
8946 2014-05-23 Richard Henderson <rth@twiddle.net>
8948 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8949 (vfork, __vfork): Define via compat_symbol.
8951 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8952 [!HAVE_IFUNC] (vfork_compat): Remove.
8953 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8955 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8958 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8959 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8962 2014-05-23 Richard Henderson <rth@twiddle.net>
8964 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8965 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8966 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8967 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8969 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8970 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8971 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8972 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8973 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8974 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8975 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8976 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8977 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8978 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8979 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8980 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8981 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8982 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8983 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8984 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8985 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8986 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8987 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8988 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8989 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8990 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8991 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8992 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8993 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8994 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8995 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8996 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8997 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8998 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8999 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9000 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9001 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9002 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9003 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9004 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9005 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9006 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9007 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9008 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9009 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9010 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9011 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9012 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9013 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9014 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9015 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9016 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9017 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9018 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9019 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9020 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9021 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9022 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9023 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9024 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9026 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9027 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9028 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9029 before exiting on error.
9030 (__libc_vfork): New strong alias.
9031 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9032 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9034 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9035 that was previously under [RESET_PID].
9036 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9038 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9040 2014-05-23 Joseph Myers <joseph@codesourcery.com>
9043 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9044 value when x - 1 is zero.
9045 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9046 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9047 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9048 0.0L for an argument of 1.0L.
9049 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9051 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9052 value when x - 1 is zero.
9053 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9054 * sysdeps/i386/fpu/libm-test-ulps: Update.
9055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9057 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9059 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9060 alphasort and versionsort.
9062 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9064 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9066 [copysignf]: Likewise.
9068 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9070 * crypt/md5-crypt.c: Fix formatting.
9072 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9074 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9075 (b64_from_24bit): New function.
9077 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9079 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9080 libc_hidden_builtin_def to ifunc.
9081 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9082 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9084 2014-05-21 Roland McGrath <roland@hack.frob.com>
9086 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9087 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9089 2014-05-21 Joseph Myers <joseph@codesourcery.com>
9091 * nscd/Depend (linuxthreads): Remove.
9093 * resolv/Depend (linuxthreads): Remove.
9094 * rt/Depend (linuxthreads): Remove.
9096 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9097 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9098 $(common-objpfx)elf/.
9099 (link-libc-before-gnulib): Likewise.
9100 (elfobjdir): Remove variable.
9101 * Makefile (install): Use $(elf-objpfx) instead of
9102 $(common-objpfx)elf/.
9103 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9105 (link-libc-deps): Likewise.
9106 ($(common-objpfx)libc.so): Likewise.
9107 ($(common-objpfx)linkobj/libc.so): Likewise.
9108 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9109 instead of $(common-objpfx)elf/.
9110 (symbolic-link-list): Likewise.
9111 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9112 [$(cross-compiling) = no]: Likewise.
9113 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9115 (static-gnulib-arch): Likewise.
9116 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9117 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9118 $(common-objpfx)elf/.
9120 2014-05-21 Richard Henderson <rth@redhat.com>
9122 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9123 (SINGLE_THREAD_P): Use the correct width load. Fold
9124 into the ldr offset.
9126 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9127 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9129 2014-05-20 Joseph Myers <joseph@codesourcery.com>
9131 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9132 (libgcc_s_resume): Use __attribute_used__.
9133 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9136 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9138 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9139 optimization when used with float constants.
9141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9143 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9146 * locale/nl_langinfo_l.c: Make direct reference to every
9147 _nl_current_CATEGORY symbol.
9148 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9149 (tests-static): Add tst-langinfo-static.
9150 (tests-special): Add tst-langinfo-static.out.
9151 ($(objpfx)tst-langinfo.out): Redirect output.
9152 ($(objpfx)tst-langinfo-static.out): New.
9153 * localedata/tst-langinfo.sh: Send output to stdout.
9154 * localedata/tst-langinfo-static.c: New file.
9157 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9158 when the shift amount is modulo the limb size.
9160 2014-05-20 Richard Henderson <rth@redhat.com>
9163 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9164 Change type of sa_flags from unsigned int to int.
9167 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9169 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9171 2014-05-20 Will Newton <will.newton@linaro.org>
9173 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9174 Test the return value of the system call in the nocancel case.
9176 2014-05-20 Will Newton <will.newton@linaro.org>
9177 Yvan Roux <yvan.roux@linaro.org>
9179 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9180 #include of asm/ptrace.h.
9181 (PTRACE_GET_THREAD_AREA): Remove #undef.
9182 (PTRACE_GETHBPREGS): Likewise.
9183 (PTRACE_SETHBPREGS): Likewise.
9184 (struct user_regs_struct): New structure.
9185 (struct user_fpsimd_struct): New structure.
9186 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9187 #include of asm/ptrace.h and second #include of sys/user.h.
9188 (PTRACE_GET_THREAD_AREA): Remove #undef.
9189 (PTRACE_GETHBPREGS): Likewise.
9190 (PTRACE_SETHBPREGS): Likewise.
9191 (ELF_NGREG): Use new struct user_regs_struct.
9192 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9194 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9196 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9197 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9199 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9202 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9203 membar to avoid block loads/stores to overlap previous stores.
9205 2014-05-17 Richard Henderson <rth@redhat.com>
9207 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9208 Create the __##syscall_name##_nocancel entry point.
9209 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9210 Remove; let the sysdep-cancel.h code create it.
9212 2014-05-17 David S. Miller <davem@davemloft.net>
9214 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9215 Protect with __USE_GNU.
9216 (TIOCSET_TEMPT): Likewise.
9217 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9218 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9219 these are already provided in bits/ioctl-types.h
9221 2014-05-16 Roland McGrath <roland@hack.frob.com>
9223 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9224 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9226 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9227 Use wait4 regardless of [__NR_waitpid].
9229 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9232 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9233 (_FP_NANSIGN_Q): Set the quiet bit.
9235 2014-05-16 Joseph Myers <joseph@codesourcery.com>
9237 * benchtests/Makefile
9238 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9239 not $(common-objpfx)math/libm.so.
9240 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9241 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9242 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9243 $(common-objpfx)dlfcn/libdl.so.
9244 ($(objpfx)tst-audit8): Depend on $(libm), not
9245 $(common-objpfx)math/libm.so.
9246 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9247 not $(common-objpfx)dlfcn/libdl.so.
9249 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9250 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9251 [$(build-shared) = yes].
9252 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9253 $(common-objpfx)nptl/libpthread.so.
9254 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9255 $(common-objpfx)math/libm.so$(libm.so-version) or
9256 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9257 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9258 $(common-objpfx)dlfcn/libdl.so.
9259 * setjmp/Makefile (link-libm): Remove variable.
9260 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9261 * stdio-common/Makefile (link-libm): Remove variable.
9262 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9263 * stdlib/Makefile (link-libm): Remove variable.
9264 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9265 ($(objpfx)tst-strtod-round): Likewise.
9266 ($(objpfx)tst-tininess): Likewise.
9267 ($(objpfx)tst-strtod-underflow): Likewise.
9268 ($(objpfx)tst-strtod6): Likewise.
9269 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9270 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9271 $(common-objpfx)dlfcn/libdl.so.
9273 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9275 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9276 BSD terminal modes definitions.
9278 2014-05-16 Roland McGrath <roland@hack.frob.com>
9280 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9281 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9283 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9284 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9285 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9286 Don't do #include_next.
9287 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9288 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9289 Don't do #include_next.
9290 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9291 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9292 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9293 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9295 2014-05-16 Allan McRae <allan@archlinux.org>
9297 * po/sv.po: Update Swedish translation from translation project.
9299 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9302 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9305 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9306 errno if the TIOCGPTN ioctl fails with an error different than
9308 * login/tst-ptsname.c: New file.
9309 * login/Makefile (tests): Add tst-ptsname.
9312 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9315 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9319 herrno to return EAI_AGAIN.
9321 2014-05-14 Roland McGrath <roland@hack.frob.com>
9323 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9324 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9325 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9326 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9327 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9328 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9329 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9330 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9331 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9332 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9333 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9334 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9335 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9336 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9337 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9338 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9339 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9340 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9341 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9342 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9343 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9344 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9345 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9346 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9347 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9348 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9349 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9350 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9351 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9352 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9354 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9356 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9359 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9361 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9363 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9365 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9367 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9369 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9371 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9373 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9375 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9377 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9379 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9381 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9383 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9385 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9388 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9390 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9392 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9394 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9396 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9398 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9400 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9402 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9404 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9406 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9409 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9411 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9413 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9414 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9415 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9416 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9417 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9418 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9419 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9420 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9421 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9422 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9423 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9424 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9425 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9426 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9427 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9428 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9429 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9430 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9431 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9432 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9433 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9434 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9435 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9436 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9437 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9438 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9439 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9440 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9441 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9442 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9443 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9445 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9446 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9448 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9449 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9450 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9451 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9452 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9453 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9455 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9456 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9458 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9459 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9461 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9462 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9464 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9465 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9466 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9467 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9469 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9470 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9471 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9472 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9473 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9474 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9475 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9476 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9478 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9479 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9481 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9483 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9484 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9485 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9486 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9487 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9489 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9491 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9494 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9495 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9496 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9497 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9498 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9500 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9501 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9503 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9504 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9506 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9507 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9509 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9510 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9511 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9512 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9514 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9515 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9516 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9517 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9518 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9519 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9520 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9521 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9523 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9524 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9526 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9528 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9529 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9530 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9531 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9532 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9534 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9536 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9538 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9539 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9540 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9541 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9542 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9543 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9544 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9545 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9546 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9547 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9549 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9550 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9552 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9553 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9555 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9556 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9558 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9559 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9560 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9561 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9562 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9563 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9565 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9566 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9567 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9568 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9569 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9570 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9571 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9572 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9574 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9575 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9577 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9579 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9580 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9581 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9582 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9583 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9585 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9587 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9589 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9590 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9591 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9592 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9593 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9594 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9595 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9596 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9597 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9598 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9599 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9601 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9602 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9604 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9605 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9607 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9608 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9609 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9610 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9611 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9612 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9613 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9614 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9615 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9616 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9617 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9618 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9619 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9620 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9621 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9622 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9623 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9624 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9626 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9627 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9628 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9629 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9631 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9632 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9633 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9634 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9635 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9637 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9638 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9640 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9641 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9643 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9644 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9645 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9646 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9647 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9648 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9649 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9650 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9651 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9652 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9653 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9654 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9655 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9656 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9657 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9658 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9659 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9661 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9662 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9663 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9664 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9665 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9667 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9668 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9669 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9670 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9671 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9672 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9673 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9674 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9675 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9676 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9678 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9679 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9681 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9682 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9683 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9684 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9685 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9686 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9687 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9688 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9689 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9690 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9691 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9692 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9693 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9694 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9695 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9697 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9699 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9705 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9709 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9711 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9715 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9716 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9717 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9718 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9719 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9720 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9721 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9722 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9723 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9724 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9725 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9726 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9727 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9728 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9729 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
9731 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9732 that was previously under [RESET_PID].
9733 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9734 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9735 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9737 * sysdeps/i386/nptl/Implies: New file.
9738 * sysdeps/x86_64/nptl/Implies: New file.
9739 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9740 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9741 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9742 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9744 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9745 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9746 (__libc_vfork): New strong alias.
9747 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9748 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9750 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9751 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9752 (__libc_vfork): New strong alias.
9753 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9754 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9756 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9757 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9758 (__libc_vfork): New strong alias.
9759 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9760 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9761 * nptl/pt-vfork.c: New file.
9762 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9763 (libpthread: GLIBC_2.20): New version set (empty).
9765 2014-05-14 Will Newton <will.newton@linaro.org>
9767 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9770 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9773 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9774 arguments with exponent 65 or above.
9775 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9776 arguments 0x1p113L or above.
9777 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9778 to arguments 0x1p107L or above.
9779 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9780 positive arguments with exponent 65 or above.
9781 * math/auto-libm-test-in: Add more tests of log1p.
9782 * math/auto-libm-test-out: Regenerated.
9785 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9786 non-finite arguments is +0.
9787 * math/s_cacosf.c (__cacosf): Likewise.
9788 * math/s_cacosl.c (__cacosl): Likewise.
9789 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9790 * sysdeps/i386/fpu/libm-test-ulps: Update.
9791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9794 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9796 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9797 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9798 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9799 for explicit high bit of mantissa when testing for argument equal
9801 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9802 * sysdeps/i386/fpu/libm-test-ulps: Update.
9803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9806 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9807 (__erf): Scale by 16 instead of 8 in potentially underflowing
9808 case. Ensure exception if result actually underflows.
9809 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9810 (__erff): Scale by 16 instead of 8 in potentially underflowing
9811 case. Ensure exception if result actually underflows.
9812 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9813 (efx8): Remove variable.
9814 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9815 case. Ensure exception if result actually underflows.
9816 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9817 (efx8): Remove variable.
9818 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9819 case. Ensure exception if result actually underflows.
9820 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9821 (efx8): Remove variable.
9822 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9823 case. Ensure exception if result actually underflows.
9824 * math/auto-libm-test-in: Add more tests of erf.
9825 * math/auto-libm-test-out: Regenerated.
9827 2014-05-14 Andreas Schwab <schwab@suse.de>
9829 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9830 Remove code conditionalized on USE___THREAD.
9832 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9833 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9836 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9838 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9839 Define unconditionally.
9840 (__ASSUME_O_CLOEXEC): Likewise.
9841 (__ASSUME_SOCK_CLOEXEC): Likewise.
9842 (__ASSUME_IN_NONBLOCK): Likewise.
9843 (__ASSUME_PIPE2): Likewise.
9844 (__ASSUME_EVENTFD2): Likewise.
9845 (__ASSUME_SIGNALFD4): Likewise.
9846 (__ASSUME_DUP3): Likewise.
9847 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9848 (__ASSUME_DUP3): Do not define.
9849 (__ASSUME_EVENTFD2): Likewise.
9850 (__ASSUME_IN_NONBLOCK): Likewise.
9851 (__ASSUME_O_CLOEXEC): Likewise.
9852 (__ASSUME_PIPE2): Likewise.
9853 (__ASSUME_SIGNALFD4): Likewise.
9854 (__ASSUME_SOCK_CLOEXEC): Likewise.
9855 (__ASSUME_UTIMES): Undefine.
9856 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9857 (__ASSUME_UTIMES): Do not define.
9858 (__ASSUME_O_CLOEXEC): Likewise.
9859 (__ASSUME_SOCK_CLOEXEC): Likewise.
9860 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9861 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9863 (__ASSUME_PIPE2): Likewise.
9864 (__ASSUME_EVENTFD2): Likewise.
9865 (__ASSUME_SIGNALFD4): Likewise.
9866 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9867 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9869 (__ASSUME_EVENTFD2): Likewise.
9870 (__ASSUME_SIGNALFD4): Likewise.
9871 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9872 (__ASSUME_32BITUIDS): Likewise.
9873 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9874 (__ASSUME_IPC64): Likewise.
9875 (__ASSUME_ST_INO_64_BIT): Likewise.
9876 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9877 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9878 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9879 (__ASSUME_UTIMES): Do not define.
9880 (__ASSUME_PSELECT): Likewise.
9881 (__ASSUME_PPOLL): Likewise.
9882 (__ASSUME_O_CLOEXEC): Likewise.
9883 (__ASSUME_SOCK_CLOEXEC): Likewise.
9884 (__ASSUME_IN_NONBLOCK): Likewise.
9885 (__ASSUME_PIPE2): Likewise.
9886 (__ASSUME_EVENTFD2): Likewise.
9887 (__ASSUME_SIGNALFD4): Likewise.
9888 (__ASSUME_DUP3): Likewise.
9889 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9890 (__ASSUME_UTIMES): Likewise.
9891 (__ASSUME_O_CLOEXEC): Likewise.
9892 (__ASSUME_SOCK_CLOEXEC): Likewise.
9893 (__ASSUME_IN_NONBLOCK): Likewise.
9894 (__ASSUME_PIPE2): Likewise.
9895 (__ASSUME_EVENTFD2): Likewise.
9896 (__ASSUME_SIGNALFD4): Likewise.
9897 (__ASSUME_DUP3): Likewise.
9898 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9899 (__ASSUME_UTIMES): Likewise.
9900 (__ASSUME_O_CLOEXEC): Likewise.
9901 (__ASSUME_SOCK_CLOEXEC): Likewise.
9902 (__ASSUME_IN_NONBLOCK): Likewise.
9903 (__ASSUME_PIPE2): Likewise.
9904 (__ASSUME_EVENTFD2): Likewise.
9905 (__ASSUME_SIGNALFD4): Likewise.
9906 (__ASSUME_DUP3): Likewise.
9907 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9909 (__ASSUME_UTIMES): Likewise.
9910 (__ASSUME_EVENTFD2): Likewise.
9911 (__ASSUME_SIGNALFD4): Likewise.
9912 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9913 (__ASSUME_O_CLOEXEC): Likewise.
9914 (__ASSUME_SOCK_CLOEXEC): Likewise.
9915 (__ASSUME_IN_NONBLOCK): Likewise.
9916 (__ASSUME_PIPE2): Likewise.
9917 (__ASSUME_EVENTFD2): Likewise.
9918 (__ASSUME_SIGNALFD4): Likewise.
9919 (__ASSUME_DUP3): Likewise.
9920 (__ASSUME_UTIMES): Undefine.
9922 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9923 feclearexcept. Remove symbol versioning code.
9924 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9925 symbol versioning code.
9926 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9927 symbol versioning code.
9928 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9929 feupdateenv. Remove symbol versioning code.
9930 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9931 fegetexceptflag. Remove symbol versioning code.
9932 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9933 fesetexceptflag. Remove symbol versioning code.
9934 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9935 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9936 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9937 (__posix_fadvise64_l32): Remove prototype.
9938 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9941 2014-05-13 Roland McGrath <roland@hack.frob.com>
9943 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9944 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9945 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9946 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9948 2014-05-13 Sami Kerola <kerolasa@iki.fi>
9950 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9951 current working directory
9953 2014-05-13 Roland McGrath <roland@hack.frob.com>
9955 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9956 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9957 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9958 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9959 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9960 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9961 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9962 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9963 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9964 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9965 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9966 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9967 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9968 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9969 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9970 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9971 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9972 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9974 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9975 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9976 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9977 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9978 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9979 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9980 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9981 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9982 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9983 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9984 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9985 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9986 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9987 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9988 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9989 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9990 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9991 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9992 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9993 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9994 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9995 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9996 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9998 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9999 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10001 * sysdeps/unix/sysv/linux/arm/Makefile
10002 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10003 Add rt-aeabi_unwind_cpp_pr1.
10004 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10005 Add nptl-aeabi_unwind_cpp_pr1.
10006 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10007 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10008 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10009 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10010 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10011 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10013 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10014 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10015 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10016 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10018 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10019 Deconditionalize the code that was previously under [RESET_PID].
10020 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10022 * sysdeps/generic/exit-thread.h: New file.
10023 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10024 * include/unistd.h (__exit_thread): Remove declaration.
10025 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10026 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10027 * csu/libc-start.c: Include <exit-thread.h>.
10028 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10029 * nptl/pthread_create.c: Include <exit-thread.h>.
10030 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10031 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10032 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10033 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10034 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10035 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10036 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10037 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10038 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10039 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10040 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10041 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10042 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10043 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10044 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10045 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10046 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10048 2014-05-13 Andreas Schwab <schwab@suse.de>
10050 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10052 2014-05-12 Joseph Myers <joseph@codesourcery.com>
10054 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10055 (__ASSUME_UTIMES): Do not condition on kernel version.
10056 (__ASSUME_PSELECT): Define unconditionally.
10057 (__ASSUME_PPOLL): Likewise.
10058 (__ASSUME_ATFCTS): Likewise.
10059 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10060 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10061 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10062 (__ASSUME_UTIMENSAT): Define unconditionally.
10063 (__ASSUME_PRIVATE_FUTEX): Likewise.
10064 (__ASSUME_FALLOCATE): Likewise.
10065 (__ASSUME_O_CLOEXEC): Likewise.
10066 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10067 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10068 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10069 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10070 (__ASSUME_IN_NONBLOCK): Likewise.
10071 (__ASSUME_PIPE2): Likewise.
10072 (__ASSUME_EVENTFD2): Likewise.
10073 (__ASSUME_SIGNALFD4): Likewise.
10074 (__ASSUME_DUP3): Likewise.
10075 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10076 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10077 (__ASSUME_AT_RANDOM): Likewise.
10078 (__ASSUME_PREADV): Likewise.
10079 (__ASSUME_PWRITEV): Likewise.
10080 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10081 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10082 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10083 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10084 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10085 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10086 (__ASSUME_O_CLOEXEC): Define unconditionally.
10087 (__ASSUME_PSELECT): Do not undefine conditionally.
10088 (__ASSUME_PPOLL): Likewise.
10089 (__ASSUME_ATFCTS): Likewise.
10090 (__ASSUME_SET_ROBUST_LIST): Likewise.
10091 (__ASSUME_UTIMENSAT): Likewise.
10092 (__ASSUME_FDATASYNC): Define unconditionally.
10093 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10094 (__ASSUME_SIGFRAME_V2): Likewise.
10095 )__ASSUME_EVENTFD2): Likewise.
10096 (__ASSUME_SIGNALFD4): Likewise.
10097 (__ASSUME_PSELECT): Do not undefine conditionally.
10098 (__ASSUME_PPOLL): Likewise.
10099 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10100 (__ASSUME_PSELECT): Define unconditionally.
10101 (__ASSUME_PPOLL): Likewise.
10102 (__ASSUME_O_CLOEXEC): Likewise.
10103 (__ASSUME_SOCK_CLOEXEC): Likewise.
10104 (__ASSUME_IN_NONBLOCK): Likewise.
10105 (__ASSUME_PIPE2): Likewise.
10106 (__ASSUME_EVENTFD2): Likewise.
10107 (__ASSUME_SIGNALFD4): Likewise.
10108 (__ASSUME_DUP3): Likewise.
10109 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10110 (__ASSUME_O_CLOEXEC): Likewise.
10111 (__ASSUME_SOCK_CLOEXEC): Likewise.
10112 (__ASSUME_IN_NONBLOCK): Likewise.
10113 (__ASSUME_PIPE2): Likewise.
10114 (__ASSUME_EVENTFD2): Likewise.
10115 (__ASSUME_SIGNALFD4): Likewise.
10116 (__ASSUME_DUP3): Likewise.
10117 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10118 (__ASSUME_EVENTFD2): Likewise.
10119 (__ASSUME_SIGNALFD4): Likewise.
10120 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10122 2014-05-12 Andreas Schwab <schwab@suse.de>
10125 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10126 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10127 than maximum RPC packet size.
10128 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10129 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10130 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10131 (_nss_nis_getservbyport_r): Likewise.
10133 2014-05-12 Will Newton <will.newton@linaro.org>
10135 * malloc/Makefile (tests): Add tst-mallopt.
10136 * malloc/tst-mallopt.c: New file.
10138 2014-05-09 Roland McGrath <roland@hack.frob.com>
10140 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10141 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10143 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10145 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10146 (tst-tlsmod6.so): Likewise.
10148 2014-05-09 Roland McGrath <roland@hack.frob.com>
10150 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10152 2014-05-09 Joseph Myers <joseph@codesourcery.com>
10155 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10156 and <dl-procinfo.h>.
10157 (__fegetenv): Save SSE state in envp->__eip if supported.
10158 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10159 envp->__eip if supported.
10160 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10161 and <dl-procinfo.h>.
10162 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10163 __data_offset and __data_selector in environment to 0. Set SSE
10164 state if supported.
10165 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10167 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10169 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10171 2014-05-09 Will Newton <will.newton@linaro.org>
10173 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10174 and libc_relro_required for ARM.
10175 * sysdeps/arm/preconfigure: Regenerate.
10177 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10178 Stefan Liebler <stli@linux.vnet.ibm.com>
10180 * config.make.in (enable-lock-elision): New Makefile variable.
10181 * configure.ac: Likewise.
10182 * configure: Regenerate.
10183 * sysdeps/s390/configure.ac:
10184 Add check for gcc transactions support.
10185 * sysdeps/s390/configure: Regenerate.
10186 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10187 Build elision files if enabled.
10188 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10189 Add lock elision support for s390.
10190 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10191 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10192 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10193 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10194 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10195 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10196 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10198 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10200 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10202 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10204 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10205 (__lll_timedlock_elision, __lll_lock_elision)
10206 (__lll_unlock_elision, __lll_trylock_elision)
10207 (lll_timedlock_elision, lll_lock_elision)
10208 (lll_unlock_elision, lll_trylock_elision): Add.
10209 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10210 (pthread_mutex_t): Add lock elision support for s390.
10212 2014-05-14 Wilco <wdijkstr@arm.com>
10214 * sysdeps/arm/fclrexcpt.c: Cleanup.
10215 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10216 * sysdeps/arm/feenablxcpt.c: Cleanup.
10217 * sysdeps/arm/fegetenv.c: Cleanup.
10218 * sysdeps/arm/fegetexcept.c: Cleanup.
10219 * sysdeps/arm/fegetround.c: Cleanup.
10220 * sysdeps/arm/feholdexcpt.c: Cleanup.
10221 * sysdeps/arm/fesetenv.c: Cleanup.
10222 * sysdeps/arm/fesetround.c: Cleanup.
10223 * sysdeps/arm/feupdateenv.c: Cleanup.
10224 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10225 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10226 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10227 * sysdeps/arm/ftestexcept.c: Cleanup.
10228 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10229 * sysdeps/arm/setfpucw.c: Cleanup.
10231 2014-05-09 Will Newton <will.newton@linaro.org>
10233 * sysdeps/arm/armv7/strcmp.S: New file.
10234 * NEWS: Mention addition of ARMv7 optimized strcmp.
10236 2014-05-08 Roland McGrath <roland@hack.frob.com>
10238 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10239 look for %.ac rather than %.in.
10241 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10242 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10243 * sysdeps/mach/hurd/configure: Regenerated.
10244 * sysdeps/unix/sysv/linux/configure: Regenerated.
10246 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10248 2014-05-07 Steve Ellcey <sellcey@mips.com>
10251 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10255 2014-05-07 Andreas Schwab <schwab@suse.de>
10257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10258 when skipping over non-matching result from nscd.
10260 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
10263 * nptl/sockperf.c (client): Check socket return value.
10266 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10267 nscd security class.
10269 2014-05-06 Roland McGrath <roland@hack.frob.com>
10271 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10272 * sysdeps/arm/unwind.h: ... here.
10274 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10277 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10280 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10282 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10283 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10284 multiarch strncpy for PPC64.
10285 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10286 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10288 multiarch optimizations.
10289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10290 (__libc_ifunc_impl_list): Likewise.
10291 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10292 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10293 multiarch stpncpy for PPC64.
10294 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10295 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10297 2014-05-06 Andreas Schwab <schwab@suse.de>
10300 * gmon/mcount.c (_MCOUNT_DECL): Use
10301 atomic_compare_and_exchange_bool_acq instead of
10302 catomic_compare_and_exchange_bool_acq.
10304 2014-05-05 Roland McGrath <roland@hack.frob.com>
10306 * elf/Makefile (others, install-bin): Remove pldd.
10307 (pldd-modules): Variable removed.
10308 ($(objpfx)pldd): Target removed.
10309 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10310 (others, install-bin): Append pldd here.
10311 ($(objpfx)pldd): New target.
10313 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10314 to 0, so the first #if test emitted later doesn't see it undefined.
10315 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10316 * sysdeps/gnu/errlist.c: Regenerated.
10318 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10320 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10321 [libc_hidden_builtin_def]: Define to empty value.
10322 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10323 [libc_hidden_builtin_def]: Likewise.
10324 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10325 [libc_hidden_builtin_def]: Likewise.
10326 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10327 [libc_hidden_builtin_def]: Likewise.
10328 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10329 __redirect_memcpy and define ifunc as default hidden symbol.
10330 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10331 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10333 2014-05-04 Adam Conrad <adconrad@0c3.net>
10335 * locale/iso-4217.def: Reintroduce XDR currency.
10337 2014-05-04 Allan McRae <allan@archlinux.org>
10339 * po/eo.po: Update Esperanto translation from translation project.
10341 2014-05-02 Carlos O'Donell <carlos@redhat.com>
10343 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10344 and FEATURE_INDEX_MAX to 1.
10345 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10347 2014-05-01 Steve Ellcey <sellcey@mips.com>
10349 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10350 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10351 * iconvdata/big5.c (ONE_DIRECTION): Define.
10352 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10353 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10354 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10355 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10356 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10357 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10358 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10359 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10360 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10361 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10362 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10363 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10364 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10365 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10366 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10367 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10368 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10369 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10370 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10371 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10372 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10373 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10374 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10375 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10376 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10377 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10378 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10379 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10380 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10381 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10382 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10383 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10384 * iconvdata/johab.c (ONE_DIRECTION): Define.
10385 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10386 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10387 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10388 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10389 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10390 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10391 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10392 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10393 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10394 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10396 2014-05-01 Roland McGrath <roland@hack.frob.com>
10398 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10399 (_IO_JUMPS_OFFSET): Define to 0.
10401 * nptl/sysdeps/pthread/bits/libc-lock.h
10402 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10403 (__libc_lock_define_initialized_recursive): Always define using
10404 initializer. Modern compilers treat uninitialized (implicit zero) and
10405 explicit zero initializers the same (i.e. put the datum in bss).
10407 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10409 * nscd/nscd-client.h: Include <string.h>.
10411 2014-05-01 David S. Miller <davem@davemloft.net>
10414 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10415 multiple zero bytes exist at the end of a string.
10416 Reported by Aurelien Jarno <aurelien@aurel32.net>
10418 * string/test-strcmp.c (check): Add explicit test for situations where
10419 there are multiple zero bytes after the first.
10421 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10424 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10425 when compiling wprintf.
10426 * stdio-common/tstdiomisc.c (t3): New function.
10429 2014-05-01 Steve Ellcey <sellcey@mips.com>
10431 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10432 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10433 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10434 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10436 2014-05-01 Steve Ellcey <sellcey@mips.com>
10438 * stdlib/longlong.h: Updated from GCC.
10440 2014-05-01 Will Newton <will.newton@linaro.org>
10441 Bernard Ogden <bernie.ogden@linaro.org>
10443 * NEWS: Update fixed bug list.
10446 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10448 2014-04-30 David S. Miller <davem@davemloft.net>
10450 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10451 (libc_feholdexcept_setround_sparc_ctx): New function.
10452 (libc_fesetenv_sparc_ctx): Likewise.
10453 (libc_feupdateenv_sparc_ctx): Likewise.
10454 (libc_feholdsetround_sparc_ctx): Likewise.
10455 (libc_feholdexcept_setround_ctx): Define.
10456 (libc_feholdexcept_setroundf_ctx): Likewise.
10457 (libc_feholdexcept_setroundl_ctx): Likewise.
10458 (libc_fesetenv_ctx): Likewise.
10459 (libc_fesetenvf_ctx): Likewise.
10460 (libc_fesetenvl_ctx): Likewise.
10461 (libc_feupdateenv_ctx): Likewise.
10462 (libc_feupdateenvf_ctx): Likewise.
10463 (libc_feupdateenvl_ctx): Likewise.
10464 (libc_feresetround_ctx): Likewise.
10465 (libc_feresetroundf_ctx): Likewise.
10466 (libc_feresetroundl_ctx): Likewise.
10467 (libc_feholdsetround_ctx): Likewise.
10468 (libc_feholdsetroundf_ctx): Likewise.
10469 (libc_feholdsetroundl_ctx): Likewise.
10471 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10472 with __USE_GNU instead of XOPEN cpp guards.
10474 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10477 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10478 with XOPEN cpp guards.
10480 2014-04-30 Julian Brown <julian@codesourcery.com>
10483 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10486 2014-04-30 Joseph Myers <joseph@codesourcery.com>
10489 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10491 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10492 * sysdeps/unix/sysv/linux/configure: Regenerated.
10493 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10494 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10495 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10496 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10497 * README: Update reference to required Linux kernel version.
10498 * manual/install.texi (Linux): Update reference to required Linux
10499 kernel headers version.
10500 * INSTALL: Regenerated.
10502 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10504 [POSIX] (limits.h): Likewise.
10505 [POSIX] (math.h): Likewise.
10506 [POSIX] (sys/wait.h): Likewise.
10507 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10509 [POSIX] (stddef.h): Do not allow header inclusion.
10511 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10513 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10515 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10517 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10518 Return immediately after lll_futex_wake.
10520 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10523 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10525 (datahead_init_pos): Call datahead_init_common early.
10526 (datahead_init_neg): Likewise.
10528 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10529 datahead_init_neg): New functions.
10530 * nscd/aicache.c (addhstaiX): Use them.
10531 * nscd/grpcache.c (cache_addgr): Likewise.
10532 * nscd/hstcache.c (cache_addhst): Likewise.
10533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10534 * nscd/netgroupcache.c (do_notfound): Likewise.
10535 (addgetnetgrentX): Likewise.
10536 (addinnetgrX): Likewise.
10537 * nscd/pwdcache.c (cache_addpw): Likewise.
10538 * nscd/servicescache.c (cache_addserv): Likewise.
10540 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10541 Atsushi Onoe <atsushi@onoe.org>
10546 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10547 one response is valid.
10548 * resolv/res_send.c (send_dg): Check for validity of other
10549 response if the current response is a referral.
10551 2014-04-29 Steve Ellcey <sellcey@mips.com>
10553 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10555 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10558 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10559 Always divide by positive zero when computing -Inf result.
10560 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10561 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10563 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10565 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10566 FPSCR if value do not change.
10567 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10568 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10569 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10570 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10571 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10572 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10575 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10577 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10578 * sysdeps/unix/sysv/linux/hppa: Move directory from
10579 ports/systeps/unix/sysv/linux/hppa.
10580 * README: Update listing for hppa-*-linux-gnu.
10582 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
10585 * manual/stdio.texi (Hook functions): Fix types of stream hook
10588 * socket/sys/socket.h: Fix typo in comment.
10590 2014-04-28 Wilco <wdijkstr@arm.com>
10592 * sysdeps/arm/fenv_private.h: New file.
10593 * sysdeps/arm/math_private.h: New file.
10594 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10596 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10598 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10600 (La_x86_64_retval): Likewise.
10602 2014-04-24 Ian Bolton <ian.bolton@arm.com>
10604 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10605 fpsr if value didn't change.
10606 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10607 to fpcr if value didn't change.
10608 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10609 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10610 fpsr or fpcr if value didn't change.
10611 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10612 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10613 fpcr if value didn't change.
10614 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10615 to fpsr if value didn't change.
10617 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10619 * nptl/tst-sem3.c: Use test-skeleton.c
10620 (main): Rename to do_test. Use return instead of
10622 * nptl/tst-sem4.c: Use test-skeleton.c
10623 (main): Rename to do_test.
10625 2014-04-22 David S. Miller <davem@davemloft.net>
10627 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10628 (struct sigaction): New struct member __glibc_reserved0, change
10629 type of sa_flags to int.
10631 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10633 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10634 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10636 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10638 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10639 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10641 2014-04-22 Will Newton <will.newton@linaro.org>
10642 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10644 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10645 (__longjmp): Add longjmp and longjmp_target SystemTap
10647 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10648 (__sigsetjmp): Add setjmp SystemTap probe.
10650 2014-04-17 Carlos O'Donell <carlos@redhat.com>
10652 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10653 match manual order.
10655 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10657 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10659 * sysdeps/powerpc/fpu/fenv_private.h
10660 (libc_feholdexcept_setroundl_ctx): Define to
10661 libc_feholdexcept_setround_ppc_ctx.
10662 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10663 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10664 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10665 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10667 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10669 * sysdeps/aarch64/math-tests.h: New file.
10671 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10673 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10676 Check and set bit_AVX2_Usable.
10677 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10679 (bit_AVX2): Likewise.
10680 (index_AVX2_Usable): Likewise.
10681 (CPUID_AVX2): Likewise.
10682 (HAS_AVX2): Likewise.
10684 2014-04-17 Will Newton <will.newton@linaro.org>
10686 * manual/setjmp.texi (System V contexts): Add note that
10687 calling setcontext on a context created by a call to a
10688 signal handler is undefined. Update text to note that
10689 setcontext from a signal handler is possible but not
10693 * stdlib/tst-setcontext.c: Include signal.h.
10694 (main): Check that the signal stack before and
10695 after swapcontext is the same.
10697 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10698 Re-implement to restore registers in user code and avoid
10699 rt_sigreturn system call.
10701 2014-04-17 Wilco <wdijkstr@arm.com>
10703 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10704 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10705 * math/test-fenv.c: Skip exception trap tests on targets which only
10706 support non-stop mode.
10708 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10709 Wilco Dijkstra <wilco.dijkstra@arm.com>
10711 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10712 (libc_feholdsetround_aarch64_ctx)
10713 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10714 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10715 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10716 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10717 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10718 (libc_feresetround_noexl_ctx): Define.
10720 2014-04-16 Richard Henderson <rth@redhat.com>
10722 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10724 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10727 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10728 const from the non-libc, non-ldso copy.
10730 * sysdeps/alpha/libm-test-ulps: Regenerate.
10732 2014-04-16 Ian Bolton <ian.bolton@arm.com>
10733 Wilco Dijkstra <wilco.dijkstra@arm.com>
10735 * sysdeps/aarch64/fpu/math_private.h: New file.
10737 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10739 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10741 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10744 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10745 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10746 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10747 Intel MPX bound registers before _dl_profile_fixup.
10748 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10749 registers after _dl_profile_fixup. Save and restore bound
10750 registers bnd0/bnd1 when calling _dl_call_pltexit.
10751 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10752 (LR_BND_OFFSET): Likewise.
10753 (LRV_BND0_OFFSET): Likewise.
10754 (LRV_BND1_OFFSET): Likewise.
10756 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10758 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10760 * sysdeps/mach/hurd/i386/tls.h: ... here.
10761 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10762 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10765 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10767 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10769 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10771 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10773 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10776 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10777 * sysdeps/s390/configure: Regenerate.
10780 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10781 Set round-to-nearest internally to reduce error accumulation.
10783 2014-04-16 Alan Modra <amodra@gmail.com>
10787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10788 * math/libm-test.inc (frexp_test_data): Add tests.
10789 * NEWS: Update fixed bug list.
10791 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10793 * benchtests/Makefile: Depend on libraries in build directory.
10794 (bench-math): Separate out math tests.
10795 (bench-pthread): Separate out pthread tests.
10796 (bench): Include math and pthread tests.
10798 2014-04-14 Carlos O'Donell <carlos@redhat.com>
10801 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10802 _dl_debug_initialize.
10804 * configure.ac: Remove SELinux header check.
10805 * configure: Regenerate.
10806 * nscd/selinux.c (perms): Array of const char* to permission names.
10807 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10808 default policy. Call string_to_security_class and string_to_av_perm to
10809 translate strings. Enforce default policy and call avs_has_perm with
10810 results of translated strings.
10812 2014-04-13 David S. Miller <davem@davemloft.net>
10814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10816 2014-04-12 Allan McRae <allan@archlinux.org>
10819 * manual/string.texi (Collation Functions): Fix qsort argument
10821 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10823 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10825 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10826 Make the test a no-op if there are no exceptions defined.
10828 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10830 * elf/Makefile (tests): make tst-dlopen-aout conditional on
10831 enable-hardcoded-path-in-tests
10833 2014-04-11 Will Newton <will.newton@linaro.org>
10835 * benchtests/Makefile (extra-objs): Add json-lib.o.
10836 (bench-func): Tidy up JSON output.
10837 * benchtests/bench-skeleton.c: Include json-lib.h.
10838 (main): Use JSON library functions to do output of
10840 * benchtests/bench-timing-type.c (main): Output the
10841 timing type simply, leaving formatting to the user.
10842 * benchtests/json-lib.c: New file.
10843 * benchtests/json-lib.h: Likewise.
10845 2014-04-11 Torvald Riegel <triegel@redhat.com>
10848 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10849 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10850 memory barriers. Add comments.
10851 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10852 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10853 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10854 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10855 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10856 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10858 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10860 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10861 * sysdeps/s390/s390-64/configure.ac: ... this ...
10862 * sysdeps/s390/configure.ac: ... to here.
10863 * sysdeps/s390/s390-32/configure: Delete file.
10864 * sysdeps/s390/s390-64/configure: Delete file.
10865 * sysdeps/s390/configure: Regenerate.
10867 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10869 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10871 2014-04-11 Will Newton <will.newton@linaro.org>
10873 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10874 to zero if it is not defined elsewhere. (mtrim): Test
10875 the value of MALLOC_DEBUG with #if rather than #ifdef.
10877 2014-04-10 Torvald Riegel <triegel@redhat.com>
10879 * benchtests/pthread_once-inputs: New file.
10880 * benchtests/pthread_once-source.c: New file.
10881 * benchtests/README: Update documentation.
10883 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10884 H.J. Lu <hongjiu.lu@intel.com>
10887 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10888 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10889 * sysdeps/x86_64/configure: Regenerated.
10890 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10892 (REGISTER_SAVE_RAX): Likewise.
10893 (REGISTER_SAVE_RCX): Likewise.
10894 (REGISTER_SAVE_RDX): Likewise.
10895 (REGISTER_SAVE_RSI): Likewise.
10896 (REGISTER_SAVE_RDI): Likewise.
10897 (REGISTER_SAVE_R8): Likewise.
10898 (REGISTER_SAVE_R9): Likewise.
10899 (REGISTER_SAVE_BND0): Likewise.
10900 (REGISTER_SAVE_BND1): Likewise.
10901 (REGISTER_SAVE_BND2): Likewise.
10902 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10903 bound registers when calling _dl_fixup.
10905 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10907 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10908 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10910 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10911 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10912 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10913 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10914 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10915 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10916 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10918 2014-04-09 Peter Brett <peter@peter-b.co.uk>
10921 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10922 pathconf(_PC_NAME_MAX).
10924 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10926 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10927 Remove macro usage.
10928 (__PTHREAD_SPINS): Move definition to ...
10929 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10930 (__PTHREAD_SPINS): ... here.
10931 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10932 (__PTHREAD_SPIN): Likewise.
10933 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10934 (__PTHREAD_SPIN): Likewise.
10935 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10936 (__PTHREAD_SPIN): Likewise.
10937 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10938 (__PTHREAD_SPIN): Likewise.
10939 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10940 (__PTHREAD_SPIN): Likewise.
10941 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10942 (__PTHREAD_SPIN): Likewise.
10943 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10944 (__PTHREAD_SPIN): Likewise.
10945 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10946 (__PTHREAD_SPIN): Likewise.
10947 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10948 (__PTHREAD_SPIN): Likewise.
10949 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10950 (__PTHREAD_SPIN): Likewise.
10951 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10952 (__PTHREAD_SPIN): Likewise.
10953 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10954 (__PTHREAD_SPIN): Likewise.
10956 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10957 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10958 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10959 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10961 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10962 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10963 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10964 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10965 correct imply path.
10966 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10967 strlen symbol for non multi-arch builds.
10968 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10969 missing hidden_def and weak_alias.
10971 2014-04-08 Carlos O'Donell <carlos@redhat.com>
10973 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10975 2014-04-07 Will Newton <will.newton@linaro.org>
10977 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10978 and contents. [!_LIBC] Remove #ifndef and contents.
10979 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10980 * string/memccpy.c (__memccpy): Use ANSI prototype.
10981 * string/memfrob.c (memfrob): Likewise.
10982 * string/strcoll.c (STRCOLL): Likewise.
10983 * string/strlen.c (strlen): Likewise.
10984 * string/strtok.c (STRTOK): Likewise.
10985 * string/strcat.c: Remove unused #include of memcopy.h.
10986 (strcat): Use ANSI prototype.
10987 * string/strchr.c: Remove unused #include of memcopy.h.
10988 (strchr): Use ANSI prototype.
10989 * string/strcmp.c: Remove unused #include of memcopy.h.
10990 (strcmp): Use ANSI prototype.
10991 * string/strcpy.c: Remove unused #include of memcopy.h.
10992 (strcpy): Use ANSI prototype.
10994 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10996 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10997 * config.make.in (config-extra-cppflags): Set it from
10998 libc_extra_cppflags.
10999 * configure.ac (libc_extra_cflags): Make it accumulate over
11000 configure fragments.
11001 (libc_extra_cppflags): New flag.
11002 * configure. Regenerate.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11004 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11005 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11010 result for FE_DOWNWARD rounding mode.
11011 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11015 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11017 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11018 in function argument name.
11020 2014-04-03 David Svoboda <svoboda@cert.org>
11023 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11026 2014-04-03 Roland McGrath <roland@hack.frob.com>
11028 * elf/dl-unmap-segments.h: New file.
11029 * sysdeps/generic/ldsodefs.h
11030 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11031 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11032 * elf/dl-fptr.c: Likewise.
11033 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11034 * sysdeps/aarch64/tlsdesc.c: Likewise.
11035 * sysdeps/arm/tlsdesc.c: Likewise.
11036 * sysdeps/i386/tlsdesc.c: Likewise.
11037 * sysdeps/tile/dl-runtime.c: Likewise.
11038 * sysdeps/x86_64/tlsdesc.c: Likewise.
11039 * elf/dl-load.h: New file.
11040 * elf/dl-load.c: Include it.
11041 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11042 Macros moved to dl-load.h.
11043 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11044 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11045 Use _dl_unmap_segments in place of __munmap.
11046 Break out segment-mapping loop into ...
11047 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11049 2014-04-03 Will Newton <will.newton@linaro.org>
11051 * elf/dl-lookup.c (do_lookup_x): Remove comment
11052 referring to nested function and move variable
11053 declarations down to before first use.
11055 2014-04-02 Joseph Myers <joseph@codesourcery.com>
11059 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11061 * math/s_catanf.c (__catanf): Likewise.
11062 * math/s_catanh.c (__catanh): Likewise.
11063 * math/s_catanhf.c (__catanhf): Likewise.
11064 * math/s_catanhl.c (__catanhl): Likewise.
11065 * math/s_catanl.c (__catanl): Likewise.
11066 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11067 by positive zero when computing -Inf result.
11068 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11069 (catanh_test): Likewise.
11070 * sysdeps/i386/fpu/libm-test-ulps: Update.
11071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11074 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11075 instead of using underflowing value in computing result.
11076 * math/s_clog10.c (__clog10): Likewise.
11077 * math/s_clog10f.c (__clog10f): Likewise.
11078 * math/s_clog10l.c (__clog10l): Likewise.
11079 * math/s_clogf.c (__clogf): Likewise.
11080 * math/s_clogl.c (__clogl): Likewise.
11081 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11082 (clog10_test): Likewise.
11083 * sysdeps/i386/fpu/libm-test-ulps: Update.
11084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11086 2014-04-02 Alan Modra <amodra@gmail.com>
11089 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11090 output when value is near a power of two. Use int64_t for lx and
11091 remove casts. Use decimal rather than hex exponent constants.
11092 Don't use long double multiplication when double will suffice.
11093 * math/libm-test.inc (nextafter_test_data): Add tests.
11094 * NEWS: Add 16739 and 16786 to bug list.
11096 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11098 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11100 2014-04-01 Will Newton <will.newton@linaro.org>
11102 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11103 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11105 2014-04-01 Florian Weimer <fweimer@redhat.com>
11108 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11109 * nptl/tst-setuid2.c: New file.
11110 * nptl/Makefile (xtests): Add tst-setuid2.
11112 2014-04-01 Alan Modra <amodra@gmail.com>
11115 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11117 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11121 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11122 set errno as appropriate.
11123 * math/w_scalbf.c (__scalbf): Likewise.
11124 * math/w_scalbl.c (__scalbl): Likewise.
11125 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11126 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11127 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11128 Add more NaN tests.
11131 * math/w_atan2.c: Include <errno.h>.
11132 (__atan2): Set errno for result underflowing to zero.
11133 * math/w_atan2f.c: Include <errno.h>.
11134 (__atan2f): Set errno for result underflowing to zero.
11135 * math/w_atan2l.c: Include <errno.h>.
11136 (__atan2l): Set errno for result underflowing to zero.
11137 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11139 * math/auto-libm-test-out: Regenerated.
11141 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11143 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11144 Encode instruction correctly in little endian.
11145 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11147 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11149 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11151 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11154 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11157 * sysdeps/unix/sysv/linux/kernel-features.h
11158 [__sparc__ && !__arch64__ && !__sparc_v9__]
11159 (__ASSUME_SET_ROBUST_LIST): Do not define.
11160 [__sparc__ && !__arch64__ && !__sparc_v9__]
11161 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11162 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11164 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11165 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11166 (__ASSUME_REQUEUE_PI): Likewise.
11167 (__ASSUME_SET_ROBUST_LIST): Likewise.
11168 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11169 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11171 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11172 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11174 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11176 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11178 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11179 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11181 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11182 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11186 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11187 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11188 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11190 2014-03-31 Will Newton <will.newton@linaro.org>
11192 * benchtests/Makefile (bench): Add ffs and ffsll to list
11194 * benchtests/ffs-inputs: New file.
11195 * benchtests/ffsll-inputs: Likewise.
11197 2014-03-29 Joseph Myers <joseph@codesourcery.com>
11200 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11201 too large before casting to int.
11202 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11203 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11204 * math/libm-test.inc (scalb_test_data): Add more tests.
11206 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11208 * benchtests/Makefile (DETAILED_OPT): New make option.
11209 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11211 * benchtests/bench-skeleton.c: Include stdbool.h.
11212 (main): Store and print timings per input.
11213 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11214 member to each argument value.
11215 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11216 (_print_arg_data): Initialize per-input timing to 0.
11218 * benchtests/Makefile (timing-type): New binary.
11219 (bench-clean): Also remove bench-timing-type.
11220 (bench): New target for timing-type.
11221 (bench-func): Print output in JSON format.
11222 * benchtests/bench-skeleton.c (main): Print output in JSON
11224 * benchtests/bench-timing-type.c: New file.
11225 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11226 (TIMING_PRINT_STATS): Remove.
11227 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11230 * benchtests/bench-modf.c: Remove.
11231 * benchtests/modf-inputs: New inputs file.
11233 2014-03-28 Joseph Myers <joseph@codesourcery.com>
11236 * math/s_clog10.c (M_PI_LOG10E): New macro.
11237 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11238 imaginary parts are 0.
11239 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11240 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11241 imaginary parts are 0.
11242 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11243 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11244 imaginary parts are 0.
11245 * math/libm-test.inc (clog10_test_data): Update expected results
11246 for when real and imaginary parts are 0.
11248 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11250 * elf/dl-load.c: Finish conversion of __builtin_expect into
11251 __glibc_{un}likely.
11253 2014-03-27 Joseph Myers <joseph@codesourcery.com>
11256 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11257 1+x for argument with exponent below -67.
11258 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11260 * math/auto-libm-test-in: Add more tests of exp.
11261 * math/auto-libm-test-out: Regenerated.
11263 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11266 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11267 (nscd_getnetgrent): Use it.
11270 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11273 2014-03-27 Andi Kleen <ak@linux.intel.com>
11275 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11276 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11277 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11278 (lll_robust_unlock): Remove out of line section. Use cfi
11280 (LLL_STUB_UNWIND_INFO*): Remove.
11281 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11282 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11283 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11284 (lll_robust_unlock): Remove out of line section. Use cfi
11286 (LLL_STUB_UNWIND_INFO*): Remove.
11288 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11291 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11294 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11296 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11298 2014-03-26 Joseph Myers <joseph@codesourcery.com>
11301 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11303 * math/test-fenv-preserve.c: New file.
11304 * math/Makefile (tests): Add test-fenv-preserve.
11306 2014-03-26 Will Newton <will.newton@linaro.org>
11308 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11310 2014-03-25 Roland McGrath <roland@hack.frob.com>
11312 * scripts/versionlist.awk: Partition the version sets and emit all
11313 GLIBC_* (sorted) before all others (sorted).
11315 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11317 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11318 GLIBC_2.2.5 version.
11320 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11322 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11325 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11330 2014-03-25 Andreas Schwab <schwab@suse.de>
11332 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11333 label to be used after in6ailist is initialized.
11335 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11337 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11338 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11340 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11344 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11346 (fp_formats): Update initializers.
11347 (init_fp_formats): Initialize new field.
11348 (output_for_one_input_case): Allow underflow for results up to
11350 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11351 * math/auto-libm-test-in: Don't mark some underflows from asin and
11353 * math/auto-libm-test-out: Regenerated.
11354 * sysdeps/i386/fpu/libm-test-ulps: Update.
11355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11357 2014-03-25 Andreas Schwab <schwab@suse.de>
11359 * libio/Makefile (tst-ftell-partial-wide-ENV)
11360 (tst-ftell-active-handler-ENV): Define.
11362 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11364 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11366 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11368 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11370 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11372 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11373 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11374 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11376 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11379 * elf/dl-load.c (open_verify): Add mode parameter.
11380 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11381 (open_path): Change from boolean 'secure' to complete flag 'mode'
11382 (_dl_map_object): Adjust.
11383 * elf/Makefile (tests): Add tst-dlopen-aout.
11384 * elf/tst-dlopen-aout.c: New test.
11386 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11389 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11390 (struct stat): Rename member pad0 to __glibc_reserved0.
11393 * sysdeps/s390/s390-32/bits/wordsize.h
11394 (__WORDSIZE32_SIZE_ULONG): New define.
11395 * sysdeps/s390/s390-64/bits/wordsize.h
11396 (__WORDSIZE32_SIZE_ULONG): Likewise.
11397 * sysdeps/generic/stdint.h (SIZE_MAX):
11398 Define as UL if __WORDSIZE32_SIZE_ULONG.
11401 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11402 (__glibc_reserved0): New variable.
11403 (sa_flags): Change type to int.
11405 * posix/Makefile (before-compile): Use += before-compile instead
11408 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11409 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11411 2014-03-20 Andreas Schwab <schwab@suse.de>
11414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11415 non-matching result from nscd.
11417 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11419 * scripts/bench.py: Moved to ...
11420 * benchtests/scripts/bench.py: ... here.
11421 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11423 2014-03-24 Andreas Schwab <schwab@suse.de>
11426 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11427 alloca_account and account alloca use for struct in6ailist.
11429 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11432 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11433 rounding mode to recompute results that overflow to infinity or
11435 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11437 * math/auto-libm-test-out: Regenerated.
11438 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11439 (ccosh_test): Likewise.
11440 (csin_test_data): Use plus_oflow.
11441 (csin_test): Use ALL_RM_TEST.
11442 (csinh_test_data): Use plus_oflow.
11443 (csinh_test): Use ALL_RM_TEST.
11444 * sysdeps/i386/fpu/libm-test-ulps: Update.
11445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11447 2014-03-21 Joseph Myers <joseph@codesourcery.com>
11449 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11450 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11451 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11454 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11455 when x - 1 is zero.
11456 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11457 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11458 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11459 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11461 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11462 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11464 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11465 * sysdeps/i386/fpu/libm-test-ulps: Update.
11466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11468 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11470 * scripts/bench.pl: Remove file.
11471 * scripts/bench.py: New benchmark script.
11472 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11473 * benchtests/README: Mention python dependency.
11474 * scripts/pylintrc: New file.
11475 * scripts/pylint: New file.
11477 * bits/mathdef.h: Use #ifdef instead of #if.
11478 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11479 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11480 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11481 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11482 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11483 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11485 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11486 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11488 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11490 and strpbrk-ppc64 objects.
11491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11492 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11493 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11494 multiarch strpbrk for POWER7.
11495 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11496 multiarch strpbrk for PPC64.
11497 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11499 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11500 strpbrk for POWER7.
11502 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11504 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11505 (atan_test): Likewise.
11506 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11507 (atanh_test): Use ALL_RM_TEST.
11508 (atan2_test_data): Likewise.
11509 (cabs_test): Likewise.
11510 (cacosh_test): Likewise.
11511 (carg_test): Likewise.
11512 (casin_test): Likewise.
11513 (casinh_test): Likewise.
11514 (cbrt_test): Likewise.
11515 (csqrt_test): Likewise.
11516 (erf_test): Likewise.
11517 (erfc_test): Likewise.
11518 (pow10_test): Likewise.
11519 (exp2_test): Likewise.
11520 (hypot_test): Likewise.
11521 (j0_test): Likewise.
11522 (j1_test): Likewise.
11523 (lgamma_test): Likewise.
11524 (gamma_test): Likewise.
11525 (sincos_test): Likewise.
11526 (tanh_test): Likewise.
11527 (y0_test): Likewise.
11528 (y1_test): Likewise.
11529 * sysdeps/i386/fpu/libm-test-ulps: Update.
11530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11532 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11534 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11536 and strcspn-ppc64 objects.
11537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11538 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11539 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11540 multiarch strcspn for POWER7.
11541 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11542 multiarch strcspn for PPC64.
11543 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11545 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11546 strcspn for POWER7.
11548 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11550 * math/gen-libm-test.pl (generate_testfile): Expect only function
11551 name as argument to AUTO_TESTS_* and pass results for all rounding
11552 modes to parse_args.
11553 (parse_auto_input): Separate inputs of automatic tests from
11554 outputs before storing in %auto_tests.
11555 * math/libm-test.inc (acos_test_data): Update call to
11557 (acos_test): Use ALL_RM_TEST.
11558 (acos_tonearest_test_data): Remove.
11559 (acos_test_tonearest): Likewise.
11560 (acos_towardzero_test_data): Likewise.
11561 (acos_test_towardzero): Likewise.
11562 (acos_downward_test_data): Likewise.
11563 (acos_test_downward): Likewise.
11564 (acos_upward_test_data): Likewise.
11565 (acos_test_upward): Likewise.
11566 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11567 (asin_test_data): Likewise.
11568 (asin_test): Use ALL_RM_TEST.
11569 (asin_tonearest_test_data): Remove.
11570 (asin_test_tonearest): Likewise.
11571 (asin_towardzero_test_data): Likewise.
11572 (asin_test_towardzero): Likewise.
11573 (asin_downward_test_data): Likewise.
11574 (asin_test_downward): Likewise.
11575 (asin_upward_test_data): Likewise.
11576 (asin_test_upward): Likewise.
11577 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11578 (atan_test_data): Likewise.
11579 (atanh_test_data): Likewise.
11580 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11581 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11582 (carg_test_data): Likewise.
11583 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11584 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11585 (ccosh_test_data): Likewise.
11586 (cexp_test_data): Likewise.
11587 (clog_test_data): Likewise.
11588 (clog10_test_data): Likewise.
11589 (cos_test_data): Update call to AUTO_TESTS_f_f.
11590 (cos_test): Use ALL_RM_TEST.
11591 (cos_tonearest_test_data): Remove.
11592 (cos_test_tonearest): Likewise.
11593 (cos_towardzero_test_data): Likewise.
11594 (cos_test_towardzero): Likewise.
11595 (cos_downward_test_data): Likewise.
11596 (cos_test_downward): Likewise.
11597 (cos_upward_test_data): Likewise.
11598 (cos_test_upward): Likewise.
11599 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11600 (cosh_test): Use ALL_RM_TEST.
11601 (cosh_tonearest_test_data): Remove.
11602 (cosh_test_tonearest): Likewise.
11603 (cosh_towardzero_test_data): Likewise.
11604 (cosh_test_towardzero): Likewise.
11605 (cosh_downward_test_data): Likewise.
11606 (cosh_test_downward): Likewise.
11607 (cosh_upward_test_data): Likewise.
11608 (cosh_test_upward): Likewise.
11609 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11610 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11611 (ctan_test_data): Likewise.
11612 (ctan_test): Use ALL_RM_TEST.
11613 (ctan_tonearest_test_data): Remove.
11614 (ctan_test_tonearest): Likewise.
11615 (ctan_towardzero_test_data): Likewise.
11616 (ctan_test_towardzero): Likewise.
11617 (ctan_downward_test_data): Likewise.
11618 (ctan_test_downward): Likewise.
11619 (ctan_upward_test_data): Likewise.
11620 (ctan_test_upward): Likewise.
11621 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11622 (ctanh_test): Use ALL_RM_TEST.
11623 (ctanh_tonearest_test_data): Remove.
11624 (ctanh_test_tonearest): Likewise.
11625 (ctanh_towardzero_test_data): Likewise.
11626 (ctanh_test_towardzero): Likewise.
11627 (ctanh_downward_test_data): Likewise.
11628 (ctanh_test_downward): Likewise.
11629 (ctanh_upward_test_data): Likewise.
11630 (ctanh_test_upward): Likewise.
11631 (erf_test_data): Update call to AUTO_TESTS_f_f.
11632 (erfc_test_data): Likewise.
11633 (exp_test_data): Likewise.
11634 (exp_test): Use ALL_RM_TEST.
11635 (exp_tonearest_test_data): Remove.
11636 (exp_test_tonearest): Likewise.
11637 (exp_towardzero_test_data): Likewise.
11638 (exp_test_towardzero): Likewise.
11639 (exp_downward_test_data): Likewise.
11640 (exp_test_downward): Likewise.
11641 (exp_upward_test_data): Likewise.
11642 (exp_test_upward): Likewise.
11643 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11644 (exp10_test): Use ALL_RM_TEST.
11645 (exp10_tonearest_test_data): Remove.
11646 (exp10_test_tonearest): Likewise.
11647 (exp10_towardzero_test_data): Likewise.
11648 (exp10_test_towardzero): Likewise.
11649 (exp10_downward_test_data): Likewise.
11650 (exp10_test_downward): Likewise.
11651 (exp10_upward_test_data): Likewise.
11652 (exp10_test_upward): Likewise.
11653 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11654 (expm1_test_data): Likewise.
11655 (expm1_test): Use ALL_RM_TEST.
11656 (expm1_tonearest_test_data): Remove.
11657 (expm1_test_tonearest): Likewise.
11658 (expm1_towardzero_test_data): Likewise.
11659 (expm1_test_towardzero): Likewise.
11660 (expm1_downward_test_data): Likewise.
11661 (expm1_test_downward): Likewise.
11662 (expm1_upward_test_data): Likewise.
11663 (expm1_test_upward): Likewise.
11664 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11665 (fma_test): Use ALL_RM_TEST.
11666 (fma_towardzero_test_data): Remove.
11667 (fma_test_towardzero): Likewise.
11668 (fma_downward_test_data): Likewise.
11669 (fma_test_downward): Likewise.
11670 (fma_upward_test_data): Likewise.
11671 (fma_test_upward): Likewise.
11672 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11673 (j0_test_data): Update call to AUTO_TESTS_f_f.
11674 (j1_test_data): Likewise.
11675 (jn_test_data): Update call to AUTO_TESTS_if_f.
11676 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11677 (log_test_data): Update call to AUTO_TESTS_f_f.
11678 (log10_test_data): Likewise.
11679 (log1p_test_data): Likewise.
11680 (log2_test_data): Likewise.
11681 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11682 (pow_tonearest_test_data): Likewise.
11683 (sin_test_data): Update call to AUTO_TESTS_f_f.
11684 (sin_test): Use ALL_RM_TEST.
11685 (sin_tonearest_test_data): Remove.
11686 (sin_test_tonearest): Likewise.
11687 (sin_towardzero_test_data): Likewise.
11688 (sin_test_towardzero): Likewise.
11689 (sin_downward_test_data): Likewise.
11690 (sin_test_downward): Likewise.
11691 (sin_upward_test_data): Likewise.
11692 (sin_test_upward): Likewise.
11693 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11694 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11695 (sinh_test): Use ALL_RM_TEST.
11696 (sinh_tonearest_test_data): Remove.
11697 (sinh_test_tonearest): Likewise.
11698 (sinh_towardzero_test_data): Likewise.
11699 (sinh_test_towardzero): Likewise.
11700 (sinh_downward_test_data): Likewise.
11701 (sinh_test_downward): Likewise.
11702 (sinh_upward_test_data): Likewise.
11703 (sinh_test_upward): Likewise.
11704 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11705 (sqrt_test): Use ALL_RM_TEST.
11706 (sqrt_tonearest_test_data): Remove.
11707 (sqrt_test_tonearest): Likewise.
11708 (sqrt_towardzero_test_data): Likewise.
11709 (sqrt_test_towardzero): Likewise.
11710 (sqrt_downward_test_data): Likewise.
11711 (sqrt_test_downward): Likewise.
11712 (sqrt_upward_test_data): Likewise.
11713 (sqrt_test_upward): Likewise.
11714 (tan_test_data): Update call to AUTO_TESTS_f_f.
11715 (tan_test): Use ALL_RM_TEST.
11716 (tan_tonearest_test_data): Remove.
11717 (tan_test_tonearest): Likewise.
11718 (tan_towardzero_test_data): Likewise.
11719 (tan_test_towardzero): Likewise.
11720 (tan_downward_test_data): Likewise.
11721 (tan_test_downward): Likewise.
11722 (tan_upward_test_data): Likewise.
11723 (tan_test_upward): Likewise.
11724 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11725 (tgamma_test_data): Likewise.
11726 (y0_test_data): Likewise.
11727 (y1_test_data): Likewise.
11728 (yn_test_data): Update call to AUTO_TESTS_if_f.
11729 (main): Do not call removed functions.
11731 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11733 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11734 (ldexp_test_data): Remove.
11735 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11737 (scalb_test): Use ALL_RM_TEST.
11739 2014-03-19 Andreas Schwab <schwab@suse.de>
11741 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11743 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11746 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11747 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11748 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11749 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11750 (__ASSUME_PREADV): Undefine.
11751 (__ASSUME_PWRITEV): Likewise.
11753 2014-03-18 Roland McGrath <roland@hack.frob.com>
11755 * bits/mman-linux.h: Add comment about non-Linux use.
11756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11757 bits/mman-linux.h resting place.
11759 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11760 * bits/mman-linux.h: ... here.
11762 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11764 * conform/conformtest.pl: Add standard definition when calling C
11765 preprocessor on data files.
11766 (checknamespace): Remove unused variable.
11768 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11770 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11771 minus_oflow, plus_uflow and minus_uflow in expected results.
11772 * math/libm-test.inc (scalbn_test_data): Add more tests of
11773 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11775 (scalbn_test): Use ALL_RM_TEST.
11776 (scalbln_test_data): Add more tests of negative arguments. Use
11777 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11778 (scalbln_test): Use ALL_RM_TEST.
11780 2014-03-18 Roland McGrath <roland@hack.frob.com>
11782 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11784 2014-03-18 Will Newton <will.newton@linaro.org>
11786 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11787 inaccurate comment.
11789 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11791 * Makerules [!subdir] (check-abi): Exit with error status if a
11794 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11796 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11797 for rint. Include results for all rounding modes.
11798 (nearbyint_test): Use ALL_RM_TEST.
11799 (rint_test_data): Include all tests used for nearbyint.
11801 2014-03-17 Will Newton <will.newton@linaro.org>
11803 * nptl/sysdeps/pthread/pthread.h: Revert previous
11806 * sysdeps/generic/ldsodefs.h: Revert previous
11809 * libio/genops.c: Revert previous change.
11810 * libio/libioP.h: Likewise.
11811 * stdio-common/vfprintf.c: Likewise.
11813 * sysdeps/generic/math_private.h: Revert previous
11816 * sysdeps/generic/math_private.h: Check whether
11817 HAVE_RM_CTX is defined with #ifdef rather
11820 * argp/argp-fmtstream.h: Check whether
11821 __STRICT_ANSI__ is defined with #ifdef rather
11823 * argp/argp.h: Likewise.
11825 * libio/genops.c: Check whether
11826 _IO_JUMPS_OFFSET is defined with #ifdef rather
11828 * libio/libioP.h: Likewise.
11829 * stdio-common/vfprintf.c: Likewise.
11831 * sysdeps/generic/ldsodefs.h: Check whether
11832 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11835 * nptl/sysdeps/pthread/pthread.h: Check
11836 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11839 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11841 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11843 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11847 * libio/fileops.c (_IO_file_open): Seek to end of file but
11848 don't cache the offset.
11849 (get_file_offset): Remove function.
11850 (do_ftell): Use cached offset when available.
11851 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11852 don't cache the offset.
11853 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11855 (do_one_test): Call it.
11856 (do_ftell_test): Fix up expected old offset for a+ mode.
11857 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11860 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11861 up test status with function return status.
11862 (do_write_test): Likewise.
11863 (do_append_test): Likewise.
11865 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11866 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11869 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11871 * math/gen-libm-test.pl (parse_args): Handle results specified for
11872 each rounding mode separately.
11873 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11874 tests and results from lrint_tonearest_test_data,
11875 lrint_towardzero_test_data, lrint_downward_test_data and
11876 lrint_upward_test_data.
11877 (lrint_test): Use ALL_RM_TEST.
11878 (lrint_tonearest_test_data): Remove.
11879 (lrint_test_tonearest): Likewise.
11880 (lrint_towardzero_test_data): Likewise.
11881 (lrint_test_towardzero): Likewise.
11882 (lrint_downward_test_data): Likewise.
11883 (lrint_test_downward): Likewise.
11884 (lrint_upward_test_data): Likewise.
11885 (lrint_test_upward): Likewise.
11886 (llrint_test_data): Merge in per-rounding-mode tests and results
11887 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11888 llrint_downward_test_data and llrint_upward_test_data.
11889 (llrint_test): Use ALL_RM_TEST.
11890 (llrint_tonearest_test_data): Remove.
11891 (llrint_test_tonearest): Likewise.
11892 (llrint_towardzero_test_data): Likewise.
11893 (llrint_test_towardzero): Likewise.
11894 (llrint_downward_test_data): Likewise.
11895 (llrint_test_downward): Likewise.
11896 (llrint_upward_test_data): Likewise.
11897 (llrint_test_upward): Likewise.
11898 (rint_test_data): Merge in per-rounding-mode tests and results
11899 from rint_tonearest_test_data, rint_towardzero_test_data,
11900 rint_downward_test_data and rint_upward_test_data. Add
11901 per-rounding-mode results for tests not in those arrays.
11902 (rint_test): Use ALL_RM_TEST.
11903 (rint_tonearest_test_data): Remove.
11904 (rint_test_tonearest): Likewise.
11905 (rint_towardzero_test_data): Likewise.
11906 (rint_test_towardzero): Likewise.
11907 (rint_downward_test_data): Likewise.
11908 (rint_test_downward): Likewise.
11909 (rint_upward_test_data): Likewise.
11910 (rint_test_upward): Likewise.
11911 (main): Don't call removed functions.
11913 2014-03-14 Roland McGrath <roland@hack.frob.com>
11915 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11916 "Compiled on ..." crapola. It is anti-useful.
11918 2014-03-14 Joseph Myers <joseph@codesourcery.com>
11920 * scripts/evaluate-test.sh: Handle fourth argument to determine
11921 whether test run should stop on failure.
11922 * Makeconfig (stop-on-test-failure): New variable.
11923 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11924 $(stop-on-test-failure).
11925 * Makefile (tests): Give a summary of results from testing and
11926 exit with failure status if they include an ERROR or FAIL.
11927 (xtests): Likewise.
11928 * manual/install.texi (Configuring and compiling): Mention
11929 stop-on-test-failure=y.
11930 * INSTALL: Regenerated.
11932 2014-03-14 Roland McGrath <roland@hack.frob.com>
11934 * scripts/versionlist.awk: New file.
11935 * Makerules [$(build-shared) = yes]
11936 (postclean-generated): Add Versions.def, not Versions.def.v and
11938 ($(common-objpfx)Versions.def.v.i): Target removed.
11939 ($(common-objpfx)Versions.def): New target.
11940 ($(common-objpfx)Versions.all): Depend on that rather that
11941 $(common-objpfx)Versions.def.v.
11942 * Versions.def: File removed.
11944 * Makeconfig (+gccwarn): Add -Wundef.
11945 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11946 a dl-sysdep.h breaking its contract.
11947 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11948 * include/stackinfo.h: New file.
11949 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11950 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11951 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11952 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11953 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11954 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11955 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11956 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11957 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11958 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11959 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11960 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11961 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11962 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11963 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11965 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11968 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11970 * math/libm-test.inc (round_test_data): Add more tests.
11973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11975 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11978 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11980 * math/libm-test.inc (ceil_test_data): Add more tests.
11982 * math/libm-test.inc (trunc_test_data): Add more tests related to
11985 2014-03-14 Roland McGrath <roland@hack.frob.com>
11987 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11988 with #if rather than #ifdef.
11989 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11991 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11993 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11994 first. Disable AVX-512 GCC support if assembler doesn't support
11996 * sysdeps/x86_64/configure: Regenerated.
11998 2014-03-13 Carlos O'Donell <carlos@redhat.com>
12000 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12001 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12002 (__old_pthread_attr_setstack): Likewise.
12003 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12004 [!_STACK_GROWS_DOWN]: Likewise.
12006 2014-03-13 Mike Frysinger <vapier@gentoo.org>
12008 * config.make.in (have-bash2): Delete.
12009 * configure.ac (libc_cv_have_bash2): Delete.
12010 * configure: Regenerate.
12011 * elf/Makefile (common-ldd-rewrite): Rename to ...
12012 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12013 (sh-ldd-rewrite): Delete.
12014 (bash-ldd-rewrite): Delete.
12015 (have-bash2): Delete checks.
12016 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12019 * config.make.in (have-ksh): Delete.
12021 * configure.ac (libc_cv_have_ksh): Delete.
12022 * configure: Regenerate.
12024 * elf/Makefile: Delete $(have-ksh) check.
12025 ($(objpfx)sotruss): Change KSH to BASH.
12026 * elf/sotruss.ksh: Rename to ...
12027 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12028 function style to match POSIX. Drop ksh vim mode setting.
12030 * manual/time.texi (Specifying the Time Zone with TZ): Change
12031 Tuesday to Thursday.
12033 * debug/tst-longjmp_chk2.c: Update header comment.
12034 (stackoverflow_handler): Add comment. Call assert on pass value.
12036 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12039 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12040 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12041 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12042 (La_x86_64_vector): Add zmm.
12043 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12044 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12045 ($(objpfx)tst-audit10): New target.
12046 ($(objpfx)tst-audit10.out): Likewise.
12047 (tst-audit10-ENV): New.
12048 (AVX512-CFLAGS): Likewise.
12049 (CFLAGS-tst-audit10.c): Likewise.
12050 (CFLAGS-tst-auditmod10a.c): Likewise.
12051 (CFLAGS-tst-auditmod10b.c): Likewise.
12052 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12053 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12054 * sysdeps/x86_64/configure: Regenerated.
12055 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12056 AVX-512 zmm register support.
12057 (_dl_x86_64_save_sse): Likewise.
12058 (_dl_x86_64_restore_sse): Likewise.
12059 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12060 size vector registers.
12061 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12062 (ZMM_SIZE): Likewise.
12063 * sysdeps/x86_64/tst-audit10.c: New file.
12064 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12065 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12067 2014-03-13 Roland McGrath <roland@hack.frob.com>
12069 * configure.ac (HAVE_EHDR_START): New check.
12070 * configure: Regenerated.
12071 * config.h.in (HAVE_EHDR_START): New #undef.
12072 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12073 assuming the lowest-addressed segment maps the start of the file.
12075 2014-03-13 Joseph Myers <joseph@codesourcery.com>
12077 * INSTALL: Regenerated.
12079 2014-03-13 Will Newton <will.newton@linaro.org>
12081 * manual/setjmp.texi (System V contexts): Improve
12082 clarity and grammar of documentation.
12084 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12087 * elf/Makefile (tests): Add tst-pie2.
12088 (tests-pie): Add tst-pie2.
12089 * elf/tst-pie2.c: New file.
12090 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12092 * elf/rtld.c (map_doit): Load executable as lt_executable.
12093 (dl_main): Likewise.
12095 2014-03-12 Joseph Myers <joseph@codesourcery.com>
12098 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12099 (__ASSUME_PSELECT): Undefine.
12101 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12104 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12105 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12107 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12108 selector for static builds.
12110 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12113 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12116 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12118 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12119 IFUNC selector for static builds.
12121 2014-03-11 Joseph Myers <joseph@codesourcery.com>
12123 * sysdeps/mips/math_private.h [__mips_hard_float]
12124 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12125 libc_feresetround_mips_ctx.
12126 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12127 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12128 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12131 * math/s_nextafter.c (__nextafter): Do not return value from
12132 overflowing computation.
12133 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12134 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12135 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12137 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12139 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12140 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12142 2014-03-11 Roland McGrath <roland@hack.frob.com>
12144 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12145 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12146 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12147 the new mov targetting sp.
12149 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12152 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12153 Define it for static builds as well.
12154 (NO_BZERO_IMPL): Likewise.
12156 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12158 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12159 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12160 multiarch strspn for PPC64.
12161 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12162 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12164 (__libc_ifunc_impl_list): Likewise.
12165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12166 multiarch optimizations
12167 * string/strspn.c (strspn): Using macro to redefine symbol name.
12169 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12170 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12172 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12173 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12174 multiarch strncat for PPC64.
12175 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12176 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12178 (__libc_ifunc_impl_list): Likewise.
12179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12180 multiarch optimizations
12182 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12185 * nscd/nscd.service: Make service type forking.
12187 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12189 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12190 sign in non default rounding modes.
12191 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12193 2014-03-08 Joseph Myers <joseph@codesourcery.com>
12195 * math/libm-test.inc (ALL_RM_TEST): New macro.
12196 (ceil_test): Use ALL_RM_TEST.
12197 (cimag_test): Likewise.
12198 (conj_test): Likewise.
12199 (copysign_test): Likewise.
12200 (cproj_test): Likewise.
12201 (creal_test): Likewise.
12202 (fabs_test): Likewise.
12203 (floor_test): Likewise.
12204 (fmax_test): Likewise.
12205 (fmin_test): Likewise.
12206 (fmod_test): Likewise.
12207 (fpclassify_test): Likewise.
12208 (frexp_test): Likewise.
12209 (ilogb_test): Likewise.
12210 (isfinite_test): Likewise.
12211 (finite_test): Likewise.
12212 (isgreater_test): Likewise.
12213 (isgreaterequal_test): Likewise.
12214 (isinf_test): Likewise.
12215 (isless_test): Likewise.
12216 (islessequal_test): Likewise.
12217 (islessgreater_test): Likewise.
12218 (isnan_test): Likewise.
12219 (isnormal_test): Likewise.
12220 (issignaling_test): Likewise.
12221 (isunordered_test): Likewise.
12222 (logb_test): Likewise.
12223 (logb_downward_test_data): Remove.
12224 (logb_test_downward): Likewise.
12225 (lround_test): Use ALL_RM_TEST.
12226 (llround_test): Likewise.
12227 (modf_test): Likewise.
12228 (nexttoward_test): Likewise.
12229 (remainder_test): Likewise.
12230 (drem_test): Likewise.
12231 (remainder_tonearest_test_data): Likewise.
12232 (remainder_test_tonearest): Likewise.
12233 (drem_test_tonearest): Likewise.
12234 (remainder_towardzero_test_data): Likewise.
12235 (remainder_test_towardzero): Likewise.
12236 (drem_test_towardzero): Likewise.
12237 (remainder_downward_test_data): Likewise.
12238 (remainder_test_downward): Likewise.
12239 (drem_test_downward): Likewise.
12240 (remainder_upward_test_data): Likewise.
12241 (remainder_test_upward): Likewise.
12242 (drem_test_upward): Likewise.
12243 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12244 (round_test): Use ALL_RM_TEST.
12245 (signbit_test): Likewise.
12246 (trunc_test): Likewise.
12247 (significand_test): Likewise.
12248 (main): Don't call removed functions.
12250 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12253 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12254 || __USE_XOPEN2K8].
12255 (ILL_ILLOPN): Likewise.
12256 (ILL_ILLADR): Likewise.
12257 (ILL_ILLTRP): Likewise.
12258 (ILL_PRVOPC): Likewise.
12259 (ILL_PRVREG): Likewise.
12260 (ILL_COPROC): Likewise.
12261 (ILL_BADSTK): Likewise.
12262 (FPE_INTDIV): Likewise.
12263 (FPE_INTOVF): Likewise.
12264 (FPE_FLTDIV): Likewise.
12265 (FPE_FLTOVF): Likewise.
12266 (FPE_FLTUND): Likewise.
12267 (FPE_FLTRES): Likewise.
12268 (FPE_FLTINV): Likewise.
12269 (FPE_FLTSUB): Likewise.
12270 (SEGV_MAPERR): Likewise.
12271 (SEGV_ACCERR): Likewise.
12272 (BUS_ADRALN): Likewise.
12273 (BUS_ADRERR): Likewise.
12274 (BUS_OBJERR): Likewise.
12275 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12276 (TRAP_TRACE): Likewise.
12277 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12279 (CLD_KILLED): Likewise.
12280 (CLD_DUMPED): Likewise.
12281 (CLD_TRAPPED): Likewise.
12282 (CLD_STOPPED): Likewise.
12283 (CLD_CONTINUED): Likewise.
12284 (POLL_IN): Likewise.
12285 (POLL_OUT): Likewise.
12286 (POLL_MSG): Likewise.
12287 (POLL_ERR): Likewise.
12288 (POLL_PRI): Likewise.
12289 (POLL_HUP): Likewise.
12290 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12292 (ILL_ILLOPN): Likewise.
12293 (ILL_ILLADR): Likewise.
12294 (ILL_ILLTRP): Likewise.
12295 (ILL_PRVOPC): Likewise.
12296 (ILL_PRVREG): Likewise.
12297 (ILL_COPROC): Likewise.
12298 (ILL_BADSTK): Likewise.
12299 (FPE_INTDIV): Likewise.
12300 (FPE_INTOVF): Likewise.
12301 (FPE_FLTDIV): Likewise.
12302 (FPE_FLTOVF): Likewise.
12303 (FPE_FLTUND): Likewise.
12304 (FPE_FLTRES): Likewise.
12305 (FPE_FLTINV): Likewise.
12306 (FPE_FLTSUB): Likewise.
12307 (SEGV_MAPERR): Likewise.
12308 (SEGV_ACCERR): Likewise.
12309 (BUS_ADRALN): Likewise.
12310 (BUS_ADRERR): Likewise.
12311 (BUS_OBJERR): Likewise.
12312 (BUS_MCEERR_AR): Likewise.
12313 (BUS_MCEERR_AO): Likewise.
12314 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12315 (TRAP_TRACE): Likewise.
12316 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12318 (CLD_KILLED): Likewise.
12319 (CLD_DUMPED): Likewise.
12320 (CLD_TRAPPED): Likewise.
12321 (CLD_STOPPED): Likewise.
12322 (CLD_CONTINUED): Likewise.
12323 (POLL_IN): Likewise.
12324 (POLL_OUT): Likewise.
12325 (POLL_MSG): Likewise.
12326 (POLL_ERR): Likewise.
12327 (POLL_PRI): Likewise.
12328 (POLL_HUP): Likewise.
12329 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12330 (ILL_ILLOPN): Likewise.
12331 (ILL_ILLADR): Likewise.
12332 (ILL_ILLTRP): Likewise.
12333 (ILL_PRVOPC): Likewise.
12334 (ILL_PRVREG): Likewise.
12335 (ILL_COPROC): Likewise.
12336 (ILL_BADSTK): Likewise.
12337 (FPE_INTDIV): Likewise.
12338 (FPE_INTOVF): Likewise.
12339 (FPE_FLTDIV): Likewise.
12340 (FPE_FLTOVF): Likewise.
12341 (FPE_FLTUND): Likewise.
12342 (FPE_FLTRES): Likewise.
12343 (FPE_FLTINV): Likewise.
12344 (FPE_FLTSUB): Likewise.
12345 (SEGV_MAPERR): Likewise.
12346 (SEGV_ACCERR): Likewise.
12347 (BUS_ADRALN): Likewise.
12348 (BUS_ADRERR): Likewise.
12349 (BUS_OBJERR): Likewise.
12350 (BUS_MCEERR_AR): Likewise.
12351 (BUS_MCEERR_AO): Likewise.
12352 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12353 (TRAP_TRACE): Likewise.
12354 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12356 (CLD_KILLED): Likewise.
12357 (CLD_DUMPED): Likewise.
12358 (CLD_TRAPPED): Likewise.
12359 (CLD_STOPPED): Likewise.
12360 (CLD_CONTINUED): Likewise.
12361 (POLL_IN): Likewise.
12362 (POLL_OUT): Likewise.
12363 (POLL_MSG): Likewise.
12364 (POLL_ERR): Likewise.
12365 (POLL_PRI): Likewise.
12366 (POLL_HUP): Likewise.
12367 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12369 (ILL_ILLOPN): Likewise.
12370 (ILL_ILLADR): Likewise.
12371 (ILL_ILLTRP): Likewise.
12372 (ILL_PRVOPC): Likewise.
12373 (ILL_PRVREG): Likewise.
12374 (ILL_COPROC): Likewise.
12375 (ILL_BADSTK): Likewise.
12376 (ILL_BADIADDR): Likewise.
12377 (ILL_BREAK): Likewise.
12378 (FPE_INTDIV): Likewise.
12379 (FPE_INTOVF): Likewise.
12380 (FPE_FLTDIV): Likewise.
12381 (FPE_FLTOVF): Likewise.
12382 (FPE_FLTUND): Likewise.
12383 (FPE_FLTRES): Likewise.
12384 (FPE_FLTINV): Likewise.
12385 (FPE_FLTSUB): Likewise.
12386 (FPE_DECOVF): Likewise.
12387 (FPE_DECDIV): Likewise.
12388 (FPE_DECERR): Likewise.
12389 (FPE_INVASC): Likewise.
12390 (FPE_INVDEC): Likewise.
12391 (SEGV_MAPERR): Likewise.
12392 (SEGV_ACCERR): Likewise.
12393 (SEGV_PSTKOVF): Likewise.
12394 (BUS_ADRALN): Likewise.
12395 (BUS_ADRERR): Likewise.
12396 (BUS_OBJERR): Likewise.
12397 (BUS_MCEERR_AR): Likewise.
12398 (BUS_MCEERR_AO): Likewise.
12399 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12400 (TRAP_TRACE): Likewise.
12401 (TRAP_BRANCH): Likewise.
12402 (TRAP_HWBKPT): Likewise.
12403 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12405 (CLD_KILLED): Likewise.
12406 (CLD_DUMPED): Likewise.
12407 (CLD_TRAPPED): Likewise.
12408 (CLD_STOPPED): Likewise.
12409 (CLD_CONTINUED): Likewise.
12410 (POLL_IN): Likewise.
12411 (POLL_OUT): Likewise.
12412 (POLL_MSG): Likewise.
12413 (POLL_ERR): Likewise.
12414 (POLL_PRI): Likewise.
12415 (POLL_HUP): Likewise.
12416 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12417 (ILL_ILLOPN): Likewise.
12418 (ILL_ILLADR): Likewise.
12419 (ILL_ILLTRP): Likewise.
12420 (ILL_PRVOPC): Likewise.
12421 (ILL_PRVREG): Likewise.
12422 (ILL_COPROC): Likewise.
12423 (ILL_BADSTK): Likewise.
12424 (FPE_INTDIV): Likewise.
12425 (FPE_INTOVF): Likewise.
12426 (FPE_FLTDIV): Likewise.
12427 (FPE_FLTOVF): Likewise.
12428 (FPE_FLTUND): Likewise.
12429 (FPE_FLTRES): Likewise.
12430 (FPE_FLTINV): Likewise.
12431 (FPE_FLTSUB): Likewise.
12432 (SEGV_MAPERR): Likewise.
12433 (SEGV_ACCERR): Likewise.
12434 (BUS_ADRALN): Likewise.
12435 (BUS_ADRERR): Likewise.
12436 (BUS_OBJERR): Likewise.
12437 (BUS_MCEERR_AR): Likewise.
12438 (BUS_MCEERR_AO): Likewise.
12439 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12440 (TRAP_TRACE): Likewise.
12441 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12443 (CLD_KILLED): Likewise.
12444 (CLD_DUMPED): Likewise.
12445 (CLD_TRAPPED): Likewise.
12446 (CLD_STOPPED): Likewise.
12447 (CLD_CONTINUED): Likewise.
12448 (POLL_IN): Likewise.
12449 (POLL_OUT): Likewise.
12450 (POLL_MSG): Likewise.
12451 (POLL_ERR): Likewise.
12452 (POLL_PRI): Likewise.
12453 (POLL_HUP): Likewise.
12454 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12455 (ILL_ILLOPN): Likewise.
12456 (ILL_ILLADR): Likewise.
12457 (ILL_ILLTRP): Likewise.
12458 (ILL_PRVOPC): Likewise.
12459 (ILL_PRVREG): Likewise.
12460 (ILL_COPROC): Likewise.
12461 (ILL_BADSTK): Likewise.
12462 (FPE_INTDIV): Likewise.
12463 (FPE_INTOVF): Likewise.
12464 (FPE_FLTDIV): Likewise.
12465 (FPE_FLTOVF): Likewise.
12466 (FPE_FLTUND): Likewise.
12467 (FPE_FLTRES): Likewise.
12468 (FPE_FLTINV): Likewise.
12469 (FPE_FLTSUB): Likewise.
12470 (SEGV_MAPERR): Likewise.
12471 (SEGV_ACCERR): Likewise.
12472 (BUS_ADRALN): Likewise.
12473 (BUS_ADRERR): Likewise.
12474 (BUS_OBJERR): Likewise.
12475 (BUS_MCEERR_AR): Likewise.
12476 (BUS_MCEERR_AO): Likewise.
12477 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12478 (TRAP_TRACE): Likewise.
12479 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12481 (CLD_KILLED): Likewise.
12482 (CLD_DUMPED): Likewise.
12483 (CLD_TRAPPED): Likewise.
12484 (CLD_STOPPED): Likewise.
12485 (CLD_CONTINUED): Likewise.
12486 (POLL_IN): Likewise.
12487 (POLL_OUT): Likewise.
12488 (POLL_MSG): Likewise.
12489 (POLL_ERR): Likewise.
12490 (POLL_PRI): Likewise.
12491 (POLL_HUP): Likewise.
12492 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12493 (ILL_ILLOPN): Likewise.
12494 (ILL_ILLADR): Likewise.
12495 (ILL_ILLTRP): Likewise.
12496 (ILL_PRVOPC): Likewise.
12497 (ILL_PRVREG): Likewise.
12498 (ILL_COPROC): Likewise.
12499 (ILL_BADSTK): Likewise.
12500 (FPE_INTDIV): Likewise.
12501 (FPE_INTOVF): Likewise.
12502 (FPE_FLTDIV): Likewise.
12503 (FPE_FLTOVF): Likewise.
12504 (FPE_FLTUND): Likewise.
12505 (FPE_FLTRES): Likewise.
12506 (FPE_FLTINV): Likewise.
12507 (FPE_FLTSUB): Likewise.
12508 (SEGV_MAPERR): Likewise.
12509 (SEGV_ACCERR): Likewise.
12510 (BUS_ADRALN): Likewise.
12511 (BUS_ADRERR): Likewise.
12512 (BUS_OBJERR): Likewise.
12513 (BUS_MCEERR_AR): Likewise.
12514 (BUS_MCEERR_AO): Likewise.
12515 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12516 (TRAP_TRACE): Likewise.
12517 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12519 (CLD_KILLED): Likewise.
12520 (CLD_DUMPED): Likewise.
12521 (CLD_TRAPPED): Likewise.
12522 (CLD_STOPPED): Likewise.
12523 (CLD_CONTINUED): Likewise.
12524 (POLL_IN): Likewise.
12525 (POLL_OUT): Likewise.
12526 (POLL_MSG): Likewise.
12527 (POLL_ERR): Likewise.
12528 (POLL_PRI): Likewise.
12529 (POLL_HUP): Likewise.
12530 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12531 (ILL_ILLOPN): Likewise.
12532 (ILL_ILLADR): Likewise.
12533 (ILL_ILLTRP): Likewise.
12534 (ILL_PRVOPC): Likewise.
12535 (ILL_PRVREG): Likewise.
12536 (ILL_COPROC): Likewise.
12537 (ILL_BADSTK): Likewise.
12538 (ILL_DBLFLT): Likewise.
12539 (ILL_HARDWALL): Likewise.
12540 (FPE_INTDIV): Likewise.
12541 (FPE_INTOVF): Likewise.
12542 (FPE_FLTDIV): Likewise.
12543 (FPE_FLTOVF): Likewise.
12544 (FPE_FLTUND): Likewise.
12545 (FPE_FLTRES): Likewise.
12546 (FPE_FLTINV): Likewise.
12547 (FPE_FLTSUB): Likewise.
12548 (SEGV_MAPERR): Likewise.
12549 (SEGV_ACCERR): Likewise.
12550 (BUS_ADRALN): Likewise.
12551 (BUS_ADRERR): Likewise.
12552 (BUS_OBJERR): Likewise.
12553 (BUS_MCEERR_AR): Likewise.
12554 (BUS_MCEERR_AO): Likewise.
12555 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12556 (TRAP_TRACE): Likewise.
12557 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12559 (CLD_KILLED): Likewise.
12560 (CLD_DUMPED): Likewise.
12561 (CLD_TRAPPED): Likewise.
12562 (CLD_STOPPED): Likewise.
12563 (CLD_CONTINUED): Likewise.
12564 (POLL_IN): Likewise.
12565 (POLL_OUT): Likewise.
12566 (POLL_MSG): Likewise.
12567 (POLL_ERR): Likewise.
12568 (POLL_PRI): Likewise.
12569 (POLL_HUP): Likewise.
12570 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12571 (ILL_ILLOPN): Likewise.
12572 (ILL_ILLADR): Likewise.
12573 (ILL_ILLTRP): Likewise.
12574 (ILL_PRVOPC): Likewise.
12575 (ILL_PRVREG): Likewise.
12576 (ILL_COPROC): Likewise.
12577 (ILL_BADSTK): Likewise.
12578 (FPE_INTDIV): Likewise.
12579 (FPE_INTOVF): Likewise.
12580 (FPE_FLTDIV): Likewise.
12581 (FPE_FLTOVF): Likewise.
12582 (FPE_FLTUND): Likewise.
12583 (FPE_FLTRES): Likewise.
12584 (FPE_FLTINV): Likewise.
12585 (FPE_FLTSUB): Likewise.
12586 (SEGV_MAPERR): Likewise.
12587 (SEGV_ACCERR): Likewise.
12588 (BUS_ADRALN): Likewise.
12589 (BUS_ADRERR): Likewise.
12590 (BUS_OBJERR): Likewise.
12591 (BUS_MCEERR_AR): Likewise.
12592 (BUS_MCEERR_AO): Likewise.
12593 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12594 (TRAP_TRACE): Likewise.
12595 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12597 (CLD_KILLED): Likewise.
12598 (CLD_DUMPED): Likewise.
12599 (CLD_TRAPPED): Likewise.
12600 (CLD_STOPPED): Likewise.
12601 (CLD_CONTINUED): Likewise.
12602 (POLL_IN): Likewise.
12603 (POLL_OUT): Likewise.
12604 (POLL_MSG): Likewise.
12605 (POLL_ERR): Likewise.
12606 (POLL_PRI): Likewise.
12607 (POLL_HUP): Likewise.
12608 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12609 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12612 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12613 before #include of <time.h>.
12614 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12615 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12616 (test-xfail-UNIX98/sched.h/conform): Likewise.
12618 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12620 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12621 error absence of trapping exception support.
12622 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12624 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12626 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12627 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12628 * timezone/Makefile (testdata): Move definition above include of
12630 (test-zones): New variable.
12631 (tests-special): Add zone files.
12632 (build-testdata): Use $(evaluate-test).
12634 * elf/Makefile (tests-special): Rename tests to end with .out.
12635 ($(objpfx)noload-mem): Likewise.
12636 ($(objpfx)tst-leaks1-mem): Likewise.
12637 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12638 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12639 $(objpfx)test-iconvconfig.out.
12640 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12641 set -e inside subshell and redirect output to file.
12642 * iconvdata/Makefile (generated): Rename tests to end with .out.
12644 (tests-special): Rename tests to end with .out.
12645 ($(objpfx)mtrace-tst-loading): Likewise.
12646 * intl/Makefile (generated): Likewise.
12647 (tests-special): Likewise.
12648 ($(objpfx)mtrace-tst-gettext): Likewise.
12649 * misc/Makefile (generated): Likewise.
12650 (tests-special): Likewise.
12651 ($(objpfx)tst-error1-mem): Likewise.
12652 * nptl/Makefile (tests-special): Likewise.
12653 ($(objpfx)tst-stack3-mem): Likewise.
12654 (generated): Likewise.
12655 * posix/Makefile (generated): Likewise.
12656 (tests-special): Likewise.
12657 (xtests-special): Likewise.
12658 ($(objpfx)tst-fnmatch-mem): Likewise.
12659 ($(objpfx)bug-regex2-mem): Likewise.
12660 ($(objpfx)bug-regex14-mem): Likewise.
12661 ($(objpfx)bug-regex21-mem): Likewise.
12662 ($(objpfx)bug-regex31-mem): Likewise.
12663 ($(objpfx)tst-vfork3-mem): Likewise.
12664 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12665 ($(objpfx)tst-pcre-mem): Likewise.
12666 ($(objpfx)tst-boost-mem): Likewise.
12667 ($(objpfx)bug-ga2-mem): Likewise.
12668 ($(objpfx)bug-glob2-mem): Likewise.
12669 * resolv/Makefile (generate): Likewise.
12670 (tests-special): Likewise.
12671 (xtests-special): Likewise.
12672 (generated): Likewise.
12673 ($(objpfx)mtrace-tst-leaks): Likewise.
12674 ($(objpfx)mtrace-tst-leaks2): Likewise.
12676 * scripts/merge-test-results.sh: New file.
12677 * Makefile (tests-special-notdir): New variable.
12678 (tests): Run merge-test-results.sh.
12679 (xtests): Likewise.
12680 * Rules (tests-special-notdir): New variable.
12681 (xtests-special-notdir): Likewise.
12682 (tests): Run merge-test-results.sh
12683 (xtests): Likewise.
12685 * Makeconfig (test-xfail-name): New variable.
12686 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12687 compute variable name for expected failures.
12688 * conform/Makefile (conformtest-headers-data): New variable.
12689 (conformtest-standards): Likewise.
12690 (conformtest-headers-ISO): Likewise.
12691 (conformtest-headers-ISO99): Likewise.
12692 (conformtest-headers-ISO11): Likewise.
12693 (conformtest-headers-POSIX): Likewise.
12694 (conformtest-headers-XPG3): Likewise.
12695 (conformtest-headers-XPG4): Likewise.
12696 (conformtest-headers-UNIX98): Likewise.
12697 (conformtest-headers-XOPEN2K): Likewise.
12698 (conformtest-headers-POSIX2008): Likewise.
12699 (conformtest-headers-XOPEN2K8): Likewise.
12700 (conformtest-header-list-base): Likewise.
12701 (conformtest-header-list-tests): Likewise.
12702 (conformtest-header-base): Likewise.
12703 (conformtest-header-tests): Likewise.
12704 (tests-special): Add $(conformtest-header-list-tests). If
12705 [$(fast-check) && !$(cross-compiling)], add
12706 $(conformtest-header-tests) instead of
12707 $(objpfx)run-conformtest.out.
12708 (generated): Add $(conformtest-header-list-base). If
12709 [$(fast-check) && !$(cross-compiling)], add
12710 $(conformtest-header-base). Remove previous setting.
12711 ($(conformtest-header-list-tests)): New target.
12712 (test-xfail-run-conformtest): Remove variable.
12713 ($(objpfx)run-conformtest.out): Remove target.
12714 (test-xfail-ISO11/complex.h/conform): New variable.
12715 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12716 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12717 (test-xfail-XPG3/varargs.h/conform): Likewise.
12718 (test-xfail-XPG4/varargs.h/conform): Likewise.
12719 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12720 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12721 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12722 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12723 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12724 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12725 (test-xfail-XPG3/ftw.h/conform): Likewise.
12726 (test-xfail-XPG3/grp.h/conform): Likewise.
12727 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12728 (test-xfail-XPG3/limits.h/conform): Likewise.
12729 (test-xfail-XPG3/pwd.h/conform): Likewise.
12730 (test-xfail-XPG3/search.h/conform): Likewise.
12731 (test-xfail-XPG3/signal.h/conform): Likewise.
12732 (test-xfail-XPG3/stdio.h/conform): Likewise.
12733 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12734 (test-xfail-XPG3/string.h/conform): Likewise.
12735 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12736 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12737 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12738 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12739 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12740 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12741 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12742 (test-xfail-XPG3/termios.h/conform): Likewise.
12743 (test-xfail-XPG3/time.h/conform): Likewise.
12744 (test-xfail-XPG3/unistd.h/conform): Likewise.
12745 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12746 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12747 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12748 (test-xfail-XPG4/netdb.h/conform): Likewise.
12749 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12750 (test-xfail-XPG4/signal.h/conform): Likewise.
12751 (test-xfail-XPG4/stdio.h/conform): Likewise.
12752 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12753 (test-xfail-XPG4/stropts.h/conform): Likewise.
12754 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12755 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12756 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12757 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12758 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12759 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12760 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12761 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12762 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12763 (test-xfail-XPG4/termios.h/conform): Likewise.
12764 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12765 (test-xfail-XPG4/unistd.h/conform): Likewise.
12766 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12767 (test-xfail-POSIX/sched.h/conform): Likewise.
12768 (test-xfail-POSIX/signal.h/conform): Likewise.
12769 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12770 (test-xfail-POSIX/tar.h/conform): Likewise.
12771 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12772 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12773 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12774 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12775 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12776 (test-xfail-UNIX98/sched.h/conform): Likewise.
12777 (test-xfail-UNIX98/signal.h/conform): Likewise.
12778 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12779 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12780 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12781 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12782 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12783 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12784 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12785 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12786 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12787 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12788 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12789 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12790 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12791 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12792 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12793 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12794 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12795 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12796 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12797 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12798 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12799 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12800 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12801 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12802 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12803 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12804 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12805 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12806 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12807 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12808 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12809 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12810 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12811 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12812 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12813 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12814 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12815 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12816 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12817 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12818 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12819 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12820 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12821 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12822 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12823 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12824 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12825 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12826 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12827 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12828 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12829 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12830 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12831 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12832 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12833 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12834 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12835 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12836 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12837 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12838 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12839 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12840 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12841 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12842 (conformtest-cc-flags): Likewise.
12843 ($(conformtest-header-tests): New target.
12844 * conform/check-header-lists.sh: New file.
12845 * conform/run-conformtest.sh: Remove.
12847 * conform/conformtest.pl: Allow ' and \ in values given for
12849 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12851 [POSIX] (sys/types.h): Likewise.
12852 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12854 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12856 * conform/data/signal.h-data (SIGIO): Remove expectation.
12857 [XPG3] (SIGBUS): Do not expect.
12858 [POSIX || XPG3] (SIGPOLL): Likewise.
12859 [POSIX || XPG3] (SIGPROF): Likewise.
12860 [POSIX || XPG3] (SIGSYS): Likewise.
12861 [XPG3] (SIGTRAP): Likewise.
12862 [POSIX || XPG3] (SIGURG): Likewise.
12863 [POSIX || XPG3] (SIGVTALRM): Likewise.
12864 [POSIX || XPG3] (SIGXCPU): Likewise.
12865 [POSIX || XPG3] (SIGXFSZ): Likewise.
12866 [POSIX] (SA_SIGINFO): Expect.
12867 [XPG3] (siginfo_t): Do not expect type or contents.
12868 [POSIX] (si_pid): Do not expect element.
12869 [POSIX] (si_uid): Likewise.
12870 [POSIX] (si_addr): Likewise.
12871 [POSIX] (si_status): Likewise.
12872 [POSIX] (si_band): Likewise.
12873 [XPG4] (si_value): Likewise.
12874 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12875 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12876 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12877 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12878 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12879 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12880 [POSIX || XPG3] (ILL_COPROC): Likewise.
12881 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12882 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12883 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12884 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12885 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12886 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12887 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12888 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12889 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12890 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12891 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12892 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12893 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12894 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12895 [POSIX || XPG3] (CLD_EXITED): Likewise.
12896 [POSIX || XPG3] (CLD_KILLED): Likewise.
12897 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12898 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12899 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12900 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12901 [POSIX || XPG3] (POLL_IN): Likewise.
12902 [POSIX || XPG3] (POLL_OUT): Likewise.
12903 [POSIX || XPG3] (POLL_MSG): Likewise.
12904 [POSIX || XPG3] (POLL_ERR): Likewise.
12905 [POSIX || XPG3] (POLL_PRI): Likewise.
12906 [POSIX || XPG3] (POLL_HUP): Likewise.
12907 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12908 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12909 (SIG*): Do not allow.
12910 [XPG3] (si_*): Likewise.
12911 [XPG3] (SI_*): Likewise.
12912 [XPG3 || XPG4] (sigev_*): Likewise.
12913 [XPG3 || XPG4] (SIGEV_*): Likewise.
12914 [XPG3 || XPG4] (sival_*): Likewise.
12915 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12916 [POSIX || XPG3] (BUS_*): Likewise.
12917 [POSIX || XPG3] (CLD_*): Likewise.
12918 [POSIX || XPG3] (FPE_*): Likewise.
12919 [POSIX || XPG3] (ILL_*): Likewise.
12920 [POSIX || XPG3] (POLL_*): Likewise.
12921 [POSIX || XPG3] (SEGV_*): Likewise.
12922 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12923 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12924 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12925 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12926 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12927 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12928 Specify type and value.
12929 (TVERSLEN): Likewise.
12930 (REGTYPE): Likewise.
12931 (AREGTYPE): Likewise.
12932 (LNKTYPE): Likewise.
12933 (SYMTYPE): Likewise.
12934 (CHRTYPE): Likewise.
12935 (BLKTYPE): Likewise.
12936 (DIRTYPE): Likewise.
12937 (FIFOTYPE): Likewise.
12938 (CONTTYPE): Likewise.
12942 (TUREAD): Likewise.
12943 (TUWRITE): Likewise.
12944 (TUEXEC): Likewise.
12945 (TGREAD): Likewise.
12946 (TGWRITE): Likewise.
12947 (TGEXEC): Likewise.
12948 (TOREAD): Likewise.
12949 (TOWRITE): Likewise.
12950 (TOEXEC): Likewise.
12951 [POSIX] (TSVTX): Expect constant.
12953 2014-03-06 Joseph Myers <joseph@codesourcery.com>
12955 * Makefile (tests): Change dependencies to ....
12956 (tests-special): ... additions to this variable.
12957 (tests): Depend on $(tests-special).
12958 * Makerules (check-abi-list): New variable.
12959 (check-abi): Depend on $(check-abi-list).
12960 [$(subdir) = elf] (tests-special): Add
12961 $(objpfx)check-abi-libc.out.
12962 [$(build-shared) = yes && subdir] (tests-special): Add
12964 [$(build-shared) = yes && subdir] (tests): Do not depend on
12966 * Rules (tests): Depend on $(tests-special).
12967 (xtests): Depend on $(xtests-special).
12968 * catgets/Makefile (tests): Change dependencies to ....
12969 (tests-special): ... additions to this variable.
12970 * conform/Makefile (tests): Change dependencies to ....
12971 (tests-special): ... additions to this variable.
12972 * elf/Makefile (tests): Change dependencies to ....
12973 (tests-special): ... additions to this variable.
12974 * grp/Makefile (tests): Change dependencies to ....
12975 (tests-special): ... additions to this variable.
12976 * iconv/Makefile (xtests): Change dependencies to ....
12977 (xtests-special): ... additions to this variable.
12978 * iconvdata/Makefile (tests): Change dependencies to ....
12979 (tests-special): ... additions to this variable.
12980 * intl/Makefile (tests): Change dependencies to ....
12981 (tests-special): ... additions to this variable. Also add
12982 $(objpfx)tst-gettext.out.
12983 * io/Makefile (tests): Change dependencies to ....
12984 (tests-special): ... additions to this variable.
12985 * libio/Makefile (tests): Change dependencies to ....
12986 (tests-special): ... additions to this variable.
12987 * malloc/Makefile (tests): Change dependencies to ....
12988 (tests-special): ... additions to this variable.
12989 * misc/Makefile (tests): Change dependencies to ....
12990 (tests-special): ... additions to this variable.
12991 * nptl/Makefile (tests): Change dependencies to ....
12992 (tests-special): ... additions to this variable.
12993 * nptl_db/Makefile (tests): Change dependencies to ....
12994 (tests-special): ... additions to this variable.
12995 * posix/Makefile (tests): Change dependencies to ....
12996 (tests-special): ... additions to this variable.
12997 (xtests): Change dependencies to ....
12998 (xtests-special): ... additions to this variable.
12999 * resolv/Makefile (tests): Change dependencies to ....
13000 (tests-special): ... additions to this variable.
13001 (xtests): Change dependencies to ....
13002 (xtests-special): ... additions to this variable.
13003 * stdio-common/Makefile (tests): Change dependencies to ....
13004 (tests-special): ... additions to this variable.
13005 (do-tst-unbputc): Remove target.
13006 (do-tst-printf): Likewise.
13007 * stdlib/Makefile (tests): Change dependencies to ....
13008 (tests-special): ... additions to this variable.
13009 * string/Makefile (tests): Change dependencies to ....
13010 (tests-special): ... additions to this variable.
13011 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13012 (tests-special): ... additions to this variable.
13014 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13016 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13018 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13019 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13021 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13022 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13023 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13024 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13025 * conform/data/libgen.h-data [XPG3]: Likewise.
13026 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13027 * conform/data/ndbm.h-data [XPG3]: Likewise.
13028 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13029 * conform/data/netdb.h-data [XPG3]: Likewise.
13030 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13031 * conform/data/poll.h-data [XPG3]: Likewise.
13032 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13033 * conform/data/strings.h-data [XPG3]: Likewise.
13034 * conform/data/stropts.h-data [XPG3]: Likewise.
13035 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13036 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13037 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13039 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13040 * conform/data/sys/time.h-data [XPG3]: Likewise.
13041 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13042 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13043 * conform/data/sys/un.h-data [XPG3]: Likewise.
13044 * conform/data/syslog.h-data [XPG3]: Likewise.
13045 * conform/data/ucontext.h-data [XPG3]: Likewise.
13046 * conform/data/utmpx.h-data [XPG3]: Likewise.
13047 * conform/data/varargs.h-data [UNIX98]: Enable file.
13049 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13051 * math/libm-test.inc (struct test_f_f_data): Move expected results
13052 into structure for each rounding mode.
13053 (struct test_ff_f_data): Likewise.
13054 (struct test_ff_f_data_nexttoward): Likewise.
13055 (struct test_fi_f_data): Likewise.
13056 (struct test_fl_f_data): Likewise.
13057 (struct test_if_f_data): Likewise.
13058 (struct test_fff_f_data): Likewise.
13059 (struct test_c_f_data): Likewise.
13060 (struct test_f_f1_data): Likewise.
13061 (struct test_fF_f1_data): Likewise.
13062 (struct test_ffI_f1_data): Likewise.
13063 (struct test_c_c_data): Likewise.
13064 (struct test_cc_c_data): Likewise.
13065 (struct test_f_i_data): Likewise.
13066 (struct test_ff_i_data): Likewise.
13067 (struct test_f_l_data): Likewise.
13068 (struct test_f_L_data): Likewise.
13069 (struct test_fFF_11_data): Likewise.
13071 (RM_FE_DOWNWARD): Likewise.
13072 (RM_FE_TONEAREST): Likewise.
13073 (RM_FE_TOWARDZERO): Likewise.
13074 (RM_FE_UPWARD): Likewise.
13075 (RUN_TEST_LOOP_f_f): Update references to expected results.
13076 (RUN_TEST_LOOP_2_f): Likewise.
13077 (RUN_TEST_LOOP_fff_f): Likewise.
13078 (RUN_TEST_LOOP_c_f): Likewise.
13079 (RUN_TEST_LOOP_f_f1): Likewise.
13080 (RUN_TEST_LOOP_fF_f1): Likewise.
13081 (RUN_TEST_LOOP_fI_f1): Likewise.
13082 (RUN_TEST_LOOP_ffI_f1): Likewise.
13083 (RUN_TEST_LOOP_c_c): Likewise.
13084 (RUN_TEST_LOOP_cc_c): Likewise.
13085 (RUN_TEST_LOOP_f_i): Likewise.
13086 (RUN_TEST_LOOP_f_i_tg): Likewise.
13087 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13088 (RUN_TEST_LOOP_f_b): Likewise.
13089 (RUN_TEST_LOOP_f_b_tg): Likewise.
13090 (RUN_TEST_LOOP_f_l): Likewise.
13091 (RUN_TEST_LOOP_f_L): Likewise.
13092 (RUN_TEST_LOOP_fFF_11): Likewise.
13093 * math/gen-libm-test.pl (parse_args): Output four copies of
13094 expected results for each test.
13096 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13097 (__ASSUME_UTIMES): Remove.
13098 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13099 (__ASSUME_UTIMES): Likewise.
13101 * math/gen-auto-libm-tests.c: Update comment on output format.
13102 (output_for_one_input_case): Generate before-rounding and
13103 after-rounding information as conditions on output flags not
13104 floating-point format.
13105 * math/auto-libm-test-out: Regenerated.
13106 * math/gen-libm-test.pl (cond_value): New function.
13107 (or_cond_value): Use cond_value.
13108 (generate_testfile): Handle conditional exceptions.
13110 2014-03-05 Joseph Myers <joseph@codesourcery.com>
13112 * math/libm-test.inc (max_valid_error): New variable.
13113 (init_max_error): Take new argument specifying whether function
13114 results are exactly determined. Set max_valid_error and bound
13115 other variables for errors based on this argument.
13116 (set_max_error): Do not record results above max_valid_error.
13117 (check_float_internal): Only accept errors of up to 0.5ulps if
13118 also at most max_valid_error.
13119 (START): Take new argument EXACT and pass it to init_max_error.
13120 (acos_test): Update call to START.
13121 (acos_test_tonearest): Likewise.
13122 (acos_test_towardzero): Likewise.
13123 (acos_test_downward): Likewise.
13124 (acos_test_upward): Likewise.
13125 (acosh_test): Likewise.
13126 (asin_test): Likewise.
13127 (asin_test_tonearest): Likewise.
13128 (asin_test_towardzero): Likewise.
13129 (asin_test_downward): Likewise.
13130 (asin_test_upward): Likewise.
13131 (asinh_test): Likewise.
13132 (atan_test): Likewise.
13133 (atanh_test): Likewise.
13134 (atan2_test): Likewise.
13135 (cabs_test): Likewise.
13136 (cacos_test): Likewise.
13137 (cacosh_test): Likewise.
13138 (carg_test): Likewise.
13139 (casin_test): Likewise.
13140 (casinh_test): Likewise.
13141 (catan_test): Likewise.
13142 (catanh_test): Likewise.
13143 (cbrt_test): Likewise.
13144 (ccos_test): Likewise.
13145 (ccosh_test): Likewise.
13146 (ceil_test): Likewise.
13147 (cexp_test): Likewise.
13148 (cimag_test): Likewise.
13149 (clog_test): Likewise.
13150 (clog10_test): Likewise.
13151 (conj_test): Likewise.
13152 (copysign_test): Likewise.
13153 (cos_test): Likewise.
13154 (cos_test_tonearest): Likewise.
13155 (cos_test_towardzero): Likewise.
13156 (cos_test_downward): Likewise.
13157 (cos_test_upward): Likewise.
13158 (cosh_test): Likewise.
13159 (cosh_test_tonearest): Likewise.
13160 (cosh_test_towardzero): Likewise.
13161 (cosh_test_downward): Likewise.
13162 (cosh_test_upward): Likewise.
13163 (cpow_test): Likewise.
13164 (cproj_test): Likewise.
13165 (creal_test): Likewise.
13166 (csin_test): Likewise.
13167 (csinh_test): Likewise.
13168 (csqrt_test): Likewise.
13169 (ctan_test): Likewise.
13170 (ctan_test_tonearest): Likewise.
13171 (ctan_test_towardzero): Likewise.
13172 (ctan_test_downward): Likewise.
13173 (ctan_test_upward): Likewise.
13174 (ctanh_test): Likewise.
13175 (ctanh_test_tonearest): Likewise.
13176 (ctanh_test_towardzero): Likewise.
13177 (ctanh_test_downward): Likewise.
13178 (ctanh_test_upward): Likewise.
13179 (erf_test): Likewise.
13180 (erfc_test): Likewise.
13181 (exp_test): Likewise.
13182 (exp_test_tonearest): Likewise.
13183 (exp_test_towardzero): Likewise.
13184 (exp_test_downward): Likewise.
13185 (exp_test_upward): Likewise.
13186 (exp10_test): Likewise.
13187 (exp10_test_tonearest): Likewise.
13188 (exp10_test_towardzero): Likewise.
13189 (exp10_test_downward): Likewise.
13190 (exp10_test_upward): Likewise.
13191 (pow10_test): Likewise.
13192 (exp2_test): Likewise.
13193 (expm1_test): Likewise.
13194 (expm1_test_tonearest): Likewise.
13195 (expm1_test_towardzero): Likewise.
13196 (expm1_test_downward): Likewise.
13197 (expm1_test_upward): Likewise.
13198 (fabs_test): Likewise.
13199 (fdim_test): Likewise.
13200 (floor_test): Likewise.
13201 (fma_test): Likewise.
13202 (fma_test_towardzero): Likewise.
13203 (fma_test_downward): Likewise.
13204 (fma_test_upward): Likewise.
13205 (fmax_test): Likewise.
13206 (fmin_test): Likewise.
13207 (fmod_test): Likewise.
13208 (fpclassify_test): Likewise.
13209 (frexp_test): Likewise.
13210 (hypot_test): Likewise.
13211 (ilogb_test): Likewise.
13212 (isfinite_test): Likewise.
13213 (finite_test): Likewise.
13214 (isgreater_test): Likewise.
13215 (isgreaterequal_test): Likewise.
13216 (isinf_test): Likewise.
13217 (isless_test): Likewise.
13218 (islessequal_test): Likewise.
13219 (islessgreater_test): Likewise.
13220 (isnan_test): Likewise.
13221 (isnormal_test): Likewise.
13222 (issignaling_test): Likewise.
13223 (isunordered_test): Likewise.
13224 (j0_test): Likewise.
13225 (j1_test): Likewise.
13226 (jn_test): Likewise.
13227 (ldexp_test): Likewise.
13228 (lgamma_test): Likewise.
13229 (gamma_test): Likewise.
13230 (lrint_test): Likewise.
13231 (lrint_test_tonearest): Likewise.
13232 (lrint_test_towardzero): Likewise.
13233 (lrint_test_downward): Likewise.
13234 (lrint_test_upward): Likewise.
13235 (llrint_test): Likewise.
13236 (llrint_test_tonearest): Likewise.
13237 (llrint_test_towardzero): Likewise.
13238 (llrint_test_downward): Likewise.
13239 (llrint_test_upward): Likewise.
13240 (log_test): Likewise.
13241 (log10_test): Likewise.
13242 (log1p_test): Likewise.
13243 (log2_test): Likewise.
13244 (logb_test): Likewise.
13245 (logb_test_downward): Likewise.
13246 (lround_test): Likewise.
13247 (llround_test): Likewise.
13248 (modf_test): Likewise.
13249 (nearbyint_test): Likewise.
13250 (nextafter_test): Likewise.
13251 (nexttoward_test): Likewise.
13252 (pow_test): Likewise.
13253 (pow_test_tonearest): Likewise.
13254 (pow_test_towardzero): Likewise.
13255 (pow_test_downward): Likewise.
13256 (pow_test_upward): Likewise.
13257 (remainder_test): Likewise.
13258 (drem_test): Likewise.
13259 (remainder_test_tonearest): Likewise.
13260 (drem_test_tonearest): Likewise.
13261 (remainder_test_towardzero): Likewise.
13262 (drem_test_towardzero): Likewise.
13263 (remainder_test_downward): Likewise.
13264 (drem_test_downward): Likewise.
13265 (remainder_test_upward): Likewise.
13266 (drem_test_upward): Likewise.
13267 (remquo_test): Likewise.
13268 (rint_test): Likewise.
13269 (rint_test_tonearest): Likewise.
13270 (rint_test_towardzero): Likewise.
13271 (rint_test_downward): Likewise.
13272 (rint_test_upward): Likewise.
13273 (round_test): Likewise.
13274 (scalb_test): Likewise.
13275 (scalbn_test): Likewise.
13276 (scalbln_test): Likewise.
13277 (signbit_test): Likewise.
13278 (sin_test): Likewise.
13279 (sin_test_tonearest): Likewise.
13280 (sin_test_towardzero): Likewise.
13281 (sin_test_downward): Likewise.
13282 (sin_test_upward): Likewise.
13283 (sincos_test): Likewise.
13284 (sinh_test): Likewise.
13285 (sinh_test_tonearest): Likewise.
13286 (sinh_test_towardzero): Likewise.
13287 (sinh_test_downward): Likewise.
13288 (sinh_test_upward): Likewise.
13289 (sqrt_test): Likewise.
13290 (sqrt_test_tonearest): Likewise.
13291 (sqrt_test_towardzero): Likewise.
13292 (sqrt_test_downward): Likewise.
13293 (sqrt_test_upward): Likewise.
13294 (tan_test): Likewise.
13295 (tan_test_tonearest): Likewise.
13296 (tan_test_towardzero): Likewise.
13297 (tan_test_downward): Likewise.
13298 (tan_test_upward): Likewise.
13299 (tanh_test): Likewise.
13300 (tgamma_test): Likewise.
13301 (trunc_test): Likewise.
13302 (y0_test): Likewise.
13303 (y1_test): Likewise.
13304 (yn_test): Likewise.
13305 (significand_test): Likewise.
13307 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13308 individual tests in comment.
13309 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13310 (prev_max_error): New variable.
13311 (prev_real_max_error): Likewise.
13312 (prev_imag_max_error): Likewise.
13313 (compare_ulp_data): Don't refer to test names in comment.
13314 (find_test_ulps): Remove function.
13315 (find_function_ulps): Likewise.
13316 (find_complex_function_ulps): Likewise.
13317 (init_max_error): Take function name as argument. Look up ulps
13319 (print_ulps): Remove function.
13320 (print_max_error): Use prev_max_error instead of calling
13321 find_function_ulps.
13322 (print_complex_max_error): Use prev_real_max_error and
13323 prev_imag_max_error instead of calling find_complex_function_ulps.
13324 (check_float_internal): Take max_ulp parameter instead of calling
13325 find_test_ulps. Don't call print_ulps.
13326 (check_float): Update call to check_float_internal.
13327 (check_complex): Update calls to check_float_internal.
13328 (START): Pass argument to init_max_error.
13329 * math/gen-libm-test.pl (%results): Don't include "kind"
13331 (parse_ulps): Don't handle ulps of individual tests.
13332 (print_ulps_file): Likewise.
13333 (output_ulps): Likewise.
13334 * math/README.libm-test: Update.
13335 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13337 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13338 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13339 * sysdeps/arm/libm-test-ulps: Likewise.
13340 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13341 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13342 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13343 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13344 * sysdeps/microblaze/libm-test-ulps: Likewise.
13345 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13346 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13348 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13349 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13350 * sysdeps/sh/libm-test-ulps: Likewise.
13351 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13352 * sysdeps/tile/libm-test-ulps: Likewise.
13353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13355 2014-03-04 Joseph Myers <joseph@codesourcery.com>
13357 * math/libm-test.inc (print_complex_max_error): Check separately
13358 whether real and imaginary errors are within allowed range and
13359 pass 0 to print_complex_function_ulps instead of value within
13362 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13364 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13366 (get_handles_fopen): Likewise.
13367 (do_write_test): Likewise.
13369 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13371 * libio/fileops.c (do_ftell): Use cached offset when
13373 * libio/iofwide.c (do_ftell_wide): Likewise.
13374 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13376 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13379 * libio/libioP.h (get_file_offset): New function.
13380 * libio/fileops.c (get_file_offset): Likewise.
13381 (do_ftell): Likewise.
13382 (_IO_new_file_seekoff): Split out ftell logic.
13383 * libio/wfileops.c (do_ftell_wide): Likewise.
13384 (_IO_wfile_seekoff): Split out ftell logic.
13385 * libio/tst-ftell-active-handler.c: New test case.
13386 * libio/Makefile (tests): Add it.
13388 2014-03-03 Roland McGrath <roland@hack.frob.com>
13390 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13391 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13393 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13396 * nscd/connections.c (nscd_init): Call do_exit.
13397 (start_threads): Call do_exit and notify_parent.
13398 (begin_drop_privileges): Call do_exit.
13399 (finish_drop_privileges): Likewise.
13400 * nscd/selinux.c (preserve_capabilities): Likewise.
13401 (install_real_capabilities): Likewise.
13402 (nscd_selinux_enabled): Likewise.
13403 (avc_create_thread): Likewise.
13404 (avc_alloc_lock): Likewise.
13405 (nscd_avc_init): Likewise.
13406 * nscd/nscd.c (parent_fd): New static variable.
13407 (main): Create a pipe between parent and child processes.
13408 Skip closing parent_fd.
13409 (monitor_child): New function.
13410 (do_exit): Likewise.
13411 (notify_parent): Likewise.
13412 * nscd/nscd.h (notify_parent): Likewise.
13413 (do_exit): Likewise.
13415 2014-03-03 Carlos O'Donell <carlos@redhat.com>
13417 * malloc/malloc.c (__libc_calloc): Revert last change.
13419 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13423 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13425 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13426 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13428 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13429 (__libc_ifunc_impl_list): Likewise.
13430 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13431 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13432 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13433 * string/strrchr.c: Define STRRCHR.
13435 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
13437 * benchtest/bench-strtok.c (simple_strtok): Delete.
13438 (strtok_string): Use as benchmark.
13439 * string/strtok (STRTOK): New macro.
13441 2014-02-28 Carlos O'Donell <carlos@redhat.com>
13443 * manual/threads.texi: Add header and standard comments to all
13446 * elf/dl-lookup.c (check_match): New function.
13447 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13448 (do_lookup_x): Remove nested function check_match. Use non-nested
13449 function check_match.
13451 2014-02-28 Roland McGrath <roland@hack.frob.com>
13453 * csu/Makefile (generated, before-compile): Use += rather than =.
13454 * catgets/Makefile (generated, generated-dirs): Likewise.
13455 * debug/Makefile (generated): Likewise.
13456 * dlfcn/Makefile (generated): Likewise.
13457 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13458 * iconvdata/Makefile (before-compile, generated): Likewise.
13459 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13460 * libio/Makefile (generated): Likewise.
13461 * malloc/Makefile (generated): Likewise.
13462 * manual/Makefile (generated, generated-dirs): Likewise.
13463 * misc/Makefile (generated): Likewise.
13464 * posix/Makefile (generated): Likewise.
13465 * resolv/Makefile (generated): Likewise.
13466 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13467 * timezone/Makefile (generated, generated-dirs): Likewise.
13469 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13471 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13473 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13474 power8 implementation.
13475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13476 file: POWER8 llround ifunc implementation.
13477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13478 (__lllround): Add POWER8 implementation.
13479 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13480 POWER8 llround implementation.
13482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13483 power8 implementation.
13484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13485 file: POWER8 llrint ifunc implementation.
13486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13487 Add POWER8 implementation.
13488 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13489 POWER8 llrint implementation.
13491 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13492 power8 implementation.
13493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13494 file: POWER8 finite ifunc implementation.
13495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13496 Add POWER8 implementation.
13497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13499 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13500 POWER8 finite implementation.
13501 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13504 power8 implementation.
13505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13506 file: POWER8 isinf ifunc implementation.
13507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13508 POWER8 implementation.
13509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13511 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13512 isinf implementation.
13513 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13515 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13516 (INIT_ARCH): Add hwcap2 initialization.
13517 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13518 power8 implementation.
13519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13520 file: POWER8 isnan ifunc implementation.
13521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13522 POWER8 implementation.
13523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13525 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13526 isnan implementation.
13527 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13529 2014-02-27 Joey Ye <joey.ye@arm.com>
13531 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13532 (_FP_NANFRAC_Q): Set to zero.
13534 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13537 * math/auto-libm-test-in: New test inputs.
13538 * math/auto-libm-test-out: Regenerate.
13539 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13542 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13544 2014-02-27 Joseph Myers <joseph@codesourcery.com>
13546 * scripts/evaluate-test.sh: Take new argument indicating whether
13547 failure is expected.
13548 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13549 indicating whether failure is expected.
13550 * conform/Makefile (test-xfail-run-conformtest): New variable.
13551 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13553 * posix/Makefile (test-xfail-annexc): New variable.
13554 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13556 2014-02-26 Joseph Myers <joseph@codesourcery.com>
13558 * argp/Makefile: Include Makeconfig immediately after defining
13560 * assert/Makefile: Likewise.
13561 * benchtests/Makefile: Likewise.
13562 * catgets/Makefile: Likewise.
13563 * conform/Makefile: Likewise.
13564 * crypt/Makefile: Likewise.
13565 * csu/Makefile: Likewise.
13566 (all): Remove target.
13567 * ctype/Makefile: Include Makeconfig immediately after defining
13569 * debug/Makefile: Likewise.
13570 * dirent/Makefile: Likewise.
13571 * dlfcn/Makefile: Likewise.
13572 * gmon/Makefile: Likewise.
13573 * gnulib/Makefile: Likewise.
13574 * grp/Makefile: Likewise.
13575 * gshadow/Makefile: Likewise.
13576 * hesiod/Makefile: Likewise.
13577 * hurd/Makefile: Likewise.
13578 (all): Remove target.
13579 * iconvdata/Makefile: Include Makeconfig immediately after
13581 * inet/Makefile: Likewise.
13582 * intl/Makefile: Likewise.
13583 * io/Makefile: Likewise.
13584 * libio/Makefile: Likewise.
13585 (all): Remove target.
13586 * locale/Makefile: Include Makeconfig immediately after defining
13588 * login/Makefile: Likewise.
13589 * mach/Makefile: Likewise.
13590 (all): Remove target.
13591 * malloc/Makefile: Include Makeconfig immediately after defining
13593 (all): Remove target.
13594 * manual/Makefile: Include Makeconfig immediately after defining
13596 * math/Makefile: Likewise.
13597 * misc/Makefile: Likewise.
13598 * nis/Makefile: Likewise.
13599 * nss/Makefile: Likewise.
13600 * po/Makefile: Likewise.
13601 (all): Remove target.
13602 * posix/Makefile: Include Makeconfig immediately after defining
13604 * pwd/Makefile: Likewise.
13605 * resolv/Makefile: Likewise.
13606 * resource/Makefile: Likewise.
13607 * rt/Makefile: Likewise.
13608 * setjmp/Makefile: Likewise.
13609 * shadow/Makefile: Likewise.
13610 * signal/Makefile: Likewise.
13611 * socket/Makefile: Likewise.
13612 * soft-fp/Makefile: Likewise.
13613 * stdio-common/Makefile: Likewise.
13614 * stdlib/Makefile: Likewise.
13615 * streams/Makefile: Likewise.
13616 * string/Makefile: Likewise.
13617 * sunrpc/Makefile: Likewise.
13618 (all): Remove target.
13619 * sysvipc/Makefile: Include Makeconfig immediately after defining
13621 * termios/Makefile: Likewise.
13622 * time/Makefile: Likewise.
13623 * timezone/Makefile: Likewise.
13624 (all): Remove target.
13625 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13627 * wctype/Makefile: Likewise.
13629 2014-02-26 Steve Ellcey <sellcey@mips.com>
13631 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13632 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13633 (libc_feholdexcept_setround_mips): Ditto.
13634 (libc_feholdsetround): New.
13635 (libc_feholdsetroundf): New.
13636 (libc_feholdsetroundl): New.
13637 (libc_feupdateenv_test_mips): New.
13638 (libc_feupdateenv_test): New.
13639 (libc_feupdateenv_testf): New.
13640 (libc_feupdateenv_testl): New.
13641 (libc_feresetround): New.
13642 (libc_feresetroundf): New.
13643 (libc_feresetroundl): New.
13644 (libc_fetestexcept_mips): New.
13645 (libc_fetestexcept): New.
13646 (libc_fetestexceptf): New.
13647 (libc_fetestexceptl): New.
13648 (HAVE_RM_CTX): New.
13649 (libc_feholdexcept_setround_mips_ctx): New.
13650 (libc_feholdexcept_setround_ctx): New.
13651 (libc_feholdexcept_setroundf_ctx): New.
13652 (libc_feholdexcept_setroundl_ctx): New.
13653 (libc_fesetenv_mips_ctx): New.
13654 (libc_fesetenv_ctx): New.
13655 (libc_fesetenv_ctxf): New.
13656 (libc_fesetenv_ctxl): New.
13657 (libc_feupdateenv_mips_ctx): New.
13658 (libc_feupdateenv_ctx): New.
13659 (libc_feupdateenvf_ctx): New.
13660 (libc_feupdateenvl_ctx): New.
13661 (libc_feholdsetround_mips_ctx): New.
13662 (libc_feholdsetround_ctx): New.
13663 (libc_feholdsetroundf_ctx): New.
13664 (libc_feholdsetroundl_ctx): New.
13665 (libc_feresetround_mips_ctx): New.
13666 (libc_feresetround_ctx): New.
13667 (libc_feresetroundf_ctx): New.
13668 (libc_feresetroundl_ctx): New.
13670 2014-02-26 Carlos O'Donell <carlos@redhat.com>
13672 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13674 * manual/ipc.texi: New file.
13675 * manual/Makefile (chapters): Add ipc.
13676 * manual/job.texi: Add "Inter-Process Communication" to next.
13677 * manual/process.texi: Add "Inter-Process Communication" to prev.
13679 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13683 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
13685 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13687 * manual/arith.texi: Fix spaces after sentences.
13688 * manual/charset.texi: Likewise.
13689 * manual/errno.texi: Likewise.
13690 * manual/install.texi: Likewise.
13691 * manual/llio.texi: Likewise.
13692 * manual/locale.texi: Likewise.
13693 * manual/maint.texi: Likewise.
13694 * manual/math.texi: Likewise.
13695 * manual/memory.texi: Likewise.
13696 * manual/message.texi: Likewise.
13697 * manual/probes.texi: Likewise.
13698 * manual/resource.texi: Likewise.
13699 * manual/signal.texi: Likewise.
13700 * manual/socket.texi: Likewise.
13701 * manual/stdio.texi: Likewise.
13702 * manual/string.texi: Likewise.
13703 * manual/time.texi: Likewise.
13704 * manual/users.texi: Likewise.
13706 2014-02-25 Carlos O'Donell <carlos@redhat.com>
13709 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13710 _DEFAULT_SOURCE is defined.
13712 2014-02-25 Ulrich Drepper <drepper@gmail.com>
13713 Carlos O'Donell <carlos@redhat.com>
13716 * elf/dl-tls.c (_dl_count_modids): New function.
13717 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13718 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13719 audit library and increment generation counter.
13720 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13721 * elf/tst-audit9.c: New file.
13722 * elf/tst-auditmod9a.c: New file.
13723 * elf/tst-auditmod9b.c: New file.
13724 * elf/Makefile: Add rules to build and run tst-audit9.
13726 2014-02-25 Florian Weimer <fweimer@redhat.com>
13729 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13731 2014-02-25 Will Newton <will.newton@linaro.org>
13733 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13734 (__longjmp): Restore sp and lr before restoring callee
13735 saved registers. Add longjmp and longjmp_target
13736 SystemTap probe point.
13737 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13738 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13739 Define to zero to match jmpbuf layout.
13740 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13741 (__sigsetjmp): Save sp and lr before saving callee
13742 saved registers. Add setjmp SystemTap probe point.
13744 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13746 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13748 2014-02-24 Andreas Schwab <schwab@suse.de>
13751 * elf/pldd.c (wait_for_ptrace_stop): New function.
13752 (main): Call it after attaching.
13754 2014-02-22 Roland McGrath <roland@hack.frob.com>
13756 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13757 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13758 Versions files is now verboten.
13759 * hurd/Versions (libc: GLIBC_2.0):
13760 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13761 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13762 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13763 * mach/Versions: Likewise.
13765 * csu/Versions: Remove unused %include.
13766 * resolv/Versions: Likewise.
13768 2014-02-21 Joseph Myers <joseph@codesourcery.com>
13770 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13771 ($(objpfx)check-local-headers.out): Likewise.
13772 ($(objpfx)begin-end-check.out): Likewise.
13773 * Makerules (check-abi-%.out): Likewise.
13774 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13775 ($(objpfx)test2.cat): Likewise.
13776 ($(objpfx)de/libc.cat): Likewise.
13777 ($(objpfx)test-gencat.out): Likewise.
13778 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13779 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13780 ($(objpfx)noload-mem): Likewise.
13781 ($(objpfx)tst-pathopt.out): Likewise.
13782 ($(objpfx)tst-rtld-load-self.out): Likewise.
13783 ($(objpfx)tst-array1-cmp.out): Likewise.
13784 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13785 ($(objpfx)tst-array2-cmp.out): Likewise.
13786 ($(objpfx)tst-array3-cmp.out): Likewise.
13787 ($(objpfx)tst-array4-cmp.out): Likewise.
13788 ($(objpfx)tst-array5-cmp.out): Likewise.
13789 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13790 ($(objpfx)check-textrel.out): Likewise.
13791 ($(objpfx)check-execstack.out): Likewise.
13792 ($(objpfx)check-localplt.out): Likewise.
13793 ($(objpfx)order2-cmp.out): Likewise.
13794 ($(objpfx)tst-leaks1-mem): Likewise.
13795 ($(objpfx)tst-leaks1-static-mem): Likewise.
13796 ($(objpfx)tst-initorder-cmp.out): Likewise.
13797 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13798 ($(objpfx)tst-unused-dep.out): Likewise.
13799 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13800 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13801 * iconv/Makefile (test-iconvconfig): Likewise.
13802 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13803 ($(objpfx)iconv-test.out): Likewise.
13804 ($(objpfx)tst-tables.out): Likewise.
13805 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13806 ($(objpfx)tst-gettext.out): Likewise.
13807 ($(objpfx)tst-translit.out): Likewise.
13808 ($(objpfx)tst-gettext2.out): Likewise.
13809 ($(objpfx)tst-gettext4.out): Likewise.
13810 ($(objpfx)tst-gettext6.out): Likewise.
13811 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13812 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13813 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13814 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13815 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13816 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13817 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13818 ($(objpfx)wordexp-tst.out): Likewise.
13819 ($(objpfx)annexc.out): Likewise.
13820 ($(objpfx)tst-fnmatch-mem): Likewise.
13821 ($(objpfx)bug-regex2-mem): Likewise.
13822 ($(objpfx)bug-regex14-mem): Likewise.
13823 ($(objpfx)bug-regex21-mem): Likewise.
13824 ($(objpfx)bug-regex31-mem): Likewise.
13825 ($(objpfx)tst-vfork3-mem): Likewise.
13826 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13827 ($(objpfx)tst-pcre-mem): Likewise.
13828 ($(objpfx)tst-boost-mem): Likewise.
13829 ($(objpfx)tst-getconf.out): Likewise.
13830 ($(objpfx)bug-ga2-mem): Likewise.
13831 ($(objpfx)bug-glob2-mem): Likewise.
13832 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13833 ($(objpfx)mtrace-tst-leaks2): Likewise.
13834 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13835 ($(objpfx)tst-printf.out): Likewise.
13836 ($(objpfx)tst-setvbuf1.out): Likewise.
13837 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13838 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13839 ($(objpfx)tst-fmtmsg.out): Likewise.
13840 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13841 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13843 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13844 * bits/sigaction.h [__USE_MISC]: Likewise.
13845 * bits/waitstatus.h: Update #endif comments.
13846 * ctype/ctype.h: Likewise.
13847 * dirent/dirent.h: Likewise.
13848 [__USE_MISC]: Remove redundant conditionals.
13849 * grp/grp.h: Update #endif comments.
13850 [__USE_GNU]: Remove redundant conditionals.
13851 [__USE_MISC]: Likewise.
13852 * inet/netinet/in.h [__USE_GNU]: Likewise.
13853 * io/sys/stat.h [__USE_MISC]: Likewise.
13854 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13855 * libio/bits/stdio.h: Update #endif comments.
13856 [__USE_MISC]: Remove redundant conditionals.
13857 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13858 * libio/stdio.h: Update #endif comments.
13859 [__USE_MISC]: Remove redundant conditionals.
13860 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13861 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13862 * math/math.h: Update #else and #endif comments.
13863 [__USE_MISC]: Remove redundant conditionals.
13864 * misc/sys/uio.h: Update #endif comments.
13865 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13866 * posix/glob.h [__USE_MISC]: Likewise.
13867 * posix/sys/types.h: Update #endif comments.
13868 [__USE_MISC]: Remove redundant conditionals.
13869 * posix/sys/wait.h: Update #endif comments.
13870 [__USE_MISC]: Remove redundant conditionals.
13871 * posix/unistd.h: Update #endif comments.
13872 [__USE_MISC]: Remove redundant conditionals.
13873 * pwd/pwd.h [__USE_GNU]: Likewise.
13874 [__USE_MISC]: Likewise.
13875 * resolv/netdb.h [__USE_GNU]: Likewise.
13876 * signal/signal.h: Update #endif comments.
13877 [__USE_MISC]: Remove redundant conditionals.
13878 * stdlib/stdlib.h: Update #else and #endif comments.
13879 [__USE_MISC]: Remove redundant conditionals.
13880 [__USE_GNU]: Likewise.
13881 * string/bits/string2.h [__USE_MISC]: Likewise.
13882 * string/string.h: Update #endif comments.
13883 [__USE_MISC]: Remove redundant conditionals.
13884 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13886 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13887 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13888 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13890 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13892 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13894 [__USE_MISC]: Remove redundant conditionals.
13895 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13896 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13897 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13898 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13899 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13901 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13902 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13904 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13905 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13907 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13909 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13910 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13912 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13914 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13915 * sysdeps/x86/bits/string.h: Update #endif comments.
13916 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13918 * time/sys/time.h: Update #endif comments.
13919 * time/time.h: Likewise.
13920 [__USE_MISC]: Remove redundant conditionals.
13922 2014-02-21 Yury Gribov <y.gribov@samsung.com>
13925 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13927 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13929 * Versions.def (librt): Add GLIBC_2.17.
13931 2014-02-21 Adam Conrad <adconrad@0c3.net>
13933 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13934 synonym for _SYS_AUXV_H to allow direct inclusion.
13935 * sysdeps/sparc/bits/hwcap.h: Likewise.
13936 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13937 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13938 * sysdeps/sparc/sysdep.h: Likewise.
13940 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13942 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13944 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13946 * benchtests/bench-strrchr.c: Print length instead of position.
13948 2014-02-20 Joseph Myers <joseph@codesourcery.com>
13951 * sysdeps/unix/sysv/linux/kernel-features.h
13952 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13953 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13954 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13955 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13957 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13958 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13959 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13960 (__ASSUME_SENDMMSG): Define instead of using previous
13961 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13962 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13963 (__ASSUME_SENDMMSG_SYSCALL): Define.
13964 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13965 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13967 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13968 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13970 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13971 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13973 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13974 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13975 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13976 [__ASSUME_SENDMMSG]: Change conditionals to
13977 [__ASSUME_SENDMMSG_SOCKETCALL].
13978 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13979 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13981 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13982 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13984 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13985 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13986 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13987 [!__ASSUME_SENDMMSG]: Change conditional to
13988 [!__ASSUME_SENDMMSG_SOCKETCALL].
13989 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13990 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13994 * sysdeps/unix/sysv/linux/kernel-features.h
13995 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13996 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13997 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13998 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13999 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14000 [__i386__ || __sparc__]
14001 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14002 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14003 (__ASSUME_RECVMMSG): Define instead of using previous
14004 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14005 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14006 (__ASSUME_RECVMMSG_SYSCALL): Define.
14007 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14008 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14010 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14011 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14013 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14014 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14016 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14017 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14018 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14019 [__ASSUME_RECVMMSG]: Change condition to
14020 [__ASSUME_RECVMMSG_SOCKETCALL].
14021 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14022 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14024 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14025 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14026 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14028 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14029 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14030 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14031 [!__ASSUME_RECVMMSG]: Change condition to
14032 [!__ASSUME_RECVMMSG_SOCKETCALL].
14033 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14034 (__ASSUME_RECVMMSG_SYSCALL): Define.
14037 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14038 __powerpc__ || __s390__ || __sh__ || __sparc__]
14039 (__ASSUME_SOCKETCALL): Define.
14040 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14041 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14042 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14043 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14044 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14045 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14046 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14047 (__ASSUME_ACCEPT4): Define instead of using previous
14048 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14049 __powerpc__ || __sparc__ || __s390__)] condition.
14050 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14051 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14052 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14053 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14054 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14055 [!__ASSUME_ACCEPT4]: Change condition to
14056 [!__ASSUME_ACCEPT4_SOCKETCALL].
14057 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14058 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14059 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14060 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14061 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14062 __ASSUME_ACCEPT4_SYSCALL.
14063 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14064 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14065 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14066 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14067 __ASSUME_ACCEPT4_SYSCALL.
14068 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14069 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14070 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14071 [__ASSUME_ACCEPT4]: Change condition to
14072 [__ASSUME_ACCEPT4_SOCKETCALL].
14073 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14074 (__ASSUME_SOCKETCALL): Define.
14075 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14076 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14077 (__ASSUME_SOCKETCALL): Define.
14078 (__ASSUME_ACCEPT4): Remove.
14079 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14081 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14082 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14084 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14085 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14087 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14089 (HWCAP_ARM_LPAE): Likewise.
14090 (HWCAP_ARM_EVTSTRM): Likewise.
14091 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14092 Add vpfd32, lpae and evtstrm.
14093 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14096 2014-02-19 Joseph Myers <joseph@codesourcery.com>
14098 * math/auto-libm-test-in: Add tests of clog10.
14099 * math/auto-libm-test-out: Regenerated.
14100 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14101 * sysdeps/i386/fpu/libm-test-ulps: Update.
14102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14104 2014-02-18 Andreas Schwab <schwab@suse.de>
14107 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14108 Store non-zero if the second buffer was newly allocated.
14109 (send_dg): Likewise.
14110 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14111 to send_vc and send_dg.
14112 (res_nsend): Pass NULL for ansp2_malloced.
14113 * resolv/res_query.c (__libc_res_nquery): Add parameter
14114 answerp2_malloced and pass it down to __libc_res_nsend.
14115 (res_nquery): Pass additional NULL to __libc_res_nquery.
14116 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14117 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14118 second answer buffer if answerp2_malloced was set.
14119 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14120 (__libc_res_nquerydomain): Add parameter
14121 answerp2_malloced and pass it down to __libc_res_nquery.
14122 (res_nquerydomain): Pass additional NULL to
14123 __libc_res_nquerydomain.
14124 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14125 additional NULL to __libc_res_nsend and __libc_res_nquery.
14126 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14127 additional NULL to __libc_res_nsearch.
14128 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14129 parameter of __libc_res_nsearch to check for separately allocated
14131 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14133 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14134 additional NULL to __libc_res_nquery.
14135 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14136 __libc_res_nsearch.
14137 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14138 * include/resolv.h: Update prototypes of __libc_res_nquery,
14139 __libc_res_nsearch, __libc_res_nsend.
14141 2014-02-18 Joseph Myers <joseph@codesourcery.com>
14143 * math/auto-libm-test-in: Add tests of fma.
14144 * math/auto-libm-test-out: Regenerated.
14145 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14146 (fma_towardzero_test_data): Likewise.
14147 (fma_downward_test_data): Likewise.
14148 (fma_upward_test_data): Likewise.
14149 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14151 (rounding_modes): Add values for new field.
14152 (func_calc_method): Add value mpfr_fff_f.
14153 (func_calc_desc): Add mpfr_fff_f union field.
14154 (test_function): Add field exact_args.
14155 (FUNC): Add macro argument EXACT_ARGS.
14156 (FUNC_mpfr_f_f): Update call to FUNC.
14157 (FUNC_mpfr_f_f): Likewise.
14158 (FUNC_mpfr_ff_f): Likewise.
14159 (FUNC_mpfr_if_f): Likewise.
14160 (FUNC_mpc_c_f): Likewise.
14161 (FUNC_mpc_c_c): Likewise.
14162 (test_functions): Add fma. Update calls to FUNC.
14163 (handle_input_arg): Add argument exact_args.
14164 (add_test): Update call to handle_input_arg.
14165 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14166 (output_for_one_input_case): Update call to calc_generic_results.
14167 Recalculate exact zero results in each rounding mode.
14169 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14170 non-negative before setting low bit.
14171 * math/auto-libm-test-in: Mark one asin test possibly having
14172 spurious underflow.
14173 * math/auto-libm-test-out: Regenerated.
14174 * sysdeps/i386/fpu/libm-test-ulps: Update.
14175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14177 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14179 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14180 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14181 ports/sysdeps/unix/sysv/linux/microblaze.
14182 * README: Add missing listing for microblaze*-*-linux-gnu.
14184 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
14186 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14189 2014-02-16 Mike Frysinger <vapier@gentoo.org>
14191 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14192 * sysdeps/unix/sysv/linux/ia64: Move directory from
14193 ports/sysdeps/unix/sysv/linux/ia64.
14194 * README: Update listing for ia64-*-linux-gnu.
14196 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14197 Joseph Myers <joseph@codesourcery.com>
14199 * Makeconfig (test-name): New variable.
14200 (evaluate-test): Likewise.
14201 * Makerules (do-test-clean): Remove .test-result files.
14202 (common-mostlyclean): Likewise.
14203 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14204 * scripts/evaluate-test.sh: New file.
14206 2014-02-14 Joseph Myers <joseph@codesourcery.com>
14208 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14209 separate $(objpfx)tst-fopenloc-cmp.out and
14210 $(objpfx)tst-fopenloc-mem.out targets.
14211 (tests): Update dependencies.
14212 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14213 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14214 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14215 (tst-rxspencer-no-utf8-ARGS): New variable.
14216 (tst-rxspencer-no-utf8-ENV): Likewise.
14217 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14218 instead of $(objpfx)tst-rxspencer-mem.
14219 ($(objpfx)tst-rxspencer-mem): Change target to
14220 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14221 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14222 * posix/tst-rxspencer-no-utf8.c: New file.
14224 * elf/Makefile ($(objpfx)order.out): Remove rule.
14225 [$(run-built-tests) = yes] (tests): Depend on
14226 $(objpfx)order-cmp.out.
14227 ($(objpfx)order-cmp.out): New rule.
14228 [$(run-built-tests) = yes] (tests): Depend on
14229 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14230 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14231 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14232 $(objpfx)tst-array5-static-cmp.out.
14233 ($(objpfx)tst-array1.out): Remove rule.
14234 ($(objpfx)tst-array1-cmp.out): New rule.
14235 ($(objpfx)tst-array1-static.out): Remove rule.
14236 ($(objpfx)tst-array1-static-cmp.out): New rule.
14237 ($(objpfx)tst-array2.out): Remove rule.
14238 ($(objpfx)tst-array2-cmp.out): New rule.
14239 ($(objpfx)tst-array3.out): Remove rule.
14240 ($(objpfx)tst-array3-cmp.out): New rule.
14241 ($(objpfx)tst-array4.out): Remove rule.
14242 ($(objpfx)tst-array4-cmp.out): New rule.
14243 ($(objpfx)tst-array5.out): Remove rule.
14244 ($(objpfx)tst-array5-cmp.out): New rule.
14245 ($(objpfx)tst-array5-static.out): Remove rule.
14246 ($(objpfx)tst-array5-static-cmp.out): New rule.
14247 [$(run-built-tests) = yes] (tests): Depend on
14248 $(objpfx)order2-cmp.out.
14249 ($(objpfx)order2.out): Remove rule.
14250 ($(objpfx)order2-cmp.out): New rule.
14251 ($(objpfx)tst-initorder.out): Remove rule.
14252 [$(run-built-tests) = yes] (tests): Depend on
14253 $(objpfx)tst-initorder-cmp.out.
14254 ($(objpfx)tst-initorder-cmp.out): New rule.
14255 ($(objpfx)tst-initorder2.out): Remove rule.
14256 [$(run-built-tests) = yes] (tests): Depend on
14257 $(objpfx)tst-initorder2-cmp.out.
14258 ($(objpfx)tst-initorder2-cmp.out): New rule.
14259 [$(run-built-tests) = yes] (tests): Depend on
14260 $(objpfx)tst-unused-dep-cmp.out.
14261 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14262 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14263 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14264 on $(objpfx)tst-setvbuf1-cmp.out.
14265 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14266 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14267 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14268 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14269 ($(objpfx)tst-svc.out): Remove rule.
14270 ($(objpfx)tst-svc-cmp.out): New rule.
14272 2014-02-13 Joseph Myers <joseph@codesourcery.com>
14274 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14275 * ctype/ctype.h [__USE_MISC]: Likewise.
14276 * dirent/dirent.h [__USE_MISC]: Likewise.
14277 * grp/grp.h [__USE_MISC]: Likewise.
14278 * io/fcntl.h [__USE_MISC]: Likewise.
14279 * io/sys/stat.h [__USE_MISC]: Likewise.
14280 * libio/stdio.h [__USE_MISC]: Likewise.
14281 * posix/unistd.h [__USE_MISC]: Likewise.
14282 * pwd/pwd.h [__USE_MISC]: Likewise.
14283 * stdlib.h [__USE_MISC]: Likewise.
14284 * string/bits/string2.h [__USE_MISC]: Likewise.
14285 * string/string.h [__USE_MISC]: Likewise.
14286 * time/time.h [__USE_MISC]: Likewise.
14288 2014-02-13 Andreas Schwab <schwab@suse.de>
14291 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14292 second answer buffer if it was separately allocated.
14294 2014-02-12 Joseph Myers <joseph@codesourcery.com>
14296 * sysdeps/mips/math-tests.h: Include <features.h>.
14297 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14298 (ROUNDING_TESTS_long_double): Do not define.
14299 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14300 (EXCEPTION_TESTS_long_double): Likewise.
14301 * sysdeps/mips/mips64/libm-test-ulps: Update.
14303 * include/features.h (__USE_BSD): Remove macro definitions.
14304 (__USE_SVID): Likewise.
14305 (_BSD_SOURCE): Likewise.
14306 (_SVID_SOURCE): Likewise.
14307 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14308 from definition of _DEFAULT_SOURCE.
14309 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14311 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14312 * bits/mman.h [__USE_BSD]: Likewise.
14313 * bits/termios.h [__USE_BSD]: Likewise.
14314 * bits/waitstatus.h [__USE_BSD]: Likewise.
14315 * ctype/ctype.h [__USE_SVID]: Likewise.
14316 * dirent/dirent.h [__USE_BSD]: Likewise.
14317 * grp/grp.h [__USE_SVID]: Likewise.
14318 [__USE_BSD]: Likewise.
14319 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14320 * io/fcntl.h [__USE_BSD]: Likewise.
14321 * io/ftw.h [__USE_BSD]: Likewise.
14322 * io/sys/stat.h [__USE_BSD]: Likewise.
14323 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14324 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14325 * libio/stdio.h [__USE_SVID]: Likewise.
14326 [__USE_BSD]: Likewise.
14327 * math/math.h [__USE_SVID]: Likewise.
14328 [__USE_BSD]: Likewise.
14329 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14330 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14331 * misc/search.h [__USE_SVID]: Likewise.
14332 * misc/sys/mman.h [__USE_BSD]: Likewise.
14333 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14334 * misc/sys/uio.h [__USE_BSD]: Likewise.
14335 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14336 * posix/glob.h [__USE_BSD]: Likewise.
14337 * posix/regex.h [__USE_BSD]: Likewise.
14338 * posix/sys/types.h [__USE_BSD]: Likewise.
14339 [__USE_SVID]: Likewise.
14340 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14341 * posix/sys/wait.h [__USE_BSD]: Likewise.
14342 [__USE_SVID]: Likewise.
14343 * posix/unistd.h [__USE_BSD]: Likewise.
14344 [__USE_SVID]: Likewise.
14345 * pwd/pwd.h [__USE_SVID]: Likewise.
14346 * resolv/netdb.h [__USE_BSD]: Likewise.
14347 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14348 * signal/signal.h [__USE_BSD]: Likewise.
14349 [__USE_SVID]: Likewise.
14350 * socket/sys/socket.h [__USE_BSD]: Likewise.
14351 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14352 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14353 [__USE_SVID]: Likewise.
14354 * string/bits/string2.h [__USE_BSD]: Likewise.
14355 [__USE_SVID]: Likewise.
14356 * string/bits/string3.h [__USE_BSD]: Likewise.
14357 * string/endian.h [__USE_BSD]: Likewise.
14358 * string/string.h [__USE_SVID]: Likewise.
14359 [__USE_BSD]: Likewise.
14360 * string/strings.h [__USE_BSD]: Likewise.
14361 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14362 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14363 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14364 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14365 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14366 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14368 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14370 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14371 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14373 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14374 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14376 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14378 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14379 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14380 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14382 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14384 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14385 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14386 * termios/termios.h [__USE_BSD]: Likewise.
14387 * time/sys/time.h [__USE_BSD]: Likewise.
14388 * time/time.h [__USE_BSD]: Likewise.
14389 [__USE_SVID]: Likewise.
14391 * Makefile (subdir_targets): Remove subdir_lint.out.
14393 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14394 (do-tst-printf): Likewise.
14395 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14396 $(objpfx)tst-printf.out.
14398 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14400 * Makerules (check-abi-%): Change target to
14401 $(objpfx)check-abi-%.out.
14402 (check-abi target): Update dependencies.
14403 (check-abi-pattern variable): Redirect output of diff to $@.
14404 (check-abi variable): Likewise.
14405 * elf/Makefile (check-abi): Update dependencies.
14407 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14409 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14410 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14412 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14413 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14414 value has largest subnormal exponent.
14415 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14416 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14417 * sysdeps/aarch64/soft-fp/sfp-machine.h
14418 (_FP_TININESS_AFTER_ROUNDING): New macro.
14419 * sysdeps/alpha/soft-fp/sfp-machine.h
14420 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14421 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14423 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14424 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14425 * sysdeps/mips/soft-fp/sfp-machine.h
14426 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14427 * sysdeps/powerpc/soft-fp/sfp-machine.h
14428 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14429 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14431 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14432 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14433 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14434 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14435 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14438 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
14441 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14444 2014-02-12 Richard Henderson <rth@redhat.com>
14446 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14447 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14448 * sysdeps/unix/sysv/linux/alpha: Move directory from
14449 ports/sysdeps/unix/sysv/linux/alpha.
14450 * README: Update listing for alpha-*-linux-gnu.
14452 2014-02-11 Joseph Myers <joseph@codesourcery.com>
14454 * include/features.h: Update comment documenting feature test
14456 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14458 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14459 (_SVID_SOURCE): Likewise.
14460 (_DEFAULT_SOURCE): Update description of default features.
14461 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14463 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14464 (S_ISVTX): Likewise.
14465 * manual/math.texi (Mathematical Constants): Likewise.
14466 * manual/signal.texi (Interrupted Primitives): Likewise.
14467 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14468 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14469 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14470 Don't refer to _SVID_SOURCE in warning text.
14472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14474 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14476 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14477 * sysdeps/mips/dl-lookup.c: Remove.
14478 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14480 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14483 * math/auto-libm-test-in: Add testcase for expl.
14484 * math/auto-libm-test-out: Regenerate.
14485 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14486 calculation of unsafe.
14487 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14489 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14491 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14492 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14493 ports/sysdeps/unix/sysv/linux/aarch64.
14494 * README: Update listing for aarch64*-*-linux-gnu.
14496 2014-02-11 Will Newton <will.newton@linaro.org>
14498 * manual/probes.texi (Mathematical Function Probes): Use
14499 "triggered" instead of "hit".
14501 * manual/probes.texi (Internal Probes): Add documentation
14502 of setjmp, longjmp and longjmp_target probes.
14504 * include/stap-probe.h: Add comment about probe argument
14507 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14508 definition. (tr_where, tr_freehook, tr_mallochook,
14509 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14511 2014-02-11 David S. Miller <davem@davemloft.net>
14513 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14514 processing int_tests.
14516 2014-02-10 Joseph Myers <joseph@codesourcery.com>
14518 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14519 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14520 * sysdeps/unix/sysv/linux/mips: Move directory from
14521 ports/sysdeps/unix/sysv/linux/mips.
14522 * README: Update listing for mips-*-linux-gnu and
14523 mips64-*-linux-gnu.
14525 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14527 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14528 * sysdeps/unix/sysv/linux/m68k: Move directory from
14529 ports/sysdeps/unix/sysv/linux/m68k.
14530 * README: Update listing for m68k-*-linux-gnu.
14532 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14534 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14535 * sysdeps/unix/sysv/linux/generic: Move directory from
14536 ports/sysdeps/unix/sysv/linux/generic.
14537 * sysdeps/unix/sysv/linux/tile: Move directory from
14538 ports/sysdeps/unix/sysv/linux/tile.
14539 * README: Update listing for tile*-*-linux-gnu.
14541 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
14543 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14545 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14546 * catgets/open_catalog.c (__open_catalog): Likewise.
14547 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14548 * debug/confstr_chk.c: Likewise.
14549 * debug/fread_chk.c (__fread_chk): Likewise.
14550 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14551 * debug/getgroups_chk.c: Likewise.
14552 * debug/mbsnrtowcs_chk.c: Likewise.
14553 * debug/mbsrtowcs_chk.c: Likewise.
14554 * debug/mbstowcs_chk.c: Likewise.
14555 * debug/memcpy_chk.c: Likewise.
14556 * debug/memmove_chk.c: Likewise.
14557 * debug/mempcpy_chk.c: Likewise.
14558 * debug/memset_chk.c: Likewise.
14559 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14560 * debug/strcat_chk.c (__strcat_chk): Likewise.
14561 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14562 * debug/strncat_chk.c (__strncat_chk): Likewise.
14563 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14564 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14565 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14566 * debug/wcpncpy_chk.c: Likewise.
14567 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14568 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14569 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14570 * debug/wcsncpy_chk.c: Likewise.
14571 * debug/wcsnrtombs_chk.c: Likewise.
14572 * debug/wcsrtombs_chk.c: Likewise.
14573 * debug/wcstombs_chk.c: Likewise.
14574 * debug/wmemcpy_chk.c: Likewise.
14575 * debug/wmemmove_chk.c: Likewise.
14576 * debug/wmempcpy_chk.c: Likewise.
14577 * debug/wmemset_chk.c: Likewise.
14578 * dirent/scandirat.c (SCANDIRAT): Likewise.
14579 * dlfcn/dladdr1.c (dladdr1): Likewise.
14580 * dlfcn/dladdr.c (dladdr): Likewise.
14581 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14582 * dlfcn/dlerror.c (__dlerror): Likewise.
14583 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14584 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14585 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14586 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14587 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14588 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14589 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14590 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14592 * elf/dl-conflict.c: Likewise.
14593 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14594 * elf/dl-dst.h: Likewise.
14595 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14596 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14597 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14598 * elf/dl-init.c (call_init, _dl_init): Likewise.
14599 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14600 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14601 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14603 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14605 * elf/dl-minimal.c (__libc_memalign): Likewise.
14606 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14607 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14608 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14609 * elf/dl-sym.c (do_sym): Likewise.
14610 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14611 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14612 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14613 * elf/dl-writev.h (_dl_writev): Likewise.
14614 * elf/ldconfig.c (search_dir): Likewise.
14615 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14616 (dl_main): Likewise.
14617 * elf/setup-vdso.h (setup_vdso): Likewise.
14618 * grp/compat-initgroups.c (compat_call): Likewise.
14619 * grp/fgetgrent.c (fgetgrent): Likewise.
14620 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14621 * grp/putgrent.c (putgrent): Likewise.
14622 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14624 * hurd/hurdinit.c: Likewise.
14625 * iconvdata/8bit-gap.c (struct): Likewise.
14626 * iconvdata/ansi_x3.110.c : Likewise.
14627 * iconvdata/big5.c : Likewise.
14628 * iconvdata/big5hkscs.c : Likewise.
14629 * iconvdata/cp1255.c: Likewise.
14630 * iconvdata/cp1258.c : Likewise.
14631 * iconvdata/cp932.c : Likewise.
14632 * iconvdata/euc-cn.c: Likewise.
14633 * iconvdata/euc-jisx0213.c : Likewise.
14634 * iconvdata/euc-jp.c: Likewise.
14635 * iconvdata/euc-jp-ms.c : Likewise.
14636 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14637 * iconvdata/gb18030.c : Likewise.
14638 * iconvdata/gbbig5.c (const): Likewise.
14639 * iconvdata/gbgbk.c: Likewise.
14640 * iconvdata/gbk.c : Likewise.
14641 * iconvdata/ibm1364.c : Likewise.
14642 * iconvdata/ibm930.c : Likewise.
14643 * iconvdata/ibm932.c: Likewise.
14644 * iconvdata/ibm933.c : Likewise.
14645 * iconvdata/ibm935.c : Likewise.
14646 * iconvdata/ibm937.c : Likewise.
14647 * iconvdata/ibm939.c : Likewise.
14648 * iconvdata/ibm943.c: Likewise.
14649 * iconvdata/iso_11548-1.c: Likewise.
14650 * iconvdata/iso-2022-cn.c : Likewise.
14651 * iconvdata/iso-2022-cn-ext.c : Likewise.
14652 * iconvdata/iso-2022-jp-3.c: Likewise.
14653 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14654 * iconvdata/iso-2022-kr.c : Likewise.
14655 * iconvdata/iso646.c (gconv_end): Likewise.
14656 * iconvdata/iso_6937-2.c : Likewise.
14657 * iconvdata/iso_6937.c : Likewise.
14658 * iconvdata/iso8859-1.c: Likewise.
14659 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14660 * iconvdata/shift_jisx0213.c : Likewise.
14661 * iconvdata/sjis.c : Likewise.
14662 * iconvdata/t.61.c : Likewise.
14663 * iconvdata/tcvn5712-1.c : Likewise.
14664 * iconvdata/tscii.c: Likewise.
14665 * iconvdata/uhc.c : Likewise.
14666 * iconvdata/unicode.c (gconv_end): Likewise.
14667 * iconvdata/utf-16.c (gconv_end): Likewise.
14668 * iconvdata/utf-32.c (gconv_end): Likewise.
14669 * iconvdata/utf-7.c (base64): Likewise.
14670 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14671 * iconv/gconv_close.c (__gconv_close): Likewise.
14672 * iconv/gconv_open.c (__gconv_open): Likewise.
14673 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14674 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14675 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14676 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14677 (ucs4le_internal_loop_single): Likewise.
14678 * iconv/iconv.c (iconv): Likewise.
14679 * iconv/iconv_close.c: Likewise.
14680 * iconv/loop.c (SINGLE): Likewise.
14681 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14682 * include/atomic.h: Likewise.
14683 * inet/inet6_option.c (option_alloc): Likewise.
14684 * intl/bindtextdom.c (set_binding_values): Likewise.
14685 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14686 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14687 * intl/localealias.c (read_alias_file): Likewise.
14688 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14689 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14690 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14691 * libio/fmemopen.c (fmemopen): Likewise.
14692 * libio/iofgets.c (_IO_fgets): Likewise.
14693 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14694 * libio/iofgetws.c (fgetws): Likewise.
14695 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14696 * libio/iogetdelim.c (_IO_getdelim): Likewise.
14697 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14698 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14699 * locale/findlocale.c (_nl_find_locale): Likewise.
14700 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14701 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14703 * locale/setlocale.c (setlocale): Likewise.
14704 * login/programs/pt_chown.c (main): Likewise.
14705 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14706 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14707 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14708 (mmap, mmap64, mremap, munmap): Likewise.
14709 * math/e_exp2l.c: Likewise.
14710 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14711 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14712 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14713 * math/s_catan.c (__catan): Likewise.
14714 * math/s_catanf.c (__catanf): Likewise.
14715 * math/s_catanh.c (__catanh): Likewise.
14716 * math/s_catanhf.c (__catanhf): Likewise.
14717 * math/s_catanhl.c (__catanhl): Likewise.
14718 * math/s_catanl.c (__catanl): Likewise.
14719 * math/s_ccosh.c (__ccosh): Likewise.
14720 * math/s_ccoshf.c (__ccoshf): Likewise.
14721 * math/s_ccoshl.c (__ccoshl): Likewise.
14722 * math/s_cexp.c (__cexp): Likewise.
14723 * math/s_cexpf.c (__cexpf): Likewise.
14724 * math/s_cexpl.c (__cexpl): Likewise.
14725 * math/s_clog10.c (__clog10): Likewise.
14726 * math/s_clog10f.c (__clog10f): Likewise.
14727 * math/s_clog10l.c (__clog10l): Likewise.
14728 * math/s_clog.c (__clog): Likewise.
14729 * math/s_clogf.c (__clogf): Likewise.
14730 * math/s_clogl.c (__clogl): Likewise.
14731 * math/s_csin.c (__csin): Likewise.
14732 * math/s_csinf.c (__csinf): Likewise.
14733 * math/s_csinh.c (__csinh): Likewise.
14734 * math/s_csinhf.c (__csinhf): Likewise.
14735 * math/s_csinhl.c (__csinhl): Likewise.
14736 * math/s_csinl.c (__csinl): Likewise.
14737 * math/s_csqrt.c (__csqrt): Likewise.
14738 * math/s_csqrtf.c (__csqrtf): Likewise.
14739 * math/s_csqrtl.c (__csqrtl): Likewise.
14740 * math/s_ctan.c (__ctan): Likewise.
14741 * math/s_ctanf.c (__ctanf): Likewise.
14742 * math/s_ctanh.c (__ctanh): Likewise.
14743 * math/s_ctanhf.c (__ctanhf): Likewise.
14744 * math/s_ctanhl.c (__ctanhl): Likewise.
14745 * math/s_ctanl.c (__ctanl): Likewise.
14746 * math/w_pow.c: Likewise.
14747 * math/w_powf.c: Likewise.
14748 * math/w_powl.c: Likewise.
14749 * math/w_scalb.c (sysv_scalb): Likewise.
14750 * math/w_scalbf.c (sysv_scalbf): Likewise.
14751 * math/w_scalbl.c (sysv_scalbl): Likewise.
14752 * misc/error.c (error_tail): Likewise.
14753 * misc/pselect.c (__pselect): Likewise.
14754 * nis/nis_callback.c (__nis_create_callback): Likewise.
14755 * nis/nis_call.c (__nisfind_server): Likewise.
14756 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14757 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14758 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14759 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14760 * nis/nis_lookup.c (nis_lookup): Likewise.
14761 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14762 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14763 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14764 * nis/nis_xdr.c (xdr_endpoint): Likewise.
14765 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14766 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14767 * nis/nss_compat/compat-initgroups.c (add_group)
14768 (internal_getgrent_r): Likewise.
14769 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14770 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14771 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14772 (internal_getspnam_r): Likewise.
14773 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14774 (_nss_nis_getaliasbyname_r): Likewise.
14775 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14776 (_nss_nis_getntohost_r): Likewise.
14777 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14778 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14779 (_nss_nis_getgrgid_r): Likewise.
14780 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14781 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14782 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14783 (_nss_nis_gethostbyname4_r): Likewise.
14784 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14785 (initgroups_netid): Likewise.
14786 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14787 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14788 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14789 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14790 (_nss_nis_getprotobynumber_r): Likewise.
14791 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14792 (_nss_nis_getsecretkey): Likewise.
14793 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14794 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14795 (_nss_nis_getpwuid_r): Likewise.
14796 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14797 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14798 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14799 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14800 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14801 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14802 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14804 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14805 (_nss_nisplus_getntohost_r): Likewise.
14806 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14807 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14808 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14809 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14811 * nis/nss_nisplus/nisplus-initgroups.c
14812 (_nss_nisplus_initgroups_dyn): Likewise.
14813 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14814 (_nss_nisplus_getnetbyaddr_r): Likewise.
14815 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14816 (_nss_nisplus_getprotobynumber_r): Likewise.
14817 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14818 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14819 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14821 * nis/nss_nisplus/nisplus-service.c
14822 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14823 (_nss_nisplus_getservbyport_r): Likewise.
14824 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14825 (_nss_nisplus_getspnam_r): Likewise.
14826 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14828 * nscd/aicache.c (addhstaiX): Likewise.
14829 * nscd/cache.c (cache_search, prune_cache): Likewise.
14830 * nscd/connections.c (register_traced_file, send_ro_fd)
14831 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14832 (main_loop_epoll): Likewise.
14833 * nscd/grpcache.c (addgrbyX): Likewise.
14834 * nscd/hstcache.c (addhstbyX): Likewise.
14835 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14836 * nscd/mem.c (gc, mempool_alloc): Likewise.
14837 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14838 (addinnetgrX): Likewise.
14839 * nscd/nscd-client.h (__nscd_acquire_maplock)
14840 (__nscd_drop_map_ref): Likewise.
14841 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14842 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14843 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14845 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14846 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14847 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14848 (__nscd_get_map_ref): Likewise.
14849 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14850 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14852 * nscd/pwdcache.c (addpwbyX): Likewise.
14853 * nscd/selinux.c (preserve_capabilities): Likewise.
14854 * nscd/servicescache.c (addservbyX): Likewise.
14855 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14856 * posix/fnmatch.c (fnmatch): Likewise.
14857 * posix/getopt.c (_getopt_internal_r): Likewise.
14858 * posix/glob.c (glob, glob_in_dir): Likewise.
14859 * posix/wordexp.c (exec_comm_child): Likewise.
14860 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14861 (getanswer_r, gaih_getanswer_slice): Likewise.
14862 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14863 * resolv/res_init.c: Likewise.
14864 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14865 * resolv/res_query.c (__libc_res_nquery): Likewise.
14866 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14868 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14869 * stdio-common/perror.c (perror): Likewise.
14870 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14871 * stdio-common/tmpnam.c (tmpnam): Likewise.
14872 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14873 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14874 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14876 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14877 * stdlib/putenv.c (putenv): Likewise.
14878 * stdlib/setenv.c (__add_to_environ): Likewise.
14879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14880 * stdlib/strtol_l.c (INTERNAL): Likewise.
14881 * string/memmem.c (memmem): Likewise.
14882 * string/strerror.c (strerror): Likewise.
14883 * string/strnlen.c (__strnlen): Likewise.
14884 * string/test-memmem.c (simple_memmem): Likewise.
14885 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14886 * sunrpc/pm_getport.c (__get_socket): Likewise.
14887 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14888 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14889 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14890 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14892 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14893 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14894 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14895 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14896 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14897 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14899 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14901 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14902 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14903 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14904 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14905 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14907 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14908 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14909 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14910 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14911 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14912 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14914 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14916 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14918 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14919 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14920 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14921 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14922 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14923 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14924 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14925 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14926 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14927 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14928 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14929 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14930 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14931 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14932 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14933 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14935 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14937 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14939 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14941 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14942 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14943 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14945 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14946 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14947 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14948 * sysdeps/posix/sleep.c: Likewise.
14949 * sysdeps/posix/tempname.c: Likewise.
14950 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14951 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14953 * sysdeps/powerpc/powerpc32/dl-machine.h
14954 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14955 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14956 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14957 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14958 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14960 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14961 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14962 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14963 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14964 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14965 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14966 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14967 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14968 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14969 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14970 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14971 (elf_machine_lazy_rel): Likewise.
14972 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14973 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14974 (elf_machine_lazy_rel): Likewise.
14975 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14976 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14977 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14978 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14979 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14980 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14981 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14984 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14985 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14986 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14987 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14988 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14989 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14990 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14991 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14992 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14993 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14994 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14996 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14997 (__posix_fallocate64_l64): Likewise.
14998 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14999 (posix_fallocate): Likewise.
15000 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15002 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15003 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15004 (getifaddrs_internal): Likewise.
15005 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15006 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15007 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15008 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15009 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15010 (__posix_fallocate64_l64): Likewise.
15011 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15013 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15014 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15015 (__get_clockfreq): Likewise.
15016 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15017 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15018 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15020 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15021 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15022 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15023 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15025 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15026 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15027 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15028 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15029 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15030 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15031 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15033 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15034 (posix_fallocate): Likewise.
15035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15036 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15037 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15038 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15039 (elf_machine_rela, elf_machine_rela_relative)
15040 (elf_machine_lazy_rel): Likewise.
15041 * time/asctime.c (asctime_internal): Likewise.
15042 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15043 * time/tzset.c (__tzset_parse_tz): Likewise.
15044 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15045 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15046 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15047 * wcsmbs/wcsmbsload.h: Likewise.
15050 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15052 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15053 (arena_get2): Remove THREAD_STATS conditionals.
15054 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15055 (__malloc_stats, int): Likewise.
15057 2014-02-08 Mike Frysinger <vapier@gentoo.org>
15059 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15060 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15062 * manual/setjmp.texi: Fix typos/grammar errors.
15064 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15065 Only return early when n is <= 0. Delete unused return statement.
15067 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15068 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15069 * debug/tst-longjmp_chk3.c: New file.
15071 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15072 (test_main): Replace code with set_fortify_handler call.
15073 * debug/test-strcpy_chk.c: Likewise.
15074 * debug/tst-chk1.c: Likewise.
15075 * debug/tst-longjmp_chk.c: Likewise.
15076 * test-skeleton.c: Include fcntl.h & paths.h
15077 (set_fortify_handler): Define.
15079 * debug/tst-longjmp_chk.c: Add header comment and include
15080 ../test-skeleton.c.
15081 (do_test): Mark static.
15082 (TEST_FUNCTION): Define.
15084 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15085 (IP_PMTUDISC_INTERFACE): Likewise.
15086 (IP_MULTICAST_IF): Likewise.
15087 (IP_MULTICAST_TTL): Likewise.
15088 (IP_MULTICAST_LOOP): Likewise.
15089 (IP_ADD_MEMBERSHIP): Likewise.
15090 (IP_DROP_MEMBERSHIP): Likewise.
15091 (IP_UNBLOCK_SOURCE): Likewise.
15092 (IP_BLOCK_SOURCE): Likewise.
15093 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15094 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15095 (IP_MSFILTER): Likewise.
15096 (MCAST_JOIN_GROUP): Likewise.
15097 (MCAST_BLOCK_SOURCE): Likewise.
15098 (MCAST_UNBLOCK_SOURCE): Likewise.
15099 (MCAST_LEAVE_GROUP): Likewise.
15100 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15101 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15102 (MCAST_MSFILTER): Likewise.
15103 (IP_MULTICAST_ALL): Likewise.
15104 (IP_UNICAST_IF): Likewise.
15106 * timezone/Makefile: Delete $(have-ksh) check.
15107 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15108 * timezone/tzselect.ksh: Add +x mode bits.
15110 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15111 (ANON_INODE_FS_MAGIC): Likewise.
15112 (BDEVFS_MAGIC): Likewise.
15113 (BINFMTFS_MAGIC): Likewise.
15114 (BTRFS_TEST_MAGIC): Likewise.
15115 (CRAMFS_MAGIC_WEND): Likewise.
15116 (DEBUGFS_MAGIC): Likewise.
15117 (ECRYPTFS_SUPER_MAGIC): Likewise.
15118 (EXT3_SUPER_MAGIC): Likewise.
15119 (EXT4_SUPER_MAGIC): Likewise.
15120 (FUTEXFS_SUPER_MAGIC): Likewise.
15121 (HOSTFS_SUPER_MAGIC): Likewise.
15122 (HUGETLBFS_MAGIC): Likewise.
15123 (MINIX3_SUPER_MAGIC): Likewise.
15124 (MTD_INODE_FS_MAGIC): Likewise.
15125 (NILFS_SUPER_MAGIC): Likewise.
15126 (OPENPROM_SUPER_MAGIC): Likewise.
15127 (PIPEFS_MAGIC): Likewise.
15128 (PSTOREFS_MAGIC): Likewise.
15129 (QNX6_SUPER_MAGIC): Likewise.
15130 (RAMFS_MAGIC): Likewise.
15131 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15132 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15133 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15134 (SECURITYFS_MAGIC): Likewise.
15135 (SELINUX_MAGIC): Likewise.
15136 (SMACK_MAGIC): Likewise.
15137 (SOCKFS_MAGIC): Likewise.
15138 (SQUASHFS_MAGIC): Likewise.
15139 (STACK_END_MAGIC): Likewise.
15140 (TMPFS_MAGIC): Likewise.
15141 (USBDEVICE_SUPER_MAGIC): Likewise.
15142 (V9FS_MAGIC): Likewise.
15143 (XENFS_SUPER_MAGIC): Likewise.
15144 (CRAMFS_MAGIC): Fix typo in comment.
15145 (EXT2_SUPER_MAGIC): Update comment.
15146 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15148 2014-02-08 Joseph Myers <joseph@codesourcery.com>
15150 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15151 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15152 * sysdeps/unix/sysv/linux/arm: Move directory from
15153 ports/sysdeps/unix/sysv/linux/arm.
15154 * README: Update listing for arm-*-linux-gnueabi.
15156 * README: Remove mention of am33.
15158 2014-02-07 Roland McGrath <roland@hack.frob.com>
15160 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15161 than the comma operator, to avoid "rhs of comma has no effect"
15163 (__sigfillset, __sigandset, __sigorset): Likewise.
15164 * include/signal.h (__sigemptyset): Likewise.
15165 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15167 2014-02-07 Allan McRae <allan@archlinux.org>
15169 * version.h (RELEASE): Set to "development".
15170 (VERSION): Set to "2.19.90"
15171 * NEWS: Add 2.20 section.
15173 2014-02-06 Carlos O'Donell <carlos@redhat.com>
15176 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15178 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15180 * manual/contrib.texi: Update entry for Carlos O'Donell,
15181 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15183 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
15185 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15187 * sysdeps/unix/sysv/linux/kernel-features.h
15188 [__LINUX_KERNEL_VERSION >= 0x020621]
15189 (__ASSUME_PROC_PID_TASK_COMM): Define.
15191 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15194 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15195 conversion when destination buffer does not have enough space.
15196 * libio/tst-ftell-partial-wide.c: New test case.
15197 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15199 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15200 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15201 Leonard and Allan McRae.
15203 2014-02-04 David S. Miller <davem@davemloft.net>
15205 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15208 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15237 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15239 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15240 * shlib-versions: Likewise.
15242 2014-02-04 Roland McGrath <roland@hack.frob.com>
15243 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15245 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15246 (abilist-pattern): New variable, set to %-le.abilist.
15248 * Makerules (abilist-pattern): New variable.
15249 (vpath): Use $(abilist-pattern) in place of %.abilist.
15250 (check-abi-% pattern rule): Likewise.
15251 (check-abi, update-abi): Likewise.
15253 2014-02-04 Eric Wong <normalperson@yhbt.net>
15255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15257 2014-02-03 Carlos O'Donell <carlos@redhat.com>
15259 * manual/startup.texi: Add next, previous, and top entries for
15260 the `Program Arguments' and `Environment Variables' nodes.
15262 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
15264 * manual/macros.texi: Add comments before MTASC-safety macros.
15266 * manual/users.texi: Document MTASC-safety properties.
15268 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15269 (pthread_getspecific, pthread_setspecific): Format with
15270 @deftypefun, and add @safety note.
15271 * manual/signal.texi: Move comments that analyze the above
15272 functions to their home place.
15274 2014-02-03 Allan McRae <allan@archlinux.org>
15276 * po/sl.po: Update Slovenian translation from translation project.
15278 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
15280 * manual/time.texi (timegm): Add missing blank after @c.
15281 Reported by Joseph Myers <joseph@codesourcery.com>.
15283 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
15285 * manual/check-safety.sh: New.
15286 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15288 * manual/terminal.texi: Document MTASC-safety properties.
15290 * manual/filesys.texi: Document MTASC-safety properties.
15292 * manual/errno.texi: Document MTASC-safety properties.
15294 * manual/intro.texi: Document safety identifiers and
15297 * manual/string.texi (wcstok): Fix prototype.
15298 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15300 * manual/time.texi: Document MTASC-safety properties.
15302 * manual/string.texi: Document MTASC-safety properties.
15304 * manual/threads.texi: Document MTASC-safety properties.
15306 * manual/stdio.texi: Document MTASC-safety properties.
15308 * manual/syslog.texi: Document MTASC-safety properties.
15310 * manual/sysinfo.texi: Document MTASC-safety properties.
15312 * manual/startup.texi: Document MTASC-safety properties.
15314 * manual/socket.texi: Document MTASC-safety properties.
15316 * manual/signal.texi: Document MTASC-safety properties.
15318 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
15320 * manual/setjmp.texi: Document MTASC-safety properties.
15322 * manual/search.texi: Document MTASC-safety properties.
15324 * manual/resource.texi: Document MTASC-safety properties.
15326 * manual/process.texi: Document MTASC-safety properties.
15328 * manual/platform.texi: Document MTASC-safety properties.
15330 * manual/pipe.texi: Document MTASC-safety properties.
15332 * manual/pattern.texi: Document MTASC-safety properties.
15334 * manual/message.texi: Document MTASC-safety properties.
15337 * manual/memory.texi: Document MTASC-safety properties.
15339 * manual/math.texi: Document MTASC-safety properties.
15341 * manual/locale.texi: Document MTASC-safety properties.
15343 * manual/llio.texi: Document MTASC-safety properties.
15345 * manual/libdl.texi: New.
15347 * manual/lang.texi: Document MTASC-safety properties.
15349 * manual/job.texi: Document MTASC-safety properties.
15351 * manual/getopt.texi: Document MTASC-safety properties.
15353 * manual/ctype.texi: Document MTASC-safety properties.
15355 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15358 * csu/libc-tls.c (static_map): Remove variable.
15359 (__libc_setup_tls): Use main executable's link map for TLS data.
15360 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15361 casing for LM_ID_BASE and GL(dl_nns).
15362 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15363 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15364 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15365 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15366 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15368 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15371 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
15373 * manual/debug.texi: Document MTASC-safety properties.
15375 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15378 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15379 of __x86_64__ when disabling x87 inline functions.
15381 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
15383 * manual/charset.texi: Document MTASC-safety properties.
15385 * manual/crypt.texi: Document MTASC-safety properties.
15387 * manual/conf.texi: Document MTASC-safety properties.
15389 * manual/arith.texi: Document MTASC-safety properties.
15391 * manual/argp.texi: Document MTASC-safety properties.
15393 * manual/macros.texi: Introduce macros to document multi
15394 thread, asynchronous signal and asynchronous cancellation
15396 * manual/intro.texi: Introduce the properties themselves.
15398 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15400 * sysdeps/sh/sh4/Makefile: New file.
15402 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15404 * math/gen-libm-test.pl ($srcdir): New variable.
15405 ($auto_input): Use it.
15407 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15410 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15411 access beyond array bounds when parsing netgroups file.
15413 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15414 the old buffer before realloc.
15416 2014-01-27 Allan McRae <allan@archlinux.org>
15418 * po/fr.po: Update French translation from translation project.
15420 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15422 * sysdeps/sh/libm-test-ulps: Regenerate.
15424 2014-01-24 David S. Miller <davem@davemloft.net>
15426 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15428 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15430 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15431 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15433 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15436 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15437 string pointers after reallocation.
15439 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15441 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15442 __SH4A__ instead of __SH_FPU_ANY__.
15444 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15446 * sysdeps/sh/fpu_control.h: New file.
15447 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15448 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15449 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15450 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15451 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15452 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15453 * sysdeps/sh/sys/ucontext.h: Remove.
15454 * sysdeps/sh/sys: Remove directory.
15456 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15458 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15459 s390/sys/ucontext.h.
15460 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15461 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15463 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15466 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15468 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15471 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15472 Adjust the vDSO correctly for internal calls.
15473 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15475 2014-01-20 Allan McRae <allan@archlinux.org>
15477 * po/ca.po: Update Catalan translation from translation project.
15479 2014-01-16 Mike Frysinger <vapier@gentoo.org>
15481 * sysdeps/s390/sotruss-lib.c: New file.
15483 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15486 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15487 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15488 local calls issues by not having a PLT stub required for IFUNC calls.
15489 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15491 2014-01-16 Joseph Myers <joseph@codesourcery.com>
15493 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15494 * math/test-fpucw-static.c: Likewise.
15496 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15499 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15501 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15503 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15504 implementation for powerpc.
15506 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
15509 * sysdeps/posix/system.c (__libc_system): Do not enable
15510 asynchronous cancellation.
15512 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15515 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15516 handling only for numbers special also in the IEEE case.
15518 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15520 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15522 2014-01-11 Allan McRae <allan@archlinux.org>
15524 * po/bg.po: Update Bulgarian translation from translation project.
15526 * po/de.po: Update German translation from translation project.
15528 2014-01-10 Roland McGrath <roland@hack.frob.com>
15530 * sysdeps/generic/gcc-compat.h: New file.
15532 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15534 * benchtests/asin-inputs: Correct slow inputs.
15535 * benchtests/acos-inputs: Likewise.
15537 2014-01-10 Allan McRae <allan@archlinux.org>
15539 * po:sv.po: Update Swedish translation from translation project.
15541 * po/vi.po: Update Vietnamese translation from translation project.
15543 * po/eo.po: Update Esperanto translation from translation project.
15545 * po/cs.po: Update Czech translation from translation project.
15547 * po/nl.po: Update Dutch translation from translation project.
15549 * po/pl.po: Update Polish translation from translation project.
15551 * po/ru.po: Update Russian translation from translation project.
15553 * po/uk.po: Update Ukrainian translation from translation project.
15555 2014-01-08 Brooks Moses <bmoses@google.com>
15557 * elf/dl-load.c: Fix comment typo.
15559 2014-01-08 Carlos O'Donell <carlos@redhat.com>
15561 * po/header.pot: Rename to...
15562 * po/pot.header: ... this.
15563 * po/Makefile: Use pot.header.
15565 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15566 Maxim Kuvyrkov <maxim@kugelworks.com>
15569 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15570 SRC and DEST against LEN.
15572 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15575 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15577 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15579 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15583 2014-01-08 Joseph Myers <joseph@codesourcery.com>
15586 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15587 for large positive arguments.
15589 2014-01-07 Joseph Myers <joseph@codesourcery.com>
15591 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15593 * math/auto-libm-test-in: Mark various tests with
15594 xfail-rounding:ldbl-128ibm.
15595 * math/auto-libm-test-out: Regenerated.
15598 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15599 Increase overflow threshold.
15601 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
15604 * stdio-common/vfprintf.c: Check for integer overflow.
15606 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15608 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15609 the first argument and return value of __tls_get_addr_internal.
15611 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15613 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15614 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15616 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15618 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15619 * sysdeps/s390/rtld-global-offsets.sym: New file.
15620 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15622 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15623 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15624 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15626 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15627 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15633 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15634 halfs of GPRs for high_gprs contexts.
15635 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15636 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15638 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15640 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15642 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15643 for high GPRs (uc_high_gprs) and for future extensions
15645 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15646 for future extensions (__reserved).
15647 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15649 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15650 SC_HIGHGPRS offset definition.
15651 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15652 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15654 * Versions.def: Add GLIBC_2.19 for libpthread.
15655 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15656 siglongjmp for libpthread with GLIBC_2.19 symver.
15657 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15658 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15659 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15660 * sysdeps/s390/__longjmp.c: New file.
15661 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15662 * sysdeps/s390/longjmp.c: New file.
15663 * sysdeps/s390/setjmp.S: New file.
15664 * sysdeps/s390/sigjmp.S: New file.
15665 * sysdeps/s390/v1-longjmp.c: New file.
15666 * sysdeps/s390/v1-setjmp.h: New file.
15667 * sysdeps/s390/v1-sigjmp.c: New file.
15668 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15669 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15670 GLIBC_2.19 version.
15671 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15672 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15673 versioned symbols for ____longjmp_chk.
15674 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15684 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15685 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15686 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15687 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15688 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15689 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15690 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15691 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15692 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15693 * sysdeps/s390/rtld-__longjmp.c: New file.
15694 * sysdeps/s390/rtld-setjmp.S: New file.
15696 2014-01-06 Joseph Myers <joseph@codesourcery.com>
15699 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15700 Return -__logl (x) for small positive arguments without evaluating
15703 2014-01-06 Mike Frysinger <vapier@gentoo.org>
15705 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15707 (__ptrace_peeksiginfo_args): ... this.
15708 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15709 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15710 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15712 2014-01-06 Allan McRae <allan@archlinux.org>
15714 * inet/netinet/in.h: Fix typo in comment.
15716 2014-01-05 Andreas Jaeger <aj@suse.de>
15718 * sysdeps/i386/fpu/libm-test-ulps: Update.
15720 2014-01-05 Allan McRae <allan@archlinux.org>
15722 * po/libc.pot: Regenerated.
15724 * malloc/memusagestat.c: Fix gettext call formatting.
15726 2014-01-04 Sami Kerola <kerolasa@iki.fi>
15728 * nscd/nscd.c: Improve usage() output.
15730 2014-01-04 Mike Frysinger <vapier@gentoo.org>
15732 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15733 * sysdeps/unix/sysv/linux/configure: Regenerated.
15734 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15735 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15737 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15740 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15741 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15743 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15745 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15746 extra tokens at end of #undef directive.
15747 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15748 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15749 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15751 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15753 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15755 * math/auto-libm-test-in: Mark various tests with
15756 xfail-rounding:ldbl-128ibm.
15757 * math/auto-libm-test-out: Regenerated.
15759 2014-01-02 Joseph Myers <joseph@codesourcery.com>
15762 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15763 numbers with subnormal high part when calculating exponent.
15766 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15770 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15772 (__ieee754_acoshl): Use __log1pl not __log1p.
15774 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
15776 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15777 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15778 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15779 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15780 (reused_arena, arena_get2): Convert to GNU style.
15781 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15782 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15783 (memalign_check, __malloc_set_state): Likewise.
15784 * malloc/mallocbug.c (main): Likewise.
15785 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15786 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15787 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15788 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15789 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15790 (__posix_memalign, malloc_info): Likewise.
15791 * malloc/malloc.h: Likewise.
15792 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15793 (mallochook, memalignhook, reallochook, mabort): Likewise.
15794 * malloc/mcheck.h: Likewise.
15795 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15796 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15797 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15798 * malloc/morecore.c (__default_morecore): Likewise.
15799 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15800 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15801 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15802 (print_and_abort): Likewise.
15803 * malloc/obstack.h: Likewise.
15804 * malloc/set-freeres.c (__libc_freeres): Likewise.
15805 * malloc/tst-mallocstate.c (main): Likewise.
15806 * malloc/tst-mtrace.c (main): Likewise.
15807 * malloc/tst-realloc.c (do_test): Likewise.
15809 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15812 * nscd/netgroupcache.c (do_notfound): New function.
15813 (addgetnetgrentX): Use it.
15816 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15817 NSS_STATUS_NOTFOUND.
15819 2014-01-01 Joseph Myers <joseph@codesourcery.com>
15821 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15824 2014-01-01 Allan McRae <allan@archlinux.org>
15826 * scripts/update-copyrights: Update configure input file suffix.
15828 * NEWS: Update copyright year.
15829 * catgets/gencat.c: Likewise.
15830 * csu/version.c: Likewise.
15831 * debug/catchsegv.sh: Likewise.
15832 * debug/pcprofiledump.c: Likewise.
15833 * debug/xtrace.sh: Likewise.
15834 * elf/ldconfig.c: Likewise.
15835 * elf/ldd.bash.in: Likewise.
15836 * elf/pldd.c: Likewise.
15837 * elf/sotruss.ksh: Likewise.
15838 * elf/sprof.c: Likewise.
15839 * iconv/iconv_prog.c: Likewise.
15840 * iconv/iconvconfig.c: Likewise.
15841 * locale/programs/locale.c: Likewise.
15842 * locale/programs/localedef.c: Likewise.
15843 * login/programs/pt_chown.c: Likewise.
15844 * malloc/memusage.sh: Likewise.
15845 * malloc/memusagestat.c: Likewise.
15846 * malloc/mtrace.pl: Likewise.
15847 * manual/libc.texinfo: Likewise.
15848 * nscd/nscd.c: Likewise.
15849 * nss/getent.c: Likewise.
15850 * nss/makedb.c: Likewise.
15851 * posix/getconf.c: Likewise.
15852 * scripts/test-installation.pl: Likewise.
15854 * All files with FSF copyright notices: Update copyright dates
15855 using scripts/update-copyrights.
15856 * intl/plural.c: Regenerated.
15857 * locale/programs/charmap-kw.h: Likewise.
15858 * locale/programs/locfile-kw.h: Likewise.
15860 2013-12-31 Mike Frysinger <vapier@gentoo.org>
15862 * sysdeps/unix/sysv/linux/configure: Regenerated.
15863 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15864 the linux/fanotify.h header.
15865 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15866 HAVE_LINUX_FANOTIFY_H is defined.
15868 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15870 * benchtests/cos-inputs: New inputs.
15871 * benchtests/sin-inputs: Likewise.
15873 * benchtests/atan-inputs: New inputs. Fix name of multiple
15874 precision fallback inputs.
15876 * benchtests/atanh-inputs: New inputs.
15877 * benchtests/tanh-inputs: Likewise.
15879 * benchtests/acosh-inputs: New inputs.
15880 * benchtests/asinh-inputs: Likewise.
15882 * benchtests/cosh-inputs: New inputs.
15883 * benchtests/sinh-inputs: Likewise.
15885 * benchtests/acos-inputs: Add more inputs.
15886 * benchtests/asin-inputs: Likewise.
15888 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
15891 * manual/arith.texi: Fix spelling.
15892 * manual/charset.texi: Likewise.
15893 * manual/errno.texi: Likewise.
15894 * manual/filesys.texi: Likewise.
15895 * manual/lang.texi: Likewise.
15896 * manual/llio.texi: Likewise.
15897 * manual/locale.texi: Likewise.
15898 * manual/message.texi: Likewise.
15899 * manual/resource.texi: Likewise.
15900 * manual/search.texi: Likewise.
15901 * manual/setjmp.texi: Likewise.
15902 * manual/stdio.texi: Likewise.
15903 * manual/string.texi: Likewise.
15904 * manual/sysinfo.texi: Likewise.
15905 * manual/time.texi: Likewise.
15907 2013-12-27 Carlos O'Donell <carlos@redhat.com>
15909 * po/sl.po: New file.
15911 2013-12-27 Mike Frysinger <vapier@gentoo.org>
15913 * .gitignore: Add core/.gdbinit/.gdb_history.
15915 2013-12-27 Allan McRae <allan@archlinux.org>
15918 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15919 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15921 2013-12-24 Brooks Moses <bmoses@google.com>
15923 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15924 all compilers that claim C++98 compliance, not just GCC.
15925 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15928 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15930 * NEWS: Restore accidentally deleted bug-fix entries.
15932 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15933 Ondřej Bílka <neleai@seznam.cz>
15936 * malloc/malloc.c (_int_free): Perform sanity check only if we
15939 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
15942 * manual/stdio.texi (String Input Conversions): Clarify that character
15943 classes are not supported.
15945 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15949 2013-12-22 Joseph Myers <joseph@codesourcery.com>
15952 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15953 Calculate results for small negative arguments directly rather
15954 than using reflection formula with special underflow handling.
15956 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15957 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15958 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15959 (fchflags): Likewise.
15960 (revoke): Likewise.
15961 (setlogin): Likewise.
15962 (sigaltstack): Likewise.
15964 (sigblock): Remove.
15965 (sigsetmask): Likewise.
15967 (waitpid): Likewise.
15968 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15969 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15971 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15972 * sysdeps/unix/bsd/Makefile: ... here.
15973 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15974 * sysdeps/unix/bsd/Versions: ... here.
15975 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15976 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15977 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15978 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15979 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15980 * sysdeps/unix/bsd/sigblock.c: ... here.
15981 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15982 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15983 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15984 * sysdeps/unix/bsd/sigvec.c: ... here.
15985 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15986 * sysdeps/unix/bsd/tcdrain.c: ... here.
15987 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15988 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15989 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15990 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15991 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15992 * sysdeps/unix/bsd/wait.c: ... here.
15993 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15994 * sysdeps/unix/bsd/wait3.c: ... here.
15995 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15996 * sysdeps/unix/bsd/waitpid.c: ... here.
15998 2013-12-21 Joseph Myers <joseph@codesourcery.com>
16001 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16002 round-to-nearest for [!USE_AS_EXPM1L].
16003 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16004 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16005 more tests of exp and exp10. Expect some exp10 tests to miss
16006 exceptions or fail in directed rounding modes.
16007 * math/auto-libm-test-out: Regenerated.
16008 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16009 (exp10_test_tonearest): New function.
16010 (exp10_towardzero_test_data): New array.
16011 (exp10_test_towardzero): New function.
16012 (exp10_downward_test_data): New array.
16013 (exp10_test_downward): New function.
16014 (exp10_upward_test_data): New array.
16015 (exp10_test_upward): New function.
16016 (main): Call the new functions.
16017 * sysdeps/i386/fpu/libm-test-ulps: Update.
16018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16020 2013-12-20 Joseph Myers <joseph@codesourcery.com>
16022 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16023 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16024 * math/auto-libm-test-out: Regenerated.
16025 * math/libm-test.inc (acosh_test_data): Add more tests.
16026 (atanh_test_data): Likewise.
16027 (ceil_test_data): Likewise.
16028 (copysign_test_data): Likewise.
16029 * sysdeps/i386/fpu/libm-test-ulps: Update.
16030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16032 * timezone/checktab.awk: Update from tzcode 2013i.
16033 * timezone/private.h: Likewise.
16034 * timezone/scheck.c: Likewise.
16035 * timezone/tzfile.h: Likewise.
16036 * timezone/tzselect.ksh: Likewise.
16037 * timezone/zdump.c: Likewise.
16038 * timezone/zic.c: Likewise.
16040 * math/auto-libm-test-in: Add tests of cpow.
16041 * math/auto-libm-test-out: Regenerated.
16042 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16043 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16045 (func_calc_desc): Add mpc_cc_c union field.
16046 (test_functions): Add cpow.
16047 (special_fill_2pi): New function.
16048 (special_real_inputs): Add 2pi.
16049 (calc_generic_results): Handle mpc_cc_c.
16050 * sysdeps/i386/fpu/libm-test-ulps: Update.
16051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16053 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16054 csqrt, ctan and ctanh.
16055 * math/auto-libm-test-out: Regenerated.
16056 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16057 (TEST_COND_x86): Likewise.
16058 (ccos_test_data): Use AUTO_TESTS_c_c.
16059 (ccosh_test_data): Likewise.
16060 (cexp_test_data): Likewise.
16061 (clog_test_data): Likewise.
16062 (csqrt_test_data): Likewise.
16063 (ctan_test_data): Likewise.
16064 (ctan_tonearest_test_data): Likewise.
16065 (ctan_towardzero_test_data): Likewise.
16066 (ctan_downward_test_data): Likewise.
16067 (ctan_upward_test_data): Likewise.
16068 (ctanh_test_data): Likewise.
16069 (ctanh_tonearest_test_data): Likewise.
16070 (ctanh_towardzero_test_data): Likewise.
16071 (ctanh_downward_test_data): Likewise.
16072 (ctanh_upward_test_data): Likewise.
16073 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16075 (func_calc_desc): Add mpc_c_c union field.
16076 (FUNC_mpc_c_c): New macro.
16077 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16078 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16080 (special_fill_min_subnorm_p120): New function.
16081 (special_real_inputs): Add min_subnorm_p120.
16082 (calc_generic_results): Handle mpc_c_c.
16083 * sysdeps/i386/fpu/libm-test-ulps: Update.
16084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16086 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16088 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16089 (do_sin_slow): New functions.
16090 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16091 (cslow2, csloww1, csloww2): Use the new functions.
16093 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16094 Use M to change sign of result instead of X. Assume X is
16096 (csloww1): Likewise.
16100 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16101 arguments A and DA.
16105 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16107 (sloww1): Don't adjust sign of DX.
16108 (csloww1): Likewise.
16109 (sloww2): Use X directly and don't adjust sign of DX.
16110 (csloww2): Likewise.
16112 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16114 * math/auto-libm-test-in: Add tests of cabs and carg.
16115 * math/auto-libm-test-out: Regenerated.
16116 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16117 (carg_test_data): Likewise.
16118 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16120 (func_calc_desc): Add mpc_c_f union field.
16121 (test_functions): Add cabs and carg.
16122 (calc_generic_results): Handle mpc_c_f.
16124 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16125 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16126 as a macro and a compat symbol.
16127 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16128 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16129 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16130 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16131 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16132 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16134 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16136 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16138 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16140 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16142 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16144 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16145 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16148 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16152 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16154 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16155 trailing whitespace removed.
16156 * scripts/config.guess: Update to version 2013-11-29.
16157 * scripts/config.sub: Update to version 2013-10-01.
16159 * math/auto-libm-test-in: Add tests of sincos.
16160 * math/auto-libm-test-out: Regenerated.
16161 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16162 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16164 (func_calc_desc): Add mpfr_f_11 union field.
16165 (test_functions): Add sincos.
16166 (calc_generic_results): Handle mpfr_f_11.
16167 * sysdeps/i386/fpu/libm-test-ulps: Update.
16168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16170 2013-12-19 Andreas Schwab <schwab@suse.de>
16172 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16174 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16175 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16176 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16178 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16180 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16181 * sysdeps/i386/fpu/libm-test-ulps: Update.
16182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16185 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16186 round-to-nearest mode when using frndint.
16187 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16188 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16189 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16191 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16193 * math/auto-libm-test-out: Regenerated.
16194 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16195 (TEST_COND_x86): Likewise.
16196 (expm1_tonearest_test_data): New array.
16197 (expm1_test_tonearest): New function.
16198 (expm1_towardzero_test_data): New array.
16199 (expm1_test_towardzero): New function.
16200 (expm1_downward_test_data): New array.
16201 (expm1_test_downward): New function.
16202 (expm1_upward_test_data): New array.
16203 (expm1_test_upward): New function.
16204 (main): Run the new test functions.
16205 * sysdeps/i386/fpu/libm-test-ulps: Update.
16206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16208 * include/features.h: Update comment documenting feature test
16209 macros. Mention _DEFAULT_SOURCE in comment.
16210 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16211 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16212 _BSD_SOURCE and _SVID_SOURCE.
16213 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16214 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16215 !_SVID_SOURCE]: Likewise.
16216 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16217 (__USE_POSIX_IMPLICITLY): Define.
16218 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16219 (_POSIX_SOURCE): Undefine and redefine.
16220 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16221 (_POSIX_C_SOURCE): Likewise.
16222 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16223 (Feature Test Macros): Update documentation of default features.
16225 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16227 * benchtests/Makefile: Add bench-strtok.
16228 * benchtests/bench-strtok.c: New file: strtok benchtest.
16230 2013-12-19 Allan McRae <allan@archlinux.org>
16232 * manual/install.texi: Suppress menu for plain text output.
16233 * INSTALL: Regenerated.
16235 2013-12-18 Brooks Moses <bmoses@google.com>
16238 * misc/getauxval.c: Include errno.h.
16239 (__getauxval): Set errno to ENOENT if the requested type is not
16241 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16242 don't declare with __attribute_const__.
16243 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16244 * manual/startup.texi: Document that getauxval sets errno.
16246 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16248 * math/auto-libm-test-in: Add tests of jn and yn.
16249 * math/auto-libm-test-out: Regenerated.
16250 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16251 (yn_test_data): Likewise.
16252 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16254 (func_calc_desc): Add mpfr_if_f union field.
16255 (FUNC_mpfr_if_f): New macro.
16256 (test_functions): Add jn and yn.
16257 (calc_generic_results): Assert type of second input for
16258 mpfr_ff_f. Handle mpfr_if_f.
16259 (output_for_one_input_case): Disable all checking for arguments
16260 fitting floating-point types in case of an integer argument.
16261 * sysdeps/i386/fpu/libm-test-ulps: Update.
16262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16265 Don't expect fegetround reference in libm.so.
16267 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16269 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16270 $(config-cflags-nofma).
16272 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16274 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16275 * math/auto-libm-test-out: Regenerated.
16278 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16279 to determine exponent and adjust argument to have exponent of -1.
16280 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16282 * math/auto-libm-test-out: Regenerated.
16283 * sysdeps/i386/fpu/libm-test-ulps: Update.
16284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16286 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
16288 * manual/probes.texi: Remove cases when per-thread arenas are
16291 2013-12-18 Andreas Schwab <schwab@suse.de>
16293 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16294 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16295 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16296 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16297 * sysdeps/i386/i686/multiarch/Makefile: Update.
16298 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16300 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16302 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16303 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16305 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16308 Support TZ transition times < 00:00:00.
16309 This is needed for version-3 tz-format files; it supports time
16310 stamps past 2037 for America/Godthab (the only entry in the tz
16311 database for which this change is relevant).
16312 * manual/time.texi (TZ Variable): Document transition times
16313 from -167:59:59 through -00:00:01.
16314 * time/tzset.c (tz_rule): Time of day is now signed.
16315 (__tzset_parse_tz): Parse negative time of day.
16317 Document TZ transition times >= 25:00:00.
16318 * manual/time.texi (TZ Variable): Document transition times from
16319 25:00:00 through 167:59:59. These are already supported, and this
16320 support will help with version-3 tz-format files.
16322 * manual/time.texi (TZ Variable): Modernize North America example
16323 to reflect current (i.e., 2007-and-later) daylight saving rules.
16325 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16327 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16329 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16330 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16331 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16332 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16333 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16334 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16335 * sysdeps/unix/bsd/clock.c: Likewise.
16336 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16337 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16338 * sysdeps/unix/bsd/init-posix.c: Likewise.
16339 * sysdeps/unix/bsd/poll.c: Likewise.
16340 * sysdeps/unix/bsd/ptsname.c: Likewise.
16341 * sysdeps/unix/bsd/seekdir.c: Likewise.
16342 * sysdeps/unix/bsd/setegid.c: Likewise.
16343 * sysdeps/unix/bsd/seteuid.c: Likewise.
16344 * sysdeps/unix/bsd/setgid.c: Likewise.
16345 * sysdeps/unix/bsd/setrgid.c: Likewise.
16346 * sysdeps/unix/bsd/setruid.c: Likewise.
16347 * sysdeps/unix/bsd/setsid.c: Likewise.
16348 * sysdeps/unix/bsd/setuid.c: Likewise.
16349 * sysdeps/unix/bsd/sigaction.c: Likewise.
16350 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16351 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16352 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16353 * sysdeps/unix/bsd/telldir.c: Likewise.
16354 * sysdeps/unix/bsd/times.c: Likewise.
16355 * sysdeps/unix/bsd/usleep.c: Likewise.
16357 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16358 ($(objpfx)libbsd-compat.a): Remove rule.
16360 * include/features.h (__FAVOR_BSD): Do not define.
16361 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16362 features conflicting with POSIX.
16363 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16364 (_BSD_SOURCE): Remove description of not being a subset of other
16365 feature test macros.
16366 * manual/job.texi (getpgrp): Do not document BSD version.
16367 (getpgid): Do not document by reference to BSD getpgrp.
16368 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16369 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16370 * signal/signal.h [__FAVOR_BSD]: Likewise.
16371 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16372 instead of making contents conditional on [__FAVOR_BSD].
16373 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16375 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16379 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16382 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16383 values below 2**-450, not 2**-500.
16384 * math/auto-libm-test-in: Don't allow spurious underflow from
16386 * math/auto-libm-test-out: Regenerated.
16390 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16391 values of ha and hb and sort them after adjusting subnormal
16393 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16395 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16396 values of ea and eb and sort them after adjusting subnormal
16398 * math/auto-libm-test-in: Do not expect some hypot tests of
16399 subnormals to fail. Add more hypot tests.
16400 * math/auto-libm-test-out: Regenerated.
16402 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16405 * sysdeps/sh/s_fma.c: New file.
16406 * sysdeps/sh/s_fmaf.c: New file.
16407 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16409 * sysdeps/sh/Implies: Add sh/soft-fp.
16411 2013-12-16 Roland McGrath <roland@hack.frob.com>
16413 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16414 level of indirection to members `objname', `errstring', `malloced'.
16415 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16416 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16417 it as the __longjmp argument (just pass 1 instead).
16418 (_dl_catch_error): Initialize C with argument pointers and address of
16419 volatile local ERRCODE rather than copying values out of C at return.
16421 2013-12-16 Joseph Myers <joseph@codesourcery.com>
16423 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16424 * math/auto-libm-test-out: Regenerated.
16425 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16426 (hypot_test_data): Likewise.
16427 (pow_test_data): Likewise.
16428 (pow_tonearest_test_data): Likewise.
16429 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16431 (func_calc_desc): Add mpfr_ff_f union field.
16432 (FUNC_mpfr_ff_f): New macro.
16433 (test_functions): Add atan2, hypot and pow.
16434 (special_fill_min): New function.
16435 (special_fill_minus_min): Likewise.
16436 (special_fill_min_subnorm): Likewise.
16437 (special_fill_minus_min_subnorm): Likewise.
16438 (special_real_inputs): Add min, -min, min_subnorm and
16440 (calc_generic_results): Handle mpfr_ff_f.
16441 * sysdeps/i386/fpu/libm-test-ulps: Update.
16442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16444 2013-12-16 Will Newton <will.newton@linaro.org>
16446 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16447 (Aligned Memory Blocks): Add documentation for aligned_alloc
16448 and suggest it as an alternative to posix_memalign.
16449 (Hooks for Malloc): Document __memalign_hook is also called
16450 for aligned_alloc. (Summary of Malloc): Add summary for
16451 aligned alloc. Document __memalign_hook is also called
16454 2013-12-16 Will Newton <will.newton@linaro.org>
16456 * manual/memory.texi (Malloc Examples): Clarify default
16457 alignment documentation. Suggest posix_memalign rather
16458 than memalign or valloc.
16459 (Aligned Memory Blocks): Remove suggestion to use memalign
16460 or valloc. Remove obsolete comment about BSD.
16461 Document memalign errno values and mark the function obsolete.
16462 Document posix_memalign returned error codes. Mark valloc
16463 as obsolete. (Hooks for Malloc): __memalign_hook is also
16464 called for posix_memalign and valloc.
16465 (Summary of Malloc): Add posix_memalign to function summary.
16466 __memalign_hook is also called for posix_memalign and valloc.
16468 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16470 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16474 (sloww): Use mynumber union. Expand ternary operator into
16475 if-else statements.
16476 (cslow): use mynumber union.
16478 2013-12-16 Allan McRae <allan@archlinux.org>
16480 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16481 * configure: Regenerated.
16483 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16486 * configure.ac: Added --enable-maintainer-mode. Check for
16487 autoconf when enabled.
16488 * configure: Regenerated.
16490 * nscd/nscd.service: New file.
16491 * nscd/nscd.tmpfiles: New file.
16493 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
16496 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16497 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16498 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16499 (strstr): Add __strstr_sse2_unaligned ifunc.
16500 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16501 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16502 (strcasestr): Remove __strcasestr_sse42 ifunc.
16503 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16504 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16507 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16509 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16510 * sysdeps/sh/bits/fenv.h: ... here.
16511 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16513 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16515 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16517 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16518 hypotf multiarch implementations.
16519 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16520 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16521 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16522 multiarch hypot for PPC64.
16523 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16524 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16525 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16526 multiarch hypotf for PPC64.
16528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16529 modff multiarch implementations.
16530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16533 multiarch modf for PPC64.
16534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16537 multiarch modff for PPC64.
16539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16540 and logl multiarch implementations.
16541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16544 multiarch logb for PPC64.
16545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16548 multiarch logb for PPC64.
16549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16552 multiarch logb for PPC64.
16554 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16555 isinff multiarch implementation.
16556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16560 multiarch isinf for PPC64.
16561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16564 multiarch isinff for PPC64.
16566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16567 finitef multiarch implementation.
16568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16572 multiarch finite for PPC64.
16573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16576 multiarch finitef for PPC64.
16578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16579 lrint multiarch implementation.
16580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16584 multiarch llrint for PPC64.
16585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16586 multiarch lrint for PPC64.
16588 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16589 copysignf multiarch implementation.
16590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16595 multiarch copysign for PPC64.
16596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16597 multiarch copysignf for PPC64.
16599 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16600 multiarch implementation.
16601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16609 multiarch llround for PPC64.
16610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16611 multiarch trunc for PPC64.
16612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16613 multiarch truncf for PPC64.
16615 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16616 multiarch implementation.
16617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16625 multiarch llround for PPC64.
16626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16627 multiarch round for PPC64.
16628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16629 multiarch roundf for PPC64.
16631 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16632 multiarch implementation.
16633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16641 multiarch llround for PPC64.
16642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16643 multiarch floor for PPC64.
16644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16645 multiarch floorf for PPC64.
16647 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16648 multiarch implementation.
16649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16657 multiarch llround for PPC64.
16658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16659 multiarch ceil for PPC64.
16660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16661 multiarch ceilf for PPC64.
16663 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16664 multiarch implementation.
16665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16672 multiarch llround for PPC64.
16673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16674 multiarch lround for PPC64.
16676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16677 multiarch implementation.
16678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16685 multiarch isnan for PPC64.
16686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16687 multiarch isnanf for PPC64.
16689 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16690 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16691 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16692 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16693 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16696 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16697 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16698 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16699 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16702 multiarch implementations.
16703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16704 (__libc_ifunc_impl_list): Likewise.
16705 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16706 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16707 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16708 multiarch stpcpy for PPC64.
16710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16711 multiarch implementations.
16712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16713 (__libc_ifunc_impl_list): Likewise.
16714 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16715 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16716 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16717 multiarch strcpy for PPC64.
16719 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16720 redefine function name.
16721 (_wordcopy_fwd_dest_aligned): Likewise.
16722 (_wordcopy_bwd_aligned): Likewise.
16723 (_wordcopy_bwd_dest_aligned): Likewise.
16724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16725 multiarch implementations.
16726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16727 (__libc_ifunc_impl_list): Likewise.
16728 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16729 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16730 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16731 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16732 multiarch wcscpy for PPC64.
16734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16735 multiarch implementations.
16736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16737 (__libc_ifunc_impl_list): Likewise.
16738 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16739 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16740 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16741 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16742 multiarch wcscpy for PPC64.
16744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16745 multiarch implementations.
16746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16747 (__libc_ifunc_impl_list): Likewise.
16748 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16749 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16750 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16751 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16752 multiarch wcsrchr for PPC64.
16754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16755 multiarch implementations.
16756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16757 (__libc_ifunc_impl_list): Likewise.
16758 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16759 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16760 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16761 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16762 multiarch wcschr for PPC64.
16764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16765 multiarch implementations.
16766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16767 (__libc_ifunc_impl_list): Likewise.
16768 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16769 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16770 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16771 multiarch strchrnul for PPC64.
16773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16776 (__libc_ifunc_impl_list): Likewise.
16777 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16778 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16779 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16780 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16786 (__libc_ifunc_impl_list): Likewise.
16787 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16788 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16789 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16790 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16794 multiarch implementations.
16795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16796 (__libc_ifunc_impl_list): Likewise.
16797 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16798 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16799 strncasecmp for PPC64.
16800 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16801 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16802 multiarch strncasecmp_l for PPC64.
16804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16805 multiarch implementations.
16806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16807 (__libc_ifunc_impl_list): Likewise.
16808 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16809 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16810 multiarch strcasecmp for PPC64.
16811 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16813 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16814 multiarch strcasecmp_l for PPC64.
16816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16819 (__libc_ifunc_impl_list): Likewise.
16820 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16821 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16822 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16828 (__libc_ifunc_impl_list): Likewise.
16829 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16830 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16831 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16834 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16836 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16837 (__libc_ifunc_impl_list): Likewise.
16838 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16839 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16840 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16841 rawmemrchr for PPC64.
16843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16846 (__libc_ifunc_impl_list): Likewise.
16847 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16848 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16849 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16855 (__libc_ifunc_impl_list): Likewise.
16856 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16857 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16858 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16861 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16864 (__libc_ifunc_impl_list): Likewise.
16865 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16866 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16867 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16870 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16871 avoid cretion of __bzero symbol.
16872 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16874 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16876 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16879 multiarch implementations.
16880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16881 (__libc_ifunc_impl_list): Likewise.
16882 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16883 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16884 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16885 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16887 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16888 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16889 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16890 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16891 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16893 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16895 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16896 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16899 (__libc_ifunc_impl_list): Likewise.
16900 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16901 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16902 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16903 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16906 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16907 multiarch for POWER/PPC64.
16908 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16909 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16910 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16911 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16912 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16913 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16914 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16915 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16916 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16919 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16920 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16921 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16922 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16923 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16924 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16925 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16926 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16927 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16928 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16929 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16930 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16931 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16932 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16933 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16942 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16944 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16946 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16948 * benchtests/Makefile (bench): Add exp2 and log2.
16949 (LDLIBS-bench-exp2): Add -lm.
16950 (LDLIBS-bench-log2): Likewise.
16951 * benchtests/exp2-inputs: New inputs file.
16952 * benchtests/log2-inputs: New inputs file.
16953 * benchtests/log-inputs: Add new inputs.
16954 * benchtests/tan-inputs: Likewise.
16956 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16958 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16960 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16961 (csloww2): ... from here.
16963 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16964 instead of structures.
16965 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16966 (POLYNOMIAL): Likewise.
16967 (TAYLOR_SLOW): Likewise.
16973 (sloww1); Likewise.
16974 (sloww2): Likewise.
16975 (bsloww1): Likewise.
16976 (bsloww2): Likewise.
16977 (cslow2): Likewise.
16978 (csloww): Likewise.
16979 (csloww1): Likewise.
16980 (csloww2): Likewise.
16982 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
16984 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16985 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16986 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16987 * malloc/hooks.c (realloc_check): Likewise.
16989 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16990 * malloc/arena.c: Remove PER_THREAD conditional.
16991 [!PER_THREAD]: Remove code.
16992 (ptmalloc_unlock_all2): Likewise.
16993 (ptmalloc_init): Likewise.
16994 (_int_new_arena): Likewise.
16995 (arena_get2): Likewise.
16996 * malloc/hooks.c (__malloc_get_state): Likewise.
16997 (__malloc_set_state): Likewise.
16998 * malloc/malloc.c: Likewise.
16999 (struct malloc_state): Likewise.
17000 (struct malloc_par): Likewise.
17001 (__libc_realloc): Likewise.
17002 (__libc_mallopt): Likewise.
17004 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17006 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17008 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
17010 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17011 macro to a function. Check for zero perturb_byte.
17012 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17014 * malloc/malloc.c: (force_reg): Remove.
17015 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17016 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17017 force_reg by atomic_forced_read.
17018 * malloc/arena.c (ptmalloc_init): Likewise.
17019 * malloc/hooks.c (top_check): Likewise.
17021 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17025 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17029 2013-12-08 Joseph Myers <joseph@codesourcery.com>
17031 * math/auto-libm-test-in: Add tests of lgamma.
17032 * math/auto-libm-test-out: Regenerated.
17033 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17034 (M_LOG_2_SQRT_PIl): Likewise.
17035 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17036 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17038 (func_calc_desc): Add mpfr_f_f1 union field.
17039 (ARGS1): New macro.
17047 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17048 (test_functions): Add lgamma.
17049 (calc_generic_results): Handle mpfr_f_f1.
17050 * sysdeps/i386/fpu/libm-test-ulps: Update.
17051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17053 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17055 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17056 __mpn_add_n for PowerPC64/POWER7.
17057 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17058 __mpn_sub_n for PowerPC64/POWER7.
17060 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17061 __mpn_addmul_1 for PowerPC64.
17062 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17063 __mpn_submul_1 for PowerPC64.
17064 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17066 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17069 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17072 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17074 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17076 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17078 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17079 add multiarch folders.
17080 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17081 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17082 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17083 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17084 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17085 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17086 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17087 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17088 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17089 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17090 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17099 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17105 multiarch __ieee754_hypot for PowerPC32.
17106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17111 multiarch __ieee754_hypotf for PowerPC32.
17113 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17114 long_double_symbol only if __logbl is defined.
17115 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17116 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17117 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17118 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17120 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17121 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17122 path for implementation.
17123 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17124 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17126 logb, and logbl multiarch implementations for PowerPC32.
17127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17132 multiarch logb for PowerPC32.
17133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17138 multiarch logbf for PowerPC32.
17139 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17143 multiarch logbl implementation for PowerPC32.
17145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17146 and modff multiarch implementations.
17147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17152 multiarch modf for PowerPC32.
17153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17158 multiarch modff for PowerPC32.
17160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17161 and lrintf multiarch implementations.
17162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17167 multiarch lrint for PowerPC32.
17168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17169 file: multiarch lrintf for PowerPC32.
17171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17172 and lroundf multiarch implementations.
17173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17180 multiarch lround for PowerPC32.
17181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17182 file: multiarch lroundf for PowerPC32.
17184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17185 copysign and copysignf multiarch implementations.
17186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17191 file: multiarch copysign for PowerPC32.
17192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17193 file: multiarch copysignf for PowerPC32.
17195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17196 and truncf multiarch implementations.
17197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17202 multiarch trunc for PowerPC32.
17203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17208 multiarch truncf for PowerPC32.
17210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17211 and roundf multiarch implementations.
17212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17217 multiarch round for PowerPC32.
17218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17223 multiarch roundf for PowerPC32.
17225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17226 and floorf multiarch implementations.
17227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17232 multiarch floor for PowerPC32.
17233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17238 multiarch floorf for PowerPC32.
17240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17241 and ceilf multiarch implementations.
17242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17247 multiarch ceil for PowerPC32.
17248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17253 multiarch ceilf for PowerPC32.
17255 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17257 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17258 FINITEF is defined.
17259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17260 and finitef multiarch implementations.
17261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17266 multiarch finite for PowerPC32.
17267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17270 file: multiarch finitef for PowerPC32.
17272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17273 and isinff multiarch implementations.
17274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17279 multiarch isinf for PowerPC32.
17280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17283 multiarch isinff for PowerPC32.
17285 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17286 alias when __isnan is defined.
17287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17288 and isnanf multiarch implementations.
17289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17298 multiarch isnan for PowerPC32.
17299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17304 multiarch isnanf for PowerPC32.
17306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17307 and sqrtf multiarch implementations.
17308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17313 multiarch sqrt for PowerPC32.
17314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17319 multiarch sqrtf for PowerPC32.
17321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17322 and llroundf multiarch implementations.
17323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17330 file: multiarch llround for PowerPC32.
17331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17332 file: multiarch llroundf for PowerPC32.
17334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17335 multiarch PowerPC32 fpu implementations.
17336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17341 multiarch llrint for PowerPC32.
17342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17351 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17353 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17355 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17357 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17358 multiarch wordcopy for PPC32.
17359 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17362 (__libc_ifunc_impl_list): Likewise.
17363 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17364 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17365 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17366 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17367 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17368 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17370 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17373 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17375 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17378 multiarch wcscpy for PPC32.
17379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17382 (__libc_ifunc_impl_list): Likewise.
17383 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17384 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17385 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17386 sysdeps/powerpc/power6/wcscpy.c.
17388 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17389 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17391 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17393 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17395 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17396 multiarch wcsrchr for PPC32.
17397 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17399 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17400 (__libc_ifunc_impl_list): Likewise.
17401 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17402 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17403 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17404 sysdeps/powerpc/power6/wcsrchr.c.
17406 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17408 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17411 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17412 multiarch wcschr for PPc32.
17413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17416 (__libc_ifunc_impl_list): Likewise.
17417 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17418 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17419 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17420 sysdeps/powerpc/power6/wcschr.c.
17422 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17423 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17425 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17426 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17427 file: multiarch strchr for PPC32.
17428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17431 (__libc_ifunc_impl_list): Likewise.
17433 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17435 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17437 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17439 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17440 multiarch strchrnul for PPC32.
17441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17444 (__libc_ifunc_impl_list): Likewise.
17446 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17448 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17449 multiarch strncasecmp for PPC32.
17450 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17452 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17453 multiarch strncasecmp_l for PPC32.
17454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17455 strncasecmp multiarch objects.
17456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17457 (__libc_ifunc_impl_list): Likewise.
17459 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17461 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17462 multiarch strncasecmp for PPC32.
17463 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17465 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17466 multiarch strcasecmp_l for PPC32.
17467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17470 (__libc_ifunc_impl_list): Likewise.
17472 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17474 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17476 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17477 multiarch strncmp for PPC32.
17478 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17480 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17481 (__libc_ifunc_impl_list): Likewise.
17483 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17484 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17486 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17487 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17491 (__libc_ifunc_impl_list): Likewise.
17493 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17495 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17497 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17501 (__libc_ifunc_impl_list): Likewise.
17503 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17505 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17507 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17508 multiarch rawmemchr for PPC32.
17509 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17511 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17512 (__libc_ifunc_impl_list): Likewise.
17514 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17516 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17518 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17519 file: memrchr multiarch for PPC32.
17520 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17522 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17523 (__libc_ifunc_impl_list): Likewise.
17525 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17526 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17528 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17529 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17530 multiarch memchr for PPC32.
17531 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17533 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17534 (__libc_ifunc_impl_list): Likewise.
17536 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17537 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17539 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17541 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17542 file: multiarch mempcpy for PPC32.
17543 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17545 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17546 (__libc_ifunc_impl_list): Likewise.
17548 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17549 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17550 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17551 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17552 multiarch bzero for PPC32.
17553 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17555 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17557 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17558 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17559 file: multiarch memset for PPC32.
17560 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17562 memset multiarch objects.
17563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17564 (__libc_ifunc_impl_list): Likewise.
17566 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17568 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17569 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17571 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17572 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17574 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17575 (__libc_ifunc_impl_list): Likewise.
17577 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17578 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17579 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17581 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17583 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17585 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17586 multiarch memcpy for PPC32.
17587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17590 (__libc_ifunc_impl_list): Likewise.
17592 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17593 support multiarch for POWER/PPC32.
17594 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17596 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17598 Implies file to make multiarch folder appers before the fpu and
17599 default folder for power4 configuration.
17601 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17603 * scripts/bench.pl: Append volatile keyword to type.
17605 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17607 * sysdeps/sh/sotruss-lib.c: New file.
17608 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17610 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17614 2013-12-05 Joseph Myers <joseph@codesourcery.com>
17617 * math/w_tgamma.c: Include <errno.h>.
17618 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17619 * math/w_tgammaf.c: Include <errno.h>.
17620 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17621 * math/w_tgammal.c: Include <errno.h>.
17622 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17623 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17624 underflow. Add more tgamma tests.
17625 * math/auto-libm-test-out: Regenerated.
17626 * sysdeps/i386/fpu/libm-test-ulps: Update.
17627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17629 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17630 sin, sinh, tan, tanh, tgamma, y0 and y1.
17631 * math/auto-libm-test-out: Regenerated.
17632 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17633 (TEST_COND_x86): Likewise.
17634 (M_E2l): Remove macro.
17636 (M_2_SQRT_PIl): Likewise.
17637 (M_SQRT_PIl): Likewise.
17638 (M_1_DIV_El): Likewise.
17639 (log_test_data): Use AUTO_TESTS_f_f.
17640 (log10_test_data): Likewise.
17641 (log1p_test_data): Likewise.
17642 (log2_test_data): Likewise.
17643 (sin_test_data): Likewise.
17644 (sin_tonearest_test_data): Likewise.
17645 (sin_towardzero_test_data): Likewise.
17646 (sin_downward_test_data): Likewise.
17647 (sin_upward_test_data): Likewise.
17648 (sinh_test_data): Likewise.
17649 (sinh_tonearest_test_data): Likewise.
17650 (sinh_towardzero_test_data): Likewise.
17651 (sinh_downward_test_data): Likewise.
17652 (sinh_upward_test_data): Likewise.
17653 (tan_test_data): Likewise.
17654 (tan_tonearest_test_data): Likewise.
17655 (tan_towardzero_test_data): Likewise.
17656 (tan_downward_test_data): Likewise.
17657 (tan_upward_test_data): Likewise.
17658 (tanh_test_data): Likewise.
17659 (tgamma_test_data): Likewise.
17660 (y0_test_data): Likewise.
17661 (y1_test_data): Likewise.
17662 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17663 (special_real_inputs): Add pi/4.
17664 * sysdeps/i386/fpu/libm-test-ulps: Update.
17665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17667 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17669 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17670 "longjmp_target" static probes.
17671 (__longjmp): Rename to __longjmp_symbol.
17672 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17673 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17674 on which longjmp to generate.
17675 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17676 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17678 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17679 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17680 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17681 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17682 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17683 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17685 __longjmp_symbol based on which __longjmp to generate.
17686 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17688 (setjmp): Rename to setjmp_symbol.
17689 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17690 (_setjmp): Rename to _setjmp_symbol.
17691 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17692 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17693 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17694 which setjmp to generate.
17695 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17696 "longjmp_target" static probes.
17698 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17700 * benchtests/README: Add note about output arguments.
17701 * benchtests/bench-sincos.c: Remove file.
17702 * benchtests/sincos-inputs: New file.
17703 * scripts/bench.pl: Identify output arguments and define
17704 static variables for them.
17706 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17709 * Makefile (INSTALL): Add install-plain.texi as the primary
17711 * manual/install-plain.texi: New file.
17712 * manual/install.texi: Include node directive only for
17713 non-plaintext output.
17715 2013-12-04 Joseph Myers <joseph@codesourcery.com>
17717 * stdlib/longlong.h: Update from GCC.
17721 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17722 * math/w_j0f.c (y0f): Likewise.
17723 * math/w_j0l.c (__y0l): Likewise.
17724 * math/w_j1.c (y1): Likewise.
17725 * math/w_j1f.c (y1f): Likewise.
17726 * math/w_j1l.c (__y1l): Likewise
17727 * math/w_jn.c (yn): Likewise.
17728 * math/w_jnf.c (ynf): Likewise.
17729 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17730 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17731 value for Bessel function domain errors outside _SVID_ mode.
17732 Adjust sign of return value for yn (negative integer, 0).
17733 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17734 by zero in return for negative x and set sign appropriately for
17736 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17737 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17738 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17739 expectations in error cases.
17740 (y1_test_data): Likewise.
17741 (yn_test_data): Likewise.
17742 * sysdeps/i386/fpu/libm-test-ulps: Update.
17743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17745 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17747 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17748 "64" to "64-v1". Add "64-v2".
17749 (abi-64-options): Rename to ...
17750 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17751 (abi-64-condition): Rename to ...
17752 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17753 (abi-64-ld-soname): Rename to ...
17754 (abi-64-v1-ld-soname): ... this.
17755 (abi-64-v2-options): Define.
17756 (abi-64-v2-condition): Likewise.
17757 (abi-64-v2-ld-soname): Likewise.
17758 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17759 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17764 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17765 Alan Modra <amodra@gmail.com>
17767 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17768 New versions for use with the ELFv2 ABI.
17769 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17770 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17772 (struct La_ppc64v2_retval): Likewise.
17773 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17774 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17775 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17776 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17777 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17778 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17779 Do not save or restore CR.
17780 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17781 (_dl_profile_resolve): Do no save or restore CR. Support extended
17782 return values for ELFv2 ABI. Fix location of FPR return registers.
17783 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17784 updated values for _CALL_ELF == 2.
17785 (La_regs, La_retval, int_retval): Likewise.
17787 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17789 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17790 (FRAME_MIN_SIZE_PARM): Likewise.
17791 (FRAME_BACKCHAIN): Likewise.
17792 (FRAME_CR_SAVE): Likewise.
17793 (FRAME_LR_SAVE): Likewise.
17794 (FRAME_TOC_SAVE): Likewise.
17795 (FRAME_PARM_SAVE): Likewise.
17796 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17797 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17798 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17799 (call_mcount_parm_offset): New macro.
17800 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17801 (PROF): Use symbolic stack frame offsets.
17802 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17803 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17804 Redefine in terms of FRAME_MIN_SIZE.
17805 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17806 (_dl_profile_resolve): Likewise. Update comment.
17807 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17808 symbols stack frame offsets.
17809 (__sigsetjmp): Likewise.
17810 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17811 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17812 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17813 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17816 (FRAME_BACKCHAIN): Remove.
17817 (FRAME_CR_SAVE): Likewise.
17818 (FRAME_LR_SAVE): Likewise.
17819 (FRAME_COMPILER_DW): Likewise.
17820 (FRAME_LINKER_DW): Likewise.
17821 (FRAME_TOC_SAVE): Likewise.
17822 (FRAME_PARM_SAVE): Likewise.
17823 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17824 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17825 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17827 (CHECK_SP): Use symbolic stack frame offsets.
17828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17829 zone" instead of caller's parameter save area for temp storage.
17830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17831 Likewise. Also, use symbolic stack frame offsets.
17832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17833 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17834 our own stack frame instead of the caller's.
17835 (__socket): Use symbolic stack frame offsets.
17837 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17838 Alan Modra <amodra@gmail.com>
17840 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17842 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17843 (PPC64_LOCAL_ENTRY_OFFSET): Define.
17844 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17846 (elf_machine_fixup_plt): Call it.
17847 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17849 (elf_machine_rela): Update call to elf_machine_plt_conflict.
17850 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17851 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17852 r2 before calling target.
17854 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17855 Alan Modra <amodra@gmail.com>
17857 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17858 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17859 versions of macros to support ELFv2 ABI.
17860 (LOCALENTRY): New macro.
17861 (ENTRY, EALIGN): Use it.
17862 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17863 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17864 fall through into ENTRY entry point.
17865 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17866 Only define if _CALL_ELF != 2.
17868 (elf_machine_matches_host): Verify ABI version matches.
17869 (RTLD_START): Use LOCALENTRY.
17870 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17871 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17872 (PLT_ENTRY_WORDS): New macro.
17873 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17874 (elf_machine_runtime_setup): Support ELFv2 ABI.
17875 (elf_machine_fixup_plt): Likewise.
17876 (elf_machine_plt_conflict): Likewise.
17877 (resolve_ifunc): Likewise.
17878 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17879 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17882 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17884 (makecontext): Support ELFv2 ABI.
17885 * elf/elf.h (EF_PPC64_ABI): Define.
17887 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17889 * sysdeps/powerpc/powerpc64/sysdep.h
17890 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17891 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17892 (ENTRY) [ASSEMBLER]: ... but instead here ...
17893 (EALIGN) [ASSEMBLER]: ... and here.
17894 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17895 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17896 (ENTRY_2) [!ASSEMBLER]: Use it.
17897 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17898 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
17899 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17900 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17901 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17903 Use PPC64_LOAD_FUNCPTR.
17905 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17907 2013-12-04 Alan Modra <amodra@gmail.com>
17909 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17910 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17911 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17912 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17914 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17915 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17916 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17917 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17918 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17919 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17921 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17924 (__makecontext): Fix incorrect CFI when backtracing out of
17925 context created via makecontext.
17926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17927 (__setcontext): Fix incorrect CFI during switch to new context.
17928 (__novec_setcontext): Likewise.
17930 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17933 * time/strptime_l.c (__strptime_internal): Allow modifiers
17935 * time/tst-strptime.c (day_tests): Add testcase.
17937 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17939 * scripts/bench.pl: Skip over blank lines.
17941 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17944 * manual/time.texi (Calendar Time): Clarify what timezone functions
17947 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17951 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17953 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17955 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17956 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17957 * debug/memset_chk.c (__memset_chk): Likewise.
17958 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17959 * debug/strncpy_chk.c: Likewise.
17961 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17965 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17966 (__ieee754_exp): For possibly underflowing results, check size of
17967 result and force underflow exception if required.
17968 * math/auto-libm-test-in: Add more tests of exp.
17969 * math/auto-libm-test-out: Regenerated.
17970 * sysdeps/i386/fpu/libm-test-ulps: Update.
17971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17974 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17975 * math/w_exp2f.c (__exp2f): Likewise.
17976 * math/w_exp2l.c (__exp2l): Likewise.
17977 * math/auto-libm-test-in: Do not allow missing errno on exp2
17979 * math/auto-libm-test-out: Regenerated.
17981 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
17984 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17985 handle filename validation.
17986 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17989 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17992 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17993 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17994 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17996 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17997 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17998 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17999 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18000 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18001 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18002 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18003 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18004 Add more erfc tests.
18005 * math/auto-libm-test-out: Regenerated.
18006 * sysdeps/i386/fpu/libm-test-ulps: Update.
18007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18009 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18010 exp2, expm1, j0 and j1.
18011 * math/auto-libm-test-out: Regenerated.
18012 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18013 (erfc_test_data): Likewise.
18014 (exp_test_data): Likewise.
18015 (exp_tonearest_test_data): Likewise.
18016 (exp_towardzero_test_data): Likewise.
18017 (exp_downward_test_data): Likewise.
18018 (exp_upward_test_data): Likewise.
18019 (exp10_test_data): Likewise.
18020 (exp2_test_data): Likewise.
18021 (expm1_test_data): Likewise.
18022 (j0_test_data): Likewise.
18023 (j1_test_data): Likewise.
18024 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18025 (input_flag_type): Add flag_xfail_rounding.
18026 (input_flags): Add xfail-rounding.
18027 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18028 (output_for_one_input_case): Handle flag_xfail_rounding.
18029 * sysdeps/i386/fpu/libm-test-ulps: Update.
18030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18032 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18035 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18038 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18041 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18042 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18043 (STAP_PROBE0): New macro.
18044 (STAP_PROBE1): Likewise.
18045 (STAP_PROBE2): Likewise.
18046 (STAP_PROBE3): Likewise.
18047 (STAP_PROBE4): Likewise.
18049 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
18051 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18053 2013-12-02 Steve Ellcey <sellcey@mips.com>
18055 * benchtests/Makefile (bench): Add sqrt.
18056 (LDLIBS-bench-sqrt): New.
18057 * benchtests/sqrt-input: New.
18059 2013-12-02 Pavel Simerda <psimerda@redhat.com>
18061 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18062 (GAIH_EAI): Likewise.
18063 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18064 (gaih_inet): Likewise.
18065 (getaddrinfo): Don't use GAIH_EAI.
18067 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18068 (struct gaih): Remove definition.
18070 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18072 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18073 Use HERRNOP directly.
18075 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18079 2013-11-30 Joseph Myers <joseph@codesourcery.com>
18081 * math/gen-auto-libm-tests.c (test_functions): Add more
18082 single-argument functions.
18083 (special_fill_pi_2): New function.
18084 (special_fill_minus_pi_2): Likewise.
18085 (special_fill_pi_6): Likewise.
18086 (special_fill_minus_pi_6): Likewise.
18087 (special_fill_pi_3): Likewise.
18088 (special_fill_2pi_3): Likewise.
18089 (special_fill_e): Likewise.
18090 (special_fill_1_e): Likewise.
18091 (special_fill_e_minus_1): Likewise.
18092 (special_real_inputs): Add more special inputs.
18093 (output_for_one_input_case): Do not require ERANGE on underflow to
18094 zero if round-to-nearest result does not underflow to zero, unless
18095 exact results required.
18096 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18097 atan, atanh, cbrt, cos and cosh.
18098 * math/auto-libm-test-out: Regenerated.
18099 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18100 (acos_tonearest_test_data): Likewise.
18101 (acos_towardzero_test_data): Likewise.
18102 (acos_downward_test_data): Likewise.
18103 (acos_upward_test_data): Likewise.
18104 (acosh_test_data): Likewise.
18105 (asin_test_data): Likewise.
18106 (asin_tonearest_test_data): Likewise.
18107 (asin_towardzero_test_data): Likewise.
18108 (asin_upward_test_data): Likewise.
18109 (asinh_test_data): Likewise.
18110 (atan_test_data): Likewise.
18111 (atanh_test_data): Likewise.
18112 (cbrt_test_data): Likewise.
18113 (cos_test_data): Likewise.
18114 (cos_tonearest_test_data): Likewise.
18115 (cos_towardzero_test_data): Likewise.
18116 (cos_downward_test_data): Likewise.
18117 (cos_upward_test_data): Likewise.
18118 (cosh_test_data): Likewise.
18119 (cosh_tonearest_test_data): Likewise.
18120 (cosh_towardzero_test_data): Likewise.
18121 (cosh_downward_test_data): Likewise.
18122 (cosh_upward_test_data): Likewise.
18123 * sysdeps/i386/fpu/libm-test-ulps: Update.
18124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18126 2013-11-29 Joseph Myers <joseph@codesourcery.com>
18129 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18130 * math/w_exp10f.c (__exp10f): Likewise.
18131 * math/w_exp10l.c (__exp10l): Likewise.
18132 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18133 errno settings in existing tests.
18136 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18137 precision control set to double precision.
18138 * sysdeps/i386/fpu/w_sqrt.c: New file.
18139 * math/auto-libm-test-in: Add more tests.
18140 * math/auto-libm-test-out: Update.
18142 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18143 (sqrt_test_tonearest): New function.
18144 (sqrt_towardzero_test_data): New variable.
18145 (sqrt_test_towardzero): New function.
18146 (sqrt_downward_test_data): New variable.
18147 (sqrt_test_downward): New function.
18148 (sqrt_upward_test_data): New variable.
18149 (sqrt_test_upward): New function.
18150 (main): Call the new functions.
18152 * math/gen-auto-libm-tests.c: New file.
18153 * math/auto-libm-test-in: Likewise.
18154 * math/auto-libm-test-out: New generated file.
18155 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18157 (%beautify): Add generated representations of zero.
18158 (top level): Set $auto_input and call parse_auto_input.
18159 (beautify): Remove trailing "f" from hex float constants.
18160 (parse_args): Handle XFAIL_TEST.
18161 (convert_condition): New function.
18162 (or_value): Likewise.
18163 (or_cond_value): Likewise.
18164 (generate_testfile): Handle AUTO_TESTS_* lines.
18165 (parse_auto_input): New function.
18166 * math/libm-test.inc (XFAIL_TEST): New macro.
18167 (ERRNO_UNCHANGED): Update value.
18168 (ERRNO_EDOM): Likewise.
18169 (ERRNO_ERANGE): Likewise.
18170 (IGNORE_RESULT): Likewise.
18171 (TEST_COND_flt_32): New macro.
18172 (TEST_COND_dbl_64): Likewise.
18173 (TEST_COND_ldbl_96_intel): Likewise.
18174 (TEST_COND_ldbl_96_m68k): Likewise.
18175 (TEST_COND_ldbl_128): Likewise.
18176 (TEST_COND_ldbl_128ibm): Likewise.
18177 (TEST_COND_long32): Likewise.
18178 (TEST_COND_long64): Likewise.
18179 (TEST_COND_before_rounding): Likewise.
18180 (TEST_COND_after_rounding): Likewise.
18181 (enable_test): Handle XFAIL_TEST flag.
18182 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18183 with finite results.
18184 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18185 auto-libm-test-out.
18187 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18188 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18191 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18192 __tls_get_addr_internal instead of __tls_get_offset in order to
18193 avoid GOT pointer dependency. Make rtld export
18194 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18195 __tls_get_addr since we are a __tls_get_offset platform.
18196 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18197 GOT pointer being set up before.
18198 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18200 2013-11-28 Joseph Myers <joseph@codesourcery.com>
18202 * manual/math.texi (Errors in Math Functions): Document accuracy
18206 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18207 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18208 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18210 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18212 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18223 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18224 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18225 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18226 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18227 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18229 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18231 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18233 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18234 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18235 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18236 atomic-feupdateenv and flt-rounds.
18237 * sysdeps/powerpc/nofpu/Versions (libc): Add
18238 __atomic_feholdexcept, __atomic_feclearexcept,
18239 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18240 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18241 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18242 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18243 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18248 * manual/arith.texi (FP Exceptions): Document that exceptions may
18249 not be raised when matherr is used.
18250 (Math Error Reporting): Document overflow in directed rounding
18251 modes. Document that errno may not be set when finite values are
18252 returned on overflow. Document intent to set errno on underflow
18253 only for underflow to zero.
18256 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18257 round-to-nearest then adjust result for other rounding modes.
18258 * include/fenv.h (fegetround): Use libm_hidden_proto.
18259 * math/fegetround.c (fegetround): Use libm_hidden_def.
18260 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18261 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18262 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18263 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18265 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18266 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18267 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18268 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18270 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18273 * nss/Versions (libnss_files): Add
18274 _nss_files_gethostbyname3_r.
18275 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18277 (HOST_DB_LOOKUP): Remove macro.
18278 (_nss_files_gethostbyname_r): Implement function without the
18279 HOST_DB_LOOKUP macro.
18280 (_nss_files_gethostbyname2_r): Likewise.
18282 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
18284 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18286 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
18288 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18289 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18292 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18294 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18295 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18296 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18297 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18298 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18299 __fe_nomask_env_priv and attribute_hidden.
18300 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18301 (libc_feupdateenv_test_ppc): Likewise.
18302 (libc_feresetround_ppc): Likewise.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18304 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18305 compat_symbol macro.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18307 (__fe_nomask_env): Likewise.
18308 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18310 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18312 * string/Makefile: Remove ifunc tests.
18313 * string/test-string.h: Define TEST_IFUNC.
18314 * string/test-bcopy-ifunc.c: Remove.
18315 * string/test-bzero-ifunc.c: Likewise.
18316 * string/test-memccpy-ifunc.c: Likewise.
18317 * string/test-memchr-ifunc.c: Likewise.
18318 * string/test-memcmp-ifunc.c: Likewise.
18319 * string/test-memcpy-ifunc.c: Likewise.
18320 * string/test-memmem-ifunc.c: Likewise.
18321 * string/test-memmove-ifunc.c: Likewise.
18322 * string/test-mempcpy-ifunc.c: Likewise.
18323 * string/test-memrchr-ifunc.c: Likewise.
18324 * string/test-memset-ifunc.c: Likewise.
18325 * string/test-rawmemchr-ifunc.c: Likewise.
18326 * string/test-stpcpy-ifunc.c: Likewise.
18327 * string/test-stpncpy-ifunc.c: Likewise.
18328 * string/test-strcasecmp-ifunc.c: Likewise.
18329 * string/test-strcasestr-ifunc.c: Likewise.
18330 * string/test-strcat-ifunc.c: Likewise.
18331 * string/test-strchr-ifunc.c: Likewise.
18332 * string/test-strchrnul-ifunc.c: Likewise.
18333 * string/test-strcmp-ifunc.c: Likewise.
18334 * string/test-strcpy-ifunc.c: Likewise.
18335 * string/test-strcspn-ifunc.c: Likewise.
18336 * string/test-strlen-ifunc.c: Likewise.
18337 * string/test-strncasecmp-ifunc.c: Likewise.
18338 * string/test-strncat-ifunc.c: Likewise.
18339 * string/test-strncmp-ifunc.c: Likewise.
18340 * string/test-strncpy-ifunc.c: Likewise.
18341 * string/test-strnlen-ifunc.c: Likewise.
18342 * string/test-strpbrk-ifunc.c: Likewise.
18343 * string/test-strrchr-ifunc.c: Likewise.
18344 * string/test-strspn-ifunc.c: Likewise.
18345 * string/test-strstr-ifunc.c: Likewise.
18347 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18349 * benchtests/Makefile: Remove ifunc tests.
18350 * benchtests/bench-string.h: Define TEST_IFUNC.
18351 * benchtests/bench-bcopy-ifunc.c: Remove.
18352 * benchtests/bench-bzero-ifunc.c: Likewise.
18353 * benchtests/bench-memccpy-ifunc.c: Likewise.
18354 * benchtests/bench-memchr-ifunc.c: Likewise.
18355 * benchtests/bench-memcmp-ifunc.c: Likewise.
18356 * benchtests/bench-memcpy-ifunc.c: Likewise.
18357 * benchtests/bench-memmem-ifunc.c: Likewise.
18358 * benchtests/bench-memmove-ifunc.c: Likewise.
18359 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18360 * benchtests/bench-memrchr-ifunc.c: Likewise.
18361 * benchtests/bench-memset-ifunc.c: Likewise.
18362 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18363 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18364 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18365 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18366 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18367 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18368 * benchtests/bench-strcat-ifunc.c: Likewise.
18369 * benchtests/bench-strchr-ifunc.c: Likewise.
18370 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18371 * benchtests/bench-strcmp-ifunc.c: Likewise.
18372 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18373 * benchtests/bench-strcpy-ifunc.c: Likewise.
18374 * benchtests/bench-strcspn-ifunc.c: Likewise.
18375 * benchtests/bench-strlen-ifunc.c: Likewise.
18376 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18377 * benchtests/bench-strncat-ifunc.c: Likewise.
18378 * benchtests/bench-strncmp-ifunc.c: Likewise.
18379 * benchtests/bench-strncpy-ifunc.c: Likewise.
18380 * benchtests/bench-strnlen-ifunc.c: Likewise.
18381 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18382 * benchtests/bench-strrchr-ifunc.c: Likewise.
18383 * benchtests/bench-strsep-ifunc.c: Likewise.
18384 * benchtests/bench-strspn-ifunc.c: Likewise.
18385 * benchtests/bench-strstr-ifunc.c: Likewise.
18387 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18389 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18391 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18393 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18394 * rt/aio.h: Likewise.
18395 * sysdeps/gnu/bits/utmp.h: Likewise.
18396 * sysdeps/gnu/bits/utmpx.h: Likewise.
18397 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18398 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18399 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18400 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18401 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18402 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18403 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18404 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18405 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18406 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18407 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18408 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18409 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18411 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18412 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18413 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18414 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18415 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18416 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18417 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18418 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18419 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18420 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18421 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18422 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18423 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18424 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18425 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18426 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18427 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18428 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18429 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18430 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18431 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18432 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18433 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18434 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18435 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18436 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18437 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18438 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18440 2013-11-25 Carlos O'Donell <carlos@redhat.com>
18443 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18444 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18446 2013-11-25 Joseph Myers <joseph@codesourcery.com>
18448 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18449 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18452 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18454 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18455 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18456 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18457 (__fesetround): Remove define.
18458 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18459 rounding and exceptions handling.
18460 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18461 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18462 (__fe_nomask_env): Likewise.
18463 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18464 __fegetround instead of fegetround.
18465 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18466 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18468 2013-11-21 Roland McGrath <roland@hack.frob.com>
18470 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18473 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18475 2013-11-21 Meador Inge <meadori@codesourcery.com>
18478 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18479 (encrypt_r): Likewise.
18480 * malloc/obstack.h (obstack_free): Likewise.
18481 * posix/unistd.h (encrypt): Likewise.
18483 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18485 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18486 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18487 DL_CALL_DT_FINI() that call the functions directly.
18488 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18489 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18490 * elf/dl-fini.c: Likewise.
18492 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
18494 * malloc/hooks.c (memalign_check): Add alignment rounding.
18495 * malloc/malloc.c (_mid_memalign): New function.
18496 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18497 Implement by calling _mid_memalign.
18498 * manual/probes.texi (Memory Allocation Probes): Remove
18499 memory_valloc_retry and memory_pvalloc_retry.
18501 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18503 * locale/programs/locarchive.c (open_archive): Add const
18504 qualifier to ARCHIVEFNAME and copy default fname to
18508 * libio/tst-widetext.input: Rename Oriya to Odia.
18509 * locale/iso-639.def: Likewise.
18511 * manual/probes.texi (Mathematical Function Probes): Add
18512 documentation for sin, cos, asin and acos probes.
18513 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18514 (__sin32): Add slowasin probe.
18515 (__cos32): Add slowacos probe.
18516 (__mpsin): Add slowsin probe.
18517 (__mpcos): Add slowcos probe.
18519 2013-11-19 Joseph Myers <joseph@codesourcery.com>
18522 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18523 thread-local __sim_exceptions_thread and global
18524 __sim_exceptions_global.
18525 (__sim_disabled_exceptions): Change to thread-local
18526 __sim_disabled_exceptions_thread and global
18527 __sim_disabled_exceptions_global.
18528 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18529 and global __sim_round_mode_global.
18530 (__simulate_exceptions): Use thread-local floating-point state and
18531 set global state from it as needed.
18532 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18533 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18534 __sim_round_mode_thread.
18535 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18536 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18537 and global __sim_exceptions_global.
18538 (__sim_disabled_exceptions): Change to thread-local
18539 __sim_disabled_exceptions_thread and global
18540 __sim_disabled_exceptions_global.
18541 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18542 and global __sim_round_mode_global.
18543 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18544 (SIM_SET_GLOBAL): Likewise.
18545 * sysdeps/powerpc/soft-fp/sfp-machine.h
18546 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18547 __sim_round_mode_thread.
18548 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18549 __sim_disabled_exceptions_thread.
18550 (__sim_exceptions): Change to __sim_exceptions_thread.
18551 (__sim_disabled_exceptions): Change to
18552 __sim_disabled_exceptions_thread.
18553 (__sim_round_mode): Change to __sim_round_mode_thread.
18554 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18555 thread-local floating-point state and set global state from it as
18557 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18558 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18559 (__sim_disabled_exceptions): Remove extern declaration.
18560 (feenableexcept): Use thread-local floating-point state and set
18561 global state from it as needed.
18562 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18563 extern declaration.
18564 (__sim_disabled_exceptions): Likewise.
18565 (__sim_round_mode): Likewise.
18566 (__fegetenv): Use thread-local floating-point state.
18567 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18568 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18569 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18570 floating-point state and set global state from it as needed.
18571 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18572 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18573 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18575 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18576 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18578 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18579 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18580 Use __sim_round_mode_thread.
18581 * math/test-fenv-tls.c: New file.
18582 * math/Makefile (tests): Add test-fenv-tls.
18583 ($(objpfx)test-fenv-tls): Depend on
18584 $(common-objpfx)nptl/libpthread.so.
18586 2013-11-19 Andreas Schwab <schwab@suse.de>
18588 * locale/programs/locale.c (show_info): Decode wordarray elements.
18589 * locale/categories.def (LC_MONETARY): Add element for
18590 _NL_MONETARY_CRNCYSTR.
18591 * locale/C-monetary.c (conversion_rate): New variable.
18592 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18595 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18597 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18598 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18600 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18602 * elf/Makefile (tst-auxv): New test.
18603 * elf/tst-auxv.c: New
18604 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18606 2013-11-18 Joseph Myers <joseph@codesourcery.com>
18608 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18609 (hidden_proto): Caller changed.
18610 (hidden_tls_proto): New macro.
18611 (libc_hidden_tls_proto): Likewise.
18612 (rtld_hidden_tls_proto): Likewise.
18613 (libm_hidden_tls_proto): Likewise.
18614 (libresolv_hidden_tls_proto): Likewise.
18615 (librt_hidden_tls_proto): Likewise.
18616 (libdl_hidden_tls_proto): Likewise.
18617 (libnss_files_hidden_tls_proto): Likewise.
18618 (libnsl_hidden_tls_proto): Likewise.
18619 (libnss_nisplus_hidden_tls_proto): Likewise.
18620 (libutil_hidden_tls_proto): Likewise.
18622 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
18625 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18626 (decompose_rpath): Defer expansion to fillin_rpath.
18627 (_dl_init_paths): Pass linkmap to fillin_rpath.
18629 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18631 * benchtests/Makefile: Add strsep.
18632 * benchtests/bench-strsep.c: New file: strsep benchtest.
18633 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18635 2013-11-18 Andreas Schwab <schwab@suse.de>
18637 * locale/programs/locale.c (show_info) [case byte]: Check for
18638 '\377' instead of '\177'.
18639 * locale/C-monetary.c (not_available): Always use "\377".
18640 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18641 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18642 detect unavailable sign_posn locale elements.
18643 * locale/localeconv.c (__localeconv): For grouping and
18644 mon_grouping handle "\177" and "\377" like no grouping.
18645 (INT_ELEM): New macro. Use it to set all numeric members.
18646 * locale/programs/ld-monetary.c (monetary_read)
18647 <tok_mon_grouping>: Normalize single -1 to the empty string.
18648 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18651 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18654 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18655 when we match (nil).
18656 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18658 2013-11-16 Joseph Myers <joseph@codesourcery.com>
18660 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18661 (NO_TEST_INLINE): Update value.
18662 (ERRNO_UNCHANGED): Likewise.
18663 (ERRNO_EDOM): Likewise.
18664 (ERRNO_ERANGE): Likewise.
18665 (IGNORE_RESULT): Likewise.
18666 (check_float_internal): Check signs of NaN results if
18667 TEST_NAN_SIGN used.
18668 (check_complex): Pass TEST_NAN_SIGN flag through to second
18669 check_float_internal call.
18670 (copysign_test_data): Add tests with quiet NaNs as second
18671 argument. Use TEST_NAN_SIGN.
18672 (fabs_test_data): Add test of negative quiet NaN argument. Use
18674 (signbit_test_data): Add tests of quiet NaN argument.
18675 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18677 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18679 (parse_args): Handle function results specified as IGNORE.
18680 * math/libm-test.inc (IGNORE_RESULT): New macro.
18681 (check_float_internal): Do not check numerical result if flag
18683 (check_complex): Pass through IGNORE_RESULT to second
18684 check_float_internal call.
18685 (check_int): Do not check numerical result if flag IGNORE_RESULT
18687 (check_long): Likewise.
18688 (check_bool): Likewise.
18689 (check_longlong): Likewise.
18690 (lrint_test_data): Add tests of infinite and NaN arguments.
18691 (lrint_tonearest_test_data): Likewise.
18692 (lrint_towardzero_test_data): Likewise.
18693 (lrint_downward_test_data): Likewise.
18694 (lrint_upward_test_data): Likewise.
18695 (llrint_test_data): Likewise.
18696 (llrint_tonearest_test_data): Likewise.
18697 (llrint_towardzero_test_data): Likewise.
18698 (llrint_downward_test_data): Likewise.
18699 (llrint_upward_test_data): Likewise.
18700 (lround_test_data): Likewise.
18701 (llround_test_data): Likewise.
18703 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18704 (ERRNO_UNCHANGED): Update value.
18705 (ERRNO_EDOM): Likewise.
18706 (ERRNO_ERANGE): Likewise.
18707 (NO_TEST_INLINE_FLOAT): New macro.
18708 (NO_TEST_INLINE_DOUBLE): Likewise.
18709 (enable_test): New function.
18710 (RUN_TEST_f_f): Check enable_test before running test.
18711 (RUN_TEST_2_f): Likewise.
18712 (RUN_TEST_fff_f): Likewise.
18713 (RUN_TEST_c_f): Likewise.
18714 (RUN_TEST_f_f1): Likewise.
18715 (RUN_TEST_fF_f1): Likewise.
18716 (RUN_TEST_fI_f1): Likewise.
18717 (RUN_TEST_ffI_f1): Likewise.
18718 (RUN_TEST_c_c): Likewise.
18719 (RUN_TEST_cc_c): Likewise.
18720 (RUN_TEST_f_i): Likewise.
18721 (RUN_TEST_f_i_tg): Likewise.
18722 (RUN_TEST_ff_i_tg): Likewise.
18723 (RUN_TEST_f_b): Likewise.
18724 (RUN_TEST_f_b_tg): Likewise.
18725 (RUN_TEST_f_l): Likewise.
18726 (RUN_TEST_f_L): Likewise.
18727 (RUN_TEST_fFF_11): Likewise.
18728 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18730 (cosh_test_data): Likewise.
18731 (exp_test_data): Likewise.
18732 (expm1_test_data): Likewise.
18733 (hypot_test_data): Likewise.
18734 (pow_test_data): Likewise.
18735 (sinh_test_data): Likewise.
18736 (tanh_test_data): Likewise.
18737 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18740 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18741 tests with quiet NaN input and output.
18742 (acosh_test_data): Likewise.
18743 (asin_test_data): Likewise.
18744 (asinh_test_data): Likewise.
18745 (atan_test_data): Likewise.
18746 (atanh_test_data): Likewise.
18747 (atan2_test_data): Likewise.
18748 (cbrt_test_data): Likewise.
18749 (cos_test_data): Likewise.
18750 (cosh_test_data): Likewise.
18751 (erf_test_data): Likewise.
18752 (erfc_test_data): Likewise.
18753 (exp_test_data): Likewise.
18754 (exp10_test_data): Likewise.
18755 (exp2_test_data): Likewise.
18756 (expm1_test_data): Likewise.
18757 (hypot_test_data): Likewise.
18758 (j0_test_data): Likewise.
18759 (j1_test_data): Likewise.
18760 (jn_test_data): Likewise.
18761 (lgamma_test_data): Likewise.
18762 (log_test_data): Likewise.
18763 (log10_test_data): Likewise.
18764 (log1p_test_data): Likewise.
18765 (log2_test_data): Likewise.
18766 (pow_test_data): Likewise.
18767 (scalb_test_data): Likewise.
18768 (sin_test_data): Likewise.
18769 (sincos_test_data): Likewise.
18770 (sinh_test_data): Likewise.
18771 (tan_test_data): Likewise.
18772 (tanh_test_data): Likewise.
18773 (tgamma_test_data): Likewise.
18774 (y0_test_data): Likewise.
18775 (y1_test_data): Likewise.
18776 (yn_test_data): Likewise.
18779 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18780 argument being NaN and avoid computations with second argument in
18782 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18783 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18784 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18786 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18788 * locale/iso-639.def: Add Chitwani Tharu (the).
18790 2013-11-14 Andreas Schwab <schwab@suse.de>
18792 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18793 word instead of empty string.
18795 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18798 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18800 (__fe_nomask_env): Likewise.
18802 2013-11-13 Steve Ellcey <sellcey@mips.com>
18804 * benchtests/bench-timing.h: Include time.h.
18806 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18809 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18811 * sysdeps/unix/sysv/linux/configure: Regenerated.
18813 2013-11-13 Joseph Myers <joseph@codesourcery.com>
18816 * stdlib/strtod_l.c (round_and_return): Do not consider
18817 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18818 exponent one less than half the least subnormal exponent.
18819 * stdlib/test-strtod-round-data: Add more tests.
18820 * stdlib/tst-strtod-round.c (tests): Regenerated.
18822 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18825 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18826 (__fe_mask_env): Likewise.
18827 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18828 libm_hidden_proto and add function prototype.
18829 (__fe_mask_env): Add function prototype.
18830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18831 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18833 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18835 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18837 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18839 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18840 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18842 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18844 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18845 of htab_find_slot().
18847 2013-11-11 David S. Miller <davem@davemloft.net>
18850 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18851 symbol in the non-vis3 case in static builds.
18852 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18853 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18854 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18855 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18857 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18860 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18863 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18865 * benchtests/Makefile: Add bench-strtod.
18866 * benchtests/bench-strtod.c: New file: strtod benchtest
18868 2013-11-11 Andreas Schwab <schwab@suse.de>
18871 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18872 terminating NUL in key length.
18874 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18876 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18877 Add artificial ODP entry for vDSO symbol for PPC64.
18878 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18879 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18881 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18884 * nss/getent.c (services_keys): Recognize services starting with digit.
18886 2013-11-06 David S. Miller <davem@davemloft.net>
18889 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18890 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18892 2013-11-06 Will Newton <will.newton@linaro.org>
18894 * manual/memory.texi (Malloc Examples): Remove register
18895 keyword from examples.
18897 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
18899 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18901 2013-11-04 Joseph Myers <joseph@codesourcery.com>
18904 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18905 depending on [__GCC_IEC_559 > 0].
18906 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18907 depending on [__GCC_IEC_559_COMPLEX > 0].
18909 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
18911 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18914 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
18916 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18918 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
18921 * malloc/malloc (malloc_info): Do not handle first bin as
18924 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
18926 * locale/iso-639.def: Add Central Nahuatl (nhn).
18928 2013-11-01 Bruno Haible <bruno@clisp.org>
18931 * manual/math.texi (BSD Random): Specify range upper bound as
18934 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
18936 * locale/iso-639.def: Add Meadow Mari (mhr).
18938 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
18940 [BZ #14752], [BZ #15763]
18941 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18943 * rt/tst_shm.c: Add test for escaping directory.
18945 2013-10-31 Andreas Schwab <schwab@suse.de>
18948 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18949 followed by 'x' as part of digit sequence.
18950 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18952 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18955 * configure.ac: allow GNU Make 4.0 and greater.
18956 * configure: Regenerated.
18958 2013-10-30 Will Newton <will.newton@linaro.org>
18961 * malloc/hooks.c (memalign_check): Limit alignment to the
18962 maximum representable power of two.
18963 * malloc/malloc.c (__libc_memalign): Likewise.
18964 * malloc/tst-memalign.c (do_test): Add test for very
18965 large alignment values.
18966 * malloc/tst-posix_memalign.c (do_test): Likewise.
18968 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18971 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18972 (munmap_chunk): Likewise.
18973 (mremap_chunk): Likewise.
18975 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18978 * stdlib/div.c (div): Remove obsolete code.
18979 * stdlib/ldiv.c (ldiv): Likewise.
18980 * stdlib/lldiv.c (lldiv): Likewise.
18982 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18985 * nss/nss_files/files-XXX.c (get_contents_ret): New
18987 (get_contents): New function.
18988 (internal_getent): Use it. Expand size of LINEBUFLEN.
18990 2013-10-30 Mike Frysinger <vapier@gentoo.org>
18992 * configure.in: Moved to ...
18993 * configure.ac: ... here. Change reference to configure.in
18995 * sysdeps/arm/preconfigure.ac: ... here.
18996 configure.in to configure.ac.
18997 * sysdeps/gnu/configure.in: Moved to ...
18998 * sysdeps/gnu/configure.ac: ... here.
18999 * sysdeps/i386/configure.in: Moved to ...
19000 * sysdeps/i386/configure.ac: ... here.
19001 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19002 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19003 * sysdeps/mach/configure.in: Moved to ...
19004 * sysdeps/mach/configure.ac: ... here.
19005 * sysdeps/mach/hurd/configure.in: Moved to ...
19006 * sysdeps/mach/hurd/configure.ac: ... here.
19007 * sysdeps/powerpc/configure.in: Moved to ...
19008 * sysdeps/powerpc/configure.ac: ... here.
19009 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19010 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19011 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19012 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19013 * sysdeps/s390/s390-32/configure.in: Moved to ...
19014 * sysdeps/s390/s390-32/configure.ac: ... here.
19015 * sysdeps/s390/s390-64/configure.in: Moved to ...
19016 * sysdeps/s390/s390-64/configure.ac: ... here.
19017 * sysdeps/sh/configure.in: Moved to ...
19018 * sysdeps/sh/configure.ac: ... here.
19019 * sysdeps/sparc/configure.in: Moved to ...
19020 * sysdeps/sparc/configure.ac: ... here.
19021 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19022 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19023 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19024 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19025 * sysdeps/x86_64/configure.in: Moved to ...
19026 * sysdeps/x86_64/configure.ac: ... here.
19027 * sysdeps/x86_64/preconfigure.in: Moved to ...
19028 * sysdeps/x86_64/preconfigure.ac: ... here.
19029 * aclocal.m4: Change reference to configure.in to configure.ac.
19030 * config.h.in: Likewise.
19031 * manual/install.texi: Likewise.
19032 * manual/maint.texi: Likewise.
19033 * Makefile: Likewise.
19034 * malloc/Makefile: Likewise.
19035 * nscd/Makefile: Likewise.
19036 * Makeconfig: Change reference to configure.in and
19037 preconfigure.in to configure.ac and preconfigure.ac
19039 * INSTALL: Regenerated.
19040 * configure: Likewise.
19041 * sysdeps/gnu/configure: Likewise.
19042 * sysdeps/i386/configure: Likewise.
19043 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19044 * sysdeps/mach/configure: Likewise.
19045 * sysdeps/mach/hurd/configure: Likewise.
19046 * sysdeps/powerpc/configure: Likewise.
19047 * sysdeps/powerpc/powerpc32/configure: Likewise.
19048 * sysdeps/powerpc/powerpc64/configure: Likewise.
19049 * sysdeps/s390/s390-32/configure: Likewise.
19050 * sysdeps/s390/s390-64/configure: Likewise.
19051 * sysdeps/sh/configure: Likewise.
19052 * sysdeps/sparc/configure: Likewise.
19053 * sysdeps/unix/sysv/linux/configure: Likewise.
19054 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19055 * sysdeps/x86_64/configure: Likewise.
19056 * sysdeps/x86_64/preconfigure: Likewise.
19058 2013-10-29 Andreas Schwab <schwab@suse.de>
19060 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19062 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19064 * benchtests/pow-inputs: Add new inputs.
19066 * benchtests/exp-inputs: Add new inputs.
19068 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19069 conditional check for return value.
19070 (__cos32): Likewise.
19072 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19074 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19075 to provide a boost for large inputs with word alignment.
19076 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19077 implementation based on optimized PPC64 strcpy.
19078 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19079 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19080 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19081 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19083 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19086 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19088 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19091 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19092 * time/tst-strptime.c (day_tests): Add testcase.
19094 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19097 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19099 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19102 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19103 MAP_FAILED on error.
19105 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19108 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19109 heap for large requests.
19111 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19114 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19115 result if the result has no associated interface.
19116 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19117 interface for all 127.X.Y.Z addresses.
19119 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
19121 * locale/iso-639.def: Add Ligurian (lij)
19123 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
19126 * sunrpc/rpc_main.c: Document rpcgen -5.
19128 2013-10-19 Michael Stahl <mstahl@redhat.com>
19130 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19132 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19135 * posix/glob.c: Match only directories when trailing slash is present.
19136 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19137 (main): Add testcase.
19139 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19142 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19144 2013-10-18 Carlos O'Donell <carlos@redhat.com>
19146 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19147 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19148 AUTH_DES and cindex for FIPS 140-2.
19149 (DES Encryption): Add cindex FIPS 46-3.
19151 * locale/locarchive.h (struct locarhandle): Add fname.
19152 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19153 if an optional argument was specified to --list-archive,
19155 * locale/programs/locarchive.c (show_archive_content): Take new
19156 argument fname and pass it via ah.fname to open_archive.
19157 * locale/programs/localedef.h: Update decl.
19158 (open_archive): If AH->fname is non-null, open that file
19159 rather than the default file name, and don't ignore ENOENT.
19160 (create_archive): Set AH.fname to NULL.
19161 (delete_locales_from_archive): Likewise.
19162 (add_locales_to_archive): Likewise.
19163 * locale/programs/locfile.c (write_all_categories): Likewise.
19165 2013-10-18 Joseph Myers <joseph@codesourcery.com>
19166 Aldy Hernandez <aldyh@redhat.com>
19168 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19169 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19170 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19171 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19172 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19173 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19174 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19175 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19176 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19177 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19178 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19179 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19180 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19181 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19182 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19184 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19186 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19188 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19190 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19191 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19193 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19194 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19195 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19196 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19198 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19199 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19200 * sysdeps/powerpc/preconfigure: Likewise.
19201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19203 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19204 Replace contents of file by #include of <fenv_libc.h>.
19205 * sysdeps/powerpc/soft-fp/sfp-machine.h
19206 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19208 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19209 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19210 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19211 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19212 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19213 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19215 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19216 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19217 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19218 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19221 Allow copysignl PLT reference to be missing.
19223 2013-10-18 Richard Sandiford <richard@codesourcery.com>
19224 Joseph Myers <joseph@codesourcery.com
19227 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19229 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19231 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19233 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19234 * elf/tst-tls1.c: Likewise.
19235 * elf/tst-tls10.h: Likewise.
19236 * elf/tst-tls14.c: Likewise.
19237 * elf/tst-tls2.c: Likewise.
19238 * elf/tst-tls3.c: Likewise.
19239 * elf/tst-tls4.c: Likewise.
19240 * elf/tst-tls5.c: Likewise.
19241 * elf/tst-tls6.c: Likewise.
19242 * elf/tst-tls7.c: Likewise.
19243 * elf/tst-tls8.c: Likewise.
19244 * elf/tst-tls9.c: Likewise.
19245 * elf/tst-tlsmod1.c: Likewise.
19246 * elf/tst-tlsmod13.c: Likewise.
19247 * elf/tst-tlsmod13a.c: Likewise.
19248 * elf/tst-tlsmod14a.c: Likewise.
19249 * elf/tst-tlsmod16a.c: Likewise.
19250 * elf/tst-tlsmod16b.c: Likewise.
19251 * elf/tst-tlsmod2.c: Likewise.
19252 * elf/tst-tlsmod3.c: Likewise.
19253 * elf/tst-tlsmod4.c: Likewise.
19254 * elf/tst-tlsmod5.c: Likewise.
19255 * elf/tst-tlsmod6.c: Likewise.
19257 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
19260 * malloc/malloc.c: remove checks for statistics.
19262 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19265 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19266 * inet/tst-network.c: Add testcase.
19268 2013-10-17 Andreas Schwab <schwab@suse.de>
19271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19272 to determine canonical name.
19274 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19276 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19277 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19279 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19280 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19281 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19282 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19283 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19284 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19285 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19286 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19287 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19288 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19289 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19290 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19291 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19292 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19293 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19294 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19295 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19296 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19297 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19299 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19300 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19301 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19302 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19303 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19304 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19305 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19306 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19307 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19308 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19309 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19310 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19311 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19312 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19313 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19314 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19315 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19316 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19317 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19318 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19319 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19320 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19321 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19322 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19323 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19324 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19325 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19326 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19327 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19328 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19329 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19330 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19331 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19332 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19333 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19335 2013-10-17 Joseph Myers <joseph@codesourcery.com>
19338 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19339 make result into a quiet NaN.
19341 2013-10-16 Joseph Myers <joseph@codesourcery.com>
19343 * soft-fp/adddf3.c: Fix horizontal whitespace.
19344 * soft-fp/addsf3.c: Likewise.
19345 * soft-fp/addtf3.c: Likewise.
19346 * soft-fp/divdf3.c: Likewise.
19347 * soft-fp/divsf3.c: Likewise.
19348 * soft-fp/divtf3.c: Likewise.
19349 * soft-fp/double.h: Likewise.
19350 * soft-fp/eqdf2.c: Likewise.
19351 * soft-fp/eqsf2.c: Likewise.
19352 * soft-fp/eqtf2.c: Likewise.
19353 * soft-fp/extenddftf2.c: Likewise.
19354 * soft-fp/extended.h: Likewise.
19355 * soft-fp/extendsfdf2.c: Likewise.
19356 * soft-fp/extendsftf2.c: Likewise.
19357 * soft-fp/extendxftf2.c: Likewise.
19358 * soft-fp/fixdfdi.c: Likewise.
19359 * soft-fp/fixdfsi.c: Likewise.
19360 * soft-fp/fixdfti.c: Likewise.
19361 * soft-fp/fixsfdi.c: Likewise.
19362 * soft-fp/fixsfsi.c: Likewise.
19363 * soft-fp/fixsfti.c: Likewise.
19364 * soft-fp/fixtfdi.c: Likewise.
19365 * soft-fp/fixtfsi.c: Likewise.
19366 * soft-fp/fixtfti.c: Likewise.
19367 * soft-fp/fixunsdfdi.c: Likewise.
19368 * soft-fp/fixunsdfsi.c: Likewise.
19369 * soft-fp/fixunsdfti.c: Likewise.
19370 * soft-fp/fixunssfdi.c: Likewise.
19371 * soft-fp/fixunssfsi.c: Likewise.
19372 * soft-fp/fixunssfti.c: Likewise.
19373 * soft-fp/fixunstfdi.c: Likewise.
19374 * soft-fp/fixunstfsi.c: Likewise.
19375 * soft-fp/fixunstfti.c: Likewise.
19376 * soft-fp/floatdidf.c: Likewise.
19377 * soft-fp/floatdisf.c: Likewise.
19378 * soft-fp/floatditf.c: Likewise.
19379 * soft-fp/floatsidf.c: Likewise.
19380 * soft-fp/floatsisf.c: Likewise.
19381 * soft-fp/floatsitf.c: Likewise.
19382 * soft-fp/floattidf.c: Likewise.
19383 * soft-fp/floattisf.c: Likewise.
19384 * soft-fp/floattitf.c: Likewise.
19385 * soft-fp/floatundidf.c: Likewise.
19386 * soft-fp/floatundisf.c: Likewise.
19387 * soft-fp/floatunditf.c: Likewise.
19388 * soft-fp/floatunsidf.c: Likewise.
19389 * soft-fp/floatunsisf.c: Likewise.
19390 * soft-fp/floatunsitf.c: Likewise.
19391 * soft-fp/floatuntidf.c: Likewise.
19392 * soft-fp/floatuntisf.c: Likewise.
19393 * soft-fp/floatuntitf.c: Likewise.
19394 * soft-fp/fmadf4.c: Likewise.
19395 * soft-fp/fmasf4.c: Likewise.
19396 * soft-fp/fmatf4.c: Likewise.
19397 * soft-fp/gedf2.c: Likewise.
19398 * soft-fp/gesf2.c: Likewise.
19399 * soft-fp/getf2.c: Likewise.
19400 * soft-fp/ledf2.c: Likewise.
19401 * soft-fp/lesf2.c: Likewise.
19402 * soft-fp/letf2.c: Likewise.
19403 * soft-fp/muldf3.c: Likewise.
19404 * soft-fp/mulsf3.c: Likewise.
19405 * soft-fp/multf3.c: Likewise.
19406 * soft-fp/negdf2.c: Likewise.
19407 * soft-fp/negsf2.c: Likewise.
19408 * soft-fp/negtf2.c: Likewise.
19409 * soft-fp/op-1.h: Likewise.
19410 * soft-fp/op-2.h: Likewise.
19411 * soft-fp/op-4.h: Likewise.
19412 * soft-fp/op-8.h: Likewise.
19413 * soft-fp/op-common.h: Likewise.
19414 * soft-fp/quad.h: Likewise.
19415 * soft-fp/single.h: Likewise.
19416 * soft-fp/soft-fp.h: Likewise.
19417 * soft-fp/sqrtdf2.c: Likewise.
19418 * soft-fp/sqrtsf2.c: Likewise.
19419 * soft-fp/sqrttf2.c: Likewise.
19420 * soft-fp/subdf3.c: Likewise.
19421 * soft-fp/subsf3.c: Likewise.
19422 * soft-fp/subtf3.c: Likewise.
19423 * soft-fp/truncdfsf2.c: Likewise.
19424 * soft-fp/trunctfdf2.c: Likewise.
19425 * soft-fp/trunctfsf2.c: Likewise.
19426 * soft-fp/trunctfxf2.c: Likewise.
19427 * soft-fp/unorddf2.c: Likewise.
19428 * soft-fp/unordsf2.c: Likewise.
19429 * soft-fp/unordtf2.c: Likewise.
19431 2013-10-15 Joseph Myers <joseph@codesourcery.com>
19433 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19434 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19436 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
19438 * elf/dl-libc.c: Clear initfini list after freeing.
19440 2013-10-14 Joseph Myers <joseph@codesourcery.com>
19442 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19443 * soft-fp/addsf3.c: Likewise.
19444 * soft-fp/addtf3.c: Likewise.
19445 * soft-fp/divdf3.c: Likewise.
19446 * soft-fp/divsf3.c: Likewise.
19447 * soft-fp/divtf3.c: Likewise.
19448 * soft-fp/double.h: Likewise.
19449 * soft-fp/eqdf2.c: Likewise.
19450 * soft-fp/eqsf2.c: Likewise.
19451 * soft-fp/eqtf2.c: Likewise.
19452 * soft-fp/extenddftf2.c: Likewise.
19453 * soft-fp/extended.h: Likewise.
19454 * soft-fp/extendsfdf2.c: Likewise.
19455 * soft-fp/extendsftf2.c: Likewise.
19456 * soft-fp/extendxftf2.c: Likewise.
19457 * soft-fp/fixdfdi.c: Likewise.
19458 * soft-fp/fixdfsi.c: Likewise.
19459 * soft-fp/fixdfti.c: Likewise.
19460 * soft-fp/fixsfdi.c: Likewise.
19461 * soft-fp/fixsfsi.c: Likewise.
19462 * soft-fp/fixsfti.c: Likewise.
19463 * soft-fp/fixtfdi.c: Likewise.
19464 * soft-fp/fixtfsi.c: Likewise.
19465 * soft-fp/fixtfti.c: Likewise.
19466 * soft-fp/fixunsdfdi.c: Likewise.
19467 * soft-fp/fixunsdfsi.c: Likewise.
19468 * soft-fp/fixunsdfti.c: Likewise.
19469 * soft-fp/fixunssfdi.c: Likewise.
19470 * soft-fp/fixunssfsi.c: Likewise.
19471 * soft-fp/fixunssfti.c: Likewise.
19472 * soft-fp/fixunstfdi.c: Likewise.
19473 * soft-fp/fixunstfsi.c: Likewise.
19474 * soft-fp/fixunstfti.c: Likewise.
19475 * soft-fp/floatdidf.c: Likewise.
19476 * soft-fp/floatdisf.c: Likewise.
19477 * soft-fp/floatditf.c: Likewise.
19478 * soft-fp/floatsidf.c: Likewise.
19479 * soft-fp/floatsisf.c: Likewise.
19480 * soft-fp/floatsitf.c: Likewise.
19481 * soft-fp/floattidf.c: Likewise.
19482 * soft-fp/floattisf.c: Likewise.
19483 * soft-fp/floattitf.c: Likewise.
19484 * soft-fp/floatundidf.c: Likewise.
19485 * soft-fp/floatundisf.c: Likewise.
19486 * soft-fp/floatunsidf.c: Likewise.
19487 * soft-fp/floatunsisf.c: Likewise.
19488 * soft-fp/floatuntidf.c: Likewise.
19489 * soft-fp/floatuntisf.c: Likewise.
19490 * soft-fp/floatuntitf.c: Likewise.
19491 * soft-fp/fmadf4.c: Likewise.
19492 * soft-fp/fmasf4.c: Likewise.
19493 * soft-fp/fmatf4.c: Likewise.
19494 * soft-fp/gedf2.c: Likewise.
19495 * soft-fp/gesf2.c: Likewise.
19496 * soft-fp/getf2.c: Likewise.
19497 * soft-fp/ledf2.c: Likewise.
19498 * soft-fp/lesf2.c: Likewise.
19499 * soft-fp/letf2.c: Likewise.
19500 * soft-fp/muldf3.c: Likewise.
19501 * soft-fp/mulsf3.c: Likewise.
19502 * soft-fp/multf3.c: Likewise.
19503 * soft-fp/negdf2.c: Likewise.
19504 * soft-fp/negsf2.c: Likewise.
19505 * soft-fp/negtf2.c: Likewise.
19506 * soft-fp/op-1.h: Likewise.
19507 * soft-fp/op-2.h: Likewise.
19508 * soft-fp/op-4.h: Likewise.
19509 * soft-fp/op-8.h: Likewise.
19510 * soft-fp/op-common.h: Likewise.
19511 * soft-fp/quad.h: Likewise.
19512 * soft-fp/single.h: Likewise.
19513 * soft-fp/soft-fp.h: Likewise.
19514 * soft-fp/sqrtdf2.c: Likewise.
19515 * soft-fp/sqrtsf2.c: Likewise.
19516 * soft-fp/sqrttf2.c: Likewise.
19517 * soft-fp/subdf3.c: Likewise.
19518 * soft-fp/subsf3.c: Likewise.
19519 * soft-fp/subtf3.c: Likewise.
19520 * soft-fp/truncdfsf2.c: Likewise.
19521 * soft-fp/trunctfdf2.c: Likewise.
19522 * soft-fp/trunctfsf2.c: Likewise.
19523 * soft-fp/trunctfxf2.c: Likewise.
19524 * soft-fp/unorddf2.c: Likewise.
19525 * soft-fp/unordsf2.c: Likewise.
19526 * soft-fp/unordtf2.c: Likewise.
19528 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
19531 * misc/error.c (error_tail): Fix possible buffer overflow.
19533 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19536 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19539 2013-10-14 P. J. McDermott <pj@pehjota.net>
19542 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19543 testing pipefail option.
19545 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19547 * soft-fp/double.h: Indent preprocessor directives inside #if.
19548 * soft-fp/extended.h: Likewise.
19549 * soft-fp/op-2.h: Likewise.
19550 * soft-fp/op-4.h: Likewise.
19551 * soft-fp/op-common.h: Likewise.
19552 * soft-fp/quad.h: Likewise.
19553 * soft-fp/single.h: Likewise.
19554 * soft-fp/soft-fp.h: Likewise.
19556 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19558 * iconv/iconv_prog.c: Fix typos.
19559 * stdio-common/psiginfo-data.h: Likewise.
19561 2013-10-12 Reuben Thomas <rrt@sc3d.org>
19564 * locale/setlocale.c: Fix typo.
19566 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19569 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19570 signaling NaN arguments.
19571 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19572 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19575 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19576 unordered operands.
19577 * soft-fp/gesf2.c (__gesf2): Likewise.
19578 * soft-fp/getf2.c (__getf2): Likewise.
19579 * soft-fp/ledf2.c (__ledf2): Likewise.
19580 * soft-fp/lesf2.c (__lesf2): Likewise.
19581 * soft-fp/letf2.c (__letf2): Likewise.
19583 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19584 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19585 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19586 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19587 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19588 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19589 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19590 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19591 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19592 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19593 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19594 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19595 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19596 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19597 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19598 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19599 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19600 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19601 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19602 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19603 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19604 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19605 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19606 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19607 * soft-fp/floattidf.c (__floattidf): Likewise.
19608 * soft-fp/floattisf.c (__floattisf): Likewise.
19609 * soft-fp/floattitf.c (__floattitf): Likewise.
19610 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19611 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19612 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19613 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19614 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19615 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19616 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19617 * soft-fp/gesf2.c (__gesf2): Likewise.
19618 * soft-fp/getf2.c (__getf2): Likewise.
19619 * soft-fp/ledf2.c (__ledf2): Likewise.
19620 * soft-fp/lesf2.c (__lesf2): Likewise.
19621 * soft-fp/letf2.c (__letf2): Likewise.
19623 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19624 Undefine and redefine.
19625 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19626 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19627 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19628 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19629 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19630 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19631 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19632 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19633 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19634 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19635 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19636 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19637 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19638 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19639 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19642 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19643 without decrementing exponent if mantissa >= that for the
19644 denominator, not >.
19645 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19646 denominator, not >. Decrement exponent in < case instead of
19647 incrementing in >= case.
19648 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19649 without decrementing exponent if mantissa >= that for the
19650 denominator, not >.
19652 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19653 computing saturated result for unsigned overflow.
19655 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19656 Jeff Law <law@redhat.com>
19658 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19659 (atan2Mp): Add systemtap probe marker.
19660 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19661 (__ieee754_log): Add systemtap probe marker.
19662 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19663 (atanMp): Add systemtap probe marker.
19664 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19665 (tanMp): Add systemtap probe marker.
19666 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19667 (__slowexp): Add systemtap probe marker.
19668 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19669 (__slowpow): Add systemtap probe marker.
19670 * manual/probes.texi: Document probes.
19672 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
19675 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19677 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19679 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19680 written to buffer but not flushed.
19681 * libio/iofwrite_u.c: Likewise.
19682 * libio/iopadn.c: Return bytes returned even if EOF was
19684 * libio/iowpadn.c: Likewise.
19685 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19686 if _IO_padn does not write the whole buffer.
19687 [!COMPILE_WPRINTF] (PAD): Likewise.
19689 2013-10-10 David S. Miller <davem@davemloft.net>
19691 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19694 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19696 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19697 instead of FSF address.
19698 * soft-fp/fixdfti.c: Likewise.
19699 * soft-fp/fixsfti.c: Likewise.
19700 * soft-fp/fixtfti.c: Likewise.
19701 * soft-fp/fixunsdfti.c: Likewise.
19702 * soft-fp/fixunssfti.c: Likewise.
19703 * soft-fp/fixunstfti.c: Likewise.
19704 * soft-fp/floattidf.c: Likewise.
19705 * soft-fp/floattisf.c: Likewise.
19706 * soft-fp/floattitf.c: Likewise.
19707 * soft-fp/floatuntidf.c: Likewise.
19708 * soft-fp/floatuntisf.c: Likewise.
19709 * soft-fp/floatuntitf.c: Likewise.
19710 * soft-fp/trunctfxf2.c: Likewise.
19712 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19713 * soft-fp/fixdfti.c: Likewise.
19714 * soft-fp/fixsfti.c: Likewise.
19715 * soft-fp/fixtfti.c: Likewise.
19716 * soft-fp/fixunsdfti.c: Likewise.
19717 * soft-fp/fixunssfti.c: Likewise.
19718 * soft-fp/fixunstfti.c: Likewise.
19719 * soft-fp/floattidf.c: Likewise.
19720 * soft-fp/floattisf.c: Likewise.
19721 * soft-fp/floattitf.c: Likewise.
19722 * soft-fp/floatuntidf.c: Likewise.
19723 * soft-fp/floatuntisf.c: Likewise.
19724 * soft-fp/floatuntitf.c: Likewise.
19725 * soft-fp/trunctfxf2.c: Likewise.
19727 2013-10-10 David S. Miller <davem@davemloft.net>
19729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19731 2013-10-10 Joseph Myers <joseph@codsourcery.com>
19733 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19734 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19735 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19736 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19737 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19738 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19739 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19741 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19742 for NaNs before doing comparisons on argument.
19743 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19746 2013-10-10 Will Newton <will.newton@linaro.org>
19748 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19749 passed to _int_memalign does not overflow.
19751 2013-10-10 Torvald Riegel <triegel@redhat.com>
19753 * scripts/bench.pl: Add include-sources directive.
19754 * benchtests/README: Update documentation.
19756 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19758 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19759 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19760 instead of FP_INIT_ROUNDMODE.
19761 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19762 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19765 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19766 copy class of input value.
19767 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19768 not handle exceptions.
19769 * soft-fp/negsf2.c (__negsf2): Likewise.
19770 * soft-fp/negtf2.c (__negtf2): Likewise.
19771 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19773 2013-10-09 Joseph Myers <joseph@codesourcery.com>
19775 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19776 semicolon. From Linux kernel.
19778 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19780 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19782 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19785 * manual/socket.texi: Added statement about buffer
19786 for gethostbyname2_r.
19788 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
19790 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19791 Use .p2align directive instead, throughout.
19792 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19793 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19794 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19795 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19796 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19797 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19798 * sysdeps/x86_64/strchr.S: Likewise.
19799 * sysdeps/x86_64/strrchr.S: Likewise.
19801 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19803 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19805 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19807 * sysdeps/generic/math_private.h (__mpsin1): Remove
19809 (__mpcos1): Likewise.
19810 (__mpsin): New argument __range_reduce.
19811 (__mpcos): Likewise.
19812 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19813 (slow): Use __mpsin and __mpcos.
19817 (sloww1): Likewise.
19818 (sloww2): Likewise.
19819 (bsloww): Likewise.
19820 (bsloww1): Likewise.
19821 (bsloww2): Likewise.
19822 (cslow2): Likewise.
19823 (csloww): Likewise.
19824 (csloww1): Likewise.
19825 (csloww2): Likewise.
19826 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19827 range_reduce. Merge in __mpsin1.
19828 (__mpcos): Likewise.
19829 (__mpsin1): Remove.
19830 (__mpcos1): Likewise.
19832 2013-10-07 Joseph Myers <joseph@codesourcery.com>
19834 * locale/loadlocale.c (_nl_intern_locale_data): Use
19836 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19837 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19838 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19839 obstack data is appropriately aligned.
19840 (obstack_int32_grow_fast): Likewise.
19841 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19842 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19843 (add_locale_uint32_array): Likewise.
19845 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19847 * benchtests/Makefile: Remove ARGLIST and RET variables.
19848 ($(objpfx)bench-%.c): Pass only function name to the script.
19849 * benchtests/README: Update documentation.
19850 * benchtests/acos-inputs: Add new directives.
19851 * benchtests/acosh-inputs: Likewise.
19852 * benchtests/asin-inputs: Likewise.
19853 * benchtests/asinh-inputs: Likewise.
19854 * benchtests/atan-inputs: Likewise.
19855 * benchtests/atanh-inputs: Likewise.
19856 * benchtests/cos-inputs: Likewise.
19857 * benchtests/cosh-inputs: Likewise.
19858 * benchtests/exp-inputs: Likewise.
19859 * benchtests/log-inputs: Likewise.
19860 * benchtests/pow-inputs: Likewise.
19861 * benchtests/rint-inputs: Likewise.
19862 * benchtests/sin-inputs: Likewise.
19863 * benchtests/sinh-inputs: Likewise.
19864 * benchtests/tan-inputs: Likewise.
19865 * benchtests/tanh-inputs: Likewise.
19866 * scripts/bench.pl: Add support for new directives.
19868 2013-10-07 Alan Modra <amodra@gmail.com>
19870 * README: Fix careless merge.
19872 2013-10-05 Alan Modra <amodra@gmail.com>
19874 * NEWS: Mention powerpc64le support and bugs fixed.
19875 * README: Both big-endian and little-endian powerpc64 supported.
19877 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19879 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19880 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19881 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19882 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19884 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19886 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19889 2013-10-04 Joseph Myers <joseph@codesourcery.com>
19891 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19892 Move -mhard-float appending from
19893 ports/sysdeps/powerpc/powerpc32/Makefile.
19894 [$(with-fp) = yes] (ASFLAGS): Likewise.
19895 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19896 * sysdeps/powerpc/nofpu: Move directory from
19897 ports/sysdeps/powerpc/nofpu.
19898 * sysdeps/powerpc/soft-fp: Move directory from
19899 ports/sysdeps/powerpc/soft-fp.
19900 * sysdeps/powerpc/powerpc32/405: Move directory from
19901 ports/sysdeps/powerpc/powerpc32/405.
19902 * sysdeps/powerpc/powerpc32/440: Move directory from
19903 ports/sysdeps/powerpc/powerpc32/440.
19904 * sysdeps/powerpc/powerpc32/464: Move directory from
19905 ports/sysdeps/powerpc/powerpc32/464.
19906 * sysdeps/powerpc/powerpc32/476: Move directory from
19907 ports/sysdeps/powerpc/powerpc32/476.
19908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19909 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19911 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19913 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19915 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19917 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19918 * README: Update for powerpc-*-linux-gnu software floating point
19921 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19922 case to powerpc/powerpc32*.
19923 * sysdeps/unix/sysv/linux/configure: Regenerated.
19925 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19926 (_FPU_MASK_OM): Define as 0x04.
19927 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19928 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19930 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19932 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19935 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19938 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19941 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19942 and setcontext_e500.
19944 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19946 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19948 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19950 * manual/threads.texi (Default Thread Attributes): Fix typo.
19952 2013-10-04 Will Newton <will.newton@linaro.org>
19954 * malloc/Makefile: Add tst-memalign.
19955 * malloc/tst-memalign.c: New file.
19957 * malloc/tst-posix_memalign.c: Add comments.
19958 (do_test): Add comments and call free on all potentially
19959 allocated pointers. Add space after cast.
19961 * malloc/tst-pvalloc.c: Add comments.
19962 (do_test): Add comments and call free on all potentially
19963 allocated pointers. Remove duplicate check for NULL pointer.
19964 Add space after cast.
19966 * malloc/tst-valloc.c: Add comments.
19967 (do_test): Add comments and call free on all potentially
19968 allocated pointers. Remove duplicate check for NULL pointer.
19969 Add space after cast.
19971 2013-10-04 Alan Modra <amodra@gmail.com>
19973 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19974 Use stdint types in rather than __attribute__((mode())).
19975 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19977 2013-10-04 Alan Modra <amodra@gmail.com>
19979 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19980 Correct handling of unaligned relocs for little-endian.
19981 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19983 2013-10-04 Alan Modra <amodra@gmail.com>
19985 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19986 * configure: Regenerate.
19987 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19988 * shlib-versions: Likewise.
19990 2013-10-04 Alan Modra <amodra@gmail.com>
19992 * string/tester.c (test_memrchr): Increment reported test cycle.
19994 2013-10-04 Alan Modra <amodra@gmail.com>
19996 * string/test-memcpy.c (do_one_test): When reporting errors, print
19997 string address and don't overrun end of string.
19999 2013-10-04 Alan Modra <amodra@gmail.com>
20001 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20002 insrdi. Make better use of reg selection to speed exit slightly.
20003 Schedule entry path a little better. Remove useless "are we done"
20004 checks on entry to main loop. Handle wrapping around zero address.
20005 Correct main loop count. Handle single left-over word from main
20006 loop inline rather than by using loop_small. Remove extra word
20007 case in loop_small caused by wrong loop count. Add little-endian
20009 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20010 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20012 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20013 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20014 support. Avoid rlwimi.
20015 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20017 2013-10-04 Alan Modra <amodra@gmail.com>
20019 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20020 insrdi. Formatting.
20021 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20022 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20023 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20024 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20025 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20026 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20028 2013-10-04 Alan Modra <amodra@gmail.com>
20030 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20031 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20032 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20033 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20034 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20035 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20036 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20037 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20038 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20039 use of regs. Use power7 mtocrf. Tidy function tails.
20041 2013-10-04 Alan Modra <amodra@gmail.com>
20043 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20044 Formatting. Consistently use rXXX register defines or rN defines.
20045 Use early exit labels that avoid restoring unused non-volatile regs.
20046 Make cr field use more consistent with rWORDn compares. Rename
20047 regs used as shift registers for unaligned loop, using rN defines
20048 for short lifetime/multiple use regs.
20049 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20050 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20051 addi 1,1,64 to pop stack frame. Simplify return value code.
20052 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20054 2013-10-04 Alan Modra <amodra@gmail.com>
20056 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20057 support. Correct typos, formatting. Optimize tail. Use insrdi
20058 rather than rlwimi.
20059 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20060 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20061 little-endian support. Correct typos.
20062 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20063 rather than rlwimi.
20064 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20065 in loop and entry code to keep "and." results.
20066 (strchr): Add little-endian support. Comment. Move cntlzd
20068 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20070 2013-10-04 Alan Modra <amodra@gmail.com>
20072 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20073 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20074 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20075 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20077 2013-10-04 Alan Modra <amodra@gmail.com>
20079 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20080 (rTMP): Define as r11.
20081 (strcmp): Add little-endian support. Optimise tail.
20082 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20083 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20084 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20085 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20086 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20087 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20088 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20090 2013-10-04 Alan Modra <amodra@gmail.com>
20092 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20093 little-endian support. Remove unnecessary "are we done" tests.
20094 Handle "s" wrapping around zero and extremely large "size".
20095 Correct main loop count. Handle single left-over word from main
20096 loop inline rather than by using small_loop. Correct comments.
20097 Delete "zero" tail, use "end_max" instead.
20098 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20100 2013-10-04 Alan Modra <amodra@gmail.com>
20102 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20103 support. Don't branch over align.
20104 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20105 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20106 support. Rearrange tmp reg use to suit. Comment.
20107 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20109 2013-10-04 Alan Modra <amodra@gmail.com>
20111 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20113 2013-10-04 Alan Modra <amodra@gmail.com>
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20116 conditional form of branch and link when obtaining pc.
20117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20119 2013-10-04 Alan Modra <amodra@gmail.com>
20121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20126 2013-10-04 Alan Modra <amodra@gmail.com>
20128 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20129 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20130 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20131 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20132 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20133 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20134 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20135 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20136 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20137 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20139 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20140 Alistair Popple <alistair@ozlabs.au.ibm.com>
20141 Alan Modra <amodra@gmail.com>
20144 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20145 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20146 _dl_hwcap access for little-endian.
20147 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20148 destroy vmx regs when saving unaligned.
20149 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20150 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20151 destroy vmx regs when saving unaligned.
20153 2013-10-04 Alan Modra <amodra@gmail.com>
20155 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20156 Don't use a union to pack hi/low value.
20158 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20160 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20162 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20163 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20164 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20165 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20166 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20168 2013-10-04 Alan Modra <amodra@gmail.com>
20170 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20171 constants to usual value for .cst8 section, and remove redundant
20173 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20174 constant for 0x1p52. Load little-endian words of double from
20175 correct stack offsets.
20177 2013-10-04 Alan Modra <amodra@gmail.com>
20179 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20180 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20181 words of double from correct stack offsets.
20182 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20183 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20184 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20185 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20186 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20187 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20188 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20189 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20190 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20191 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20192 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20193 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20194 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20195 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20196 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20197 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20198 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20200 2013-10-04 Alan Modra <amodra@gmail.com>
20202 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20203 64-bit int/double union.
20204 (_FPU_SETCW): Likewise.
20205 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20206 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20208 2013-10-04 Alan Modra <amodra@gmail.com>
20210 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20211 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20213 2013-10-04 Alan Modra <amodra@gmail.com>
20215 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20216 use vector int constants.
20217 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20219 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20221 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20222 array with long long.
20223 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20224 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20225 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20226 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20227 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20228 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20229 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20230 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20231 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20232 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20233 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20234 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20235 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20237 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20239 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20240 (__signbit): Likewise. Correct for little-endian.
20241 (__signbitl): Call __signbit.
20242 (lrint): Correct for little-endian.
20243 (lrintf): Call lrint.
20245 2013-10-04 Alan Modra <amodra@gmail.com>
20247 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20248 union 32-bit int array member with 64-bit int array.
20249 (t515, tm256): Double rather than long double.
20250 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20252 2013-10-04 Alan Modra <amodra@gmail.com>
20254 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20256 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20257 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20258 version of math_ldbl.h.
20260 2013-10-04 Alan Modra <amodra@gmail.com>
20262 [BZ #15734], [BZ #15735]
20263 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20264 all uses of ieee875 long double macros and unions. Simplify test
20265 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20266 ldbl_extract_mantissa value for ix,iy exponents. Properly
20267 normalize after ldbl_extract_mantissa, and don't add hidden bit
20268 already handled. Don't treat low word of ieee854 mantissa like
20269 low word of IBM long double and mask off bit when testing for
20271 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20272 all uses of ieee875 long double macros and unions. Simplify tests
20273 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20274 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20275 two1022, instead use their values. Recognise that tests for large
20276 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20277 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20278 Rewrite all uses of ieee875 long double macros and unions. Simplify
20279 test for 0.0L and nan. Correct negation.
20280 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20281 ieee875 long double macros and unions. Correct output for large
20282 magnitude x. Correct absolute value calculation.
20283 (__erfcl): Likewise.
20284 * math/libm-test.inc: Add tests for errors discovered in IBM long
20285 double versions of fmodl, remainderl, erfl and erfcl.
20287 2013-10-04 Alan Modra <amodra@gmail.com>
20289 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20290 all uses of ieee854 long double macros and unions. Simplify tests
20291 for long doubles that are fully specified by the high double.
20292 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20294 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20295 Remove dead code too.
20296 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20297 (__ieee754_ynl): Likewise.
20298 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20299 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20300 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20301 Remove dead code too.
20302 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20303 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20304 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20305 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20307 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20309 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20310 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20311 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20312 Comment on variable precision.
20313 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20314 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20316 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20317 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20318 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20319 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20320 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20322 2013-10-04 Alan Modra <amodra@gmail.com>
20324 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20325 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20326 all uses of ieee854 long double macros and unions.
20327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20328 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20329 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20330 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20331 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20332 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20334 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20335 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20336 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20337 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20338 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20339 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20340 Simplify sign and nan test too.
20341 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20342 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20343 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20344 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20346 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20347 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20350 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20351 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20352 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20353 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20354 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20356 2013-10-04 Alan Modra <amodra@gmail.com>
20358 * stdio-common/printf_size.c (__printf_size): Don't use
20359 union ieee854_long_double in fpnum union.
20360 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20361 signbit macro to retrieve sign from long double.
20362 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20363 retrieve sign from long double.
20364 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20365 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20366 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20367 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20368 * math/test-misc.c (main): Don't use union ieee854_long_double.
20370 2013-10-04 Alan Modra <amodra@gmail.com>
20373 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20374 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20375 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20376 calculation. Remove unnecessary test for denormal exponent.
20377 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20378 Correct handling of denormals. Avoid undefined shift behaviour.
20379 Correct normalisation of low mantissa when low double is denormal.
20380 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20381 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20382 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20383 Correct normalisation of low mantissa. Test for overflow of high
20384 mantissa and normalise.
20385 (ldbl_nearbyint): Use more readable constant for two52.
20386 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20387 (__mpn_construct_long_double): Fix test for overflow of high
20388 mantissa and correct normalisation. Avoid undefined shift.
20390 2013-10-04 Alan Modra <amodra@gmail.com>
20392 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20393 (union ibm_extended_long_double): Define as an array of ieee754_double.
20394 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20395 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20396 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20397 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20398 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20399 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20400 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20401 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20402 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20403 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20404 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20406 2013-10-03 Joseph Myers <joseph@codesourcery.com>
20408 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20409 page size instead of calling getpagesize.
20411 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20412 (LOCFILE_ALIGN_MASK): Likewise.
20413 (LOCFILE_ALIGN_UP): Likewise.
20414 (LOCFILE_ALIGNED_P): Likewise.
20415 * locale/programs/ld-collate.c (collate_output): Use the new
20416 macros instead of __alignof__ (int32_t).
20417 * locale/weight.h (findidx): Likewise.
20419 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
20422 * manual/string.texi: Fix strncat and wcsncat.
20424 2013-10-03 Brooks Moses <bmoses@google.com>
20427 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20428 * Makerules: ...here, and adjust associated comments.
20430 2013-10-02 Will Newton <will.newton@linaro.org>
20432 * malloc/Makefile: Add tst-pvalloc.
20433 * malloc/tst-pvalloc.c: New file.
20435 2013-10-02 Will Newton <will.newton@linaro.org>
20437 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20438 improve test coverage.
20440 2013-10-02 Will Newton <will.newton@linaro.org>
20442 * malloc/Makefile: Add tst-posix_memalign.
20443 * malloc/tst-posix_memalign.c: New file.
20445 2013-10-01 Eric Blake <eblake@redhat.com>
20447 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20448 Use __THROWNL rather than __THROW on static functions.
20450 2013-09-30 Petr Machata <pmachata@redhat.com>
20452 * elf/elf.h (R_AARCH64_ABS16): New macro.
20453 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20454 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20455 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20456 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20457 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20458 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20459 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20460 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20461 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20462 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20463 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20464 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20465 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20466 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20467 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20468 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20469 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20470 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20471 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20472 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20473 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20474 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20475 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20476 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20477 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20478 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20479 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20480 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20481 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20482 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20483 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20484 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20485 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20486 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20487 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20488 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20489 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20490 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20491 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20492 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20493 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20494 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20495 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20496 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20497 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20498 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20499 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20500 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20501 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20502 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20503 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20504 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20505 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20506 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20507 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20508 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20509 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20510 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20511 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20512 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20513 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20514 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20515 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20516 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20517 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20518 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20519 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20520 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20521 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20522 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20523 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20524 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20525 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20526 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20527 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20528 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20529 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20530 (R_AARCH64_TLSDESC_LDR): Likewise.
20531 (R_AARCH64_TLSDESC_ADD): Likewise.
20532 (R_AARCH64_TLSDESC_CALL): Likewise.
20534 2013-09-30 Andreas Schwab <schwab@suse.de>
20537 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20538 the nss database lookup.
20539 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20542 2013-09-28 Mike Frysinger <vapier@gentoo.org>
20544 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20546 2013-09-28 P. J. McDermott <pj@pehjota.net>
20548 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20549 ${Bash-specific parameter/pattern/string} parameter expansion.
20550 * sysdeps/unix/make-syscalls.sh: Likewise.
20552 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20554 * sysdeps/sh/stackguard-macros.h: New file.
20556 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
20558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20559 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20560 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20561 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20562 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20563 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20565 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20567 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20568 Fix thread ID register.
20570 2013-09-25 Joseph Myers <joseph@codesourcery.com>
20572 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20573 [POSIX || UNIX98]: Require rather than permitting all symbols from
20575 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20576 element of struct sched_param.
20577 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20578 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20579 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20580 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20583 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20585 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20586 argument calculation.
20588 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20590 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20592 [POSIX] (pthread_attr_t): Do not require type.
20593 [POSIX] (pthread_cond_t): Likewise.
20594 [POSIX] (pthread_condattr_t): Likewise.
20595 [POSIX] (pthread_key_t): Likewise.
20596 [POSIX] (pthread_mutex_t): Likewise.
20597 [POSIX] (pthread_mutexattr_t): Likewise.
20598 [POSIX] (pthread_once_t): Likewise.
20599 [POSIX] (pthread_t): Likewise.
20600 [POSIX-based standards] (pthread_atfork): Expect function.
20602 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20603 Richard Sandiford <richard@codesourcery.com>
20605 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20606 (swap_endianness_p): New extern variable.
20607 (set_big_endian): New inline function.
20608 (maybe_swap_uint32): Likewise.
20609 (maybe_swap_uint32_array): Likewise.
20610 (maybe_swap_uint32_obstack): Likewise.
20611 * locale/programs/locfile.c: Include <stdbool.h>.
20612 (swap_endianness_p): New variable.
20613 (add_locale_uint32): Call maybe_swap_uint32.
20614 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20615 (write_locale_data): Call maybe_swap_uint32_array.
20616 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20618 (obstack_int32_grow_fast): Likewise.
20619 (output_weightwc): Call maybe_swap_uint32_obstack.
20620 (collate_output): Likewise.
20621 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20622 (OPT_LITTLE_ENDIAN): Likewise.
20623 (options): Add --little-endian and --big-endian options.
20624 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20625 * locale/programs/locarchive.c: Include "locfile.h".
20629 (create_archive): Use the new macros to access fields of
20630 structures directly mapped from or written to locale archives.
20631 (oldlocrecentcmp): Likewise.
20632 (enlarge_archive): Likewise.
20633 (insert_name): Likewise.
20634 (add_alias): Likewise.
20635 (add_locale): Likewise.
20636 (delete_locales_from_archive): Likewise.
20637 (show_archive_content): Likewise.
20638 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20641 2013-09-24 Roland McGrath <roland@hack.frob.com>
20643 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20644 http://www.gnu.org/doc/freemanuals.texi.
20645 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20647 2013-09-24 Will Newton <will.newton@linaro.org>
20649 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20652 2013-09-23 Joseph Myers <joseph@codesourcery.com>
20654 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20657 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20659 * manual/threads.texi (POSIX Threads): Fix a typo.
20661 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20664 * string/tst-strcoll-overflow.c: New test case.
20665 * string/Makefile (xtests): Add tst-strcoll-overflow.
20666 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20667 cache if string sizes may cause integer overflow.
20670 * string/strcoll_l.c (coll_seq): New members rule, idx,
20671 save_idx and back_us.
20672 (get_next_seq_nocache): New function.
20673 (do_compare_nocache): New function.
20674 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20677 2013-09-23 Carlos O'Donell <carlos@redhat.com>
20680 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20681 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20682 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20685 * elf/Makefile (tests): Add tst-ptrguard1.
20686 (tests-static): Add tst-ptrguard1-static.
20687 (tst-ptrguard1-ARGS): Define.
20688 (tst-ptrguard1-static-ARGS): Define.
20689 * elf/tst-ptrguard1.c: New file.
20690 * elf/tst-ptrguard1-static.c: New file.
20691 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20692 * sysdeps/i386/stackguard-macros.h: Likewise.
20693 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20694 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20695 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20696 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20697 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20698 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20700 2013-09-23 Hector Marco <hecmargi@upv.es>
20701 Ismael Ripoll <iripoll@disca.upv.es>
20702 Carlos O'Donell <carlos@redhat.com>
20705 * sysdeps/generic/stackguard-macros.h: Define
20706 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20707 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20708 Define __pointer_chk_guard_local.
20709 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20710 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20712 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20715 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20717 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20719 * include/string.h (__ffs): Declare as hidden.
20720 * string/ffs.c (__ffs): Define as hidden.
20721 * sysdeps/i386/ffs.c (__ffs): Likewise.
20722 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20723 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20724 * sysdeps/s390/ffs.c (__ffs): Likewise.
20725 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20727 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
20729 * NEWS: Mention malloc probes.
20731 * malloc/arena.c (new_heap): New memory_heap_new probe.
20732 (grow_heap): New memory_heap_more probe.
20733 (shrink_heap): New memory_heap_less probe.
20734 (heap_trim): New memory_heap_free probe.
20735 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20736 (systrim): New memory_sbrk_less probe.
20737 * manual/probes.texi: Document them.
20739 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20740 * manual/probes.texi: Document it.
20742 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20743 (__libc_realloc): Add memory_realloc_retry probe.
20744 (__libc_memalign): Add memory_memalign_retry probe.
20745 (__libc_valloc): Add memory_valloc_retry probe.
20746 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20747 (__libc_calloc): Add memory_calloc_retry probe.
20748 * manual/probes.texi: Document them.
20750 * malloc/arena.c (get_free_list): Add probe
20751 memory_arena_reuse_free_list.
20752 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20753 and memory_arena_reuse.
20754 (arena_get2) [!PER_THREAD]: Likewise.
20755 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20756 memory_arena_reuse_realloc.
20757 * manual/probes.texi: Document them.
20759 * malloc/malloc.c (__libc_free): Add
20760 memory_mallopt_free_dyn_thresholds probe.
20761 (__libc_mallopt): Add multiple memory_mallopt probes.
20762 * manual/probes.texi: Document them.
20764 * malloc/malloc.c: Include stap-probe.h.
20765 (__libc_mallopt): Add memory_mallopt probe.
20766 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20767 * manual/probes.texi: New.
20768 * manual/Makefile (chapters): Add probes.
20769 * manual/threads.texi: Set next node.
20771 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
20773 [BZ #15963, #13985]
20774 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20775 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20776 Add `Chinese' to `nan' entry name.
20778 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20780 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20781 (POLYNOMIAL): Likewise.
20782 (TAYLOR_SINCOS): Likewise.
20783 (TAYLOR_SLOW): Likewise.
20784 (__sin): Use TAYLOR_SINCOS.
20786 (slow): Use TAYLOR_SLOW.
20788 (bsloww): Likewise.
20789 (csloww): Likewise.
20791 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20793 * stdlib/strtod_l.c: Fix buffer overrun.
20795 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20797 * benchtests/Makefile (bench): Add sincos.
20798 * benchtests/bench-sincos.c: New file.
20800 * math/libm-test.inc (cos_test_data): New test inputs.
20801 (sin_test_data): Likewise.
20803 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20809 (sloww1): Likewise.
20810 (sloww2): Likewise.
20811 (bsloww1): Likewise.
20812 (bsloww2): Likewise.
20813 (cslow2): Likewise.
20814 (csloww1): Likewise.
20815 (csloww2): Likewise.
20817 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20822 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20826 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20828 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20829 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20830 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20831 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20832 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20833 * elf/cache.c (print_entry): Handle the new cache flags.
20835 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20836 Aldy Hernandez <aldyh@redhat.com>
20838 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20839 Change condition to [_SOFT_FLOAT].
20840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20852 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20855 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20858 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20860 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20861 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20862 (__longjmp): Use LOAD_GP to load saved GPRs.
20863 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20864 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20865 (__sigsetjmp): Use SAVE_GP to save GPRs.
20867 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20868 Do not append -msoft-float.
20869 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20871 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20873 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20875 2013-09-17 Joseph Myers <joseph@codesourcery.com>
20878 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20879 (_FPU_GETCW): Use initial "__" on variable and field names but not
20880 on macro parameter name.
20881 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20882 parentheses around reference to macro parameter.
20884 2013-09-13 Richard Sandiford <richard@codesourcery.com>
20886 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20888 (ctype_startup): Use uint32_t in cast and sizeof for
20891 2013-09-11 Jia Liu <proljc@gmail.com>
20893 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20895 [__FreeBSD__]: Likewise.
20897 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
20899 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20900 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20901 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20902 (strchr): Remove __strchr_sse42 ifunc selection.
20903 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20904 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20906 2013-09-11 Will Newton <will.newton@linaro.org>
20908 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20909 parameter to RES. Remove hardcoded 1000 value.
20910 * benchtests/bench-skeleton.c (main): Pass RES parameter
20911 to TIMING_INIT and multiply result by 1000.
20913 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20917 2013-09-11 Andreas Schwab <schwab@suse.de>
20919 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20921 (O_TMPFILE) [__USE_GNU]: Define.
20922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20925 2013-09-11 Will Newton <will.newton@linaro.org>
20928 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20931 2013-09-11 Will Newton <will.newton@linaro.org>
20934 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20937 2013-09-11 Will Newton <will.newton@linaro.org>
20940 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20943 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
20945 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20946 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20948 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20949 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20951 2013-09-10 Allan McRae <allan@archlinux.org>
20954 * manual/arith.texi (Parsing of Floats): Clarify
20958 * manual/install.texi (Running make install): Mention
20960 * INSTALL: Regenerated.
20962 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20964 * csu/init-first.c (_init): Remove the !SHARED condition around
20965 FPU control word initialization.
20966 * elf/dl-support.c (_dl_fpu_control): New variable.
20967 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20968 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20969 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20970 * math/test-fpucw-static.c: New file.
20971 * math/test-fpucw-ieee.c: New file.
20972 * math/test-fpucw-ieee-static.c: New file.
20973 * math/Makefile (tests): Add `test-fpucw-ieee' and
20975 (tests-static): New variable.
20976 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20978 [($(build-shared),yes)]
20979 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20981 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20984 2013-09-09 Allan McRae <allan@archlinux.org>
20987 * manual/string.texi (Collation Functions): Fix typo in
20989 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20992 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20995 * libio/memstream.c (open_memstream): Fix memory leak.
20996 * libio/wmemstream.c (open_wmemstream): Likewise.
20999 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21001 2013-09-09 Will Newton <will.newton@linaro.org>
21003 * malloc/Makefile: Add tst-realloc to tests.
21004 * malloc/tst-realloc.c: New file.
21006 2013-09-09 Allan McRae <allan@archlinux.org>
21009 * COPYING: Update from GNU website to fix FSF address.
21010 * COPYING.LIB: Likewise.
21012 2013-09-06 David S. Miller <davem@davemloft.net>
21014 * po/zh_TW.po: Update Chinese (traditional) translation from
21015 translation project.
21017 2013-09-06 Richard Sandiford <richard@codesourcery.com>
21018 Joseph Myers <joseph@codesourcery.com>
21020 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21022 (obstack_chunk_alloc): New macro.
21023 (obstack_chunk_free): Likewise.
21024 (record_offset): New function.
21025 (init_locale_data): Likewise.
21026 (align_locale_data): Likewise.
21027 (add_locale_empty): Likewise.
21028 (add_locale_raw_data): Likewise.
21029 (add_locale_raw_obstack): Likewise.
21030 (add_locale_string): Likewise.
21031 (add_locale_wstring): Likewise.
21032 (add_locale_uint32): Likewise.
21033 (add_locale_uint32_array): Likewise.
21034 (add_locale_char): Likewise.
21035 (start_locale_structure): Likewise.
21036 (end_locale_structure): Likewise.
21037 (start_locale_prelude): Likewise.
21038 (end_locale_prelude): Likewise.
21039 (write_locale_data): Take locale_file structure rather than an
21041 * locale/programs/locfile.h: Include "obstack.h".
21042 (struct locale_file): Change to store locale file contents instead
21044 (init_locale_data): New prototype.
21045 (align_locale_data): Likewise.
21046 (add_locale_empty): Likewise.
21047 (add_locale_raw_data): Likewise.
21048 (add_locale_raw_obstack): Likewise.
21049 (add_locale_string): Likewise.
21050 (add_locale_wstring): Likewise.
21051 (add_locale_uint32): Likewise.
21052 (add_locale_uint32_array): Likewise.
21053 (add_locale_char): Likewise.
21054 (start_locale_structure): Likewise.
21055 (end_locale_structure): Likewise.
21056 (start_locale_prelude): Likewise.
21057 (end_locale_prelude): Likewise.
21058 (write_locale_data): Update prototype.
21059 * locale/programs/3level.h (struct TABLE): Remove result field.
21060 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21061 Use new locale_file interface.
21062 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21063 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21064 * locale/programs/ld-address.c (address_output): Use new
21065 locale_file interface.
21066 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21068 (collate_finish): Don't call collseq_table_finalize.
21069 (collate_output): Use new locale_file interface.
21070 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21072 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21073 (TABLE): Move defines earlier in file.
21074 (ELEMENT): Likewise.
21075 (DEFAULT): Likewise.
21076 (wctrans_table_add): Move macro and inline function earlier in
21078 (struct wctype_table): Move type earlier in file.
21079 (add_locale_wctype_table): New static prototype.
21080 (struct locale_ctype_t): Use logical types instead of struct iovec
21081 pointers for members.
21082 (ctype_output): Use new locale_file interface.
21083 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21084 new locale_file interface.
21085 (allocate_arrays): Update for use of new locale_file interface.
21086 * locale/programs/ld-identification.c (identification_output): Use
21087 new locale_file interface.
21088 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21089 * locale/programs/ld-messages.c (messages_output): Likewise.
21090 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21091 * locale/programs/ld-name.c (name_output): Likewise.
21092 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21093 * locale/programs/ld-paper.c (paper_output): Likewise.
21094 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21095 * locale/programs/ld-time.c (time_output): Likewise.
21097 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21099 * benchtests/Makefile: Add memrchr benchmark.
21100 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21101 benchmark as memrchr.
21102 * benchtests/bench-memrchr-ifunc.c: New file.
21103 * benchtests/bench-memrchr.c: New file.
21105 2013-09-06 Will Newton <will.newton@linaro.org>
21107 * benchtests/Makefile (string-bench): Add memcpy.
21109 2013-09-05 Carlos O'Donell <carlos@redhat.com>
21110 Cong Wang <amwang@redhat.com>
21113 * sysdeps/unix/sysv/linux/bits/in.h
21114 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21115 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21116 before __USE_KERNEL_IPV6_DEFS uses.
21117 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21119 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21120 sockaddr_in6, or ipv6_mreq.
21122 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21124 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21125 memory access for final bytes in some large inputs.
21126 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21128 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21130 * string/test-memrchr.c: New file.
21131 * string/test-memrchr-ifunc.c: New file.
21132 * string/Makefile: Add new memrchr testcase.
21134 2013-09-05 Mike Frysinger <vapier@gentoo.org>
21136 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21137 fanotify_init returns EPERM.
21139 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21141 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21143 (top level): Treat second token from macro or constant entries for
21144 allowed headers as allowed.
21145 * include/complex.h: Condition internal declarations on
21147 * include/fenv.h: Condition include of <stdbool.h> and internal
21148 declarations on [!_ISOMAC].
21150 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21153 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21155 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21157 * configure.in (--enable-versioning): Remove configure option.
21158 (libc_cv_asm_symver_directive): Remove configure test.
21159 (libc_cv_ld_version_script_option): Likewise.
21160 (VERSIONING): Remove variable and AC_SUBST.
21161 (DO_VERSIONING): Remove AC_DEFINE.
21162 * configure: Regenerated.
21163 * config.h.in (DO_VERSIONING): Remove macro.
21164 * Makerules [$(versioning) = yes]: Change conditionals to
21165 [$(build-shared) = yes].
21166 * config.make.in (versioning): Remove variable.
21167 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21168 [$(build-shared) = yes].
21169 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21170 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21171 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21172 [$(build-shared) = yes].
21173 * extra-lib.mk [$(versioning) = yes]: Likewise.
21174 * hurd/Makefile [$(versioning) = yes]: Likewise.
21175 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21177 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21179 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21180 [SHARED && !NO_HIDDEN].
21181 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21183 [SHARED && DO_VERSIONING]: Likewise..
21184 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21185 [$(build-shared) = yes].
21186 * manual/install.texi (--disable-versioning): Remove
21188 * INSTALL: Regenerated.
21189 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21191 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21192 [$(build-shared) = yes].
21193 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21194 * sysdeps/i386/i686/multiarch/strstr-c.c
21195 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21196 [SHARED && !NO_HIDDEN].
21197 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21198 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21199 * sysdeps/powerpc/powerpc32/dl-machine.c
21200 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21201 * sysdeps/powerpc/powerpc32/sysdep.h
21202 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21203 to [SHARED && PIC && !NO_HIDDEN].
21204 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21205 conditional to [SHARED].
21207 2013-09-04 Will Newton <will.newton@linaro.org>
21209 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21210 * benchtests/bench-string.h: Include bench-timing.h instead
21211 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21212 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21213 call to HP_TIMING_DIFF_INIT.
21214 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21215 instead of hp-timing.h macros.
21216 * benchtests/bench-memchr.c: Likewise.
21217 * benchtests/bench-memcmp.c: Likewise.
21218 * benchtests/bench-memcpy.c: Likewise.
21219 * benchtests/bench-memmem.c: Likewise.
21220 * benchtests/bench-memmove.c: Likewise.
21221 * benchtests/bench-memset.c: Likewise.
21222 * benchtests/bench-rawmemchr.c: Likewise.
21223 * benchtests/bench-strcasecmp.c: Likewise.
21224 * benchtests/bench-strcasestr.c: Likewise.
21225 * benchtests/bench-strcat.c: Likewise.
21226 * benchtests/bench-strchr.c: Likewise.
21227 * benchtests/bench-strcmp.c: Likewise.
21228 * benchtests/bench-strcpy.c: Likewise.
21229 * benchtests/bench-strcpy_chk.c: Likewise.
21230 * benchtests/bench-strlen.c: Likewise.
21231 * benchtests/bench-strncasecmp.c: Likewise.
21232 * benchtests/bench-strncat.c: Likewise.
21233 * benchtests/bench-strncmp.c: Likewise.
21234 * benchtests/bench-strncpy.c: Likewise.
21235 * benchtests/bench-strnlen.c: Likewise.
21236 * benchtests/bench-strpbrk.c: Likewise.
21237 * benchtests/bench-strrchr.c: Likewise.
21238 * benchtests/bench-strspn.c: Likewise.
21239 * benchtests/bench-strstr.c: Likewise.
21241 2013-09-04 Will Newton <will.newton@linaro.org>
21243 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21245 2013-09-03 Joseph Myers <joseph@codesourcery.com>
21248 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21249 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21250 * math/libm-test.inc (lgamma_test_data): Add more tests.
21251 * sysdeps/i386/fpu/libm-test-ulps: Update.
21252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21254 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
21256 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21257 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21260 Add strcmp-sse2-unaligned
21261 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21263 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21265 * Versions.def (libc): Add GLIBC_2.19.
21267 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21269 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21270 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21272 2013-09-02 Joseph Myers <joseph@codesourcery.com>
21275 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21276 intermediate calculations in recurrence.
21277 (__ieee754_ynf): Likewise.
21278 * math/libm-test.inc (jn_test_data): Do not allow spurious
21279 underflow exception. Add more tests.
21280 (yn_test_data): Add more tests.
21281 * sysdeps/i386/fpu/libm-test-ulps: Update.
21282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21284 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
21286 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21288 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21290 * csu/init-first.c: Fix then/than typos.
21291 * locale/programs/ld-collate.c: Likewise.
21292 * locale/programs/linereader.h: Likewise.
21293 * manual/charset.texi: Likewise.
21294 * manual/filesys.texi: Likewise.
21295 * manual/stdio.texi: Likewise.
21296 * manual/string.texi: Likewise.
21297 * stdlib/fmtmsg.c: Likewise.
21298 * sysdeps/i386/stpncpy.S: Likewise.
21299 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21300 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21301 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21302 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21304 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21306 * elf/dl-open.c: Fix typos.
21307 * iconvdata/gbbig5.c: Likewise.
21308 * iconvdata/iso-2022-jp.c: Likewise.
21309 * iconv/gconv_int.h: Likewise.
21310 * iconv/loop.c: Likewise.
21311 * nis/rpcsvc/nis.h: Likewise.
21312 * resolv/ns_name.c: Likewise.
21313 * stdio-common/vfscanf.c: Likewise.
21314 * streams/stropts.h: Likewise.
21315 * sunrpc/rpc_thread.c: Likewise.
21316 * sysdeps/i386/strpbrk.S: Likewise.
21317 * sysdeps/ieee754/k_standard.c: Likewise.
21318 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21319 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21320 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21321 * sysdeps/mach/hurd/profil.c: Likewise.
21322 * sysdeps/s390/dl-procinfo.h: Likewise.
21323 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21324 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21325 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21326 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21327 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21329 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21331 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21334 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21336 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21337 aix specific files.
21338 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21339 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21340 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21341 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21342 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21343 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21344 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21345 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21347 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21348 Roland McGrath <roland@hack.frob.com>
21350 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21351 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21353 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21355 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21356 __executable_start symbol instead of _start.
21358 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21360 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21361 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21363 * sysdeps/gnu/ldsodefs.h: ... this new file.
21365 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21366 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21367 instead of ELFOSABI_LINUX.
21369 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21370 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21371 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21372 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21374 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21375 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21376 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21378 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21379 (ibm_extended_long_double): Add ieee_nan member.
21380 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21381 (do_test): New function.
21383 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21385 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21386 functions, renamed from truncdfsf_test, trunctfsf_test,
21388 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21390 (do_test): Run all these.
21392 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21394 * argp/argp-help.c: Fix typos.
21395 * argp/argp-parse.c: Likewise.
21396 * debug/backtracesyms.c: Likewise.
21397 * elf/elf.h: Likewise.
21398 * malloc/malloc.c: Likewise.
21399 * nis/nis_print.c: Likewise.
21400 * resolv/res_comp.c: Likewise.
21401 * stdlib/stdlib.h: Likewise.
21402 * sunrpc/clnt_tcp.c: Likewise.
21403 * sunrpc/clnt_udp.c: Likewise.
21404 * sunrpc/clnt_unix.c: Likewise.
21405 * sysdeps/unix/bsd/ptsname.c: Likewise.
21406 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21407 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21414 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21416 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21418 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21421 2013-08-27 Mike Frysinger <vapier@gentoo.org>
21424 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21425 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21426 ($(objpfx)bug-dl-leaf): New rule.
21427 ($(objpfx)bug-dl-leaf.so): Likewise.
21428 ($(objpfx)bug-dl-leaf.out): Likewise.
21429 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21430 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21431 * dlfcn/bug-dl-leaf.c: New test.
21432 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21433 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21434 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21435 (dlclose): Likewise.
21436 (dlmopen): Likewise.
21438 2013-08-27 Roland McGrath <roland@hack.frob.com>
21440 * include/netdb.h [!_ISOMAC]:
21441 Don't include <tls.h>.
21442 (h_errno, __libc_h_errno): Move declaration and macros out of
21445 * include/resolv.h [_RESOLV_H_]:
21446 Don't include <tls.h>.
21447 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21448 * resolv/res_libc.c: Don't include <tls.h>.
21449 (_res): Use __attribute__ ((nocommon)) in place of
21450 __attribute__ ((section (".bss"))).
21452 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21453 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21455 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21457 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21458 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21460 * resolv/res_mkquery.c: Include <sys/time.h>.
21462 * inet/ifreq.c: Moved to ...
21463 * sysdeps/unix/ifreq.c: ... here.
21464 * inet/ifreq.c: New file, true stub version.
21466 * socket/sa_len.c: New file.
21467 * socket/Makefile (aux): Add it.
21468 * sysdeps/unix/sysv/linux/Makefile
21469 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21470 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21471 and #include <socket/sa_len.c>.
21472 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21473 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21475 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21476 * bits/socket.h: ... here.
21478 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21479 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21480 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21482 2013-08-27 Andreas Schwab <schwab@suse.de>
21485 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21486 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21487 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21488 * string/test-strcasecmp.c (test_main): Run tests in several
21490 * string/test-strncasecmp.c (test_main): Likewise.
21492 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21493 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21494 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21495 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21496 (__strncasecmp_ssse3) [PIC]: Likewise.
21498 2013-08-26 Roland McGrath <roland@hack.frob.com>
21500 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21502 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21503 instead of explicitly declaring xdecrypt.
21504 * nis/nss_nis/nis-publickey.c: Likewise.
21506 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21509 * nscd/aicache.c: Include res_hconf.h.
21510 (addhstaiX): Initialize res_hconf.
21512 2013-08-26 Andreas Schwab <schwab@suse.de>
21514 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21515 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21517 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21519 * nscd/aicache.c (addhstaiX): Fix indentation.
21521 2013-08-25 Mike Frysinger <vapier@gentoo.org>
21523 * configure.ac: Quote $build_pt_chown test.
21524 * configure: Regenerated.
21526 2013-08-23 Joseph Myers <joseph@codesourcery.com>
21529 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21530 * math/s_cexpf.c (__cexpf): Likewise.
21531 * math/s_cexpl.c (__cexpl): Likewise.
21532 * math/libm-test.inc (cexp_test_data): Correct expected return
21533 value for NaN + i0. Add another test.
21535 2013-08-22 David S. Miller <davem@davemloft.net>
21537 * po/ca.po: Update Catalan translation from translation project.
21538 * po/uk.po: Add Ukrainian translations from translation project.
21540 2013-08-21 Joseph Myers <joseph@codesourcery.com>
21543 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21544 is infinite, not alongside NaN test.
21545 * math/s_fdimf.c (__fdimf): Likewise.
21546 * math/s_fdiml.c (__fdiml): Likewise.
21547 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21548 errno is unchanged.
21550 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
21552 * argp/argp-help.c: Fix typos.
21553 * crypt/speeds.c: Likewise.
21554 * csu/check_fds.c: Likewise.
21555 * elf/dl-load.c: Likewise.
21556 * elf/dl-open.c: Likewise.
21557 * elf/reldep3.c: Likewise.
21558 * elf/reldep.c: Likewise.
21559 * elf/sprof.c: Likewise.
21560 * iconv/iconv_charmap.c: Likewise.
21561 * iconv/skeleton.c: Likewise.
21562 * iconv/strtab.c: Likewise.
21563 * io/lockf64.c: Likewise.
21564 * libio/libioP.h: Likewise.
21565 * resolv/gai_notify.c: Likewise.
21566 * resolv/ns_name.c: Likewise.
21567 * resolv/ns_samedomain.c: Likewise.
21568 * resolv/res_send.c: Likewise.
21569 * stdlib/random.c: Likewise.
21570 * sunrpc/rpc/xdr.h: Likewise.
21571 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21572 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21573 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21574 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21575 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21576 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21578 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21579 * sysdeps/mach/hurd/check_fds.c: Likewise.
21580 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21581 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21582 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21583 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21584 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21585 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21586 * sysdeps/pthread/aio_notify.c: Likewise.
21587 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21588 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21589 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21590 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21591 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21593 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21595 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21596 version if bit_Slow_SSE4_2 is set.
21597 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21598 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21600 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21603 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21604 trampoline stack frame information.
21605 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21606 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21607 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21608 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21609 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21610 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21611 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21612 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21614 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21615 interrupting a syscall and set with option SA_SIGINFO.
21617 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21620 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21621 argument is infinite.
21622 * math/s_cprojf.c (__cprojf): Likewise.
21623 * math/s_cprojl.c (__cprojl): Likewise.
21624 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21625 * math/libm-test.inc (cproj_test_data): Add more tests.
21627 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21629 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21630 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21631 size. Use __ffs to determine corresponding shift.
21633 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21634 Roland McGrath <roland@hack.frob.com>
21636 * Makefile (INSTALL): Remove trailing blank lines from output of
21639 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21641 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21642 Align 32 bit compat elf_greg to 8 bytes.
21644 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21646 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21648 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21650 * string/strcoll_l.c (coll_seq): New structure.
21651 (get_next_seq_cached): New function.
21652 (get_next_seq): New function.
21653 (do_compare): New function.
21654 (STRCOLL): Use GNU style definition. Simplify implementation
21655 by using get_next_seq, get_next_seq_cached and do_compare.
21657 2013-08-16 Florian Weimer <fweimer@redhat.com>
21661 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21663 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21665 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21666 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21667 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21669 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21670 GETDENTS_64BIT_ALIGNED.
21671 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21672 * manual/filesys.texi (Reading/Closing Directory): Document
21673 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21675 * manual/conf.texi (Limits for Files): Add portability note to
21676 NAME_MAX, PATH_MAX.
21677 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21679 2013-08-13 Andreas Schwab <schwab@suse.de>
21682 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21684 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21685 LDBL_MAX_EXP >= 16384]: Add tests for it.
21687 2013-08-12 David S. Miller <davem@davemloft.net>
21689 * version.h (RELEASE): Set to "development".
21690 (VERSION): Set to "2.18.90".
21691 * NEWS: Add 2.19 section.
21693 2013-08-03 David S. Miller <davem@davemloft.net>
21695 * po/ko.po: Update Korean translation from translation project.
21697 2013-08-01 David S. Miller <davem@davemloft.net>
21699 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21700 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21703 2013-07-30 David S. Miller <davem@davemloft.net>
21705 * po/fr.po: Update French translation from translation project.
21707 2013-07-28 David S. Miller <davem@davemloft.net>
21709 * po/cs.po: Update Czech translation from translation project.
21711 * po/sv.po: Update Swedish translation from translation project.
21713 2013-07-27 David S. Miller <davem@davemloft.net>
21715 * po/eo.po: Update Esperanto translation from translation project.
21717 * po/vi.po: Update Vietnamese translation from translation project.
21719 * po/de.po: Update German translation from translation project.
21721 2013-07-26 David S. Miller <davem@davemloft.net>
21723 * po/bg.po: Update Bulgarian translation from translation project.
21725 * po/nl.po: Update Dutch translation from translation project.
21726 * po/pl.po: Update Polish translation from translation project.
21727 * po/ru.po: Update Russian translation from translation project.
21729 2013-07-24 David S. Miller <davem@davemloft.net>
21731 * po/libc.pot: Update.
21733 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21735 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21736 variable page size.
21737 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21738 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21739 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21741 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21743 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21745 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21746 Andreas Schwab <schwab@suse.de>
21747 Roland McGrath <roland@hack.frob.com>
21748 Joseph Myers <joseph@codesourcery.com>
21749 Carlos O'Donell <carlos@redhat.com>
21752 * config.h.in: Define HAVE_PT_CHOWN.
21753 * config.make.in (build-pt-chown): New variable.
21754 * configure.in (--enable-pt_chown): New configure option.
21755 * configure: Regenerate.
21756 * login/Makefile: Include Makeconfig. Build pt_chown only if
21757 build-pt-chown is enabled.
21758 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21759 pt_chown to fix pty ownership.
21760 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21762 * manual/install.texi (Configuring and compiling): Mention
21763 --enable-pt_chown. Add @findex for grantpt.
21764 * INSTALL: Regenerate.
21766 2013-07-20 David S. Miller <davem@davemloft.net>
21768 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21769 difference between 32-bit and 64-bit.
21771 2013-07-15 Carlos O'Donell <carlos@redhat.com>
21774 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21775 Avoid system header dependency with -ffreestanding.
21776 ($(objpfx)bits/syscall%d): Likewise.
21778 2013-07-13 David S. Miller <davem@davemloft.net>
21780 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21781 underflows from atanl/atan2l due to bug 15319.
21782 (casinh_test_data): Likewise.
21784 2013-07-07 David S. Miller <davem@davemloft.net>
21786 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21788 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21790 * sysdeps/i386/fpu/libm-test-ulps: Update.
21791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21793 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21795 * configure.in (--enable-lock-elision): Fix message text.
21796 * INSTALL: Regenerate.
21797 * configure: Regenerate.
21799 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21803 2013-07-03 Andreas Jaeger <aj@suse.de>
21805 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21807 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21808 (ptrace_peeksiginfo_args): Add.
21809 (__ptrace_peeksiginfo_flags): Add.
21810 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21811 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21814 2013-07-03 Allan McRae <allan@archlinux.org>
21816 * sysdeps/i386/fpu/libm-test-ulps: Update.
21818 2013-07-02 David S. Miller <davem@davemloft.net>
21820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21822 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21826 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21828 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21831 2013-07-02 Andi Kleen <ak@linux.intel.com>
21833 * config.h.in (ENABLE_LOCK_ELISION): Add.
21834 * configure.in (--enable-lock-elision): Add option.
21835 * manual/install.texi: Document --enable lock elision.
21836 * configure: Regenerate
21837 * INSTALL: Regenerate.
21839 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21841 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21842 SSE4.2 strcasecmp for libc.a.
21843 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21845 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21848 * soft-fp/op-common.h (_FP_FMA): New macro.
21849 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21850 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21851 (_FP_MUL_MEAT_1_imm): ... here.
21852 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21853 (_FP_MUL_MEAT_1_wide): ... here.
21854 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21855 (_FP_MUL_MEAT_1_hard): ... here.
21856 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21857 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21858 (_FP_MUL_MEAT_2_wide): ... here.
21859 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21860 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21861 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21862 (_FP_MUL_MEAT_2_gmp): ... here.
21863 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21864 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21865 (_FP_MUL_MEAT_4_wide): ... here.
21866 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21867 (_FP_MUL_MEAT_4_gmp): ... here.
21868 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21869 (_FP_WFRACBITS_DW_S): Likewise.
21870 (_FP_WFRACXBITS_DW_S): Likewise.
21871 (_FP_HIGHBIT_DW_S): Likewise.
21872 (FP_FMA_S): Likewise.
21873 (_FP_FRAC_HIGH_DW_S): Likewise.
21874 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21875 (_FP_WFRACBITS_DW_D): Likewise.
21876 (_FP_WFRACXBITS_DW_D): Likewise.
21877 (_FP_HIGHBIT_DW_D): Likewise.
21878 (FP_FMA_D): Likewise.
21879 (_FP_FRAC_HIGH_DW_D): Likewise.
21880 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21881 (_FP_WFRACBITS_DW_E): Likewise.
21882 (_FP_WFRACXBITS_DW_E): Likewise.
21883 (_FP_HIGHBIT_DW_E): Likewise.
21884 (FP_FMA_E): Likewise.
21885 (_FP_FRAC_HIGH_DW_E): Likewise.
21886 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21887 (_FP_WFRACBITS_DW_Q): Likewise.
21888 (_FP_WFRACXBITS_DW_Q): Likewise.
21889 (_FP_HIGHBIT_DW_Q): Likewise.
21890 (FP_FMA_Q): Likewise.
21891 (_FP_FRAC_HIGH_DW_Q): Likewise.
21892 * soft-fp/fmasf4.c: New file.
21893 * soft-fp/fmadf4.c: Likewise.
21894 * soft-fp/fmatf4.c: Likewise.
21896 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21899 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21901 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21903 (index_Slow_SSE4_2): Likewise.
21904 (index_Prefer_PMINUB_for_stringop): Likewise.
21905 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21906 bit_Slow_SSE4_2 is set.
21907 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21908 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21910 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21912 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21913 rtld_global._dl_hwcap2.
21914 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21916 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21917 POWER8 feature descriptions defined in _dl_hwcap2.
21918 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21919 string handling for POWER8 feature bits.
21920 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21921 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21922 _dl_powerpc_cap_flags.
21923 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21924 * sysdeps/powerpc/rtld-global-offsets.sym
21925 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21926 _dl_hwcap2 in the rtld_global_ro structure.
21928 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21930 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21931 hardware capabilities in support of AT_HWCAP2.
21932 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21933 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21935 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21936 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21937 explicitly the unknown a_type display mechanism is used.
21938 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21939 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21941 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21942 to macro prototype for AT_HWCAP2 support.
21943 * sysdeps/i386/dl-procinfo.h: Likewise.
21944 * sysdeps/s390/dl-procinfo.h: Likewise.
21945 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21946 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21947 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21948 return -1 for unknown a_type display fallback.
21949 * sysdeps/sparc/dl-procinfo.h: Likewise.
21950 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21951 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21953 2013-06-28 Joseph Myers <joseph@codesourcery.com>
21955 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21956 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21958 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21961 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21962 mprotect making __stack_prot writable.
21964 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21965 Joseph Myers <joseph@codesourcery.com>
21967 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21968 as being properly aligned.
21970 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21972 * dlfcn/modstatic5.c: New file.
21973 * dlfcn/tststatic5.c: New file.
21974 * dlfcn/Makefile (tests): Add tststatic5.
21975 (tests-static): Likewise.
21976 (modules-names): Add modstatic5.
21977 (tststatic5-ENV): New variable.
21978 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21981 * elf/dl-support.c (_dl_main_map): New variable.
21982 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21983 (_dl_nns, _dl_load_adds): Set to 1.
21984 (_dl_initial_searchlist): Refer to _dl_main_map.
21985 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21986 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21987 call to _dl_get_origin.
21988 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21990 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21991 * dlfcn/modstatic3.c: New file.
21992 * dlfcn/tststatic3.c: New file.
21993 * dlfcn/tststatic4.c: New file.
21994 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21995 (tests-static): Likewise.
21996 (modules-names): Add modstatic3.
21997 (tststatic3-ENV, tststatic4-ENV): New variables.
21998 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21999 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22001 2013-06-26 Joseph Myers <joseph@codesourcery.com>
22003 * configure.in (CC): Require GCC version 4.4 or later.
22004 * configure: Regenerated.
22005 * manual/install.texi (Tools for Compilation): Update GCC version
22007 * INSTALL: Regenerated.
22009 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22012 * string/test-memcmp.c (check2): New.
22013 (main): Call check2.
22015 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22017 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22020 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22022 (dl_open_worker) [!SHARED]: ... here.
22024 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22026 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22028 2013-06-25 Richard Henderson <rth@redhat.com>
22030 * locale/programs/locarchive.c: Include <libc-internal.h>
22032 2013-06-25 Joseph Myers <joseph@codesourcery.com>
22034 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22035 trailing whitespace removed.
22037 2013-06-24 Mike Frysinger <vapier@gentoo.org>
22040 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22041 * locale/programs/locarchive.c: Include libc-mmap.h.
22042 (prepare_address_space): Take two new outputs (the mmap base and len).
22043 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22045 (create_archive): Declare new mmap base and len values for
22046 prepare_address_space, and store the result in ah.
22047 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22048 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22049 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22050 Declare new mmap base and len values for
22051 prepare_address_space, and store the result in new_ah.
22052 (open_archive): Declare new mmap base and len values for
22053 prepare_address_space, and store the result in ah.
22054 (close_archive): If ah->mmap_base is not NULL, use that and
22055 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22056 * sysdeps/generic/libc-mmap.h: New file.
22058 2013-06-24 Mike Frysinger <vapier@gentoo.org>
22060 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22061 (ALIGN_UP): Likewise.
22062 (PTR_ALIGN_DOWN): Likewise.
22063 (PTR_ALIGN_UP): Likewise.
22065 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22067 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22068 entry mapped to PPC_PLATFORM_POWER8.
22069 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22071 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22072 (_dl_string_platform): Add case for exporting platform position for
22074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22075 search path to sysdeps/powerpc/powerpc32/power8 directory.
22076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22077 search path to sysdeps/powerpc/powerpc64/power8 directory.
22078 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22079 power7 directories.
22080 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22081 power7 directories.
22083 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22085 * INSTALL: Regenerate.
22087 * nscd/connections.c (nscd_init): Fix comment.
22089 2013-06-22 Joseph Myers <joseph@codesourcery.com>
22091 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22094 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22095 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22097 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22099 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22101 (DL_DST_REQ_STATIC): Remove macro.
22103 2013-06-21 Joseph Myers <joseph@codesourcery.com>
22106 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22107 with a shift of 0 bits.
22109 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22111 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22114 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22117 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22119 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22121 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22122 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22123 accepts -fno-tree-loop-distribute-patterns.
22124 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22125 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22127 * string/memset.c (memset): Likewise.
22128 * string/test-memmove.c (simple_memmove): Disable loop transformation
22130 * string/test-memset.c (simple_memset): Likewise.
22131 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22132 * benchtests/bench-memset.c (simple_memset): Likewise.
22133 * configure: Regenerated.
22135 2013-06-20 Joseph Myers <joseph@codesourcery.com>
22137 * math/test-misc.c (main): Ignore fesetround failure when failures
22138 of subsequent rounding tests would be ignored.
22141 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22142 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22143 * math/fegetenv.c (__fegetenv): Return 0.
22144 * math/fegetexcept.c (fegetexcept): Return 0.
22145 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22147 * math/feholdexcpt.c (feholdexcept): Return 0.
22148 * math/fesetenv.c (__fesetenv): Return 0.
22149 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22150 argument FE_TONEAREST.
22151 * math/feupdateenv.c (__feupdateenv): Return 0.
22152 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22154 2013-06-18 Roland McGrath <roland@hack.frob.com>
22156 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22157 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22158 ($(objpfx)rtld-%.os rules): Use them.
22160 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22162 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22165 2013-06-17 Roland McGrath <roland@hack.frob.com>
22167 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22168 length of target pattern, then descending length of dependency pattern.
22169 * configure.in (AWK): Require gawk 3.1.2 or newer.
22170 * manual/install.texi (Tools for Compilation): Say that we do.
22171 * configure: Regenerated.
22173 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22174 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22175 * scripts/sysd-rules.awk: ... this new script.
22176 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22177 than a glob-style pattern.
22179 2013-06-17 Joseph Myers <joseph@codesourcery.com>
22181 * math/test-misc.c (main): Do not treat incorrectly rounded
22182 conversions as failure unless ROUNDING_TESTS passes.
22184 2013-06-15 Joseph Myers <joseph@codesourcery.com>
22187 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22188 restore exception state around main square root computation, then
22189 check for inexactness explicitly.
22191 * math/libm-test.inc (fma_test_data): Add another test.
22193 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22195 * manual/threads.texi (Non-POSIX Extensions): New document
22196 node. Document pthread_getattr_default_np and
22197 pthread_setattr_default_np.
22199 * Versions.def (libpthread): Add GLIBC_2.18.
22200 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22209 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22220 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22223 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22225 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22226 H.J. Lu <hjl.tools@gmail.com>
22229 * sysdeps/x86_64/rtld-memset.c: Remove file.
22230 * sysdeps/x86_64/rtld-memset.S: New file.
22232 2013-06-14 Joseph Myers <joseph@codesourcery.com>
22234 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22235 (test_in_one_mode): Take arguments for whether the rounding mode
22236 is supported for each floating-point type.
22237 (do_test): Pass new arguments to test_in_one_mode using
22240 2013-06-13 Roland McGrath <roland@hack.frob.com>
22242 * posix/tst-waitid.c (do_test): Distinguish different instances of
22243 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22244 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22245 before entering the kernel for waitpid.
22247 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22249 * NEWS: Fix note on clock function precision. Text by Roland
22252 2013-06-13 Roland McGrath <roland@hack.frob.com>
22254 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22255 it into place only when and if the sanity check passes.
22257 2013-06-13 Joseph Myers <joseph@codesourcery.com>
22259 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22260 output for whether conversion result is exact. Take argument
22261 indicating whether type is IBM long double.
22262 (round_for_all): Change need_exact field to ibm_ld.
22263 * stdlib/tst-strtod-round.c (struct exactness): New type.
22264 (struct test): Change bool ld_ok field to struct exactness exact.
22265 (TEST): Update all definitions for change to field.
22266 (tests): Regenerate array contents.
22267 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22268 field value. Check for IBM long double here.
22269 (do_test): Update calls to test_in_one_mode.
22271 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22274 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22275 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22277 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22280 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22281 generated by the compiler on loop optimizations.
22282 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22283 general definitions.
22285 2013-06-12 Joseph Myers <joseph@codesourcery.com>
22287 * math/bug-nextafter.c: Include <math-tests.h>.
22288 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22290 * math/bug-nexttoward.c: Include <math-tests.h>.
22291 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22293 * math/test-misc.c: Include <math-tests.h>.
22294 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22297 2013-06-12 Andreas Jaeger <aj@suse.de>
22299 * po/ia.po: Update Interlingua translation from translation
22302 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22304 * include/fenv.h: Include stdbool.h.
22305 (struct rm_ctx): New structure.
22306 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22308 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22309 (SET_RESTORE_ROUNDF): Likewise.
22310 (SET_RESTORE_ROUNDL): Likewise.
22311 (SET_RESTORE_ROUND_NOEX): Likewise.
22312 (SET_RESTORE_ROUND_NOEXF): Likewise.
22313 (SET_RESTORE_ROUND_NOEXL): Likewise.
22314 (SET_RESTORE_ROUND_53BIT): Likewise.
22315 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22316 (libc_feresetround_noexf_ctx): Likewise.
22317 (libc_feresetround_noexl_ctx): Likewise.
22318 (libc_feholdsetround_53bit_ctx): Likewise.
22319 (libc_feresetround_53bit_ctx): Likewise.
22320 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22321 (libc_feholdexcept_setround_sse_ctx): New function.
22322 (libc_fesetenv_sse_ctx): Likewise.
22323 (libc_feupdateenv_sse_ctx): Likewise.
22324 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22325 (libc_feholdexcept_setround_387_ctx): Likewise.
22326 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22327 (libc_feholdsetround_387_prec_ctx): Likewise.
22328 (libc_feholdsetround_387_ctx): Likewise.
22329 (libc_feholdsetround_387_53bit_ctx): Likewise.
22330 (libc_feholdsetround_sse_ctx): Likewise.
22331 (libc_feresetround_sse_ctx): Likewise.
22332 (libc_feresetround_387_ctx): Likewise.
22333 (libc_feupdateenv_387_ctx): Likewise.
22334 (libc_feholdexcept_setroundf_ctx): Define macro.
22335 (libc_fesetenvf_ctx): Likewise.
22336 (libc_feupdateenvf_ctx): Likewise.
22337 (libc_feholdsetroundf_ctx): Likewise.
22338 (libc_feresetroundf_ctx): Likewise.
22339 (libc_feholdexcept_setround_ctx): Likewise.
22340 (libc_fesetenv_ctx): Likewise.
22341 (libc_feupdateenv_ctx): Likewise.
22342 (libc_feholdsetround_ctx): Likewise.
22343 (libc_feresetround_ctx): Likewise.
22344 (libc_feholdexcept_setroundl_ctx): Likewise.
22345 (libc_feupdateenvl_ctx): Likewise.
22346 (libc_feholdsetroundl_ctx): Likewise.
22347 (libc_feresetroundl_ctx): Likewise.
22348 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22349 (libc_feresetround_53bit_ctx): Likewise.
22351 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22353 * locale/iso-639.def: Convert to UTF-8.
22355 2013-06-11 Joseph Myers <joseph@codesourcery.com>
22357 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22358 (EXCEPTION_TESTS_double): Likewise.
22359 (EXCEPTION_TESTS_long_double): Likewise.
22360 (EXCEPTION_TESTS): Likewise.
22361 * math/libm-test.inc (test_exceptions): Only test exceptions if
22362 EXCEPTION_TESTS (FLOAT).
22364 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22366 * benchtests/Makefile (string-bench): Add strcpy_chk and
22368 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22369 * benchtests/bench-stpcpy_chk.c: New file.
22370 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22371 * benchtests/bench-strcpy_chk.c: New file.
22372 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22374 (do_test): Likewise.
22376 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22378 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22379 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22380 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22381 with tabs where appropriate.
22382 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22384 [PPC_PLATFORM_PPC440]: Likewise.
22385 [PPC_PLATFORM_PPC464]: Likewise.
22386 [PPC_PLATFORM_PPC476]: Likewise.
22387 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22388 ppc464, and ppc476 platform strings merging from ports/
22391 2013-06-11 Andreas Schwab <schwab@suse.de>
22394 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22395 (from_ucs4_idx): Regenerate.
22396 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22397 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22398 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22399 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22400 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22401 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22402 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22403 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22404 from FROM_LOOP and TO_LOOP specific macros.
22405 (BODY): Handle combining characters.
22406 * iconvdata/BIG5HKSCS.irreversible: Update.
22407 * iconvdata/BIG5HKSCS.precomposed: New file.
22408 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22410 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22412 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22414 * include/sys/time.h: Fix indentation and add copyright header.
22416 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22417 (do_test): Likewise.
22418 * string/test-memchr.c (do_one_test): Likewise.
22419 (do_test): Likewise.
22420 * string/test-memcmp.c (do_one_test): Likewise.
22421 (do_test): Likewise.
22422 * string/test-memcpy.c (do_one_test): Likewise.
22423 (do_test): Likewise.
22424 * string/test-memmem.c (do_one_test): Likewise.
22425 (do_test): Likewise.
22426 (do_random_tests): Likewise.
22427 * string/test-memmove.c (do_one_test): Likewise.
22428 (do_test): Likewise.
22429 * string/test-memset.c (do_one_test): Likewise.
22430 (do_test): Likewise.
22431 * string/test-rawmemchr.c (do_one_test): Likewise.
22432 (do_test): Likewise.
22433 * string/test-strcasecmp.c (do_one_test): Likewise.
22434 (do_test): Likewise.
22435 * string/test-strcasestr.c (do_one_test): Likewise.
22436 (do_test): Likewise.
22437 * string/test-strcat.c (do_one_test): Likewise.
22438 (do_test): Likewise.
22439 * string/test-strchr.c (do_one_test): Likewise.
22440 (do_test): Likewise.
22441 * string/test-strcmp.c (do_one_test): Likewise.
22442 (do_test): Likewise.
22443 * string/test-strcpy.c (do_one_test): Likewise.
22444 (do_test): Likewise.
22445 * string/test-string.h: Likewise.
22446 (test_init): Likewise.
22447 * string/test-strlen.c (do_one_test): Likewise.
22448 (do_test): Likewise.
22449 * string/test-strncasecmp.c (do_one_test): Likewise.
22450 (do_test): Likewise.
22451 * string/test-strncat.c (do_one_test): Likewise.
22452 (do_test): Likewise.
22453 * string/test-strncmp.c (do_one_test): Likewise.
22454 (do_test_limit): Likewise.
22455 (do_test): Likewise.
22456 * string/test-strncpy.c (do_one_test): Likewise.
22457 (do_test): Likewise.
22458 * string/test-strnlen.c (do_one_test): Likewise.
22459 (do_test): Likewise.
22460 * string/test-strpbrk.c (do_one_test): Likewise.
22461 (do_test): Likewise.
22462 * string/test-strrchr.c (do_one_test): Likewise.
22463 (do_test): Likewise.
22464 * string/test-strspn.c (do_one_test): Likewise.
22465 (do_test): Likewise.
22466 * string/test-strstr.c (do_one_test): Likewise.
22467 (do_test): Likewise.
22469 * benchtests/Makefile (string-bench): Add string benchmarks.
22470 * benchtests/bench-bcopy-ifunc.c: New file.
22471 * benchtests/bench-bcopy.c: New file.
22472 * benchtests/bench-bzero-ifunc.c: New file.
22473 * benchtests/bench-bzero.c: New file.
22474 * benchtests/bench-memccpy-ifunc.c: New file.
22475 * benchtests/bench-memccpy.c: New file.
22476 * benchtests/bench-memchr-ifunc.c: New file.
22477 * benchtests/bench-memchr.c: New file.
22478 * benchtests/bench-memcmp-ifunc.c: New file.
22479 * benchtests/bench-memcmp.c: New file.
22480 * benchtests/bench-memmem-ifunc.c: New file.
22481 * benchtests/bench-memmem.c: New file.
22482 * benchtests/bench-memmove-ifunc.c: New file.
22483 * benchtests/bench-memmove.c: New file.
22484 * benchtests/bench-mempcpy-ifunc.c: New file.
22485 * benchtests/bench-mempcpy.c: New file.
22486 * benchtests/bench-memset-ifunc.c: New file.
22487 * benchtests/bench-memset.c: New file.
22488 * benchtests/bench-rawmemchr-ifunc.c: New file.
22489 * benchtests/bench-rawmemchr.c: New file.
22490 * benchtests/bench-stpcpy-ifunc.c: New file.
22491 * benchtests/bench-stpcpy.c: New file.
22492 * benchtests/bench-stpncpy-ifunc.c: New file.
22493 * benchtests/bench-stpncpy.c: New file.
22494 * benchtests/bench-strcasecmp-ifunc.c: New file.
22495 * benchtests/bench-strcasecmp.c: New file.
22496 * benchtests/bench-strcasestr-ifunc.c: New file.
22497 * benchtests/bench-strcasestr.c: New file.
22498 * benchtests/bench-strcat-ifunc.c: New file.
22499 * benchtests/bench-strcat.c: New file.
22500 * benchtests/bench-strchr-ifunc.c: New file.
22501 * benchtests/bench-strchr.c: New file.
22502 * benchtests/bench-strchrnul-ifunc.c: New file.
22503 * benchtests/bench-strchrnul.c: New file.
22504 * benchtests/bench-strcmp-ifunc.c: New file.
22505 * benchtests/bench-strcmp.c: New file.
22506 * benchtests/bench-strcpy-ifunc.c: New file.
22507 * benchtests/bench-strcpy.c: New file.
22508 * benchtests/bench-strcspn-ifunc.c: New file.
22509 * benchtests/bench-strcspn.c: New file.
22510 * benchtests/bench-strlen-ifunc.c: New file.
22511 * benchtests/bench-strlen.c: New file.
22512 * benchtests/bench-strncasecmp-ifunc.c: New file.
22513 * benchtests/bench-strncasecmp.c: New file.
22514 * benchtests/bench-strncat-ifunc.c: New file.
22515 * benchtests/bench-strncat.c: New file.
22516 * benchtests/bench-strncmp-ifunc.c: New file.
22517 * benchtests/bench-strncmp.c: New file.
22518 * benchtests/bench-strncpy-ifunc.c: New file.
22519 * benchtests/bench-strncpy.c: New file.
22520 * benchtests/bench-strnlen-ifunc.c: New file.
22521 * benchtests/bench-strnlen.c: New file.
22522 * benchtests/bench-strpbrk-ifunc.c: New file.
22523 * benchtests/bench-strpbrk.c: New file.
22524 * benchtests/bench-strrchr-ifunc.c: New file.
22525 * benchtests/bench-strrchr.c: New file.
22526 * benchtests/bench-strspn-ifunc.c: New file.
22527 * benchtests/bench-strspn.c: New file.
22528 * benchtests/bench-strstr-ifunc.c: New file.
22529 * benchtests/bench-strstr.c: New file.
22531 * benchtests/Makefile: Disable parallel execution of targets.
22532 (string-bench): Add memcpy.
22533 (benchset): New variable to store a list of benchmark sets.
22534 (bench-func): Renamed from bench.
22535 (bench-set): New target.
22536 (bench): Depend on bench-func and bench-set.
22537 * benchtests/README: Add section on benchmark sets.
22538 * benchtests/bench-memcpy-ifunc.c: New file.
22539 * benchtests/bench-memcpy.c: New file.
22540 * benchtests/bench-string.h: New file.
22542 2013-06-11 Andreas Schwab <schwab@suse.de>
22545 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22546 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22547 values in the triple.
22548 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22549 terminator in the group key.
22551 2013-06-11 Andreas Jaeger <aj@suse.de>
22553 * po/zh_TW.po: Update Chinese (traditional) translation from
22554 translation project.
22556 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22558 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22559 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22560 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22561 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22562 (clock_getcpuclockid): Likewise.
22563 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22564 Add weak_alias and libc_hidden_def.
22565 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22566 * rt/clock_gettime.c (clock_gettime): Rename to
22567 __clock_gettime. Add weak_alias and libc_hidden_def.
22568 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22569 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22570 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22571 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22572 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22574 * rt/clock_settime.c (clock_settime): Rename to
22575 __clock_settime. Add weak_alias and libc_hidden_def.
22576 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22578 2013-06-10 Joseph Myers <joseph@codesourcery.com>
22580 * mach/err_boot.sub: Remove trailing whitespace.
22581 * mach/err_ipc.sub: Likewise.
22582 * mach/err_mach.sub: Likewise.
22584 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22585 (ROUNDING_TESTS_double): Likewise.
22586 (ROUNDING_TESTS_long_double): Likewise.
22587 (ROUNDING_TESTS): Likewise.
22588 * math/libm-test.inc: Include <math-tests.h>.
22589 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22590 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22591 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22592 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22594 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22596 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22599 2013-06-08 Joseph Myers <joseph@codesourcery.com>
22601 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22602 otherwise empty TRANS lines.
22603 * sysdeps/gnu/errlist.c: Regenerated.
22605 * catgets/gencat.c (error_print): Use (void) in function
22607 * crypt/crypt_util.c (__init_des): Likewise.
22608 * crypt/speeds.c (Stop): Likewise.
22610 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22611 * inet/ruserpass.c (token): Likewise.
22612 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22613 * intl/localealias.c (extend_alias_table): Likewise.
22614 * intl/plural-exp.c (init_germanic_plural): Likewise.
22615 * libio/fcloseall.c (__fcloseall): Likewise.
22616 * libio/genops.c (_IO_flush_all): Likewise.
22617 (_IO_flush_all_linebuffered): Likewise.
22618 (_IO_cleanup): Likewise.
22619 (_IO_iter_begin): Likewise.
22620 (_IO_iter_end): Likewise.
22621 (_IO_list_lock): Likewise.
22622 (_IO_list_unlock): Likewise.
22623 (_IO_list_resetlock): Likewise.
22624 * libio/getchar.c (getchar): Likewise.
22625 * libio/getchar_u.c (getchar_unlocked): Likewise.
22626 * libio/getwchar.c (getwchar): Likewise.
22627 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22628 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22629 * login/getpt.c (__getpt): Likewise.
22630 * login/tst-utmp.c (main): Likewise.
22631 * malloc/hooks.c (__malloc_check_init): Likewise.
22632 * malloc/malloc.c (__malloc_stats): Likewise.
22633 * malloc/mtrace.c (tr_break): Likewise.
22634 (mtrace): Likewise.
22635 (muntrace): Likewise.
22636 * misc/fstab.c (endfsent): Likewise.
22637 * misc/getclktck.c (__getclktck): Likewise.
22638 * misc/getdtsz.c (__getdtablesize): Likewise.
22639 * misc/gethostid.c (gethostid): Likewise.
22640 * misc/getpagesize.c (__getpagesize): Likewise.
22641 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22642 (__get_nprocs): Likewise.
22643 (__get_phys_pages): Likewise.
22644 (__get_avphys_pages): Likewise.
22645 * misc/getttyent.c (getttyent): Likewise.
22646 (setttyent): Likewise.
22647 (endttyent): Likewise.
22648 * misc/getusershell.c (getusershell): Likewise.
22649 (endusershell): Likewise.
22650 (setusershell): Likewise.
22651 (initshells): Likewise.
22652 * misc/hsearch.c (__hdestroy): Likewise.
22653 * misc/sync.c (sync): Likewise.
22654 * misc/syslog.c (closelog_internal): Likewise.
22655 (closelog): Likewise.
22656 * misc/ttyslot.c (ttyslot): Likewise.
22657 * misc/vhangup.c (vhangup): Likewise.
22658 * posix/fork.c (__fork): Likewise.
22659 * posix/getegid.c (__getegid): Likewise.
22660 * posix/geteuid.c (__geteuid): Likewise.
22661 * posix/getgid.c (__getgid): Likewise.
22662 * posix/getpid.c (__getpid): Likewise.
22663 * posix/getppid.c (__getppid): Likewise.
22664 * posix/getuid.c (__getuid): Likewise.
22665 * posix/pause.c (pause): Likewise.
22666 * posix/setpgrp.c (setpgrp): Likewise.
22667 * posix/setsid.c (__setsid): Likewise.
22668 * posix/test-vfork.c (noop): Likewise.
22669 * resolv/gethnamaddr.c (_endhtent): Likewise.
22670 (_gethtent): Likewise.
22671 (ht_endhostent): Likewise.
22672 (gethostent): Likewise.
22673 (dns_service): Likewise.
22674 * stdlib/drand48.c (drand48): Likewise.
22675 * stdlib/lrand48.c (lrand48): Likewise.
22676 * stdlib/mrand48.c (mrand48): Likewise.
22677 * stdlib/rand.c (rand): Likewise.
22678 * stdlib/random.c (__random): Likewise.
22679 * stdlib/setenv.c (clearenv): Likewise.
22680 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22681 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22682 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22683 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22684 (__get_nprocs): Likewise.
22685 (__get_phys_pages): Likewise.
22686 (__get_avphys_pages): Likewise.
22687 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22688 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22689 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22690 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22691 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22692 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22693 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22694 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22695 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22696 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22697 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22698 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22699 * sysdeps/posix/clock.c (clock): Likewise.
22700 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22701 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22702 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22703 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22704 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22705 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22706 (__get_nprocs_conf): Likewise.
22707 (__get_phys_pages): Likewise.
22708 (__get_avphys_pages): Likewise.
22709 * time/clock.c (clock): Likewise.
22710 * time/tzset.c (__tzname_max): Likewise.
22712 2013-06-07 Joseph Myers <joseph@codesourcery.com>
22714 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22715 (__bswap_32): Do not use "register".
22716 * crypt/crypt.c (_ufc_doit_r): Likewise.
22717 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22718 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22719 * gmon/gmon.c (__monstartup): Likewise.
22720 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22721 * hurd/hurdmalloc.c (more_memory): Likewise.
22722 (malloc): Likewise.
22724 (realloc): Likewise.
22725 (malloc_fork_prepare): Likewise.
22726 (malloc_fork_parent): Likewise.
22727 (malloc_fork_child): Likewise.
22728 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22729 (_svcauth_des): Likewise.
22730 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22731 * inet/inet_net.c (inet_network): Likewise.
22732 * inet/inet_netof.c (inet_netof): Likewise.
22733 * inet/rcmd.c (__validuser2_sa): Likewise.
22734 * io/fts.c (fts_open): Likewise.
22735 (fts_load): Likewise.
22736 (fts_close): Likewise.
22737 (fts_read): Likewise.
22738 (fts_children): Likewise.
22739 (fts_build): Likewise.
22740 (fts_stat): Likewise.
22741 (fts_sort): Likewise.
22742 (fts_alloc): Likewise.
22743 (fts_lfree): Likewise.
22744 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22745 (_IO_file_xsgetn): Likewise.
22746 (_IO_file_xsgetn_mmap): Likewise.
22747 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22748 (_IO_cookie_write): Likewise.
22749 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22750 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22751 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22752 * malloc/obstack.c (_obstack_begin): Likewise.
22753 (_obstack_begin_1): Likewise.
22754 (_obstack_newchunk): Likewise.
22755 (_obstack_allocated_p): Likewise.
22756 (obstack_free): Likewise.
22757 (_obstack_memory_used): Likewise.
22758 * misc/getttyent.c (getttynam): Likewise.
22759 (getttyent): Likewise.
22762 * misc/getusershell.c (initshells): Likewise.
22763 * misc/syslog.c (__vsyslog_chk): Likewise.
22764 * misc/ttyslot.c (ttyslot): Likewise.
22765 * nis/nis_hash.c (__nis_hash): Likewise.
22766 * posix/fnmatch_loop.c (FCT): Likewise.
22767 * posix/getconf.c (print_all): Likewise.
22769 * posix/getopt.c (exchange): Likewise.
22770 * posix/glob.c (globfree): Likewise.
22771 (prefix_array): Likewise.
22772 (__glob_pattern_type): Likewise.
22773 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22774 (NS_GET32): Likewise.
22775 (NS_PUT16): Likewise.
22776 (NS_PUT32): Likewise.
22777 * resolv/gethnamaddr.c (getanswer): Likewise.
22778 (gethostbyname2): Likewise.
22779 (gethostbyaddr): Likewise.
22780 (_gethtent): Likewise.
22781 (_gethtbyname2): Likewise.
22782 (_gethtbyaddr): Likewise.
22783 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22784 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22785 * resolv/res_init.c (__res_vinit): Likewise.
22786 (net_mask): Likewise.
22787 * resolv/res_mkquery.c (outchar): Likewise.
22789 * stdio-common/printf_fp.c (outchar): Likewise.
22791 * stdio-common/printf_fphex.c (outchar): Likewise.
22793 * stdio-common/printf_size.c (outchar): Likewise.
22795 * stdio-common/test_rdwr.c (main): Likewise.
22796 * stdio-common/tfformat.c (matches): Likewise.
22797 * stdio-common/vfprintf.c (outchar): Likewise.
22798 (printf_unknown): Likewise.
22799 (buffered_vfprintf): Likewise.
22800 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22801 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22802 (ReadFile): Likewise.
22803 * stdlib/qsort.c (SWAP): Likewise.
22804 (_quicksort): Likewise.
22805 * stdlib/setenv.c (__add_to_environ): Likewise.
22806 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22807 * stdlib/strtol_l.c (__strtol_l): Likewise.
22808 * stdlib/tst-strtod.c (main): Likewise.
22809 * stdlib/tst-strtol.c (main): Likewise.
22810 * stdlib/tst-strtoll.c (main): Likewise.
22811 * string/bits/string2.h (__strcmp_cc): Likewise.
22812 (__strcmp_cg): Likewise.
22813 (__strcspn_c1): Likewise.
22814 (__strcspn_c2): Likewise.
22815 (__strcspn_c3): Likewise.
22816 (__strspn_c1): Likewise.
22817 (__strspn_c2): Likewise.
22818 (__strspn_c3): Likewise.
22819 (__strsep_1c): Likewise.
22820 (__strsep_2c): Likewise.
22821 (__strsep_3c): Likewise.
22822 * string/memccpy.c (__memccpy): Likewise.
22823 * string/stpcpy.c (__stpcpy): Likewise.
22824 * string/strcmp.c (strcmp): Likewise.
22825 * string/strrchr.c (strrchr): Likewise.
22826 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22828 * sysdeps/mach/hurd/getcwd.c
22829 (_hurd_canonicalize_directory_name_internal): Likewise.
22830 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22831 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22832 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22833 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22834 Likewise, in both definitions.
22835 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22837 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22838 64] (__bswap_64): Likewise.
22839 * time/test_time.c (main): Likewise.
22840 * time/tzfile.c (__tzfile_read): Likewise.
22841 (__tzfile_compute): Likewise.
22842 * time/tzset.c (__tzset_parse_tz): Likewise.
22843 (tzset_internal): Likewise.
22844 (compute_change): Likewise.
22845 * wcsmbs/wcscat.c (__wcscat): Likewise.
22846 * wcsmbs/wcschr.c (wcschr): Likewise.
22847 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22848 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22849 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22850 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22851 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22852 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22853 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22854 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22855 * wcsmbs/wmemset.c (wmemset): Likewise.
22857 2013-06-06 Joseph Myers <joseph@codesourcery.com>
22859 * scripts/config.guess: Update to version 2013-05-16.
22860 * scripts/config.sub: Update to version 2013-04-24.
22861 * scripts/install-sh: Update to version 2011-11-20.07.
22862 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22863 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22865 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
22867 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22868 * elf/sln.c: Likewise.
22869 * hurd/hurd/ioctl.h: Likewise.
22870 * hurd/hurdmalloc.c: Likewise.
22871 * hurd/xattr.c: Likewise.
22872 * include/shlib-compat.h: Likewise.
22873 * inet/ruserpass.c: Likewise.
22874 * libio/iofgets_u.c: Likewise.
22875 * libio/iofgetws_u.c: Likewise.
22876 * locale/programs/ld-identification.c: Likewise.
22877 * locale/programs/ld-time.c: Likewise.
22878 * mach/msg-destroy.c: Likewise.
22879 * nss/nss_files/files-netgrp.c: Likewise.
22880 * resolv/res_data.c: Likewise.
22881 * soft-fp/op-1.h: Likewise.
22882 * soft-fp/op-2.h: Likewise.
22883 * soft-fp/op-4.h: Likewise.
22884 * soft-fp/op-common.h: Likewise.
22885 * stdio-common/printf_fphex.c: Likewise.
22886 * stdlib/strtod_l.c: Likewise.
22887 * sunrpc/rpc/clnt.h: Likewise.
22888 * sysdeps/generic/framestate.c: Likewise.
22889 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22890 * sysdeps/i386/bsd-setjmp.S: Likewise.
22891 * sysdeps/i386/__longjmp.S: Likewise.
22892 * sysdeps/i386/setjmp.S: Likewise.
22893 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22894 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22895 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22896 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22898 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22899 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22900 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22902 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22903 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22904 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22905 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22906 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22907 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22908 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22909 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22910 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22911 * sysdeps/ieee754/support.c: Likewise.
22912 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22913 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22914 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22915 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22916 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22917 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22918 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22919 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22920 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22921 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22922 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22923 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22924 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22925 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22926 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22927 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22928 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22931 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
22933 * posix/transbug.c: Remove executable mode.
22935 2013-06-05 Joseph Myers <joseph@codesourcery.com>
22937 * crypt/speeds.c: Remove trailing whitespace.
22938 * dlfcn/default.c: Likewise.
22939 * elf/ifuncdep2.c: Likewise.
22940 * elf/ifuncmain1.c: Likewise.
22941 * elf/ifuncmain1vis.c: Likewise.
22942 * elf/testobj.h: Likewise.
22943 * elf/tst-stackguard1.c: Likewise.
22944 * gmon/sys/gmon.h: Likewise.
22945 * hurd/hurdmsg.c: Likewise.
22946 * hurd/new-fd.c: Likewise.
22947 * hurd/ports-get.c: Likewise.
22948 * iconvdata/ibm1008_420.c: Likewise.
22949 * inet/tst-getni1.c: Likewise.
22950 * inet/tst-getni2.c: Likewise.
22951 * libio/ioungetc.c: Likewise.
22952 * libio/wfiledoalloc.c: Likewise.
22953 * manual/libm-err-tab.pl: Likewise.
22954 * math/w_dremf.c: Likewise.
22955 * misc/ftruncate.c: Likewise.
22956 * posix/bug-glob2.c: Likewise.
22957 * posix/tst-pcre.c: Likewise.
22958 * posix/wait4.c: Likewise.
22959 * resolv/README: Likewise.
22960 * resolv/res_debug.h: Likewise.
22961 * resolv/tst-inet_ntop.c: Likewise.
22962 * setjmp/bug269-setjmp.c: Likewise.
22963 * soft-fp/extended.h: Likewise.
22964 * soft-fp/op-1.h: Likewise.
22965 * soft-fp/op-2.h: Likewise.
22966 * soft-fp/op-4.h: Likewise.
22967 * soft-fp/op-8.h: Likewise.
22968 * soft-fp/testit.c: Likewise.
22969 * stdio-common/bug16.c: Likewise.
22970 * stdlib/random.c: Likewise.
22971 * sunrpc/rpcsvc/rquota.x: Likewise.
22972 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22973 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22974 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22975 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22976 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22977 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22978 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22979 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22980 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22981 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22982 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22983 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22984 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22985 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22986 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22987 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22988 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22989 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22990 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22991 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22992 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22993 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22994 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22995 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22997 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22999 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23001 * sysdeps/ieee754/s_lib_version.c: Likewise.
23002 * sysdeps/mach/hurd/check_fds.c: Likewise.
23003 * sysdeps/mach/hurd/getsockname.c: Likewise.
23004 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23005 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23006 * sysdeps/powerpc/bits/link.h: Likewise.
23007 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23008 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23009 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23010 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23011 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23012 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23013 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23014 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23015 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23016 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23017 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23018 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23019 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23020 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23021 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23022 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23023 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23024 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23025 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23026 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23027 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23028 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23029 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23030 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23031 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23032 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23033 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23034 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23035 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23036 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23037 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23038 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23039 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23040 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23041 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23042 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23043 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23044 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23045 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23046 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23047 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23048 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23049 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23050 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23051 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23052 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23053 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23054 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23055 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23056 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23057 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23058 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23059 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23060 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23061 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23062 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23063 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23064 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23065 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23066 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23067 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23068 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23069 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23070 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23071 * sysdeps/powerpc/sysdep.h: Likewise.
23072 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23073 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23074 * sysdeps/sh/dl-trampoline.S: Likewise.
23075 * sysdeps/sh/memset.S: Likewise.
23076 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23077 * sysdeps/sh/strlen.S: Likewise.
23078 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23079 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23080 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23081 * sysdeps/sparc/sparc32/rem.S: Likewise.
23082 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23083 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23084 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23085 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23086 * sysdeps/sparc/sparc32/urem.S: Likewise.
23087 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23088 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23089 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23090 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23091 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23092 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23093 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23094 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23095 * sysdeps/unix/bsd/times.c: Likewise.
23096 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23097 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23101 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23102 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23103 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23104 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23105 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23106 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23107 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23108 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23109 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23110 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23111 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23112 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23113 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23114 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23115 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23116 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23117 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23118 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23119 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23120 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23121 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23122 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23123 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23124 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23125 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23126 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23127 * sysdeps/x86_64/strcspn.S: Likewise.
23129 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23131 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23132 generated file. Regenerate properly from gen-translit.pl.
23133 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23134 locale/C-translit.h.
23136 2013-06-05 Andreas Schwab <schwab@suse.de>
23139 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23140 week as 6 instead of -1.
23141 * time/tst-strptime.c (day_tests): Add test case.
23143 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23145 * sysdeps/generic/math_private.h
23146 (libc_feholdexcept_setround_53bit): Replace with
23147 libc_feholdsetround_53bit.
23148 (libc_feupdateenv_53bit): Replace with
23149 libc_feresetround_53bit.
23150 (SET_RESTORE_ROUND_53BIT): Adjust.
23152 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23154 * string/test-strchrnul.c: Add copyright header.
23156 * posix/tst-getaddrinfo4.c: Increase test timeout.
23158 2013-06-03 Carlos O'Donell <carlos@redhat.com>
23161 * math/libm-test.inc (MAX_EXP): Remove
23163 (ulp): Use MIN_EXP - MANT_DIG.
23164 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23166 2013-05-31 Carlos O'Donell <carlos@redhat.com>
23168 * po/be.po: Revert last change.
23169 * po/zh_CN.po: Likewise.
23170 * po/header.pot: Likewise.
23172 2013-05-31 Joseph Myers <joseph@codesourcery.com>
23174 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23175 link-libc-deps to empty as target-specific variable.
23176 * Makerules (link-libc-args): New variable.
23177 (libc-for-link): Likewise.
23178 (link-libc-deps): Likewise.
23179 (lib%.so): Depend on $(link-libc-deps). Link with
23181 (build-module): Link with $(link-libc-args).
23182 (build-module-asneeded): Likewise.
23183 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23185 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23186 target-specific variable.
23187 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23188 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23189 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23191 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23193 ($(objpfx)libpcprofile.so): Likewise.
23194 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23196 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23197 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23198 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23200 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23201 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23202 * login/Makefile ($(objpfx)libutil.so): Likewise.
23203 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23204 * math/Makefile ($(objpfx)libm.so): Likewise.
23205 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23206 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23207 variable instead of depending directly on libc.
23208 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23209 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23211 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23213 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23214 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23215 ($(objpfx)libanl.so): Likewise.
23216 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23218 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23220 * sysdeps/i386/fpu/Makefile: Remove file.
23221 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23222 ($(objpfx)libm.so): Remove dependency on ld.so.
23224 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
23227 * nis/yp_xdr.c (XDRMAXNAME): Define.
23228 (XDRMAXRECORD): Define.
23229 (xdr_domainname): Use XDRMAXNAME.
23230 (xdr_mapname): Likewise.
23231 (xdr_peername): Likewise.
23232 (xdr_keydat): Use XDRMAXRECORD.
23233 (xdr_valdat): Likewise.
23235 2013-05-30 Jeff Law <law@redhat.com>
23238 * manual/errno.texi (ESTALE): Update to account for more than
23239 just NFS file systems.
23240 * sysdeps/gnu/errlist.c: Regenerated.
23242 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23245 * elf/Makefile (tests): Add tst-null-argv.
23246 (modules-names): Add tst-null-argv-lib.
23247 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23248 (tst-null-argv-ENV): Set environment for tst-null-argv.
23249 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23250 (RTLD_PROGNAME): New macro.
23251 * elf/tst-null-argv.c: New test case.
23252 * elf/tst-null-argv-lib.c: Library for test case.
23253 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23254 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23255 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23256 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23257 * elf/dl-init.c (call_init): Likewise.
23258 (_dl_init): Likewise.
23259 * elf/dl-load.c (print_search_path): Likewise.
23260 (_dl_map_object): Likewise.
23261 * elf/dl-lookup.c (do_lookup_x): Likewise.
23262 (add_dependency): Likewise.
23263 (_dl_lookup_symbol_x): Likewise.
23264 (_dl_debug_bindings): Likewise.
23265 * elf/dl-open.c (_dl_show_scope): Likewise.
23266 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23267 * elf/dl-version.c (match_symbol): Likewise.
23268 (_dl_check_map_versions): Likewise.
23269 * elf/rtld.c (dl_main): Likewise.
23270 (print_unresolved): Use RTLD_PROGNAME.
23271 (print_missing_version): Likewise.
23272 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23273 (elf_machine_rela): Likewise.
23274 * sysdeps/powerpc/powerpc32/dl-machine.c
23275 (__process_machine_rela): Likewise.
23276 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23278 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23280 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23282 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23283 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23285 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23289 2013-05-28 Carlos O'Donell <carlos@redhat.com>
23291 * po/be.po: Add descriptive title.
23292 * po/zh_CN.po: Likewise.
23293 * po/header.pot: Likewise.
23295 2013-05-28 Mike Frysinger <vapier@gentoo.org>
23297 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23299 (enlarge_archive): Likewise.
23301 2013-05-28 Ben North <ben@redfrontdoor.org>
23303 * manual/arith.texi (frexp): It is the magnitude of the return
23304 value which lies in [0.5, 1), not the return value itself.
23306 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23310 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23312 * stdio-common/bug26.c (main): Correct fscanf template.
23314 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23315 declare _dl_skip_args.
23317 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23320 * manual/platform.texi: Add missing @end deftypefun.
23322 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23325 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23326 bit of mantissa of 2^16382.
23327 * math/libm-test.inc (hypot_test_data): Add more tests.
23329 * math/libm-test.inc: Add drem and pow10 to list of tested
23331 (pow10_test): New function.
23332 (drem_test): Likewise.
23333 (drem_test_tonearest): Likewise.
23334 (drem_test_towardzero): Likewise.
23335 (drem_test_downward): Likewise.
23336 (drem_test_upward): Likewise.
23337 (main): Call the new functions.
23339 * math/libm-test.inc (finite_test_data): Remove.
23340 (finite_test): Run tests from isfinite_test_data.
23341 (gamma_test_data): Remove.
23342 (gamma_test): Run tests from lgamma_test_data.
23343 * sysdeps/i386/fpu/libm-test-ulps: Update.
23344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23346 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23348 * manual/platform.texi: Add PowerPC PPR function set documentation.
23349 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23352 2013-05-24 Carlos O'Donell <carlos@redhat.com>
23354 * math/libm-test.inc (MAX_EXP): Define.
23356 (ulp): New function.
23357 (check_float_internal): Use ULPDIFF.
23358 (cpow_test): Disable failing test.
23359 (check_ulp): Test ulp() implemetnation.
23360 (main): Call check_ulp before starting tests.
23362 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23364 * math/gen-libm-test.pl (generate_testfile): Do not handle
23365 START_DATA and END_DATA.
23366 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23368 (acos_tonearest_test_data): Likewise.
23369 (acos_towardzero_test_data): Likewise.
23370 (acos_downward_test_data): Likewise.
23371 (acos_upward_test_data): Likewise.
23372 (acosh_test_data): Likewise.
23373 (asin_test_data): Likewise.
23374 (asin_tonearest_test_data): Likewise.
23375 (asin_towardzero_test_data): Likewise.
23376 (asin_downward_test_data): Likewise.
23377 (asin_upward_test_data): Likewise.
23378 (asinh_test_data): Likewise.
23379 (atan_test_data): Likewise.
23380 (atanh_test_data): Likewise.
23381 (atan2_test_data): Likewise.
23382 (cabs_test_data): Likewise.
23383 (cacos_test_data): Likewise.
23384 (cacosh_test_data): Likewise.
23385 (carg_test_data): Likewise.
23386 (casin_test_data): Likewise.
23387 (casinh_test_data): Likewise.
23388 (catan_test_data): Likewise.
23389 (catanh_test_data): Likewise.
23390 (cbrt_test_data): Likewise.
23391 (ccos_test_data): Likewise.
23392 (ccosh_test_data): Likewise.
23393 (ceil_test_data): Likewise.
23394 (cexp_test_data): Likewise.
23395 (cimag_test_data): Likewise.
23396 (clog_test_data): Likewise.
23397 (clog10_test_data): Likewise.
23398 (conj_test_data): Likewise.
23399 (copysign_test_data): Likewise.
23400 (cos_test_data): Likewise.
23401 (cos_tonearest_test_data): Likewise.
23402 (cos_towardzero_test_data): Likewise.
23403 (cos_downward_test_data): Likewise.
23404 (cos_upward_test_data): Likewise.
23405 (cosh_test_data): Likewise.
23406 (cosh_tonearest_test_data): Likewise.
23407 (cosh_towardzero_test_data): Likewise.
23408 (cosh_downward_test_data): Likewise.
23409 (cosh_upward_test_data): Likewise.
23410 (cpow_test_data): Likewise.
23411 (cproj_test_data): Likewise.
23412 (creal_test_data): Likewise.
23413 (csin_test_data): Likewise.
23414 (csinh_test_data): Likewise.
23415 (csqrt_test_data): Likewise.
23416 (ctan_test_data): Likewise.
23417 (ctan_tonearest_test_data): Likewise.
23418 (ctan_towardzero_test_data): Likewise.
23419 (ctan_downward_test_data): Likewise.
23420 (ctan_upward_test_data): Likewise.
23421 (ctanh_test_data): Likewise.
23422 (ctanh_tonearest_test_data): Likewise.
23423 (ctanh_towardzero_test_data): Likewise.
23424 (ctanh_downward_test_data): Likewise.
23425 (ctanh_upward_test_data): Likewise.
23426 (erf_test_data): Likewise.
23427 (erfc_test_data): Likewise.
23428 (exp_test_data): Likewise.
23429 (exp_tonearest_test_data): Likewise.
23430 (exp_towardzero_test_data): Likewise.
23431 (exp_downward_test_data): Likewise.
23432 (exp_upward_test_data): Likewise.
23433 (exp10_test_data): Likewise.
23434 (exp2_test_data): Likewise.
23435 (expm1_test_data): Likewise.
23436 (fabs_test_data): Likewise.
23437 (fdim_test_data): Likewise.
23438 (finite_test_data): Likewise.
23439 (floor_test_data): Likewise.
23440 (fma_test_data): Likewise.
23441 (fma_towardzero_test_data): Likewise.
23442 (fma_downward_test_data): Likewise.
23443 (fma_upward_test_data): Likewise.
23444 (fmax_test_data): Likewise.
23445 (fmin_test_data): Likewise.
23446 (fmod_test_data): Likewise.
23447 (fpclassify_test_data): Likewise.
23448 (frexp_test_data): Likewise.
23449 (gamma_test_data): Likewise.
23450 (hypot_test_data): Likewise.
23451 (ilogb_test_data): Likewise.
23452 (isfinite_test_data): Likewise.
23453 (isgreater_test_data): Likewise.
23454 (isgreaterequal_test_data): Likewise.
23455 (isinf_test_data): Likewise.
23456 (isless_test_data): Likewise.
23457 (islessequal_test_data): Likewise.
23458 (islessgreater_test_data): Likewise.
23459 (isnan_test_data): Likewise.
23460 (isnormal_test_data): Likewise.
23461 (issignaling_test_data): Likewise.
23462 (isunordered_test_data): Likewise.
23463 (j0_test_data): Likewise.
23464 (j1_test_data): Likewise.
23465 (jn_test_data): Likewise.
23466 (ldexp_test_data): Likewise.
23467 (lgamma_test_data): Likewise.
23468 (lrint_test_data): Likewise.
23469 (lrint_tonearest_test_data): Likewise.
23470 (lrint_towardzero_test_data): Likewise.
23471 (lrint_downward_test_data): Likewise.
23472 (lrint_upward_test_data): Likewise.
23473 (llrint_test_data): Likewise.
23474 (llrint_tonearest_test_data): Likewise.
23475 (llrint_towardzero_test_data): Likewise.
23476 (llrint_downward_test_data): Likewise.
23477 (llrint_upward_test_data): Likewise.
23478 (log_test_data): Likewise.
23479 (log10_test_data): Likewise.
23480 (log1p_test_data): Likewise.
23481 (log2_test_data): Likewise.
23482 (logb_test_data): Likewise.
23483 (logb_downward_test_data): Likewise.
23484 (lround_test_data): Likewise.
23485 (llround_test_data): Likewise.
23486 (modf_test_data): Likewise.
23487 (nearbyint_test_data): Likewise.
23488 (nextafter_test_data): Likewise.
23489 (nexttoward_test_data): Likewise.
23490 (pow_test_data): Likewise.
23491 (pow_tonearest_test_data): Likewise.
23492 (pow_towardzero_test_data): Likewise.
23493 (pow_downward_test_data): Likewise.
23494 (pow_upward_test_data): Likewise.
23495 (remainder_test_data): Likewise.
23496 (remainder_tonearest_test_data): Likewise.
23497 (remainder_towardzero_test_data): Likewise.
23498 (remainder_downward_test_data): Likewise.
23499 (remainder_upward_test_data): Likewise.
23500 (remquo_test_data): Likewise.
23501 (rint_test_data): Likewise.
23502 (rint_tonearest_test_data): Likewise.
23503 (rint_towardzero_test_data): Likewise.
23504 (rint_downward_test_data): Likewise.
23505 (rint_upward_test_data): Likewise.
23506 (round_test_data): Likewise.
23507 (scalb_test_data): Likewise.
23508 (scalbn_test_data): Likewise.
23509 (scalbln_test_data): Likewise.
23510 (signbit_test_data): Likewise.
23511 (sin_test_data): Likewise.
23512 (sin_tonearest_test_data): Likewise.
23513 (sin_towardzero_test_data): Likewise.
23514 (sin_downward_test_data): Likewise.
23515 (sin_upward_test_data): Likewise.
23516 (sincos_test_data): Likewise.
23517 (sinh_test_data): Likewise.
23518 (sinh_tonearest_test_data): Likewise.
23519 (sinh_towardzero_test_data): Likewise.
23520 (sinh_downward_test_data): Likewise.
23521 (sinh_upward_test_data): Likewise.
23522 (sqrt_test_data): Likewise.
23523 (tan_test_data): Likewise.
23524 (tan_tonearest_test_data): Likewise.
23525 (tan_towardzero_test_data): Likewise.
23526 (tan_downward_test_data): Likewise.
23527 (tan_upward_test_data): Likewise.
23528 (tanh_test_data): Likewise.
23529 (tgamma_test_data): Likewise.
23530 (trunc_test_data): Likewise.
23531 (y0_test_data): Likewise.
23532 (y1_test_data): Likewise.
23533 (yn_test_data): Likewise.
23534 (significand_test_data): Likewise.
23536 * math/gen-libm-test.pl (@functions): Remove variable.
23537 (generate_testfile): Don't handle START and END lines.
23538 * math/libm-test.inc (START): New macro.
23540 (END_COMPLEX): Likewise.
23541 (acos_test): Use END macro without arguments.
23542 (acos_test_tonearest): Likewise.
23543 (acos_test_towardzero): Likewise.
23544 (acos_test_downward): Likewise.
23545 (acos_test_upward): Likewise.
23546 (acosh_test): Likewise.
23547 (asin_test): Likewise.
23548 (asin_test_tonearest): Likewise.
23549 (asin_test_towardzero): Likewise.
23550 (asin_test_downward): Likewise.
23551 (asin_test_upward): Likewise.
23552 (asinh_test): Likewise.
23553 (atan_test): Likewise.
23554 (atanh_test): Likewise.
23555 (atan2_test): Likewise.
23556 (cabs_test): Likewise.
23557 (cacos_test): Use END_COMPLEX macro without arguments.
23558 (cacosh_test): Likewise.
23559 (carg_test): Use END macro without arguments.
23560 (casin_test): Use END_COMPLEX macro without arguments.
23561 (casinh_test): Likewise.
23562 (catan_test): Likewise.
23563 (catanh_test): Likewise.
23564 (cbrt_test): Use END macro without arguments.
23565 (ccos_test): Use END_COMPLEX macro without arguments.
23566 (ccosh_test): Likewise.
23567 (ceil_test): Use END macro without arguments.
23568 (cexp_test): Use END_COMPLEX macro without arguments.
23569 (cimag_test): Use END macro without arguments.
23570 (clog_test): Use END_COMPLEX macro without arguments.
23571 (clog10_test): Likewise.
23572 (conj_test): Likewise.
23573 (copysign_test): Use END macro without arguments.
23574 (cos_test): Likewise.
23575 (cos_test_tonearest): Likewise.
23576 (cos_test_towardzero): Likewise.
23577 (cos_test_downward): Likewise.
23578 (cos_test_upward): Likewise.
23579 (cosh_test): Likewise.
23580 (cosh_test_tonearest): Likewise.
23581 (cosh_test_towardzero): Likewise.
23582 (cosh_test_downward): Likewise.
23583 (cosh_test_upward): Likewise.
23584 (cpow_test): Use END_COMPLEX macro without arguments.
23585 (cproj_test): Likewise.
23586 (creal_test): Use END macro without arguments.
23587 (csin_test): Use END_COMPLEX macro without arguments.
23588 (csinh_test): Likewise.
23589 (csqrt_test): Likewise.
23590 (ctan_test): Likewise.
23591 (ctan_test_tonearest): Likewise.
23592 (ctan_test_towardzero): Likewise.
23593 (ctan_test_downward): Likewise.
23594 (ctan_test_upward): Likewise.
23595 (ctanh_test): Likewise.
23596 (ctanh_test_tonearest): Likewise.
23597 (ctanh_test_towardzero): Likewise.
23598 (ctanh_test_downward): Likewise.
23599 (ctanh_test_upward): Likewise.
23600 (erf_test): Use END macro without arguments.
23601 (erfc_test): Likewise.
23602 (exp_test): Likewise.
23603 (exp_test_tonearest): Likewise.
23604 (exp_test_towardzero): Likewise.
23605 (exp_test_downward): Likewise.
23606 (exp_test_upward): Likewise.
23607 (exp10_test): Likewise.
23608 (exp2_test): Likewise.
23609 (expm1_test): Likewise.
23610 (fabs_test): Likewise.
23611 (fdim_test): Likewise.
23612 (finite_test): Likewise.
23613 (floor_test): Likewise.
23614 (fma_test): Likewise.
23615 (fma_test_towardzero): Likewise.
23616 (fma_test_downward): Likewise.
23617 (fma_test_upward): Likewise.
23618 (fmax_test): Likewise.
23619 (fmin_test): Likewise.
23620 (fmod_test): Likewise.
23621 (fpclassify_test): Likewise.
23622 (frexp_test): Likewise.
23623 (gamma_test): Likewise.
23624 (hypot_test): Likewise.
23625 (ilogb_test): Likewise.
23626 (isfinite_test): Likewise.
23627 (isgreater_test): Likewise.
23628 (isgreaterequal_test): Likewise.
23629 (isinf_test): Likewise.
23630 (isless_test): Likewise.
23631 (islessequal_test): Likewise.
23632 (islessgreater_test): Likewise.
23633 (isnan_test): Likewise.
23634 (isnormal_test): Likewise.
23635 (issignaling_test): Likewise.
23636 (isunordered_test): Likewise.
23637 (j0_test): Likewise.
23638 (j1_test): Likewise.
23639 (jn_test): Likewise.
23640 (ldexp_test): Likewise.
23641 (lgamma_test): Likewise.
23642 (lrint_test): Likewise.
23643 (lrint_test_tonearest): Likewise.
23644 (lrint_test_towardzero): Likewise.
23645 (lrint_test_downward): Likewise.
23646 (lrint_test_upward): Likewise.
23647 (llrint_test): Likewise.
23648 (llrint_test_tonearest): Likewise.
23649 (llrint_test_towardzero): Likewise.
23650 (llrint_test_downward): Likewise.
23651 (llrint_test_upward): Likewise.
23652 (log_test): Likewise.
23653 (log10_test): Likewise.
23654 (log1p_test): Likewise.
23655 (log2_test): Likewise.
23656 (logb_test): Likewise.
23657 (logb_test_downward): Likewise.
23658 (lround_test): Likewise.
23659 (llround_test): Likewise.
23660 (modf_test): Likewise.
23661 (nearbyint_test): Likewise.
23662 (nextafter_test): Likewise.
23663 (nexttoward_test): Likewise.
23664 (pow_test): Likewise.
23665 (pow_test_tonearest): Likewise.
23666 (pow_test_towardzero): Likewise.
23667 (pow_test_downward): Likewise.
23668 (pow_test_upward): Likewise.
23669 (remainder_test): Likewise.
23670 (remainder_test_tonearest): Likewise.
23671 (remainder_test_towardzero): Likewise.
23672 (remainder_test_downward): Likewise.
23673 (remainder_test_upward): Likewise.
23674 (remquo_test): Likewise.
23675 (rint_test): Likewise.
23676 (rint_test_tonearest): Likewise.
23677 (rint_test_towardzero): Likewise.
23678 (rint_test_downward): Likewise.
23679 (rint_test_upward): Likewise.
23680 (round_test): Likewise.
23681 (scalb_test): Likewise.
23682 (scalbn_test): Likewise.
23683 (scalbln_test): Likewise.
23684 (signbit_test): Likewise.
23685 (sin_test): Likewise.
23686 (sin_test_tonearest): Likewise.
23687 (sin_test_towardzero): Likewise.
23688 (sin_test_downward): Likewise.
23689 (sin_test_upward): Likewise.
23690 (sincos_test): Likewise.
23691 (sinh_test): Likewise.
23692 (sinh_test_tonearest): Likewise.
23693 (sinh_test_towardzero): Likewise.
23694 (sinh_test_downward): Likewise.
23695 (sinh_test_upward): Likewise.
23696 (sqrt_test): Likewise.
23697 (tan_test): Likewise.
23698 (tan_test_tonearest): Likewise.
23699 (tan_test_towardzero): Likewise.
23700 (tan_test_downward): Likewise.
23701 (tan_test_upward): Likewise.
23702 (tanh_test): Likewise.
23703 (tgamma_test): Likewise.
23704 (trunc_test): Likewise.
23705 (y0_test): Likewise.
23706 (y1_test): Likewise.
23707 (yn_test): Likewise.
23708 (significand_test): Likewise.
23710 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
23713 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23715 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23718 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23719 __ppc_mdoio and __ppc_mdoom.
23720 * manual/platform.texi: Document new functions __ppc_yield,
23721 __ppc_mdoio and __ppc_mdoom.
23723 2013-05-22 Carlos O'Donell <carlos@redhat.com>
23725 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23726 (main): Mention "tls" pseudo-hwcap is legacy.
23727 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23729 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23731 * math/gen-libm-test.pl (parse_args): Output only string of
23732 arguments as text for test name, not full call or descriptions of
23733 tests for extra outputs.
23734 (generate_testfile): Do not pass function name to parse_args.
23735 Generate this_func variable from START.
23736 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23738 (struct test_ff_f_data): Likewise.
23739 (test_ff_f_data_nexttoward): Likewise.
23740 (struct test_fi_f_data): Likewise.
23741 (struct test_fl_f_data): Likewise.
23742 (struct test_if_f_data): Likewise.
23743 (struct test_fff_f_data): Likewise.
23744 (struct test_c_f_data): Likewise.
23745 (struct test_f_f1_data): Likewise. Remove field extra_name.
23746 (struct test_fF_f1_data): Likewise.
23747 (struct test_ffI_f1_data): Likewise.
23748 (struct test_c_c_data): Rename test_name field to arg_str.
23749 (struct test_cc_c_data): Likewise.
23750 (struct test_f_i_data): Likewise.
23751 (struct test_ff_i_data): Likewise.
23752 (struct test_f_l_data): Likewise.
23753 (struct test_f_L_data): Likewise.
23754 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23756 (COMMON_TEST_SETUP): New macro.
23757 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23758 (COMMON_TEST_CLEANUP): Likewise.
23759 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23760 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23762 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23763 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23765 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23766 (RUN_TEST_fff_f): Take argument string. Call new setup and
23768 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23769 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23771 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23772 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23774 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23775 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23777 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23778 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23780 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23781 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23783 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23784 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23786 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23787 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23789 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23790 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23792 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23793 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23795 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23796 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23798 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23799 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23801 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23802 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23804 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23805 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23807 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23808 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23810 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23811 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23813 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23815 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23817 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23818 to _sifields.sigfault.
23819 (si_addr_lsb): Define new macro.
23820 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23821 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23822 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23824 2013-05-03 Carlos O'Donell <carlos at redhat.com>
23827 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23829 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23831 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23832 loading the domain.
23834 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23836 * math/gen-libm-test.pl (parse_args): Do not include expected
23837 result in test name.
23838 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23839 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23840 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23841 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23842 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23845 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23847 * benchtests/Makefile: Sort function entries.
23849 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23850 tanh, asinh, acosh, atanh.
23851 * benchtests/acos-inputs: New file.
23852 * benchtests/acosh-inputs: New file.
23853 * benchtests/asin-inputs: New file.
23854 * benchtests/asinh-inputs: New file.
23855 * benchtests/atanh-inputs: New file.
23856 * benchtests/cosh-inputs: New file.
23857 * benchtests/log-inputs: New file.
23858 * benchtests/sinh-inputs: New file.
23859 * benchtests/tanh-inputs: New file.
23861 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23864 * posix/tst-getaddrinfo4.c: New test.
23865 * posix/Makefile (tests): Add it.
23867 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23870 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23871 when no services were used.
23872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23873 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23875 2013-05-21 Andreas Schwab <schwab@suse.de>
23878 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23879 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23881 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23882 redundant variable declarations and reallocation of buffer when
23883 parsing as IPv6 address. Always set NSS status when called from
23884 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23885 buffer too small. Correct computation of needed size.
23886 * nss/Makefile (tests): Add test-digits-dots.
23887 * nss/test-digits-dots.c: New test.
23889 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23891 * benchtests/Makefile: Remove instructions for adding
23893 * benchtests/README: New file to explain how to execute and
23894 enhance the benchmark tests.
23896 2013-05-21 Andreas Schwab <schwab@suse.de>
23899 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23900 * setjmp/tst-sigsetjmp.c: New test.
23902 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23904 * sysdeps/x86_64/memset.S (memset): New implementation.
23905 (__bzero): Likewise.
23906 (__memset_tail): New function.
23908 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23910 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23911 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23912 __memcpy_sse2_unaligned ifunc selection.
23913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23914 Add memcpy-sse2-unaligned.S.
23915 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23916 Add: __memcpy_sse2_unaligned.
23918 2013-05-19 Joseph Myers <joseph@codesourcery.com>
23921 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23922 math_force_eval before restoring floating-point envrionment.
23923 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23924 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23926 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23928 (__nearbyintl): Use math_force_eval before restoring
23929 floating-point environment.
23930 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23932 * math/gen-libm-test.pl (special_functions): Remove.
23933 (parse_args): Don't handle TEST_extra. Handle functions with no
23935 * math/libm-test.inc (struct test_sincos_data): Replace with
23936 struct test_fFF_11_data.
23937 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23938 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23939 (sincos_test_data): Change element type to struct
23940 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23941 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23942 RUN_TEST_LOOP_sincos.
23943 * math/README.libm-test: Don't mention special handling of
23944 individual functions.
23945 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23946 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23947 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23948 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23949 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23952 * math/gen-libm-test.pl (get_variable): Remove function.
23953 (parse_args): Don't show pointer parameters to call in test
23954 names. Use "extra output N" in test names for extra outputs
23955 rather than naming variables.
23957 2013-05-18 Joseph Myers <joseph@codesourcery.com>
23960 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23961 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23962 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23964 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23966 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23969 * math/gen-libm-test.pl (@tests): Remove variable.
23970 ($count): Likewise.
23971 (new_test): Remove function.
23972 (show_exceptions): New function.
23973 (special_functions): Use show_exceptions instead of new_test.
23974 (parse_args): Likewise.
23975 (generate_testfile): Pass only function name in generated call to
23976 print_max_error or print_complex_max_error.
23977 (get_ulps): Do not handle complex tests specially.
23978 (output_test): Rename to ...
23979 (get_all_ulps_for_test): ... this. Return a string rather than
23980 printing to a file. Require ulps to be present.
23981 (output_ulps): Generate arrays rather than #defines.
23982 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23983 (struct ulp_data): New type.
23984 (BUILD_COMPLEX_ULP): Remove macro.
23985 (compare_ulp_data): New function.
23986 (find_ulps): Likewise.
23987 (find_test_ulps): Likewise.
23988 (find_function_ulps): Likewise.
23989 (find_complex_function_ulps): Likewise.
23990 (print_max_error): Determine allowed ulps using
23991 find_function_ulps.
23992 (print_complex_max_error): Determine allowed ulps using
23993 find_complex_function_ulps.
23994 (check_float_internal): Determine max ulps using find_test_ulps.
23995 (check_float): Do not take max_ulp parameter. Update call to
23996 check_float_internal.
23997 (check_complex): Likewise.
23998 (check_int): Do not take max_ulp parameter.
23999 (check_long): Likewise.
24000 (check_bool): Likewise.
24001 (check_longlong): Likewise.
24002 (struct test_f_f_data): Remove max_ulp field.
24003 (struct test_ff_f_data): Likewise.
24004 (struct test_ff_f_data_nexttoward): Likewise.
24005 (struct test_fi_f_data): Likewise.
24006 (struct test_fl_f_data): Likewise.
24007 (struct test_if_f_data): Likewise.
24008 (struct test_fff_f_data): Likewise.
24009 (struct test_c_f_data): Likewise.
24010 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24011 (struct test_fF_f1_data): Likewise.
24012 (struct test_ffI_f1_data): Likewise.
24013 (struct test_c_c_data): Remove max_ulp field.
24014 (struct test_cc_c_data): Likewise.
24015 (struct test_f_i_data): Likewise.
24016 (struct test_ff_i_data): Likewise.
24017 (struct test_f_l_data): Likewise.
24018 (struct test_f_L_data): Likewise.
24019 (struct test_sincos_data): Likewise.
24020 (RUN_TEST_f_f): Do not handle ulps.
24021 (RUN_TEST_LOOP_f_f): Likewise.
24022 (RUN_TEST_2_f): Likewise.
24023 (RUN_TEST_LOOP_2_f): Likewise.
24024 (RUN_TEST_fff_f): Likewise.
24025 (RUN_TEST_LOOP_fff_f): Likewise.
24026 (RUN_TEST_c_f): Likewise.
24027 (RUN_TEST_LOOP_c_f): Likewise.
24028 (RUN_TEST_f_f1): Likewise.
24029 (RUN_TEST_LOOP_f_f1): Likewise.
24030 (RUN_TEST_fF_f1): Likewise.
24031 (RUN_TEST_LOOP_fF_f1): Likewise.
24032 (RUN_TEST_fI_f1): Likewise.
24033 (RUN_TEST_LOOP_fI_f1): Likewise.
24034 (RUN_TEST_ffI_f1): Likewise.
24035 (RUN_TEST_LOOP_ffI_f1): Likewise.
24036 (RUN_TEST_c_c): Likewise.
24037 (RUN_TEST_LOOP_c_c): Likewise.
24038 (RUN_TEST_cc_c): Likewise.
24039 (RUN_TEST_LOOP_cc_c): Likewise.
24040 (RUN_TEST_f_i): Likewise.
24041 (RUN_TEST_LOOP_f_i): Likewise.
24042 (RUN_TEST_f_i_tg): Likewise.
24043 (RUN_TEST_LOOP_f_i_tg): Likewise.
24044 (RUN_TEST_ff_i_tg): Likewise.
24045 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24046 (RUN_TEST_f_b): Likewise.
24047 (RUN_TEST_LOOP_f_b): Likewise.
24048 (RUN_TEST_f_b_tg): Likewise.
24049 (RUN_TEST_LOOP_f_b_tg): Likewise.
24050 (RUN_TEST_f_l): Likewise.
24051 (RUN_TEST_LOOP_f_l): Likewise.
24052 (RUN_TEST_f_L): Likewise.
24053 (RUN_TEST_LOOP_f_L): Likewise.
24054 (RUN_TEST_sincos): Likewise.
24055 (RUN_TEST_LOOP_sincos): Likewise.
24057 2013-05-17 Joseph Myers <joseph@codesourcery.com>
24061 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24062 main case of finite arguments, set rounding mode to FE_TONEAREST
24063 and discard exceptions.
24064 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24066 (remainder_tonearest_test_data): New variable.
24067 (remainder_test_tonearest): New function.
24068 (remainder_towardzero_test_data): New variable.
24069 (remainder_test_towardzero): New function.
24070 (remainder_downward_test_data): New variable.
24071 (remainder_test_downward): New function.
24072 (remainder_upward_test_data): New variable.
24073 (remainder_test_upward): New function.
24074 (main): Call the new test functions.
24076 * math/libm-test.inc (struct test_f_f1_data): Remove field
24078 (struct test_fF_f1_data): Likewise.
24079 (struct test_ffI_f1_data): Likewise.
24080 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24081 based on value of EXTRA_EXPECTED.
24082 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24083 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24084 EXTRA_VAR based on value of EXTRA_EXPECTED.
24085 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24086 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24087 EXTRA_VAR based on value of EXTRA_EXPECTED.
24088 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24089 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24090 EXTRA_VAR based on value of EXTRA_EXPECTED.
24091 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24092 * math/gen-libm-test.pl (parse_args): Don't output initializers
24093 for extra output values.
24095 * math/libm-test.inc (check_int): Expect result to be exactly
24096 equal to expected value and do not handle ulps.
24097 (check_long): Likewise.
24098 (check_longlong): Likewise.
24100 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24102 (cimag_test_data): Likewise.
24103 (conj_test_data): Likewise.
24104 (copysign_test_data): Likewise.
24105 (cproj_test_data): Likewise.
24106 (creal_test_data): Likewise.
24107 (fabs_test_data): Likewise.
24108 (fdim_test_data): Likewise.
24109 (finite_test_data): Likewise.
24110 (floor_test_data): Likewise.
24111 (fmax_test_data): Likewise.
24112 (fmin_test_data): Likewise.
24113 (fmod_test_data): Likewise.
24114 (fpclassify_test_data): Likewise.
24115 (frexp_test_data): Likewise.
24116 (ilogb_test_data): Likewise.
24117 (isfinite_test_data): Likewise.
24118 (isgreater_test_data): Likewise.
24119 (isgreaterequal_test_data): Likewise.
24120 (isinf_test_data): Likewise.
24121 (isless_test_data): Likewise.
24122 (islessequal_test_data): Likewise.
24123 (islessgreater_test_data): Likewise.
24124 (isnan_test_data): Likewise.
24125 (isnormal_test_data): Likewise.
24126 (issignaling_test_data): Likewise.
24127 (isunordered_test_data): Likewise.
24128 (ldexp_test_data): Likewise.
24129 (lrint_test_data): Likewise.
24130 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24131 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24132 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24133 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24134 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24135 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24137 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24138 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24139 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24140 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24142 (lrint_downward_test_data): Test for "inexact" exceptions.
24143 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24144 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24145 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24147 (lrint_upward_test_data): Test for "inexact" exceptions.
24148 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24150 (llrint_test_data): Test for "inexact" exceptions.
24151 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24152 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24153 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24154 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24155 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24156 (llrint_downward_test_data): Test for "inexact" exceptions.
24157 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24158 (llrint_upward_test_data): Test for "inexact" exceptions.
24159 (logb_test_data): Likewise.
24160 (logb_downward_test_data): Likewise.
24161 (nextafter_test_data): Likewise.
24162 (nexttoward_test_data): Likewise.
24163 (remainder_test_data): Likewise.
24164 (remquo_test_data): Likewise.
24165 (scalbn_test_data): Likewise.
24166 (scalbln_test_data): Likewise.
24167 (signbit_test_data): Likewise.
24168 (sqrt_test_data): Likewise.
24169 (significand_test_data): Likewise.
24171 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24174 * benchtests/bench-modf.c (struct args): Mark arg0 as
24176 * scripts/bench.pl: Mark members of struct args as volatile.
24178 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24181 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24182 negative infinity on POWER6 or lower.
24183 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24185 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24188 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24189 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24190 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24191 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24192 (_FP_SETQNAN): New macro.
24193 (_FP_SETQNAN_SEMIRAW): Likewise.
24194 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24195 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24196 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24197 (FP_EXTEND): Use _FP_FRAC_SNANP.
24198 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24199 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24201 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24203 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24206 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24208 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24209 with DIVIDE_BY_ZERO_EXCEPTION.
24210 (gamma_test_data): Likewise.
24211 (lgamma_test_data): Likewise.
24212 (log_test_data): Likewise.
24213 (log10_test_data): Likewise.
24214 (log2_test_data): Likewise.
24215 (tgamma_test_data): Likewise.
24217 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24218 (acos_test_tonearest): Likewise.
24219 (acos_test_towardzero): Likewise.
24220 (acos_test_downward): Likewise.
24221 (acos_test_upward): Likewise.
24222 (acosh_test): Likewise.
24223 (asin_test): Likewise.
24224 (asin_test_tonearest): Likewise.
24225 (asin_test_towardzero): Likewise.
24226 (asin_test_downward): Likewise.
24227 (asin_test_upward): Likewise.
24228 (asinh_test): Likewise.
24229 (atan_test): Likewise.
24230 (atanh_test): Likewise.
24231 (atan2_test): Likewise.
24232 (cabs_test): Likewise.
24233 (cacos_test): Likewise.
24234 (cacosh_test): Likewise.
24235 (casin_test): Likewise.
24236 (casinh_test): Likewise.
24237 (catan_test): Likewise.
24238 (catanh_test): Likewise.
24239 (cbrt_test): Likewise.
24240 (ccos_test): Likewise.
24241 (ccosh_test): Likewise.
24242 (cexp_test): Likewise.
24243 (clog_test): Likewise.
24244 (clog10_test): Likewise.
24245 (cos_test): Likewise.
24246 (cos_test_tonearest): Likewise.
24247 (cos_test_towardzero): Likewise.
24248 (cos_test_downward): Likewise.
24249 (cos_test_upward): Likewise.
24250 (cosh_test): Likewise.
24251 (cosh_test_tonearest): Likewise.
24252 (cosh_test_towardzero): Likewise.
24253 (cosh_test_downward): Likewise.
24254 (cosh_test_upward): Likewise.
24255 (cpow_test): Likewise.
24256 (csin_test): Likewise.
24257 (csinh_test): Likewise.
24258 (csqrt_test): Likewise.
24259 (ctan_test): Likewise.
24260 (ctan_test_tonearest): Likewise.
24261 (ctan_test_towardzero): Likewise.
24262 (ctan_test_downward): Likewise.
24263 (ctan_test_upward): Likewise.
24264 (ctanh_test): Likewise.
24265 (ctanh_test_tonearest): Likewise.
24266 (ctanh_test_towardzero): Likewise.
24267 (ctanh_test_downward): Likewise.
24268 (ctanh_test_upward): Likewise.
24269 (erf_test): Likewise.
24270 (erfc_test): Likewise.
24271 (exp_test): Likewise.
24272 (exp_test_tonearest): Likewise.
24273 (exp_test_towardzero): Likewise.
24274 (exp_test_downward): Likewise.
24275 (exp_test_upward): Likewise.
24276 (exp10_test): Likewise.
24277 (exp2_test): Likewise.
24278 (expm1_test): Likewise.
24279 (fmod_test): Likewise.
24280 (gamma_test): Likewise.
24281 (hypot_test): Likewise.
24282 (j0_test): Likewise.
24283 (j1_test): Likewise.
24284 (jn_test): Likewise.
24285 (lgamma_test): Likewise.
24286 (log_test): Likewise.
24287 (log10_test): Likewise.
24288 (log1p_test): Likewise.
24289 (log2_test): Likewise.
24290 (logb_test_downward): Likewise.
24291 (pow_test): Likewise.
24292 (pow_test_tonearest): Likewise.
24293 (pow_test_towardzero): Likewise.
24294 (pow_test_downward): Likewise.
24295 (pow_test_upward): Likewise.
24296 (remainder_test): Likewise.
24297 (remquo_test): Likewise.
24298 (sin_test): Likewise.
24299 (sin_test_tonearest): Likewise.
24300 (sin_test_towardzero): Likewise.
24301 (sin_test_downward): Likewise.
24302 (sin_test_upward): Likewise.
24303 (sincos_test): Likewise.
24304 (sinh_test): Likewise.
24305 (sinh_test_tonearest): Likewise.
24306 (sinh_test_towardzero): Likewise.
24307 (sinh_test_downward): Likewise.
24308 (sinh_test_upward): Likewise.
24309 (sqrt_test): Likewise.
24310 (tan_test): Likewise.
24311 (tan_test_tonearest): Likewise.
24312 (tan_test_towardzero): Likewise.
24313 (tan_test_downward): Likewise.
24314 (tan_test_upward): Likewise.
24315 (tanh_test): Likewise.
24316 (tgamma_test): Likewise.
24317 (y0_test): Likewise.
24318 (y1_test): Likewise.
24319 (yn_test): Likewise.
24321 * math/gen-libm-test.pl (adjust_arg): Remove function.
24322 (special_function): Remove argument $in_func. Only handle
24323 generating output for tables of tests, not inside functions.
24324 (parse_args): Likewise.
24325 (generate_testfile): Remove variable $in_func. Update call to
24327 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24328 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24329 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24330 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24331 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24332 (MAX_VALUE_INIT): Rename macro to max_value.
24333 (MIN_VALUE_INIT): Rename macro to min_value.
24334 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24335 (plus_zero): Remove variable.
24336 (minus_zero): Likewise.
24337 (plus_infty): Likewise.
24338 (minus_infty): Likewise.
24339 (qnan_value): Likewise.
24340 (max_value): Likewise.
24341 (min_value): Likewise.
24342 (min_subnorm_value): Likewise.
24344 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24346 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24347 uint64_t or uint32_t usage.
24348 * crypt/sha256-block.c: Likewise.
24349 * crypt/sha256-crypt.c: Likewise.
24350 * crypt/sha256.c: Likewise.
24351 * crypt/sha512-block.c: Likewise.
24352 * crypt/sha512-crypt.c: Likewise.
24353 * crypt/sha512.c: Likewise.
24354 * debug/backtrace-tst.c: Likewise.
24355 * debug/pcprofiledump.c: Likewise.
24356 * elf/cache.c: Likewise.
24357 * elf/dl-cache.c: Likewise.
24358 * elf/dl-misc.c: Likewise.
24359 * elf/dl-profile.c: Likewise.
24360 * elf/dl-support.c: Likewise.
24361 * elf/ldconfig.c: Likewise.
24362 * elf/sprof.c: Likewise.
24363 * iconv/dummy-repertoire.c: Likewise.
24364 * iconv/iconv_charmap.c: Likewise.
24365 * iconv/skeleton.c: Likewise.
24366 * iconvdata/8bit-generic.c: Likewise.
24367 * iconvdata/cp737.h: Likewise.
24368 * iconvdata/cp775.h: Likewise.
24369 * iconvdata/ibm1008.h: Likewise.
24370 * iconvdata/ibm1025.h: Likewise.
24371 * iconvdata/ibm1046.h: Likewise.
24372 * iconvdata/ibm1097.h: Likewise.
24373 * iconvdata/ibm1112.h: Likewise.
24374 * iconvdata/ibm1122.h: Likewise.
24375 * iconvdata/ibm1123.h: Likewise.
24376 * iconvdata/ibm1124.h: Likewise.
24377 * iconvdata/ibm1129.h: Likewise.
24378 * iconvdata/ibm1130.h: Likewise.
24379 * iconvdata/ibm1132.h: Likewise.
24380 * iconvdata/ibm1133.h: Likewise.
24381 * iconvdata/ibm1137.h: Likewise.
24382 * iconvdata/ibm1140.h: Likewise.
24383 * iconvdata/ibm1141.h: Likewise.
24384 * iconvdata/ibm1142.h: Likewise.
24385 * iconvdata/ibm1143.h: Likewise.
24386 * iconvdata/ibm1144.h: Likewise.
24387 * iconvdata/ibm1145.h: Likewise.
24388 * iconvdata/ibm1146.h: Likewise.
24389 * iconvdata/ibm1147.h: Likewise.
24390 * iconvdata/ibm1148.h: Likewise.
24391 * iconvdata/ibm1149.h: Likewise.
24392 * iconvdata/ibm1153.h: Likewise.
24393 * iconvdata/ibm1154.h: Likewise.
24394 * iconvdata/ibm1155.h: Likewise.
24395 * iconvdata/ibm1156.h: Likewise.
24396 * iconvdata/ibm1157.h: Likewise.
24397 * iconvdata/ibm1158.h: Likewise.
24398 * iconvdata/ibm1160.h: Likewise.
24399 * iconvdata/ibm1161.h: Likewise.
24400 * iconvdata/ibm1162.h: Likewise.
24401 * iconvdata/ibm1163.h: Likewise.
24402 * iconvdata/ibm1164.h: Likewise.
24403 * iconvdata/ibm1166.h: Likewise.
24404 * iconvdata/ibm1167.h: Likewise.
24405 * iconvdata/ibm12712.h: Likewise.
24406 * iconvdata/ibm1390.h: Likewise.
24407 * iconvdata/ibm1399.h: Likewise.
24408 * iconvdata/ibm16804.h: Likewise.
24409 * iconvdata/ibm4517.h: Likewise.
24410 * iconvdata/ibm4899.h: Likewise.
24411 * iconvdata/ibm4909.h: Likewise.
24412 * iconvdata/ibm4971.h: Likewise.
24413 * iconvdata/ibm5347.h: Likewise.
24414 * iconvdata/ibm803.h: Likewise.
24415 * iconvdata/ibm856.h: Likewise.
24416 * iconvdata/ibm901.h: Likewise.
24417 * iconvdata/ibm902.h: Likewise.
24418 * iconvdata/ibm9030.h: Likewise.
24419 * iconvdata/ibm9066.h: Likewise.
24420 * iconvdata/ibm921.h: Likewise.
24421 * iconvdata/ibm922.h: Likewise.
24422 * iconvdata/ibm9448.h: Likewise.
24423 * iconvdata/isiri-3342.h: Likewise.
24424 * iconvdata/jis0201.h: Likewise.
24425 * include/link.h: Likewise.
24426 * include/netdb.h: Likewise.
24427 * inet/check_native.c: Likewise.
24428 * inet/check_pf.c: Likewise.
24429 * inet/getipv4sourcefilter.c: Likewise.
24430 * inet/getnameinfo.c: Likewise.
24431 * inet/getsourcefilter.c: Likewise.
24432 * inet/htonl.c: Likewise.
24433 * inet/setipv4sourcefilter.c: Likewise.
24434 * inet/setsourcefilter.c: Likewise.
24435 * inet/test-inet6_opt.c: Likewise.
24436 * inet/tst-network.c: Likewise.
24437 * locale/C-collate.c: Likewise.
24438 * locale/C-ctype.c: Likewise.
24439 * locale/C-time.c: Likewise.
24440 * locale/C-translit.h: Likewise.
24441 * locale/loadarchive.c: Likewise.
24442 * locale/programs/3level.h: Likewise.
24443 * locale/programs/charmap.c: Likewise.
24444 * locale/programs/charmap.h: Likewise.
24445 * locale/programs/ld-address.c: Likewise.
24446 * locale/programs/ld-collate.c: Likewise.
24447 * locale/programs/ld-ctype.c: Likewise.
24448 * locale/programs/ld-identification.c: Likewise.
24449 * locale/programs/ld-measurement.c: Likewise.
24450 * locale/programs/ld-messages.c: Likewise.
24451 * locale/programs/ld-monetary.c: Likewise.
24452 * locale/programs/ld-name.c: Likewise.
24453 * locale/programs/ld-numeric.c: Likewise.
24454 * locale/programs/ld-paper.c: Likewise.
24455 * locale/programs/ld-telephone.c: Likewise.
24456 * locale/programs/ld-time.c: Likewise.
24457 * locale/programs/linereader.c: Likewise.
24458 * locale/programs/locale.c: Likewise.
24459 * locale/programs/locarchive.c: Likewise.
24460 * locale/programs/locfile.h: Likewise.
24461 * locale/programs/repertoire.c: Likewise.
24462 * locale/programs/simple-hash.c: Likewise.
24463 * locale/programs/simple-hash.h: Likewise.
24464 * malloc/memusage.c: Likewise.
24465 * malloc/memusagestat.c: Likewise.
24466 * nis/nis_defaults.c: Likewise.
24467 * nis/nis_hash.c: Likewise.
24468 * nis/nis_print.c: Likewise.
24469 * nis/nis_xdr.c: Likewise.
24470 * nscd/connections.c: Likewise.
24471 * nscd/hstcache.c: Likewise.
24472 * nscd/nscd_gethst_r.c: Likewise.
24473 * nscd/nscd_getserv_r.c: Likewise.
24474 * nscd/nscd_helper.c: Likewise.
24475 * nscd/servicescache.c: Likewise.
24476 * nss/makedb.c: Likewise.
24477 * nss/nss_db/db-XXX.c: Likewise.
24478 * nss/nss_db/db-initgroups.c: Likewise.
24479 * nss/nss_db/db-netgrp.c: Likewise.
24480 * nss/nss_files/files-network.c: Likewise.
24481 * nss/nss_files/files-parse.c: Likewise.
24482 * posix/bug-regex5.c: Likewise.
24483 * posix/fnmatch_loop.c: Likewise.
24484 * posix/regcomp.c: Likewise.
24485 * posix/regexec.c: Likewise.
24486 * posix/tst-rfc3484-2.c: Likewise.
24487 * posix/tst-rfc3484-3.c: Likewise.
24488 * posix/tst-rfc3484.c: Likewise.
24489 * resolv/nss_dns/dns-canon.c: Likewise.
24490 * resolv/nss_dns/dns-network.c: Likewise.
24491 * resolv/res_init.c: Likewise.
24492 * resolv/res_mkquery.c: Likewise.
24493 * resolv/tst-aton.c: Likewise.
24494 * stdlib/cxa_atexit.c: Likewise.
24495 * stdlib/cxa_finalize.c: Likewise.
24496 * stdlib/gen-fpioconst.c: Likewise.
24497 * stdlib/strtol_l.c: Likewise.
24498 * string/tst-endian.c: Likewise.
24499 * sunrpc/auth_des.c: Likewise.
24500 * sunrpc/clnt_udp.c: Likewise.
24501 * sunrpc/rtime.c: Likewise.
24502 * sunrpc/svcauth_des.c: Likewise.
24503 * sunrpc/xdr.c: Likewise.
24504 * sunrpc/xdr_intXX_t.c: Likewise.
24505 * sunrpc/xdr_rec.c: Likewise.
24506 * sysdeps/generic/ldconfig.h: Likewise.
24507 * sysdeps/generic/ldsodefs.h: Likewise.
24508 * sysdeps/generic/memusage.h: Likewise.
24509 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24510 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24511 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24512 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24513 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24514 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24515 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24516 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24517 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24518 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24519 * sysdeps/posix/getaddrinfo.c: Likewise.
24520 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24521 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24522 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24523 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24524 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24525 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24526 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24527 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24528 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24529 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24530 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24531 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24532 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24533 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24534 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24535 * sysdeps/x86_64/dl-tls.h: Likewise.
24536 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24537 * time/alt_digit.c: Likewise.
24538 * time/era.c: Likewise.
24539 * wcsmbs/tst-c16c32-1.c: Likewise.
24541 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24543 * math/libm-test.inc (struct test_sincos_data): New type.
24544 (RUN_TEST_LOOP_sincos): New macro.
24545 (sincos_test_data): New variable.
24546 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24548 2013-05-16 Richard Henderson <rth@redhat.com>
24550 * math/atest-exp2.c (LIMB64): New macro.
24551 (CONSTSZ): New macro.
24552 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24554 (print_mpn_fp): ... to function scope.
24555 (read_mpn_hex): Remove.
24556 (get_log2): Remove.
24557 (exp2_mpn): Use mp_log2.
24558 (main): Use mp_exp1.
24560 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24562 * math/libm-test.inc: Remove comment about not testing "inexact"
24564 (INEXACT_EXCEPTION): New macro.
24565 (NO_INEXACT_EXCEPTION): Likewise.
24566 (INVALID_EXCEPTION_OK): Update value.
24567 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24568 (OVERFLOW_EXCEPTION_OK): Likewise.
24569 (UNDERFLOW_EXCEPTION_OK): Likewise.
24570 (IGNORE_ZERO_INF_SIGN): Likewise.
24571 (ERRNO_UNCHANGED): Likewise.
24572 (ERRNO_EDOM): Likewise.
24573 (ERRNO_ERANGE): Likewise.
24574 (test_exceptions): Handle testing "inexact" exceptions.
24575 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24576 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24577 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24578 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24580 (rint_towardzero_test_data): Likewise.
24581 (rint_downward_test_data): Likewise.
24582 (rint_upward_test_data): Likewise.
24584 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24585 with OVERFLOW_EXCEPTION.
24586 (exp10_test_data): Likewise.
24587 (exp2_test_data): Likewise.
24588 (expm1_test_data): Likewise.
24589 (lgamma_test_data): Likewise.
24590 (pow_test_data): Likewise.
24591 (tgamma_test_data): Likewise.
24592 (yn_test_data): Remove duplicate test of overflow.
24594 * math/libm-test.inc (struct test_cc_c_data): New type.
24595 (RUN_TEST_LOOP_cc_c): New macro.
24596 (cpow_test_data): New variable.
24597 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24599 * math/libm-test.inc (struct test_f_L_data): New type.
24600 (RUN_TEST_LOOP_f_L): New macro.
24601 (llrint_test_data): New variable.
24602 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24603 (llrint_tonearest_test_data): New variable.
24604 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24605 (llrint_towardzero_test_data): New variable.
24606 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24607 (llrint_downward_test_data): New variable.
24608 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24609 (llrint_upward_test_data): New variable.
24610 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24611 (llround_test_data): New variable.
24612 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24614 2013-05-13 Peter Collingbourne <pcc@google.com>
24616 * math/atest-exp2.c (get_log2): Remove const attribute.
24618 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24620 * math/libm-test.inc (struct test_f_l_data): New type.
24621 (RUN_TEST_LOOP_f_l): New macro.
24622 (lrint_test_data): New variable.
24623 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24624 (lrint_tonearest_test_data): New variable.
24625 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24626 (lrint_towardzero_test_data): New variable.
24627 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24628 (lrint_downward_test_data): New variable.
24629 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24630 (lrint_upward_test_data): New variable.
24631 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24632 (lround_test_data): New variable.
24633 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24635 2013-05-15 Peter Collingbourne <pcc@google.com>
24637 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24638 (EXTRACT_WORDS64) Use where appropriate.
24639 (INSERT_WORDS64) Likewise.
24641 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24642 constraints with x constraints.
24643 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24645 * malloc/obstack.c (_obstack_compat): Add initializer.
24647 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24649 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24650 si_trapno and add si_addr_lsb to _sifields.sigfault.
24651 (si_trapno): Remove macro.
24652 (si_addr_lsb): Define new macro.
24653 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24655 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24657 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24658 instead of TEST_f_l.
24659 (llrint_test_tonearest): Likewise.
24660 (llrint_test_towardzero): Likewise.
24661 (llrint_test_downward): Likewise.
24662 (llrint_test_upward): Likewise.
24663 (llround_test): Likewise.
24665 * math/libm-test.inc (struct test_f_i_data): Add comment.
24666 (RUN_TEST_LOOP_f_b): New macro.
24667 (RUN_TEST_LOOP_f_b_tg): Likewise.
24668 (finite_test_data): New variable.
24669 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24670 (isfinite_test_data): New variable.
24671 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24672 (isinf_test_data): New variable.
24673 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24674 (isnan_test_data): New variable.
24675 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24676 (isnormal_test_data): New variable.
24677 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24678 (issignaling_test_data): New variable.
24679 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24680 (signbit_test_data): New variable.
24681 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24683 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24684 with INVALID_EXCEPTION.
24685 (acosh_test_data): Likewise.
24686 (asin_test_data): Likewise.
24687 (atanh_test_data): Likewise.
24688 (fmod_test_data): Likewise.
24689 (log_test_data): Likewise.
24690 (log10_test_data): Likewise.
24691 (log2_test_data): Likewise.
24692 (pow_test_data): Likewise.
24693 (sqrt_test_data): Likewise.
24694 (y0_test_data): Likewise.
24695 (y1_test_data): Likewise.
24696 (yn_test_data): Likewise.
24698 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24701 * math/libm-test.inc (struct test_ff_i_data): New type.
24702 (RUN_TEST_LOOP_ff_i_tg): New macro.
24703 (isgreater_test_data): New variable.
24704 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24705 (isgreaterequal_test_data): New variable.
24706 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24707 (isless_test_data): New variable.
24708 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24709 (islessequal_test_data): New variable.
24710 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24711 (islessgreater_test_data): New variable.
24712 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24713 (isunordered_test_data): New variable.
24714 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24716 2013-05-14 David S. Miller <davem@davemloft.net>
24718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24720 2013-05-14 Joseph Myers <joseph@codesourcery.com>
24722 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24724 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24726 (struct test_f_i_data): Change type of max_ulp to int.
24728 * math/libm-test.inc (test_ffI_f1_data): New type.
24729 (RUN_TEST_LOOP_ffI_f1): New macro.
24730 (remquo_test_data): New variable.
24731 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24733 * setjmp/tst-setjmp-fp.c: New file.
24734 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24735 (link-libm): New variable.
24736 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24738 * math/libm-test.inc (struct test_f_i_data): New type.
24739 (RUN_TEST_LOOP_f_i): New macro.
24740 (RUN_TEST_LOOP_f_i_tg): Likewise.
24741 (fpclassify_test_data): New variable.
24742 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24743 (ilogb_test_data): New variable.
24744 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24746 * math/libm-test.inc (scalbln_test): Correct function name in END
24749 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24750 (RUN_TEST_LOOP_fI_f1): New macro.
24751 (frexp_test_data): New variable.
24752 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24754 * math/libm-test.inc (struct test_fF_f1_data): New type.
24755 (RUN_TEST_LOOP_fF_f1): New macro.
24756 (modf_test_data): New variable.
24757 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24759 * math/libm-test.inc (struct test_f_f1_data): New type.
24760 (RUN_TEST_LOOP_f_f1): New macro.
24761 (gamma_test_data): New variable.
24762 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24763 (lgamma_test_data): New variable.
24764 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24766 2013-05-13 Carlos O'Donell <carlos@redhat.com>
24768 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24769 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24770 (main): Comment "tls" pseudo-hwcap.
24772 2013-05-13 Joseph Myers <joseph@codesourcery.com>
24774 * math/libm-test.inc (struct test_fl_f_data): New type.
24775 (RUN_TEST_LOOP_fl_f): New variable.
24776 (scalbln_test_data): New variable.
24777 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24779 * math/libm-test.inc (struct test_fi_f_data): New type.
24780 (RUN_TEST_LOOP_fi_f): New macro.
24781 (ldexp_test_data): New variable.
24782 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24783 (scalbn_test_data): New variable.
24784 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24786 * math/libm-test.inc (struct test_c_f_data): New type.
24787 (RUN_TEST_LOOP_c_f): New macro.
24788 (cabs_test_data): New variable.
24789 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24790 (carg_test_data): New variable.
24791 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24792 (cimag_test_data): New variable.
24793 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24794 (creal_test_data): New variable.
24795 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24797 * math/libm-test.inc (struct test_if_f_data): New type.
24798 (RUN_TEST_LOOP_if_f): New macro.
24799 (jn_test_data): New variable.
24800 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24801 (yn_test_data): New variable.
24802 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24804 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24806 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24808 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24809 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24811 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24813 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24814 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24815 (bench-deps): Add bench-timing.h.
24816 * benchtests-bench-skeleton.c: Include bench-timing.h.
24817 (main): Use TIMING_* macros instead of clock_gettime.
24818 * benchtests/bench-timing.h: New file.
24821 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24822 Renamed from _LIB_VERSION.
24823 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24825 2013-05-12 Joseph Myers <joseph@codesourcery.com>
24827 * math/libm-test.inc (struct test_fff_f_data): New type.
24828 (RUN_TEST_LOOP_fff_f): New macro.
24829 (fma_test_data): New variable.
24830 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24831 (fma_towardzero_test_data): New variable.
24832 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24833 (fma_downward_test_data): New variable.
24834 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24835 (fma_upward_test_data): New variable.
24836 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24838 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24839 (struct test_c_c_data): New type.
24840 (RUN_TEST_LOOP_c_c): New macro.
24841 (cacos_test_data): New variable.
24842 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24843 (cacosh_test_data): New variable.
24844 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24845 (casin_test_data): New variable.
24846 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24847 (casinh_test_data): New variable.
24848 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24849 (catan_test_data): New variable.
24850 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24851 (catanh_test_data): New variable.
24852 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24853 (ccos_test_data): New variable.
24854 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24855 (ccosh_test_data): New variable.
24856 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24857 (cexp_test_data): New variable.
24858 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24859 (clog_test_data): New variable.
24860 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24861 (clog10_test_data): New variable.
24862 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24863 (conj_test_data): New variable.
24864 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24865 (cproj_test_data): New variable.
24866 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24867 (csin_test_data): New variable.
24868 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24869 (csinh_test_data): New variable.
24870 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24871 (csqrt_test_data): New variable.
24872 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24873 (ctan_test_data): New variable.
24874 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24875 (ctan_tonearest_test_data): New variable.
24876 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24877 (ctan_towardzero_test_data): New variable.
24878 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24879 (ctan_downward_test_data): New variable.
24880 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24881 (ctan_upward_test_data): New variable.
24882 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24883 (ctanh_test_data): New variable.
24884 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24885 (ctanh_tonearest_test_data): New variable.
24886 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24887 (ctanh_towardzero_test_data): New variable.
24888 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24889 (ctanh_downward_test_data): New variable.
24890 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24891 (ctanh_upward_test_data): New variable.
24892 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24893 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24896 * math/libm-test.inc (struct test_ff_f_data): New type.
24897 (struct test_ff_f_data_nexttoward): Likewise.
24898 (RUN_TEST_LOOP_2_f): New macro.
24899 (RUN_TEST_LOOP_ff_f): Likewise.
24900 (atan2_test_data): New variable.
24901 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24902 (copysign_test_data): New variable.
24903 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24904 (fdim_test_data): New variable.
24905 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24906 (fmax_test_data): New variable.
24907 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24908 (fmin_test_data): New variable.
24909 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24910 (fmod_test_data): New variable.
24911 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24912 (hypot_test_data): New variable.
24913 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24914 (nextafter_test_data): New variable.
24915 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24916 (nexttoward_test_data): New variable.
24917 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24918 (pow_test_data): New variable.
24919 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24920 (pow_tonearest_test_data): New variable.
24921 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24922 (pow_towardzero_test_data): New variable.
24923 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24924 (pow_downward_test_data): New variable.
24925 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24926 (pow_upward_test_data): New variable.
24927 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24928 (remainder_test_data): New variable.
24929 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24930 (scalb_test_data): New variable.
24931 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24932 * sysdeps/i386/fpu/libm-test-ulps: Update.
24934 2013-05-11 Joseph Myers <joseph@codesourcery.com>
24936 * math/libm-test.inc (fma_test): Use max_value instead of local
24938 (nextafter_test): Likewise.
24940 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24941 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24942 (acos_downward_test_data): New variable.
24943 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24944 (acos_upward_test_data): New variable.
24945 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24946 (acosh_test_data): New variable.
24947 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24948 (asin_test_data): New variable.
24949 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24950 (asin_tonearest_test_data): New variable.
24951 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24952 (asin_towardzero_test_data): New variable.
24953 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24954 (asin_downward_test_data): New variable.
24955 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24956 (asin_upward_test_data): New variable.
24957 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24958 (asinh_test_data): New variable.
24959 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24960 (atan_test_data): New variable.
24961 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24962 (atanh_test_data): New variable.
24963 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24964 (cbrt_test_data): New variable.
24965 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24966 (ceil_test_data): New variable.
24967 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24968 (cos_test_data): New variable.
24969 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24970 (cos_tonearest_test_data): New variable.
24971 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24972 (cos_towardzero_test_data): New variable.
24973 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24974 (cos_downward_test_data): New variable.
24975 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24976 (cos_upward_test_data): New variable.
24977 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24978 (cosh_test_data): New variable.
24979 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24980 (cosh_tonearest_test_data): New variable.
24981 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24982 (cosh_towardzero_test_data): New variable.
24983 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24984 (cosh_downward_test_data): New variable.
24985 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24986 (cosh_upward_test_data): New variable.
24987 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24988 (erf_test_data): New variable.
24989 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24990 (erfc_test_data): New variable.
24991 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24992 (exp_test_data): New variable.
24993 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24994 (exp_tonearest_test_data): New variable.
24995 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24996 (exp_towardzero_test_data): New variable.
24997 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24998 (exp_downward_test_data): New variable.
24999 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25000 (exp_upward_test_data): New variable.
25001 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25002 (exp10_test_data): New variable.
25003 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25004 (exp2_test_data): New variable.
25005 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25006 (expm1_test_data): New variable.
25007 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25008 (fabs_test_data): New variable.
25009 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25010 (floor_test_data): New variable.
25011 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25012 (j0_test_data): New variable.
25013 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25014 (j1_test_data): New variable.
25015 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25016 (log_test_data): New variable.
25017 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25018 (log10_test_data): New variable.
25019 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25020 (log1p_test_data): New variable.
25021 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25022 (log2_test_data): New variable.
25023 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25024 (logb_test_data): New variable.
25025 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25026 (logb_downward_test_data): New variable.
25027 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25028 (nearbyint_test_data): New variable.
25029 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25030 (rint_test_data): New variable.
25031 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25032 (rint_tonearest_test_data): New variable.
25033 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25034 (rint_towardzero_test_data): New variable.
25035 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25036 (rint_downward_test_data): New variable.
25037 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25038 (rint_upward_test_data): New variable.
25039 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25040 (round_test_data): New variable.
25041 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25042 (sin_test_data): New variable.
25043 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25044 (sin_tonearest_test_data): New variable.
25045 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25046 (sin_towardzero_test_data): New variable.
25047 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25048 (sin_downward_test_data): New variable.
25049 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25050 (sin_upward_test_data): New variable.
25051 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25052 (sinh_test_data): New variable.
25053 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25054 (sinh_tonearest_test_data): New variable.
25055 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25056 (sinh_towardzero_test_data): New variable.
25057 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25058 (sinh_downward_test_data): New variable.
25059 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25060 (sinh_upward_test_data): New variable.
25061 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25062 (sqrt_test_data): New variable.
25063 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25064 (tan_test_data): New variable.
25065 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25066 (tan_tonearest_test_data): New variable.
25067 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25068 (tan_towardzero_test_data): New variable.
25069 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25070 (tan_downward_test_data): New variable.
25071 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25072 (tan_upward_test_data): New variable.
25073 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25074 (tanh_test_data): New variable.
25075 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25076 (tgamma_test_data): New variable.
25077 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25078 (trunc_test_data): New variable.
25079 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25080 (y0_test_data): New variable.
25081 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25082 (y1_test_data): New variable.
25083 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25084 (significand_test_data): New variable.
25085 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25087 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25090 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25092 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25094 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25096 2013-05-10 Andreas Jaeger <aj@suse.de>
25099 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25100 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25102 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25104 * math/gen-libm-test.pl (adjust_arg): New function.
25105 (special_functions): Handle generating output in both functions
25107 (parse_args): Likewise.
25108 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25109 $in_func argument to parse_args.
25110 * math/libm-test.inc (struct test_f_f_data): New type.
25111 (IF_ROUND_INIT_): New macro.
25112 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25113 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25114 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25115 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25116 (ROUND_RESTORE_): Likewise.
25117 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25118 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25119 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25120 (ROUND_RESTORE_FE_UPWARD): Likewise.
25121 (RUN_TEST_LOOP_f_f): New macro.
25122 (acos_test_data): New variable.
25123 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25124 (acos_tonearest_test_data): New variable.
25125 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25127 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25129 * benchtests/bench-skeleton.c (startup): Fix coding style.
25131 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25134 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25135 negative infinity argument.
25136 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25137 negative infinity argument.
25138 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25139 negative infinity argument.
25140 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25143 2013-05-10 Florian Weimer <fweimer@redhat.com>
25145 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25146 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25147 * iconv/iconv_prog.c (main): Likewise.
25148 * locale/programs/charmap-dir.c (charmap_readdir)
25149 (fopen_uncompressed): Likewise.
25150 * locale/programs/locfile.c (siblings_uncached)
25151 (write_locale_data): Use lstat64 instead of lstat.
25152 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25155 2013-05-10 Andreas Jaeger <aj@suse.de>
25158 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25160 Include <locale.h>.
25162 2013-05-09 Carlos O'Donell <carlos@redhat.com>
25164 * elf/dl-close.c (_dl_close_worker): Add comments.
25166 2013-05-09 Joseph Myers <joseph@codesourcery.com>
25169 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25171 (__ieee754_rem_pio2l): Update comments.
25174 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25176 (__ieee754_rem_pio2l): Update comments.
25178 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25179 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25181 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25184 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25185 (M_PI_34_LOG10El): Likewise.
25186 (M_PI2_LOG10El): Likewise.
25187 (M_PI4_LOG10El): Likewise.
25188 (M_PI_LOG10El): Likewise.
25190 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25194 2013-05-08 Joseph Myers <joseph@codesourcery.com>
25196 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25197 (MINUS_ZERO_INIT): Likewise.
25198 (PLUS_INFTY_INIT): Likewise.
25199 (MINUS_INFTY_INIT): Likewise.
25200 (QNAN_VALUE_INIT): Likewise.
25201 (MAX_VALUE_INIT): Likewise.
25202 (MIN_VALUE_INIT): Likewise.
25203 (MIN_SUBNORM_VALUE_INIT): Likewise.
25204 (plus_zero): Initialize with PLUS_ZERO_INIT.
25205 (minus_zero): Initialize with MINUS_ZERO_INIT.
25206 (plus_infty): Initialize with PLUS_INFTY_INIT.
25207 (minus_infty): Initialize with MINUS_INFTY_INIT.
25208 (qnan_value): Initialize with QNAN_VALUE_INIT.
25209 (max_value): Initialize with MAX_VALUE_INIT.
25210 (min_value): Initialize with MIN_VALUE_INIT.
25211 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25213 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25214 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25215 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25216 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25218 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25219 (RUN_TEST_2_f): Likewise.
25220 (RUN_TEST_ff_f): Likewise.
25221 (RUN_TEST_fi_f): Likewise.
25222 (RUN_TEST_fl_f): Likewise.
25223 (RUN_TEST_fff_f): Likewise.
25224 (RUN_TEST_c_f): Likewise.
25225 (RUN_TEST_f_f1): Likewise.
25226 (RUN_TEST_fF_f1): Likewise.
25227 (RUN_TEST_fI_f1): Likewise.
25228 (RUN_TEST_ffI_f1): Likewise.
25229 (RUN_TEST_c_c): Likewise.
25230 (RUN_TEST_cc_c): Likewise.
25231 (RUN_TEST_f_i): Likewise.
25232 (RUN_TEST_f_i_tg): Likewise.
25233 (RUN_TEST_ff_i_tg): Likewise.
25234 (RUN_TEST_f_b): Likewise.
25235 (RUN_TEST_f_b_tg): Likewise.
25236 (RUN_TEST_f_l): Likewise.
25237 (RUN_TEST_f_L): Likewise.
25238 (RUN_TEST_sincos): Likewise.
25239 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25240 whether to show exceptions. Do not include ");\n" in return
25242 (special_functions): Output call to RUN_TEST_sincos instead of
25243 check_float calls. Update calls to new_test.
25244 (parse_args): Output call to single RUN_TEST_* macro instead of
25245 check_* calls and other assignments. Update calls to new_test.
25251 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25252 input to result for tgamma overflow.
25253 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25254 (gamma_coeff): New variable.
25255 (NCOEFF): New macro.
25256 (gamma_positive): New function.
25257 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25258 underflow here. Use gamma_positive instead of exp (lgamma) for
25260 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25261 (gamma_coeff): New variable.
25262 (NCOEFF): New macro.
25263 (gammaf_positive): New function.
25264 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25265 underflow here. Use gamma_positive instead of exp (lgamma) for
25267 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25268 (gamma_coeff): New variable.
25269 (NCOEFF): New macro.
25270 (gammal_positive): New function.
25271 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25272 underflow here. Use gamma_positive instead of exp (lgamma) for
25274 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25275 (gamma_coeff): New variable.
25276 (NCOEFF): New macro.
25277 (gammal_positive): New function.
25278 (__ieee754_gammal_r): Handle positive infinity, overflow and
25279 underflow here. Handle NaN the same as positive infinity. Remove
25280 check x < 0xffffffff for negative integers. Use gamma_positive
25281 instead of exp (lgamma) for other arguments.
25282 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25283 (gamma_coeff): New variable.
25284 (NCOEFF): New macro.
25285 (gammal_positive): New function.
25286 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25287 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25288 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25289 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25290 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25291 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25292 * sysdeps/generic/math_private.h (__gamma_productf): New
25294 (__gamma_product): Likewise.
25295 (__gamma_productl): Likewise.
25296 * math/Makefile (libm-calls): Add gamma_product.
25297 * math/libm-test.inc (tgamma_test): Add more tests.
25298 * sysdeps/i386/fpu/libm-test-ulps: Update.
25299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25301 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
25303 * benchtests/bench-skeleton.c (main): Preheat CPU.
25305 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25307 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25309 2013-05-07 Roland McGrath <roland@hack.frob.com>
25311 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25312 and _dl_skip_args_internal.
25314 2013-05-07 Carlos O'Donell <carlos@redhat.com>
25316 * manual/message.texi (Message Translation): Talk about users.
25317 Message to key mapping impacts design.
25319 2013-05-06 Roland McGrath <roland@hack.frob.com>
25321 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25323 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25325 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25326 * sysdeps/wordsize-64/glob64.c: ... here.
25328 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25329 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25332 * debug/getlogin_r_chk.c: Moved to ...
25333 * login/getlogin_r_chk.c: ... here.
25334 * debug/Makefile (routines): Move getlogin_r_chk to ...
25335 * login/Makefile (routines): ... here.
25336 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25337 * login/Versions (libc: GLIBC_2.4): ... here.
25339 * io/poll.c (__poll): Renamed from poll.
25340 Add libc_hidden_def.
25341 (poll): Define as weak alias.
25343 * debug/ptsname_r_chk.c: Moved to ...
25344 * login/ptsname_r_chk.c: ... here.
25345 * debug/Makefile (routines): Move ptsname_r_chk to ...
25346 * login/Makefile (routines): ... here.
25347 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25348 * login/Versions (libc: GLIBC_2.4): ... here.
25350 * posix/getlogin.c: Moved to ...
25351 * login/getlogin.c: ... here.
25352 * posix/getlogin_r.c: Moved to ...
25353 * login/getlogin_r.c: ... here.
25354 * posix/getlogin_r.c: Moved to ...
25355 * login/getlogin_r.c: ... here.
25356 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25357 * login/Makefile (routines): ... here.
25358 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25359 * login/Versions (libc: GLIBC_2.0): ... here.
25361 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25362 (setrlimit): Define as weak alias.
25364 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25365 Call __ names for open, ftruncate, and close.
25366 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25367 (truncate): Define as weak alias.
25369 2013-05-06 Joseph Myers <joseph@codesourcery.com>
25371 * math/gen-libm-test.pl (parse_args): Initialize x before each
25372 test of frexp, modf and remquo.
25374 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25375 test signgam value.
25377 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25381 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25383 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25385 2013-05-06 Roland McGrath <roland@hack.frob.com>
25387 * elf/dl-writev.h: New file.
25388 * elf/dl-misc.c: Include it.
25389 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25390 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25392 2013-05-04 Joseph Myers <joseph@codesourcery.com>
25394 * math/libm-test.inc (noXFails): Remove variable.
25395 (noXPasses): Likewise.
25396 (BUILD_COMPLEX_INT): Remove macro.
25397 (print_screen): Remove xfail argument.
25398 (print_screen_max_error): Likewise.
25399 (update_stats): Likewise.
25400 (print_max_error): Likewise. Update calls to other affected
25402 (print_complex_max_error): Likewise.
25403 (test_single_exception): Update calls to print_screen.
25404 (test_single_errno): Likewise.
25405 (check_float_internal): Remove xfail argument. Update calls to
25406 other affected functions.
25407 (check_float): Likewise.
25408 (check_complex): Likewise.
25409 (check_int): Likewise.
25410 (check_long): Likewise.
25411 (check_bool): Likewise.
25412 (check_longlong): Likewise.
25413 (main): Don't print noXFails and noXPasses.
25414 * math/gen-libm-test.pl (top level): Don't mention expected
25415 failure handling in comment.
25416 (new_test): Don't handle expected failures.
25417 (parse_args): Don't mention expected failure handling in comment.
25418 (generate_testfile): Don't handle expected failures.
25419 (parse_ulps): Likewise.
25420 (print_ulps_file): Likewise.
25421 (get_failure): Remove function.
25422 (output_test): Don't handle expected failures.
25423 * make/README.libm-test: Don't mention expected failure handling.
25425 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25426 (minus_zero): Likewise.
25427 (plus_infty): Likewise.
25428 (minus_infty): Likewise.
25429 (qnan_value): Likewise.
25430 (max_value): Likewise.
25431 (min_value): Likewise.
25432 (min_subnorm_value): Likewise.
25433 (initialize): Do not initialize those variables dynamically.
25435 2013-05-03 Roland McGrath <roland@hack.frob.com>
25437 * io/open.c (__open_2): Moved to ...
25438 * io/open_2.c: ... this new file.
25439 * io/open64.c (__open64_2): Moved to ...
25440 * io/open64_2.c: ... this new file.
25441 * io/openat.c (__openat_2): Moved to ...
25442 * io/openat_2.c: ... this new file.
25443 * io/openat64.c (__openat64_2): Moved to ...
25444 * io/openat64_2.c: ... this new file.
25445 * io/Makefile (routines): Add them.
25446 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25447 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25448 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25449 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25450 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25451 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25452 (__openat64): Add hidden_ver.
25453 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25454 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25456 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25457 Separately conditionalize setting of GLRO(dl_sysinfo) so
25458 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25459 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25461 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25463 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25464 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25466 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25467 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25468 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25469 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25470 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25472 2013-05-03 Joseph Myers <joseph@codesourcery.com>
25474 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25475 test signgam value.
25477 * math/libm-test.inc (hypot_test): Do not use
25478 IGNORE_ZERO_INF_SIGN.
25480 2013-05-03 Andreas Jaeger <aj@suse.de>
25482 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25484 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25485 (PF_MAX): Adjust for VSOCK change.
25487 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25491 2013-05-02 Carlos O'Donell <carlos@redhat.com>
25494 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25495 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25496 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25498 2013-05-02 David S. Miller <davem@davemloft.net>
25500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25502 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
25504 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25506 2013-05-01 Roland McGrath <roland@hack.frob.com>
25508 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25510 2013-05-01 Richard Smith <richard@metafoo.co.uk>
25513 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25514 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25515 Use __attribute__ ((__gnu_inline__)).
25516 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25517 Don't use __attribute__ ((__gnu_inline__)).
25519 2013-05-01 Joseph Myers <joseph@codesourcery.com>
25522 * math/s_catan.c (__catan): Handle small real or imaginary part of
25523 input specially to avoid spurious underflow.
25524 * math/s_catanf.c (__catanf): Likewise.
25525 * math/s_catanh.c (__catanh): Likewise.
25526 * math/s_catanhf.c (__catanhf): Likewise.
25527 * math/s_catanhl.c (__catanhl): Likewise.
25528 * math/s_catanl.c (__catanl): Likewise.
25529 * math/libm-test.inc (catan_test): Add more tests.
25530 (catanh_test): Likewise.
25531 * sysdeps/i386/fpu/libm-test-ulps: Update.
25532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25534 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25538 2013-04-30 Joseph Myers <joseph@codesourcery.com>
25541 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25542 accurately for denominator in atan2.
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 (__catanhl): Likewise.
25547 * math/s_catanl.c (__catanl): Likewise.
25548 * math/libm-test.inc (catan_test): Add more tests.
25549 (catanh_test): Likewise.
25550 * sysdeps/i386/fpu/libm-test-ulps: Update.
25551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25553 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25555 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25557 * benchtests/Makefile (bench): Remove slow benchmarks.
25558 * benchtests/atan-inputs: Add slow benchmark inputs.
25559 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25560 (BENCH_FUNC): Accept variant offset.
25562 * benchtests/bench-skeleton.c (main): Run benchmark for each
25564 * benchtests/cos-inputs: Add slow benchmark inputs.
25565 * benchtests/exp-inputs: Likewise.
25566 * benchtests/pow-inputs: Likewise.
25567 * benchtests/sin-inputs: Likewise.
25568 * benchtests/slowatan-inputs: Remove.
25569 * benchtests/slowatan.c: Remove.
25570 * benchtests/slowcos-inputs: Remove.
25571 * benchtests/slowcos.c: Remove.
25572 * benchtests/slowexp-inputs: Remove.
25573 * benchtests/slowexp.c: Remove.
25574 * benchtests/slowpow-inputs: Remove.
25575 * benchtests/slowpow.c: Remove.
25576 * benchtests/slowsin-inputs: Remove.
25577 * benchtests/slowsin.c: Remove.
25578 * benchtests/slowtan-inputs: Remove.
25579 * benchtests/slowtan.c: Remove.
25580 * benchtests/tan-inputs: Add slow benchmark inputs.
25581 * scripts/bench.pl: Parse comments and directives.
25583 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25585 ($(objpfx)bench-%.c): Remove *-ITER.
25586 * benchtests/bench-modf.c: Remove definition of ITER.
25587 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25588 (main): Loop for DURATION seconds instead of fixed number of
25590 * scripts/bench.pl: Don't expect iterations in parameters.
25592 2013-04-29 Roland McGrath <roland@hack.frob.com>
25594 * io/fchdir.c (__fchdir): Renamed from fchdir.
25595 (fchdir): Define as weak alias.
25597 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25599 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25600 (ERRNO_EDOM): Likewise.
25601 (ERRNO_ERANGE): Likewise.
25602 (noErrnoTests): New variable.
25603 (init_max_error): Set errno to 0.
25604 (test_single_errno): New function.
25605 (test_errno): Likewise.
25606 (check_float_internal): Call test_errno. Set errno to 0.
25607 (check_complex): Refer to errno tests in comment.
25608 (check_int): Call test_errno. Set errno to 0.
25609 (check_long): Likewise.
25610 (check_bool): Likewise.
25611 (check_longlong): Likewise.
25612 (cos_test): Use ERRNO_* flags for errno tests instead of
25614 (expm1_test): Likewise.
25615 (fmod_test): Likewise.
25616 (ilogb_test): Likewise.
25617 (lgamma_test): Likewise.
25618 (pow_test): Likewise.
25619 (remainder_test): Likewise.
25620 (sin_test): Likewise.
25621 (tan_test): Likewise.
25622 (yn_test): Likewise.
25623 (initialize): Set errno to 0.
25624 (main): Print number of errno tests.
25625 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25627 2013-04-29 Andreas Jaeger <aj@suse.de>
25630 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25634 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25635 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25639 * stdlib/random.c (__initstate): Return NULL if
25643 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25644 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25647 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25651 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25653 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25654 of individual tests.
25655 (casin_test): Likewise.
25656 (casinh_test): Likewise.
25658 2013-04-27 Joseph Myers <joseph@codesourcery.com>
25661 * math/s_catan.c (__catan): Handle arguments with large real or
25662 imaginary part separately without squaring.
25663 * math/s_catanf.c (__catanf): Likewise.
25664 * math/s_catanh.c (__catanh): Likewise.
25665 * math/s_catanhf.c (__catanhf): Likewise.
25666 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25668 (__catanhl): Handle arguments with large real or imaginary part
25669 separately without squaring.
25670 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25672 (__catanl): Handle arguments with large real or imaginary part
25673 separately without squaring.
25674 * math/libm-test.inc (catan_test): Add more tests.
25675 (catanh_test): Likewise.
25676 * sysdeps/i386/fpu/libm-test-ulps: Update.
25677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25679 2013-04-27 Andreas Jaeger <aj@suse.de>
25682 * stdlib/stdlib.h: Update guards for qecvt.
25683 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25686 2013-04-27 Allan McRae <allan@archlinux.org>
25688 * sysdeps/i386/fpu/libm-test-ulps: Update.
25690 2013-04-26 Joseph Myers <joseph@codesourcery.com>
25693 * math/s_catan.c: Include <float.h>.
25694 (__catan): Ensure underflow exception occurs for underflowed
25696 * math/s_catanf.c: Include <float.h>.
25697 (__catanf): Ensure underflow exception occurs for underflowed
25699 * math/s_catanh.c: Include <float.h>.
25700 (__catanh): Ensure underflow exception occurs for underflowed
25702 * math/s_catanhf.c: Include <float.h>.
25703 (__catanhf): Ensure underflow exception occurs for underflowed
25705 * math/s_catanhl.c: Include <float.h>.
25706 (__catanhl): Ensure underflow exception occurs for underflowed
25708 * math/s_catanl.c: Include <float.h>.
25709 (__catanl): Ensure underflow exception occurs for underflowed
25711 * math/libm-test.inc (catan_test): Add more tests.
25712 (catanh_test): Likewise.
25715 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25716 underflowed result.
25717 * math/s_ccoshf.c (__ccoshf): Likewise.
25718 * math/s_ccoshl.c (__ccoshl): Likewise.
25719 * math/s_csin.c (__csin): Likewise.
25720 * math/s_csinf.c (__csinf): Likewise.
25721 * math/s_csinh.c (__csinh): Likewise.
25722 * math/s_csinhf.c (__csinhf): Likewise.
25723 * math/s_csinhl.c (__csinhl): Likewise.
25724 * math/s_csinl.c (__csinl): Likewise.
25725 * math/libm-test.inc (ccos_test): Add more tests.
25726 (ccosh_test): Likewise.
25727 (csin_test): Likewise.
25728 (csinh_test): Likewise.
25730 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25732 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25733 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25734 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25735 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25736 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25737 powerpc/power5+/fpu folders.
25738 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25741 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25745 2013-04-25 Joseph Myers <joseph@codesourcery.com>
25747 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25748 additions to variable.
25749 [$(config-machine) = x86_64] (modules-names): Likewise.
25750 ($(objpfx)tst-audit3): Remove dependency.
25751 ($(objpfx)tst-audit3.out): Likewise.
25752 ($(objpfx)tst-audit4): Likewise.
25753 ($(objpfx)tst-audit4.out): Likewise.
25754 ($(objpfx)tst-audit5): Likewise.
25755 ($(objpfx)tst-audit5.out): Likewise.
25756 ($(objpfx)tst-audit6): Likewise.
25757 ($(objpfx)tst-audit6.out): Likewise.
25758 ($(objpfx)tst-audit7): Likewise.
25759 ($(objpfx)tst-audit7.out): Likewise.
25760 (tst-audit3-ENV): Remove variable.
25761 (tst-audit4-ENV): Likewise.
25762 (tst-audit5-ENV): Likewise.
25763 (tst-audit6-ENV): Likewise.
25764 (tst-audit7-ENV): Likewise.
25765 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25766 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25767 addition to variable.
25768 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25769 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25770 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25771 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25772 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25773 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25774 tst-audit3, tst-audit4 and tst-audit5.
25775 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25776 tst-audit6 and tst-audit7.
25777 [$(subdir) = elf] (modules-names): Add audit modules for those
25779 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25780 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25781 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25782 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25783 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25784 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25785 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25786 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25787 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25788 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25789 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25790 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25791 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25792 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25793 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25794 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25796 [$(subdir) = elf && $(config-cflags-avx) = yes]
25797 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25798 [$(subdir) = elf && $(config-cflags-avx) = yes]
25799 (CFLAGS-tst-auditmod4a.c): Likewise.
25800 [$(subdir) = elf && $(config-cflags-avx) = yes]
25801 (CFLAGS-tst-auditmod4b.c): Likewise.
25802 [$(subdir) = elf && $(config-cflags-avx) = yes]
25803 (CFLAGS-tst-auditmod6b.c): Likewise.
25804 [$(subdir) = elf && $(config-cflags-avx) = yes]
25805 (CFLAGS-tst-auditmod6c.c): Likewise.
25806 [$(subdir) = elf && $(config-cflags-avx) = yes]
25807 (CFLAGS-tst-auditmod7b.c): Likewise.
25808 * elf/tst-audit3.c: Move to ...
25809 * sysdeps/x86_64/tst-audit3.c: ... here.
25810 * elf/tst-audit4.c: Move to ...
25811 * sysdeps/x86_64/tst-audit4.c: ... here.
25812 * elf/tst-audit5.c: Move to ...
25813 * sysdeps/x86_64/tst-audit5.c: ... here.
25814 * elf/tst-audit6.c: Move to ...
25815 * sysdeps/x86_64/tst-audit6.c: ... here.
25816 * elf/tst-audit7.c: Move to ...
25817 * sysdeps/x86_64/tst-audit7.c: ... here.
25818 * elf/tst-auditmod3a.c: Move to ...
25819 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25820 * elf/tst-auditmod3b.c: Move to ...
25821 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25822 * elf/tst-auditmod4a.c: Move to ...
25823 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25824 * elf/tst-auditmod4b.c: Move to ...
25825 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25826 * elf/tst-auditmod5a.c: Move to ...
25827 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25828 * elf/tst-auditmod5b.c: Move to ...
25829 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25830 * elf/tst-auditmod6a.c: Move to ...
25831 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25832 * elf/tst-auditmod6b.c: Move to ...
25833 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25834 * elf/tst-auditmod6c.c: Move to ...
25835 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25836 * elf/tst-auditmod7a.c: Move to ...
25837 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25838 * elf/tst-auditmod7b.c: Move to ...
25839 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25841 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25844 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25845 define unconditionally.
25846 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25847 define unconditionally.
25848 (INT8_C, INT16_C, etc.): Likewise.
25850 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25852 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25853 __ehdr_start with hidden visibility.
25855 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25857 2013-04-24 Carlos O'Donell <carlos@redhat.com>
25859 * math/libm-test.inc (cos_test): Use accurate hex constants.
25860 (sincost_test): Likewise.
25862 2013-04-24 Joseph Myers <joseph@codesourcery.com>
25864 * math/libm-test.inc (catan_test): Add more tests.
25865 (catanh_test): Likewise.
25867 * math/s_catanf.c (__catanf): Use suffixed floating-point
25869 * math/s_catanhf.c (__catanhf): Likewise.
25870 * math/s_catanhl.c (__catanhl): Likewise.
25871 * math/s_catanl.c (__catanl): Likewise.
25874 * math/s_catan.c (__catan): Calculate imaginary part of result
25875 with log1p not log unless computing log of number close to 0.
25876 * math/s_catanf.c (__catanf): Likewise.
25877 * math/s_catanl.c (__catanl): Likewise.
25878 * math/s_catanh.c (__catanh): Calculate real part of result with
25879 log1p not log unless computing log of number close to 0.
25880 * math/s_catanhf.c (__catanhf): Likewise.
25881 * math/s_catanhl.c (__catanhl): Likewise.
25882 * math/libm-test.inc (catan_test): Add more tests.
25883 (catanh_test): Likewise.
25884 * sysdeps/i386/fpu/libm-test-ulps: Update.
25885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25887 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25889 * benchtests/Makefile: Mention files in which fast and slow
25890 paths of math functions are implemented.
25892 2013-04-23 Roland McGrath <roland@hack.frob.com>
25894 * sysdeps/posix/timespec_get.c: New file.
25896 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25898 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25900 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25902 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25903 powerpc/power5/fpu folders.
25904 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25905 * benchtests/Makefile: Add modf testcase.
25906 * benchtests/bench-modf.c: New file: Benchmark test for mo
25908 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25911 * time/Makefile (tests): Add tst-strptime-whitespace.
25912 * time/strptime_l.c (get_number): Use ISSPACE.
25913 (__strptime_internal): Likewise.
25914 * time/tst-strptime-whitespace.c: New test case.
25916 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25918 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25920 (_nss_files_init): Set it here.
25922 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25924 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25925 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25928 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25930 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25932 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25934 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25937 2013-04-21 David S. Miller <davem@davemloft.net>
25939 * po/ru.po: Update Russion translation from translation project.
25941 2013-04-17 Adam Conrad <adconrad@0c3.net>
25943 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25946 2013-04-17 Carlos O'Donell <carlos@redhat.com>
25948 * configure.in: Remove i386 configure warning. Remove i386 case.
25949 * configure: Regenerate.
25950 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25951 Add example to error message.
25952 * sysdeps/i386/configure: Regenerate.
25954 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25956 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25958 * benchtests/cos-inputs: New file.
25959 * benchtests/slowcos-inputs: New file.
25960 * benchtests/slowcos.c: New file.
25961 * benchtests/slowtan-inputs: New file.
25962 * benchtests/slowtan.c: New file.
25963 * benchtests/tan-inputs: New file.
25965 2013-04-16 Roland McGrath <roland@hack.frob.com>
25967 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25970 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25972 * benchtests/Makefile: Include cppflags-iterator.mk to add
25973 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25975 * Makefile.in (bench-clean): New target.
25976 * benchtests/Makefile (bench-clean): Likewise.
25978 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25980 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25982 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25984 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25986 2013-04-15 Andreas Schwab <schwab@suse.de>
25988 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25990 * nscd/pwdcache.c (cache_addpw): Likewise.
25991 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25994 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25996 * benchtests/Makefile (bench): Write all output to
25997 bench-out.tmp together.
25999 2013-04-15 Andreas Schwab <schwab@suse.de>
26001 * nscd/nscd.c (main): Don't fork again after closing files.
26003 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26005 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26007 * benchtests/Rules (bench-deps): Collect dependencies into a
26008 single variable. Add Makefile to dependencies.
26009 ($(objpfx)bench-%.c): Depend on bench-deps.
26011 2013-04-12 Roland McGrath <roland@hack.frob.com>
26012 Xavier Roche <roche+kml2@exalead.com>
26015 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26016 just that it's a file descriptor.
26017 * manual/llio.texi (Synchronizing AIO Operations): Update description
26018 for EBADF error from aio_fsync.
26020 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26022 * Rules (bench): Move target definition...
26023 * benchtests/Makefile: ... here.
26025 2013-04-11 Carlos O'Donell <carlos@redhat.com>
26027 * math/libm-test.inc (cos_test): Fix PI/2 test.
26028 (sincos_test): Likewise.
26029 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26030 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26032 2013-04-11 Andreas Schwab <schwab@suse.de>
26035 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26036 accept exponent character only when digits were seen.
26037 * stdio-common/Makefile (tests): Add bug26.
26038 * stdio-common/bug26.c: New file.
26041 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26044 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26046 * Makeconfig (rtld-prefix): Define built linker prefix.
26047 * Rules (run-bench): Use it.
26048 * math/Makefile (run-regen-ulps): Likewise.
26050 * Rules (bench): Remove eval.
26052 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26053 Roland McGrath <roland@hack.frob.com>
26054 Ondrej Bilka <neleai@seznam.cz>
26057 * time/getdate.c: Include ctype.h and alloca.h.
26058 (__getdate_r): Trim leading and trailing spaces of input.
26059 * time/tst-getdate.c (tests): Add tests with leading and
26062 2013-04-08 Roland McGrath <roland@hack.frob.com>
26065 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26066 when computing value.
26068 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26070 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26071 Use testrun.sh to run libm tests.
26074 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26076 2013-04-06 Marko Myllynen <myllynen@redhat.com>
26079 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26081 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26083 * Makefile.in (regen-ulps): New target.
26084 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26085 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26086 [ifneq (no,$(PERL)] (regen-ulps): New target.
26087 [ifeq (no,$(PERL)] (regen-ulps): New target.
26088 * math/libm-test.inc (ulps_file_name): Define.
26089 (output_dir): New variable.
26090 (options): Add "output-dir" option.
26091 (parse_opt): Handle 'o' case.
26092 (main): If output_dir is non-NULL use it as a prefix
26094 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26096 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26098 [BZ #10060, #10062]
26099 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26100 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26101 fail configure if __sync_val_compare_and_swap is not inlined.
26102 * sysdeps/i386/configure: Regenerate.
26103 * configure.in: Build for i686 when configured for i386.
26104 * configure: Regenerate.
26105 * README: Remove i386 reference.
26107 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26109 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26110 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26112 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26114 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26115 (lmsnanval): New variables.
26116 (F): Add conversion tests.
26117 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26118 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26120 * stdio-common/tstdiomisc.c (F): Properly collect individual
26123 [BZ #14686, #15336]
26124 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26125 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26126 Instead, use input NaN values or generate a qNaN by arithmetic
26127 operation. Also fix bugs to comply with the standard.
26128 * math/libm-test.inc (remainder_test): Add more tests.
26130 [BZ #15335, #15342]
26131 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26132 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26133 input NaN values or generate a qNaN by arithmetic operation.
26135 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26138 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26141 2013-04-03 Joseph Myers <joseph@codesourcery.com>
26144 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26145 underflowed result.
26146 * math/s_cexpf.c (__cexpf): Likewise.
26147 * math/s_cexpl.c (__cexpl): Likewise.
26148 * math/libm-test.inc (cexp_test): Add more tests.
26150 2013-04-03 Andreas Schwab <schwab@suse.de>
26153 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26154 order arrays from heap if bigger than alloca cutoff.
26156 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26158 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26159 (SNAN_TESTS_double): Refer to GCC PR56831.
26160 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26163 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26165 * Rules (bench): Move bench.out after the run is complete.
26167 * Rules (bench): Echo currently running benchmark.
26169 * benchtests/Makefile (bench): Add atan and slowatan.
26170 * benchtests/atan-inputs: New file.
26171 * benchtests/slowatan-inputs: New file.
26172 * benchtests/slowatan.c: New file.
26174 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26175 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26179 * sysdeps/unix/sysv/linux/kernel-features.h
26180 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26181 __ASSUME_XFS_RESTRICTED_CHOWN.
26182 * sysdeps/unix/sysv/linux/pathconf.c
26183 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26184 Save and restore errno.
26186 2013-04-02 Joseph Myers <joseph@codesourcery.com>
26189 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26190 arguments using __kernel_casinh.
26191 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26192 arguments using __kernel_casinhf.
26193 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26194 arguments using __kernel_casinhl.
26195 * math/libm-test.inc (cacosh_test): Add more tests.
26196 * sysdeps/i386/fpu/libm-test-ulps: Update.
26197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26199 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26201 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26202 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26204 * bench/Makefile (bench): Add sin and slowsin.
26205 * benchtests/sin-inputs: New file.
26206 * benchtests/slowsin-inputs: New file.
26207 * benchtests/slowsin.c: New file.
26209 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26210 (bench): Add slowexp and slowpow.
26211 (exp-ITER): Increase iterations.
26212 (pow-ITER): Likewise.
26213 * benchtests/exp-inputs: Change input.
26214 * benchtests/pow-inputs: Likewise.
26215 * benchtests/slowexp-inputs: New file.
26216 * benchtests/slowexp.c: New file.
26217 * benchtests/slowpow-inputs: New file.
26218 * benchtests/slowpow.c: New file.
26220 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26222 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26224 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26225 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26226 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26227 * benchtests/Makefile: Add rint benchtest.
26228 * benchtests/rint-inputs: Input for rint benchtest.
26230 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26232 * Versions.def (libm): Add GLIBC_2.18.
26233 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26234 hidden libm prototypes.
26235 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26236 * math/Makefile (libm-calls): Add s_issignaling.
26237 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26238 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26239 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26241 * math/math.h [__USE_GNU] (issignaling): New macro.
26242 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26243 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26244 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26245 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26246 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26247 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26248 * manual/arith.texi (issignaling): New section.
26249 * manual/libm-err-tab.pl (@all_functions): Update comment.
26250 * math/gen-libm-test.pl (parse_args): Apply special handling for
26252 * math/libm-test.inc (print_float, issignaling_test): New
26254 (check_float_internal): Add issignaling checks.
26255 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26256 default definition.
26257 * sysdeps/powerpc/math-tests.h: New file.
26258 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26260 * math/test-snan.c (TEST_FUNC): Likewise.
26262 2013-03-30 David S. Miller <davem@davemloft.net>
26264 * po/de.po: Update from translation team.
26266 2013-03-30 Joseph Myers <joseph@codesourcery.com>
26269 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26270 imaginary part less than 1.0 and real part less than 0.5
26272 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26273 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26274 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26275 (cacos_test): Add more tests.
26276 (casin_test): Likewise.
26277 (casinh_test): Likewise.
26278 * sysdeps/i386/fpu/libm-test-ulps: Update.
26279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26281 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26283 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26284 ONE with its value.
26286 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26287 (__pow_mp): Replace ONE and MONE with their values.
26288 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26289 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26290 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26291 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26292 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26293 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26295 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26297 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26298 (__pow_mp): Replace ZERO and MZERO with their values.
26299 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26300 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26301 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26303 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26304 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26307 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26309 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26311 2013-03-28 Roland McGrath <roland@hack.frob.com>
26313 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26314 Declare with __attribute__ ((weak)).
26315 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26316 Call __call_tls_dtors only if it's not NULL.
26318 2013-03-28 Roland McGrath <roland@hack.frob.com>
26320 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26321 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26322 magic __ehdr_start linker symbol if it's defined.
26323 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26324 them up here if it was already done.
26326 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26327 (_dl_aux_init): Use const in cast when setting it.
26328 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26329 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26330 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26332 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26334 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26335 * csu/libc-tls.c: Nor here.
26336 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26338 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26339 (__libc_message): Never call vsyslog.
26341 2013-03-28 Alan Modra <amodra@gmail.com>
26343 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26345 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26348 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26351 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26355 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26358 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26359 Don't add gid passed as argument.
26361 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26363 2013-03-27 Joseph Myers <joseph@codesourcery.com>
26366 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26367 imaginary part between 1.0 and 1.5 and real part less than 0.5
26369 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26370 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26371 * math/libm-test.inc (cacos_test): Add more tests.
26372 (casin_test): Likewise.
26373 (casinh_test): Likewise.
26374 * sysdeps/i386/fpu/libm-test-ulps: Update.
26375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26377 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26379 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26382 (denorm): Likewise.
26383 (__dbl_mp): Likewise.
26384 (add_magnitudes): Likewise.
26385 (sub_magnitudes): Likewise.
26393 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26395 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26396 (__dubcos): Likewise.
26397 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26398 (__ieee754_acos): Likewise.
26399 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26400 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26401 (__exp1): Likewise.
26402 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26403 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26405 (my_log2): Likewise.
26406 (checkint): Likewise.
26407 * sysdeps/ieee754/dbl-64/e_remainder.c
26408 (__ieee754_remainder): Likewise.
26409 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26410 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26411 (bsloww): Likewise.
26412 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26414 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26415 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26416 MANTISSA_STORE_T to store computations on mantissa. Use
26417 macros for rounding and division.
26418 (denorm): Likewise.
26419 (__dbl_mp): Likewise.
26420 (add_magnitudes): Likewise.
26421 (sub_magnitudes): Likewise.
26424 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26425 powers of two in terms of TWOPOW macro.
26426 (mp_no): Make type of mantissa as MANTISSA_T.
26427 [!RADIXI]: Define RADIXI.
26428 [!TWO52]: Define TWO52.
26429 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26431 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26433 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26434 llroundl symbol when building for PPC32.
26436 2013-03-24 Mark H Weaver <mhw@netris.org>
26438 * manual/arith.texi (Normalization Functions): Fix prototypes for
26439 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26441 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26444 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26445 high value to check if expl overflow.
26446 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26447 to check for underflow and overflow.
26448 * math/libm-test.inc: Add exp test.
26450 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26453 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26456 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26458 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26461 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26463 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26464 wrap blocks consisting of several statements.
26466 * sysdeps/generic/math-tests.h: New file.
26467 * sysdeps/i386/fpu/math-tests.h: Likewise.
26468 * math/test-snan.c: Include it.
26469 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26471 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26474 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26475 (__ieee754_j0l): Do not improve calculations using cos of twice
26476 input for inputs above LDBL_MAX / 2.0L.
26477 (__ieee754_y0l): Likewise.
26478 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26479 (__ieee754_j1l): Do not improve calculations using cos of twice
26480 input for inputs above LDBL_MAX / 2.0L.
26481 (__ieee754_y1l): Likewise.
26482 * math/libm-test.inc (j0_test): Add another test.
26483 (j1_test): Likewise.
26484 (y0_test): Likewise.
26485 (y1_test): Likewise.
26486 * sysdeps/i386/fpu/libm-test-ulps: Update.
26488 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26490 * Rules ($(objpfx)bench-%.c): Include code from a C source
26493 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26496 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26497 imaginary part 1.0 and real part less than 0.5 specially.
26498 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26499 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26500 * math/libm-test.inc (cacos_test): Add more tests.
26501 (casin_test): Likewise.
26502 (casinh_test): Likewise.
26503 * sysdeps/i386/fpu/libm-test-ulps: Update.
26504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26506 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26508 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26509 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26511 2013-03-20 Joseph Myers <joseph@codesourcery.com>
26513 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26514 * config.make.in (config-cflags-sse4): Remove variable.
26515 (config-cflags-avx): Likewise.
26516 (config-cflags-sse2avx): Likewise.
26517 (config-cflags-novzeroupper): Likewise.
26518 (config-asflags-i686): Likewise.
26519 (have-mfma4): Likewise.
26520 (have-as-vis3): Likewise.
26522 * configure.in (MIG): Do not AC_SUBST.
26523 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26524 (libc_cv_cc_sse4): Do not AC_SUBST.
26525 (libc_cv_cc_avx): Likewise.
26526 (libc_cv_cc_sse2avx): Likewise.
26527 (libc_cv_cc_novzeroupper): Likewise.
26528 (libc_cv_cc_fma4): Likewise.
26529 (libc_cv_as_i686): Likewise.
26530 (libc_cv_sparc_as_vis3): Likewise.
26531 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26533 (config-asflags-i686): Likewise.
26534 (config-cflags-avx): Likewise.
26535 (config-cflags-sse2avx): Likewise.
26536 (have-mfma4): Likewise.
26537 (config-cflags-novzeroupper): Likewise.
26538 * sysdeps/mach/configure.in (MIG): Likewise.
26539 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26540 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26542 (config-cflags-avx): Likewise.
26543 (config-cflags-sse2avx): Likewise.
26544 (have-mfma4): Likewise.
26545 (config-cflags-novzeroupper): Likewise.
26546 * configure: Regenerated.
26547 * sysdeps/i386/configure: Likewise.
26548 * sysdeps/mach/configure: Likewise.
26549 * sysdeps/sparc/configure: Likewise.
26550 * sysdeps/x86_64/configure: Likewise.
26552 2013-03-20 Roland McGrath <roland@hack.frob.com>
26555 * locale/programs/localedef.c (options): Put N_ translation marker
26556 on argument names, not just descriptions.
26558 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26560 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26562 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
26565 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26567 2013-03-19 Roland McGrath <roland@hack.frob.com>
26569 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26570 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26571 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26572 [!BEFORE_ABORT] (before_abort): New function.
26573 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26574 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26575 (writev_for_fatal): New function.
26576 (WRITEV_FOR_FATAL): New macro; call that.
26577 (backtrace_and_maps): New function.
26578 (BEFORE_ABORT): New macro; call that.
26579 (struct str_list): Type removed.
26580 (__libc_message, __libc_fatal): Functions removed.
26581 Include <sysdeps/posix/libc_fatal.c> instead.
26583 2013-03-19 Joseph Myers <joseph@codesourcery.com>
26585 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26587 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26590 2013-03-19 Andreas Schwab <schwab@suse.de>
26592 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26593 * sysdeps/gnu/configure: Regenerate.
26595 * configure.in: Substitute libc_cv_rtlddir.
26596 * configure: Regenerate.
26597 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26598 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26599 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26600 * elf/Makefile (install-others, CFLAGS-interp.c)
26601 (ldso_install, common-ldd-rewrite): Likewise.
26602 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26603 $(inst_slibdir)/$(rtld-installed-name).
26604 * scripts/rellns-sh: Add -p option.
26605 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26608 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26610 * manual/nptl.texi: Renamed to ...
26611 * manual/threads.texi: ... this.
26612 * manual/Makefile (chapters): Update.
26614 2013-03-18 Roland McGrath <roland@hack.frob.com>
26617 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26618 on argument names, not just descriptions.
26619 * malloc/memusagestat.c (options): Likewise.
26620 * nss/getent.c (options): Likewise.
26622 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
26625 * iconv/iconv_prog.c (options): Put N_ translation marker
26626 on argument names, not just descriptions.
26627 * iconv/iconvconfig.c (options): Likewise.
26629 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
26631 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26632 implementation which is faster on all x86_64 architectures.
26633 Tested on AMD, Intel Nehalem, SNB, IVB.
26634 * sysdeps/x86_64/strnlen.S: Likewise.
26636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26637 Remove all multiarch strlen and strnlen versions.
26638 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26639 Remove strlen and strnlen related parts.
26641 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26642 Inline strlen part.
26643 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26645 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26646 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26647 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26648 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26649 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26650 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26652 2013-03-17 Carlos O'Donell <carlos@redhat.com>
26654 * manual/memory.texi (Malloc Tunable Parameters):
26655 Sort parameters alphabetically. Add comments for missing entries.
26657 2013-03-17 David S. Miller <davem@davemloft.net>
26659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26661 2013-03-16 Joseph Myers <joseph@codesourcery.com>
26664 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26665 for arguments at most half maximum finite value.
26666 * math/libm-test.inc (j0_test): Add more tests.
26667 (j1_test): Likewise.
26668 (y0_test): Likewise.
26669 (y1_test): Likewise.
26670 * sysdeps/i386/fpu/libm-test-ulps: Update.
26671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26674 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26675 1 / x and functions P and Q for arguments above 0x1p256L.
26676 (__ieee754_y0l): Likewise.
26677 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26678 (__ieee754_y1l): Likewise.
26679 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26680 (j1_test): Likewise.
26681 (y0_test): Likewise.
26682 (y1_test): Likewise.
26684 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26686 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26689 2013-03-15 Roland McGrath <roland@hack.frob.com>
26691 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26692 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26693 zero since it's initialized to EXEC_PAGESIZE.
26695 * sysdeps/unix/sysv/linux/ldsodefs.h
26696 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26697 * sysdeps/generic/ldsodefs.h: ... here.
26699 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26701 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26703 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26705 * math/test-snan.c: Renamed from
26706 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26707 * math/Makefile (tests): Add test-snan.
26708 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26711 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26712 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26714 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26715 __builtin_nan family of functions.
26716 * math/libm-test.inc (initialize): Initialize qnan_value with
26717 __builtin_nan family of functions.
26718 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26720 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26722 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26723 storage class. Initialize qNaN_var and sNaN_var with
26724 __builtin_nan and __builtin_nans families of functions,
26727 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26728 (sqrt_test): Remove duplicate test with qNaN input.
26729 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26730 (round_test, signbit_test, significand_test): Note missing +/-Inf
26731 as well as qNaN tests.
26733 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26734 qNaN_var. Fix a few strings, too.
26735 * math/libm-test.inc (nan_value): Rename to qnan_value.
26736 * math/gen-libm-test.pl (%beautify): Adjust to that.
26737 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26738 * math/test-misc.c (main): Likewise.
26739 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26740 to __qnan_bytes, and __qnan_union, respectively.
26741 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26743 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26744 and lqnanval, respectively.
26745 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26746 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26747 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26748 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26750 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26751 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26754 * math/test-misc.c (main): Fix copy'n'pastos.
26755 * misc/tst-efgcvt.c (special): Likewise.
26757 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26758 Remove declarations.
26760 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26762 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26763 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26764 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26765 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26767 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26769 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26770 macro to return vdso values correctly in IFUNC implementations.
26771 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26772 Optimization by using IFUNC.
26774 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26775 Richard Henderson <rth@redhat.com>
26776 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26778 * Makefile.in (bench): New target.
26779 * NEWS: Mention the benchmark framework.
26780 * Rules (bench): Likewise.
26781 (binaries-bench): Generate binaries for functions to
26783 * benchtests/Makefile: New makefile for benchmark tests.
26784 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26786 * benchtests/exp-inputs: New input file for EXP function.
26787 * benchtests/pow-inputs: New input file for POW function.
26788 * scripts/bench.pl: New script to generate source files for
26789 benchmark programs.
26791 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26793 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26794 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26795 computations on mantissa. Use macros for rounding and
26797 (denorm): Likewise.
26798 (__dbl_mp): Likewise.
26799 (add_magnitudes): Likewise.
26800 (sub_magnitudes): Likewise.
26803 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26804 powers of two in terms of TWOPOW macro.
26805 (mp_no): Make type of mantissa as MANTISSA_T.
26806 [!RADIXI]: Define RADIXI.
26807 [!TWO52]: Define TWO52.
26808 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26810 * manual/nptl.texi (cindex): Modify threads to pthreads.
26812 2013-03-15 Joseph Myers <joseph@codesourcery.com>
26814 * sysdeps/x86_64/preconfigure: Regenerated.
26816 2013-03-14 Joseph Myers <joseph@codesourcery.com>
26819 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26821 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26822 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26824 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26825 * math/libm-test.inc (j0_test): Do not allow one spurious
26826 underflow exception.
26827 (y1_test): Likewise.
26829 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26831 * manual/Makefile (chapters): Add nptl.
26832 * manual/debug.texi (Debugging Support): Add link to Threads
26834 * manual/nptl.texi: New file.
26836 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26838 2013-03-14 Petr Baudis <pasky@ucw.cz>
26840 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26841 for non-NULL pointer before the memory validity test. Pointed
26842 out by Holger Brunck <holger.brunck@keymile.com>.
26844 2013-03-13 Andreas Schwab <schwab@suse.de>
26846 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26849 2013-03-13 Joseph Myers <joseph@codesourcery.com>
26851 * timezone/zic.c: Update from tzcode 2013b.
26853 2013-03-12 Carlos O'Donell <carlos@redhat.com>
26855 * manual/install.texi (Configuring and compiling):
26856 Mention i686 and i586.
26857 * INSTALL: Regenerate.
26859 2013-03-12 Roland McGrath <roland@hack.frob.com>
26861 * sysdeps/init_array/elf-init.c: New file.
26863 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26864 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26866 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26867 __gmon_start__ as global, but as static with a .preinit_array pointer.
26868 * sysdeps/init_array/gmon-start.c: New file. Use that.
26869 * sysdeps/init_array/crti.S: New file, empty except for comments.
26870 * sysdeps/init_array/crtn.S: Likewise.
26872 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
26874 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26877 Remove Prefer_SSE_for_memop.
26878 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26879 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26880 HAS_PREFER_SSE_FOR_MEMOP.
26881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26883 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26884 Remove bzero, memset ifunc support.
26885 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26886 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26887 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26888 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26890 2013-03-11 Andreas Schwab <schwab@suse.de>
26893 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26896 (GLIBC_2.16): Remove pthread_atfork.
26898 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26900 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26901 (ptestcases.h): Likewise.
26903 2013-03-08 Roland McGrath <roland@hack.frob.com>
26905 * Makeconfig ($(common-objpfx)config.status): Depend on
26906 sysdeps/*/preconfigure{,.in} too.
26908 2013-03-08 Joseph Myers <joseph@codesourcery.com>
26910 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26911 (__free_hook): Use void * instead of __malloc_ptr_t.
26912 (__malloc_hook): Likewise.
26913 (__realloc_hook): Likewise.
26914 (__memalign_hook): Likewise.
26915 (__after_morecore_hook): Likewise.
26916 * malloc/arena.c (save_malloc_hook): Likewise.
26917 (save_free_hook): Likewise.
26918 * malloc/hooks.c (malloc_hook_ini): Likewise.
26919 (realloc_hook_ini): Likewise.
26920 (memalign_hook_ini): Likewise.
26921 * malloc/malloc.c (malloc_hook_ini): Likewise.
26922 (realloc_hook_ini): Likewise.
26923 (memalign_hook_ini): Likewise.
26924 (__free_hook): Likewise.
26925 (__malloc_hook): Likewise.
26926 (__realloc_hook): Likewise.
26927 (__memalign_hook): Likewise.
26928 (__libc_malloc): Likewise.
26929 (__libc_free): Likewise.
26930 (__libc_realloc): Likewise.
26931 (__libc_memalign): Likewise.
26932 (__libc_valloc): Likewise.
26933 (__libc_pvalloc): Likewise.
26934 (__libc_calloc): Likewise.
26935 (__posix_memalign): Likewise.
26936 * malloc/morecore.c (__sbrk): Likewise.
26937 (__default_morecore): Likewise.
26939 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26941 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26942 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26943 __malloc_ptrdiff_t.
26945 * malloc/malloc.h (__malloc_size_t): Remove macro.
26946 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26948 (old_memalign_hook): Likewise.
26949 (old_realloc_hook): Likewise.
26950 (struct hdr): Likewise.
26952 (mallochook): Likewise.
26953 (memalignhook): Likewise.
26954 (reallochook): Likewise.
26955 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26956 (tr_old_realloc_hook): Likewise.
26957 (tr_old_memalign_hook): Likewise.
26958 (tr_mallochook): Likewise.
26959 (tr_reallochook): Likewise.
26960 (tr_memalignhook): Likewise.
26962 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26964 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26965 default_ldbl_pack and using as default implementation.
26966 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26968 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26969 redundant definition.
26970 (ldbl_insert_mantissa): Likewise.
26971 (ldbl_canonicalize): Likewise.
26972 (ldbl_nearbyint): Likewise.
26973 (ldbl_pack): Rename to ldbl_pack_ppc.
26974 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26975 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26976 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26978 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26981 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26982 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26983 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26985 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26986 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26987 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26989 2013-03-07 Andreas Jaeger <aj@suse.de>
26991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26994 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26996 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26997 Include mpa.h and declare __MPEXP.
26998 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26999 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27000 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27001 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27002 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27003 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27004 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27006 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27007 (__slowpow): Use long double EXPL and LOGL functions to
27009 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27010 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27011 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27012 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27013 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27014 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27017 intermediate variable to calculate exponent.
27019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27023 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27024 [!NO__SQR]: Define __sqr.
27025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27026 and NO__SQR. Remove all code except __mul and __sqr. Include
27027 sysdeps/ieee754/dbl-64/mpa.c.
27028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27031 * posix/Makefile (tests): Add tst-pathconf.
27032 * posix/tst-pathconf.c: New test case.
27033 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27035 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27037 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
27039 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27041 2013-03-06 Andreas Jaeger <aj@suse.de>
27043 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27044 definition via __MAP_ANONYMOUS.
27046 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27047 it's not part of Linux headers.
27049 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27050 (MAP_HUGE_MASK): Define.
27052 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27054 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27055 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27057 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27058 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27060 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27061 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27063 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27065 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27066 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27067 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27068 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27069 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27070 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27072 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27075 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27076 Handle f2fs and efivarfs.
27078 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27081 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27082 (EFIVARFS_MAGIC): Add.
27083 (F2FS_LINK_MAX): Add.
27085 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27087 * stdio-common/vfprintf.c: Replace __builtin_expect with
27090 2013-03-06 Joseph Myers <joseph@codesourcery.com>
27093 * sysdeps/generic/bp-sym.h: Remove file.
27094 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27095 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27096 <bp-sym.h> and <bp-asm.h>.
27097 (__longjmp): Don't use BP_SYM.
27098 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27100 (memcpy): Don't use BP_SYM.
27101 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27102 <bp-sym.h> and <bp-asm.h>.
27103 (memcpy): Don't use BP_SYM.
27104 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27106 (memcpy): Don't use BP_SYM.
27107 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27109 (memset): Don't use BP_SYM.
27110 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27111 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27112 (__bzero): Don't use BP_SYM.
27113 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27114 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27115 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27116 <bp-sym.h> and <bp-asm.h>.
27117 (memcmp): Don't use BP_SYM. Remove comment about bounded
27119 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27120 <bp-sym.h> and <bp-asm.h>.
27121 (memcpy): Don't use BP_SYM.
27122 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27123 <bp-sym.h> and <bp-asm.h>.
27124 (memset): Don't use BP_SYM.
27125 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27126 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27127 (__bzero): Don't use BP_SYM.
27128 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27129 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27130 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27131 <bp-sym.h> and <bp-asm.h>.
27132 (strncmp): Don't use BP_SYM. Remove comment about bounded
27134 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27135 <bp-sym.h> and <bp-asm.h>.
27136 (memcpy): Don't use BP_SYM.
27137 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27138 <bp-sym.h> and <bp-asm.h>.
27139 (memset): Don't use BP_SYM.
27140 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27141 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27142 (__bzero): Don't use BP_SYM.
27143 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27144 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27145 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27146 <bp-sym.h> and <bp-asm.h>.
27147 (__memchr): Don't use BP_SYM.
27148 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27149 <bp-sym.h> and <bp-asm.h>.
27150 (memcmp): Don't use BP_SYM. Remove comment about bounded
27152 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27153 <bp-sym.h> and <bp-asm.h>.
27154 (memcpy): Don't use BP_SYM.
27155 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27156 <bp-sym.h> and <bp-asm.h>.
27157 (__mempcpy): Don't use BP_SYM.
27158 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27159 <bp-sym.h> and <bp-asm.h>.
27160 (__memrchr): Don't use BP_SYM.
27161 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27162 <bp-sym.h> and <bp-asm.h>.
27163 (memset): Don't use BP_SYM.
27164 (__bzero): Likewise.
27165 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27166 <bp-sym.h> and <bp-asm.h>.
27167 (__rawmemchr): Don't use BP_SYM.
27168 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27169 <bp-sym.h> and <bp-asm.h>.
27170 (__STRCMP): Don't use BP_SYM.
27171 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27172 <bp-sym.h> and <bp-asm.h>.
27173 (strchr): Don't use BP_SYM.
27174 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27175 <bp-sym.h> and <bp-asm.h>.
27176 (__strchrnul): Don't use BP_SYM.
27177 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27178 <bp-sym.h> and <bp-asm.h>.
27179 (strlen): Don't use BP_SYM.
27180 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27181 <bp-sym.h> and <bp-asm.h>.
27182 (strncmp): Don't use BP_SYM. Remove comment about bounded
27184 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27185 <bp-sym.h> and <bp-asm.h>.
27186 (__strnlen): Don't use BP_SYM.
27187 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27188 <bp-sym.h> and <bp-asm.h>.
27189 (__GI__setjmp): Don't use BP_SYM.
27190 (_setjmp): Likewise.
27191 (__sigsetjmp): Likewise.
27192 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27193 (L(start_addresses)): Don't use BP_SYM.
27194 (_start): Likewise.
27195 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27197 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27198 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27199 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27200 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27201 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27203 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27204 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27205 about bounded pointers.
27206 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27207 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27208 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27210 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27211 about bounded pointers. Remove GKM FIXME comments.
27212 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27213 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27215 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27216 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27217 Remove GKM FIXME comments.
27218 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27219 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27220 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27222 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27223 about bounded pointers. Remove GKM FIXME comment.
27224 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27226 (strncmp): Don't use BP_SYM. Remove comment about bounded
27228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27229 <bp-sym.h> and <bp-asm.h>.
27230 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27232 <bp-sym.h> and <bp-asm.h>.
27233 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27236 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27238 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27241 2013-03-05 David S. Miller <davem@davemloft.net>
27243 * po/es.po: Update from translation team.
27245 2013-03-05 Andreas Jaeger <aj@suse.de>
27247 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27248 <bits/mman-linux.h>.
27249 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27251 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27252 <bits/mman-linux.h> to end of file.
27253 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27255 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27256 <bits/mman-linux.h> to end of file.
27257 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27259 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27260 <bits/mman-linux.h> to end of file.
27262 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27263 (MCL_CURRENT, MCL_FUTURE): Define here.
27265 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27268 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27270 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27272 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27274 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27275 fourth parameter needed for rt_sigprocmask syscall.
27276 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27277 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27278 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27279 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27280 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27281 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27283 2013-03-04 Joseph Myers <joseph@codesourcery.com>
27286 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27287 comment about bounded pointers.
27288 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27289 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27291 2013-03-04 Andreas Jaeger <aj@suse.de>
27293 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27294 common definitions.
27296 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27297 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27298 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27299 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27300 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27301 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27303 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27306 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27307 __ieee754_sqrl instead of __sqrl.
27309 2013-03-01 Joseph Myers <joseph@codesourcery.com>
27311 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27312 * sysdeps/powerpc/fpu_control.h: ... here.
27313 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27314 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27315 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27316 * sysdeps/powerpc/bits/mathinline.h: ... here.
27318 2013-03-01 Roland McGrath <roland@hack.frob.com>
27320 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27321 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27322 to just [NEED_DL_SYSINFO_DSO].
27323 * elf/dl-support.c: Likewise.
27324 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27325 * elf/rtld.c (dl_main): Likewise.
27326 * elf/setup-vdso.h (setup_vdso): Likewise.
27327 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27328 * sysdeps/unix/sysv/linux/dl-sysdep.c
27329 (_dl_discover_osversion): Likewise.
27331 2013-03-01 Carlos O'Donell <carlos@redhat.com>
27333 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27334 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27336 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27338 * NEWS: Mention libm performance improvements and non-x86 PI
27341 * csu/libc-start.c (__pthread_initialize_minimal): Change
27342 function arguments.
27343 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27345 2013-02-28 Joseph Myers <joseph@codesourcery.com>
27348 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27349 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27350 <bp-sym.h> and <bp-asm.h>.
27351 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27352 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27354 (memcpy): Don't use BP_SYM.
27355 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27357 (__mpn_add_n): Don't use BP_SYM.
27358 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27359 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27361 (__mpn_addmul_1): Don't use BP_SYM.
27362 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27363 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27365 (_setjmp): Don't use BP_SYM.
27366 (__novmx_setjmp): Likewise.
27367 (__GI__setjmp): Likewise.
27368 (__vmx_setjmp): Likewise.
27369 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27371 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27372 (__bzero): Don't use BP_SYM.
27373 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27374 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27375 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27376 <bp-sym.h> and <bp-asm.h>.
27377 (memcpy): Don't use BP_SYM.
27378 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27379 <bp-sym.h> and <bp-asm.h>.
27380 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27381 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27382 <bp-sym.h> and <bp-asm.h>.
27383 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27384 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27386 (__mpn_lshift): Don't use BP_SYM.
27387 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27388 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27390 (memset): Don't use BP_SYM.
27391 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27392 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27393 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27395 (__mpn_mul_1): Don't use BP_SYM.
27396 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27397 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27398 <bp-sym.h> and <bp-asm.h>.
27399 (memcmp): Don't use BP_SYM.
27400 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27401 <bp-sym.h> and <bp-asm.h>.
27402 (memcpy): Don't use BP_SYM.
27403 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27404 <bp-sym.h> and <bp-asm.h>.
27405 (memset): Don't use BP_SYM.
27406 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27407 <bp-sym.h> and <bp-asm.h>.
27408 (strncmp): Don't use BP_SYM.
27409 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27410 <bp-sym.h> and <bp-asm.h>.
27411 (memcpy): Don't use BP_SYM.
27412 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27413 <bp-sym.h> and <bp-asm.h>.
27414 (memset): Don't use BP_SYM.
27415 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27416 <bp-sym.h> and <bp-asm.h>.
27417 (__memchr): Don't use BP_SYM.
27418 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27419 <bp-sym.h> and <bp-asm.h>.
27420 (memcmp): Don't use BP_SYM.
27421 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27422 <bp-sym.h> and <bp-asm.h>.
27423 (memcpy): Don't use BP_SYM.
27424 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27425 <bp-sym.h> and <bp-asm.h>.
27426 (__mempcpy): Don't use BP_SYM.
27427 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27428 <bp-sym.h> and <bp-asm.h>.
27429 (__memrchr): Don't use BP_SYM.
27430 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27431 <bp-sym.h> and <bp-asm.h>.
27432 (memset): Don't use BP_SYM.
27433 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27434 <bp-sym.h> and <bp-asm.h>.
27435 (__rawmemchr): Don't use BP_SYM.
27436 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27437 <bp-sym.h> and <bp-asm.h>.
27438 (__STRCMP): Don't use BP_SYM.
27439 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27440 <bp-sym.h> and <bp-asm.h>.
27441 (strchr): Don't use BP_SYM.
27442 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27443 <bp-sym.h> and <bp-asm.h>.
27444 (__strchrnul): Don't use BP_SYM.
27445 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27446 <bp-sym.h> and <bp-asm.h>.
27447 (strlen): Don't use BP_SYM.
27448 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27449 <bp-sym.h> and <bp-asm.h>.
27450 (strncmp): Don't use BP_SYM.
27451 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27452 <bp-sym.h> and <bp-asm.h>.
27453 (__strnlen): Don't use BP_SYM.
27454 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27456 (__mpn_rshift): Don't use BP_SYM.
27457 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27458 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27459 <bp-sym.h> and <bp-asm.h>.
27460 (__sigsetjmp): Don't use BP_SYM.
27461 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27462 (L(start_addresses)): Don't use BP_SYM.
27463 (_start): Likewise.
27464 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27466 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27467 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27468 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27469 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27471 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27472 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27473 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27474 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27476 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27478 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27479 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27481 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27483 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27484 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27485 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27487 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27489 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27491 (strncmp): Don't use BP_SYM,
27492 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27494 (__mpn_sub_n): Don't use BP_SYM.
27495 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27496 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27498 (__mpn_submul_1): Don't use BP_SYM.
27499 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27501 <bp-sym.h> and <bp-asm.h>.
27502 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27504 <bp-sym.h> and <bp-asm.h>.
27505 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27508 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27511 Use ZK to minimize writes to Z.
27512 (sub_magnitudes): Simplify code a bit.
27513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27514 Use ZK to minimize writes to Z.
27515 (sub_magnitudes): Simplify code a bit.
27517 2013-02-27 Roland McGrath <roland@hack.frob.com>
27519 * csu/gmon-start.c: Add special exception to license text.
27521 2013-02-27 Richard Henderson <rth@redhat.com>
27523 * scripts/config.guess: Update from config.git.
27524 * scripts/config.sub: Likewise.
27526 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27528 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27530 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27532 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27534 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27536 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27538 2013-02-26 Roland McGrath <roland@hack.frob.com>
27540 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27541 [$(build-shared = yes].
27543 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27545 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27546 (__mul): Reduce iterations for calculating mantissa.
27548 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27550 (__mpranred): Likewise.
27553 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27554 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27556 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27558 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27559 Define __attribute__.
27561 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27563 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27565 * posix/regex_internal.h (__attribute): Remove.
27566 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27567 (re_string_context_at): Likewise.
27568 (bitset_not): Use __attribute__ and mark function as possibly
27570 (bitset_merge): Likewise.
27571 (bitset_mask): Likewise.
27572 (re_string_char_size_at): Likewise.
27573 (re_string_wchar_at): Likewise.
27574 (re_string_elem_size_at): Likewise.
27576 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27578 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27582 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27586 (denorm): Likewise.
27587 (__dbl_mp): Likewise.
27588 (add_magnitudes): Likewise.
27589 (sub_magnitudes): Likewise.
27593 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27596 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27599 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27603 up changes with default code.
27604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27607 2013-02-24 Allan McRae <allan@archlinux.org>
27609 * manual/socket.texi (The Internet Namespace): Order menu items
27610 to match that in the file.
27612 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27613 node listing of the info page menu.
27615 2013-02-21 Joseph Myers <joseph@codesourcery.com>
27618 * sysdeps/i386/bp-asm.h: Remove file.
27619 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27620 (PARMS): Do not use macros from bp-asm.h.
27624 (__mpn_add_n): Do not use BP_SYM
27625 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27627 (PARMS): Do not use macros from bp-asm.h.
27630 (__mpn_addmul_1): Do not use BP_SYM
27631 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27633 (PARMS): Do not use macros from bp-asm.h.
27634 (SIGMSK): Likewise.
27635 (_setjmp): Likewise. Do not use BP_SYM.
27636 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27638 (PARMS): Do not use macros from bp-asm.h.
27639 (SIGMSK): Likewise.
27640 (setjmp): Likewise. Do not use BP_SYM.
27641 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27643 (PARMS): Do not use macros from bp-asm.h.
27644 (__frexp): Do not use BP_SYM.
27646 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27648 (PARMS): Do not use macros from bp-asm.h.
27649 (__frexpf): Do not use BP_SYM.
27650 (frexpf): Likewise.
27651 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27653 (PARMS): Do not use macros from bp-asm.h.
27654 (__frexpl): Do not use BP_SYM.
27655 (frexpl): Likewise.
27656 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27658 (PARMS): Do not use macros from bp-asm.h.
27659 (__remquo): Do not use BP_SYM.
27660 (remquo): Likewise.
27661 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27663 (PARMS): Do not use macros from bp-asm.h.
27664 (__remquof): Do not use BP_SYM.
27665 (remquof): Likewise.
27666 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27668 (PARMS): Do not use macros from bp-asm.h.
27669 (__remquol): Do not use BP_SYM.
27670 (remquol): Likewise.
27671 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27673 (PARMS): Do not use macros from bp-asm.h.
27676 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27677 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27679 (PARMS): Do not use macros from bp-asm.h.
27680 (strlen): Do not use BP_SYM.
27681 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27683 (PARMS): Do not use macros from bp-asm.h.
27687 (__mpn_add_n): Do not use BP_SYM.
27688 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27690 (PARMS): Do not use macros from bp-asm.h.
27693 (__mpn_addmul_1): Do not use BP_SYM.
27694 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27697 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27699 (PARMS): Do not use macros from bp-asm.h.
27702 (__mpn_lshift): Do not use BP_SYM.
27703 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27705 (PARMS): Do not use macros from bp-asm.h.
27709 (memcpy): Likewise. Do not use BP_SYM.
27710 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27711 libc_hidden_def and weak_alias.
27712 (mempcpy): Do not use BP_SYM in weak_alias.
27713 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27715 (PARMS): Do not use macros from bp-asm.h.
27718 [!BZERO_P] (CHR): Likewise.
27719 (memset): Likewise. Do not use BP_SYM.
27720 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27722 (PARMS): Do not use macros from bp-asm.h.
27725 (__mpn_mul_1): Do not use BP_SYM.
27726 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27728 (PARMS): Do not use macros from bp-asm.h.
27731 (__mpn_rshift): Do not use BP_SYM.
27732 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27734 (PARMS): Do not use macros from bp-asm.h.
27737 (strchr): Likewise. Do not use BP_SYM.
27738 (index): Do not use BP_SYM in weak_alias.
27739 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27741 (PARMS): Do not use macros from bp-asm.h.
27744 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27745 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27747 (PARMS): Do not use macros from bp-asm.h.
27748 (strlen): Do not use BP_SYM.
27749 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27751 (PARMS): Do not use macros from bp-asm.h.
27755 (__mpn_sub_n): Do not use BP_SYM.
27756 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27758 (PARMS): Do not use macros from bp-asm.h.
27761 (__mpn_submul_1): Do not use BP_SYM.
27762 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27764 (PARMS): Do not use macros from bp-asm.h.
27768 (__mpn_add_n): Do not use BP_SYM.
27769 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27772 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27774 (PARMS): Do not use macros from bp-asm.h.
27777 (memcmp): Do not use BP_SYM.
27778 (bcmp): Do not use BP_SYM in weak_alias.
27779 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27781 (PARMS): Do not use macros from bp-asm.h.
27785 (memcpy): Likewise. Do not use BP_SYM.
27786 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27788 (PARMS): Do not use macros from bp-asm.h.
27792 (memmove): Likewise. Do not use BP_SYM.
27793 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27795 (PARMS): Do not use macros from bp-asm.h.
27799 (__mempcpy): Likewise. Do not use BP_SYM.
27800 (mempcpy): Do not use BP_SYM in weak_alias.
27801 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27803 (PARMS): Do not use macros from bp-asm.h.
27806 [!BZERO_P] (CHR): Likewise.
27807 (memset): Likewise. Do not use BP_SYM.
27808 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27810 (PARMS): Do not use macros from bp-asm.h.
27812 (strcmp): Do not use BP_SYM.
27813 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27815 (PARMS): Do not use macros from bp-asm.h.
27818 [USE_AS_STRTOK_R] (SAVE): Likewise.
27819 (FUNCTION): Likewise. Do not use BP_SYM.
27820 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27822 (strtok_r): Likewise.
27823 (__GI___strtok_r): Likewise.
27824 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27825 (PARMS): Do not use macros from bp-asm.h.
27828 (__mpn_lshift): Do not use BP_SYM.
27829 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27830 (PARMS): Do not use macros from bp-asm.h.
27833 (__memchr): Do not use BP_SYM.
27834 (memchr): Do not use BP_SYM in weak_alias.
27835 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27836 (PARMS): Do not use macros from bp-asm.h.
27839 (memcmp): Do not use BP_SYM.
27840 (bcmp): Do not use BP_SYM in weak_alias.
27841 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27842 (PARMS): Do not use macros from bp-asm.h.
27845 (__mpn_mul_1): Do not use BP_SYM.
27846 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27848 (PARMS): Do not use macros from bp-asm.h.
27851 (__rawmemchr): Do not use BP_SYM.
27852 (rawmemchr): Do not use BP_SYM in weak_alias.
27853 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27854 (PARMS): Do not use macros from bp-asm.h.
27857 (__mpn_rshift): Do not use BP_SYM.
27858 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27859 (PARMS): Do not use macros from bp-asm.h.
27860 (SIGMSK): Likewise.
27861 (__sigsetjmp): Likewise. Do not use BP_SYM.
27862 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27863 (_start): Do not use BP_SYM.
27864 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27865 (PARMS): Do not use macros from bp-asm.h.
27868 (__stpcpy): Likewise. Do not use BP_SYM.
27869 (stpcpy): Do not use BP_SYM in weak_alias.
27870 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27872 (PARMS): Do not use macros from bp-asm.h.
27876 (__stpncpy): Likewise. Do not use BP_SYM.
27877 (stpncpy): Do not use BP_SYM in weak_alias.
27878 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27879 (PARMS): Do not use macros from bp-asm.h.
27882 (strchr): Likewise. Do not use BP_SYM.
27883 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27885 (PARMS): Do not use macros from bp-asm.h.
27888 (__strchrnul): Likewise. Do not use BP_SYM.
27889 (strchrnul): Do not use BP_SYM in weak_alias.
27890 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27892 (PARMS): Do not use macros from bp-asm.h.
27894 (strcspn): Do not use BP_SYM.
27895 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27897 (PARMS): Do not use macros from bp-asm.h.
27900 (strpbrk): Likewise. Do not use BP_SYM.
27901 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27903 (PARMS): Do not use macros from bp-asm.h.
27906 (strrchr): Likewise. Do not use BP_SYM.
27907 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27908 (PARMS): Do not use macros from bp-asm.h.
27910 (strspn): Do not use BP_SYM.
27911 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27912 (PARMS): Do not use macros from bp-asm.h.
27916 (FUNCTION): Likewise. Do not use BP_SYM.
27917 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27919 (strtok_r): Likewise.
27920 (__GI___strtok_r): Likewise.
27921 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27922 (PARMS): Do not use macros from bp-asm.h.
27926 (__mpn_sub_n): Do not use BP_SYM.
27927 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27929 (PARMS): Do not use macros from bp-asm.h.
27932 (__mpn_submul_1): Do not use BP_SYM.
27933 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27935 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27937 (PARMS): Do not use macros from bp-asm.h.
27942 (__clone): Do not use BP_SYM.
27943 (clone): Do not use BP_SYM in weak_alias.
27944 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27946 (PARMS): Do not use macros from bp-asm.h.
27948 (__mmap64): Do not use BP_SYM.
27949 (mmap64): Do not use BP_SYM in weak_alias.
27950 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27951 <bp-sym.h> and <bp-asm.h>.
27952 (PARMS): Do not use macros from bp-asm.h.
27953 (__posix_fadvise64_l64): Do not use BP_SYM.
27954 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27955 (PARMS): Do not use macros from bp-asm.h.
27957 (semtimedop): Do not use BP_SYM.
27958 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27961 2013-02-21 Allan McRae <allan@archlinux.org>
27963 * manual/message.texi (Charset conversion in gettext):
27964 Move @end statement to beginning of line.
27966 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27968 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27973 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27974 (denorm): Likewise.
27975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27978 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27980 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27981 tail-call to the resolved function if pltexit isn't needed.
27983 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27986 or Y being zero as being unlikely.
27987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27990 2013-02-20 Carlos O'Donell <carlos@redhat.com>
27992 * manual/nss.texi (System Databases and Name Service Switch):
27993 Remove frobnicate @pxref.
27995 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27997 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27998 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28000 2013-02-20 Petr Machata <pmachata@redhat.com>
28002 * elf/elf.h (R_ARM_TARGET1): New macro.
28003 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28004 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28005 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28006 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28007 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28008 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28009 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28010 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28011 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28012 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28013 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28014 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28015 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28016 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28017 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28018 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28019 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28020 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28021 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28022 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28023 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28024 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28025 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28026 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28027 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28028 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28029 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28030 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28031 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28032 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28033 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28034 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28035 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28036 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28037 (R_ARM_THM_GOT_BREL12): Likewise.
28038 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28039 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28040 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28041 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28042 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28043 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28044 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28045 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28046 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28048 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28050 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28051 __attribute_used__ to __attribute__ ((unused)).
28053 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28055 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28058 comment formatting.
28059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28061 2013-02-19 Joseph Myers <joseph@codesourcery.com>
28064 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28066 (ENTER): Remove both macro definitions.
28068 (CHECK_BOUNDS_LOW): Likewise.
28069 (CHECK_BOUNDS_HIGH): Likewise.
28070 (CHECK_BOUNDS_BOTH): Likewise.
28071 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28072 (RETURN_BOUNDED_POINTER): Likewise.
28073 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28074 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28075 (POP_ERRNO_LOCATION_RETURN): Likewise.
28076 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28077 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28078 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28080 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28081 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28082 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28083 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28084 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28085 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28086 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28087 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28088 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28089 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28090 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28091 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28092 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28093 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28095 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28096 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28098 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28099 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28100 * sysdeps/i386/i586/memset.S (memset): Likewise.
28101 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28102 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28103 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28105 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28106 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28107 Change uses of L(2) to L(out).
28108 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28109 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28110 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28111 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28112 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28114 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28115 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28117 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28118 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28119 (RETURN): Do not use macro LEAVE.
28120 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28121 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28122 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28123 * sysdeps/i386/i686/memset.S (memset): Likewise.
28124 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28125 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28126 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28127 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28129 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28130 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28131 L(1_2) and L(1_3) into L(1).
28132 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28133 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28134 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28135 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28136 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28137 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28138 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28139 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28140 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28142 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28143 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28144 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28145 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28146 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28147 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28148 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28149 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28150 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28151 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28152 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28153 * sysdeps/i386/strspn.S (strspn): Likewise.
28154 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28156 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28157 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28158 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28159 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28160 L(1_3) into L(1_1).
28161 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28162 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28163 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28165 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28167 2013-02-19 Jakub Jelinek <jakub@redhat.com>
28169 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28172 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28174 * math/atest-exp.c (exp_mpn): Remove ROUND.
28175 * math/atest-exp2.c (exp_mpn): Likewise.
28176 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28178 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28179 * stdlib/tst-tls-atexit-lib.c: Likewise.
28180 * stdlib/tst-tls-atexit.c: Likewise.
28182 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28184 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28185 and __attribute_alloc_size__.
28187 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28189 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28190 __attribute_alloc_size__.
28191 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28192 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28194 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28196 * include/programs/xmalloc.h: New file.
28197 * catgets/gencat.c: Include it.
28198 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28199 * elf/pldd.c: Likewise.
28200 * iconv/iconv_charmap.c: Likewise.
28201 * iconv/iconvconfig.c: Likewise.
28202 * iconv/strtab.c: Likewise.
28203 * locale/programs/locale.c: Likewise.
28204 * locale/programs/localedef.h: Likewise.
28205 * locale/programs/simple-hash.c: Likewise.
28206 * nscd/nscd.h: Likewise.
28207 * nss/makedb.c: Likewise.
28208 * sysdeps/generic/ldconfig.h: Likewise.
28210 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28212 * Versions.def: Add GLIBC_2.18.
28213 * include/link.h (struct link_map): New member l_tls_dtor_count.
28214 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28215 (__call_tls_dtors): Likewise.
28216 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28217 __cxa_thread_atexit_impl.
28218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28226 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28234 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28235 (tests): Add test case tst-tls-atexit.
28236 (modules-names): Add shared library for tst-tls-atexit.
28237 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28238 (GLIBC_PRIVATE): Add __call_tls_dtors.
28239 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28241 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28242 * stdlib/tst-tls-atexit.c: New test case.
28243 * stdlib/tst-tls-atexit-lib.c: New test case.
28245 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28247 * elf/Versions (ld): Add _dl_find_dso_for_object.
28248 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28249 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28250 (dl_open_worker): Use _dl_find_dso_for_object.
28251 * elf/dl-sym.c (do_sym): Likewise.
28252 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28254 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28256 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28257 Syntactic changes only.
28258 (_dl_runtime_profile): Do a tail-call to the resolved function.
28260 2013-02-17 Joseph Myers <joseph@codesourcery.com>
28263 * sysdeps/x86_64/bp-asm.h: Remove file.
28264 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28265 <bp-sym.h> and <bp-asm.h>.
28266 (__clone): Do not use BP_SYM.
28267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28268 <bp-sym.h> and <bp-asm.h>.
28269 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28270 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28272 (_setjmp): Do not use BP_SYM.
28273 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28275 (setjmp): Do not use BP_SYM.
28276 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28278 (mempcpy): Do not use BP_SYM in weak_alias.
28279 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28281 (strchr): Do not use BP_SYM.
28282 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28284 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28285 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28286 (_start): Do not use BP_SYM.
28287 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28289 (strcat): Do not use BP_SYM.
28290 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28292 (STRCMP): Do not use BP_SYM.
28293 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28295 (STRCPY): Do not use BP_SYM.
28296 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28298 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28300 (FUNCTION): Do not use BP_SYM.
28301 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28303 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28305 2013-02-17 Andreas Jaeger <aj@suse.de>
28307 * time/Versions: Sort entries.
28308 * string/Versions: Likewise.
28309 * resolv/Versions: Likewise.
28310 * posix/Versions: Likewise.
28311 * iconv/Versions: Likewise.
28312 * elf/Versions: Likewise.
28313 * wcsmbs/Versions: Likewise.
28315 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28317 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28318 loop termination condition.
28320 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28321 variable to calculate EZ.
28324 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28325 the lower precision input.
28327 2013-02-15 Joseph Myers <joseph@codesourcery.com>
28330 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28331 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28332 (run-via-rtld-prefix): Do not handle %-bp tests.
28333 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28334 (all-object-suffixes): Remove .ob.
28335 (bppfx): Remove variable.
28336 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28337 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28338 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28339 [$(build-bounded) = yes] (libtype.ob): Likewise.
28340 * Makerules (elide-routines.ob): Remove variable.
28341 (do-tests-clean): Do not handle *-bp.out.
28342 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28343 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28344 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28345 (tests): Do not include $(tests-bp.out).
28346 (xtests): Do not include $(xtests-bp.out).
28347 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28348 [$(build-bounded) = yes] ($(addprefix
28349 $(objpfx),$(binaries-bounded))): Remove rule.
28350 ($(objpfx)%-bp.out): Remove rule.
28351 * config.make.in (build-bounded): Remove variable.
28352 * crypt/Makefile [$(build-bounded) = yes]
28353 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28354 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28355 append to variable.
28356 [$(build-bounded) = yes] (install-lib): Likewise.
28357 [$(build-bounded) = yes] (generated): Likewise.
28358 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28360 * intl/Makefile [$(build-bounded) = yes]
28361 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28362 * math/Makefile [$(build-bounded) = yes]
28363 ($(tests:%=$(objpfx)%-bp): Likewise.
28364 * misc/Makefile [$(build-bounded) = yes]
28365 ($(objpfx)tst-tsearch-bp): Likewise.
28366 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28367 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28369 * string/Makefile (o-objects.ob): Remove variable.
28370 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28371 (CFLAGS-.ob): Remove variable.
28372 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28373 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28374 both definitions of variable.
28375 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28376 (ASFLAGS-.ob): Remove variable.
28378 2013-02-14 Joseph Myers <joseph@codesourcery.com>
28381 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28382 Remove __BOUNDED_POINTERS__ from condition.
28383 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28384 * string/bits/string2.h [!__NO_STRING_INLINES &&
28385 !__BOUNDED_POINTERS__]: Likewise.
28386 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28388 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28389 Remove conditional code.
28390 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28391 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28392 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28396 * csu/libc-start.c: Do not include <bp-sym.h>.
28397 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28398 * elf/dl-open.c: Do not include <bp-sym.h>.
28399 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28400 * math/fegetenv.c: Do not include <bp-sym.h>.
28401 (fegetenv): Do not use BP_SYM in versioned symbols.
28402 * nptl/sysdeps/pthread/bits/libc-lockP.h
28403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28406 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28408 (__pthread_mutex_destroy): Likewise.
28409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28410 (__pthread_mutex_lock): Likewise.
28411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28412 (__pthread_mutex_trylock): Likewise.
28413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28414 (__pthread_mutex_unlock): Likewise.
28415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28416 (__pthread_mutexattr_init): Likewise.
28417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28418 (__pthread_mutexattr_destroy): Likewise.
28419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28420 (__pthread_mutexattr_settype): Likewise.
28421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28422 (__pthread_rwlock_init): Likewise.
28423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28424 (__pthread_rwlock_destroy): Likewise.
28425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28426 (__pthread_rwlock_rdlock): Likewise.
28427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28428 (__pthread_rwlock_tryrdlock): Likewise.
28429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28430 (__pthread_rwlock_wrlock): Likewise.
28431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28432 (__pthread_rwlock_trywrlock): Likewise.
28433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28434 (__pthread_rwlock_unlock): Likewise.
28435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28436 (__pthread_key_create): Likewise.
28437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28438 (__pthread_setspecific): Likewise.
28439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28440 (__pthread_getspecific): Likewise.
28441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28444 (_pthread_cleanup_push_defer): Likewise.
28445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28446 (_pthread_cleanup_pop_restore): Likewise.
28447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28448 (pthread_setcancelstate): Likewise.
28449 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28451 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28452 (memchr): Do not use BP_SYM in weak_alias.
28453 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28454 (fegetenv): Do not use BP_SYM in versioned symbols.
28455 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28456 (fesetenv): Do not use BP_SYM in versioned symbols.
28457 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28458 (feupdateenv): Do not use BP_SYM in versioned symbols.
28459 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28460 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28461 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28462 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28463 (open64): Do not use BP_SYM in weak_alias.
28464 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28465 (fegetenv): Do not use BP_SYM in versioned symbols.
28466 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28467 (fesetenv): Do not use BP_SYM in versioned symbols.
28468 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28469 (feupdateenv): Do not use BP_SYM in versioned symbols.
28470 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28471 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28472 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28473 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28474 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28475 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28476 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28478 (__libc_start_main): Do not use BP_SYM.
28480 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28483 redundant return line.
28485 (denorm): Likewise.
28486 (dbl_mp): Likewise.
28487 (sub_magnitudes): Likewise.
28493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28495 (denorm): Likewise.
28496 (dbl_mp): Likewise.
28497 (sub_magnitudes): Likewise.
28504 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28506 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28507 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28510 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28511 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28512 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28513 of __mul for squares.
28514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28518 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28519 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28521 2013-02-13 Joseph Myers <joseph@codesourcery.com>
28524 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28526 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28527 prototype or function definition. Rename ubp_* variables and
28528 parameters. Remove argv definitions conditional on
28529 [__BOUNDED_POINTERS__].
28530 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28531 * elf/dl-runtime.c (_dl_fixup): Likewise.
28532 * include/set-hooks.h (RUN_HOOK): Likewise.
28533 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28535 * string/strcpy.c (strcpy): Do not use __unbounded.
28536 * sysdeps/generic/frame.h (struct layout): Likewise.
28537 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28538 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28539 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28540 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28541 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28542 (__backtrace): Likewise.
28543 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28545 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28546 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28547 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28549 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28550 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28551 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28552 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28553 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28554 Do not use __unbounded.
28555 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28556 Rename __unboundedrlimits parameter to rlimits in prototype.
28557 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28558 Do not use __unbounded.
28559 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28560 not use __ptrvalue.
28561 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28562 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28563 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28564 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28565 __ptrvalue or __unbounded.
28566 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28567 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28569 (__new_msgctl): Do not use __ptrvalue.
28570 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28572 (__libc_msgrcv): Do not use __ptrvalue.
28573 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28574 startup_info): Do not use __unbounded.
28575 (__libc_start_main): Likewise. Rename ubp_* variables and
28576 parameters. Remove argv definitions conditional on
28577 [__BOUNDED_POINTERS__].
28578 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28580 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28582 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28584 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28586 (__new_shmctl): Do not use __ptrvalue.
28587 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28588 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28590 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28591 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28592 (__libc_sigaction): Likewise.
28593 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28594 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28596 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28598 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
28600 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28602 * string/mempcpy.c: Implement by calling memcpy.
28604 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28606 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28608 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28611 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28612 values in the mantissa.
28614 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28615 minimize writes to Z.
28616 (sub_magnitudes): Simplify code a bit.
28618 2013-02-12 Roland McGrath <roland@hack.frob.com>
28620 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28621 from the message. The linker prefixes all warnings with that already.
28623 2013-02-12 Andreas Schwab <schwab@suse.de>
28626 * posix/regexec.c (extend_buffers): Add parameter min_len.
28627 (check_matching): Pass minimum needed length.
28628 (clean_state_log_if_needed): Likewise.
28629 (get_subexp): Likewise.
28630 * posix/Makefile (tests): Add bug-regex34.
28631 (bug-regex34-ENV): Define.
28632 * posix/bug-regex34.c: New file.
28635 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28636 elements compare against the byte sequence of it, not its name.
28637 * posix/Makefile (tests): Add bug-regex35.
28638 (bug-regex35-ENV): Define.
28639 * posix/bug-regex35.c: New file.
28641 2013-02-11 Tom de Vries <tom@codesourcery.com>
28643 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28645 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28646 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28647 (CHECK_EOL): Add undef.
28649 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
28651 * bits/stdlib-bsearch.h: New file.
28652 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28653 * stdlib/stdlib.h: Likewise.
28655 2013-02-11 Roland McGrath <roland@hack.frob.com>
28657 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28658 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28660 * manual/search.texi (Array Search Function): Add missing const in
28662 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28663 declaration to use rlim_t.
28664 (Basic Scheduling Functions): Remove erroneous const from
28665 sched_getparam prototype. Remove erroneous * from
28666 sched_get_priority_max and sched_get_priority_min prototypes.
28667 (Resource Usage): Fix summary @comment on vtimes to refer to
28668 sys/vtimes.h rather than vtimes.h.
28669 Add missing *s in vtimes prototype.
28670 (Limits on Resources): Fix ulimit prototype to return long int.
28671 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28672 prototypes to use long int rather than double.
28673 (BSD Random): Fix initstate and setstate to use char *, not void *.
28674 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28675 prototype to make second argument 'struct aiocb64 *const[]'.
28676 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28677 (Status of AIO Operations): Remove erroneous const in aio_return and
28678 aio_return64 prototypes.
28679 (Synchronizing I/O): Fix sync prototype to return void.
28680 * manual/startup.texi (Suboptions): Remove an erroneous const in
28681 getsubopt prototype.
28682 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28683 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28684 use size_t rather than int.
28685 (Scanning All Users): Likewise for getpwent_r.
28686 (Setting Groups): Add missing const to setgroups prototype.
28687 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28688 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28689 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28690 'const void *' rather than 'const char *'.
28691 (Host Address Functions): Likewise for inet_ntop.
28692 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28693 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28694 ssize_t for return value.
28695 (Sending Data): Likewise for send, sendto, sendmsg.
28696 (Socket Option Functions): Add a missing const in setsockopt prototype.
28697 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28698 use wchar_t for the argument.
28699 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28700 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28702 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28703 double/float/long double for second argument.
28704 Fix return types of significand, significandf, significandl.
28705 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28706 argument in fchmod prototype.
28707 (File Owner): Use uid_t and gid_t in fchown prototype.
28708 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28709 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28710 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28711 use 'const struct dirent **' as argument types to CMP function pointer
28713 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28714 (File Times): Fix summary magic @comment for struct utimbuf and utime
28715 to refer to utime.h, not time.h.
28716 * manual/string.texi (Argz Functions): Add missing const in
28717 argz_extract and argz_next prototypes.
28718 (Finding Tokens in a String): Likewise for basename.
28719 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28720 (Copying and Concatenation): Fix typo in wmemmove prototype.
28721 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28722 (Signal Stack): Remove erroneous const in sigstack prototype.
28723 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28725 (Simple Calendar Time): Likewise for stime.
28726 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28728 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28729 say sys/sysctl.h instead.
28730 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28731 and vsyslog prototypes.
28733 2013-02-11 Tom de Vries <tom@codesourcery.com>
28735 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28738 2013-02-11 Roland McGrath <roland@hack.frob.com>
28740 * misc/sys/mman.h: Fix typo in mremap comment.
28742 2013-02-08 Roland McGrath <roland@hack.frob.com>
28744 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28745 the '\0' terminator.
28747 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28750 * debug/segfault.c: Don't include <bp-checks.h>.
28751 * sysdeps/generic/bp-checks.h: Remove file.
28752 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28753 (__GETDENTS): Don't use CHECK_N.
28754 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28755 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28756 (__getgroups): Don't use CHECK_N.
28757 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28758 (setgroups): Don't use CHECK_N.
28759 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28760 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28761 (__libc_msgrcv): Don't use CHECK_N.
28762 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28763 (__libc_msgsnd): Don't use CHECK_N.
28764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28766 (__libc_pread): Don't use CHECK_N.
28767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28768 include <bp-checks.h>.
28769 (__libc_pread64): Don't use CHECK_N.
28770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28771 include <bp-checks.h>.
28772 (__libc_pwrite): Don't use CHECK_N.
28773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28774 include <bp-checks.h>.
28775 (__libc_pwrite64): Don't use CHECK_N.
28776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28778 (__libc_pread): Don't use CHECK_N.
28779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28780 include <bp-checks.h>.
28781 (__libc_pread64): Don't use CHECK_N.
28782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28783 include <bp-checks.h>.
28784 (__libc_pwrite): Don't use CHECK_N.
28785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28786 include <bp-checks.h>.
28787 (__libc_pwrite64): Don't use CHECK_N.
28788 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28789 (do_pread): Don't use CHECK_N.
28790 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28791 (do_pread64): Don't use CHECK_N.
28792 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28793 (do_pwrite): Don't use CHECK_N.
28794 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28795 (do_pwrite64): Don't use CHECK_N.
28796 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28797 (__libc_readv): Don't use CHECK_N.
28798 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28799 (semop): Don't use CHECK_N.
28800 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28802 (semtimedop): Don't use CHECK_N.
28803 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28804 (__libc_pread): Don't use CHECK_N.
28805 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28807 (__libc_pread64): Don't use CHECK_N.
28808 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28810 (__libc_pwrite): Don't use CHECK_N.
28811 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28813 (__libc_pwrite64): Don't use CHECK_N.
28814 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28816 (__libc_msgrcv): Don't use CHECK_N.
28817 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28818 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28819 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28820 (__libc_writev): Don't use CHECK_N.
28822 2013-02-08 Roland McGrath <roland@hack.frob.com>
28824 * string/strcpy.c: Removed unused variable.
28826 * Makeconfig (+sysdep-includes): Define with := rather than =.
28827 Use an existing include/ subdir of each sysdeps dir before it.
28829 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28831 * nscd/connection.c (register_traced_file): Comment function.
28832 [HAVE_INOTIFY] (union __inev): Define.
28833 [HAVE_INOTIFY] (inotify_check_files): New function.
28834 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28835 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28837 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28839 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28841 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28842 loaded if not already and that a failure is permanent.
28844 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28847 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28848 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28850 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28853 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28854 (CHECK_1_NULL_OK): Likewise.
28855 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28856 (__fxstat): Do not use CHECK_1.
28857 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28859 (___fxstat64): Do not use CHECK_1.
28860 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28862 (__fxstatat): Do not use CHECK_1.
28863 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28865 (__fxstatat64): Do not use CHECK_1.
28866 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28868 (__fxstat): Do not use CHECK_1.
28869 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28871 (__fxstatat): Do not use CHECK_1.
28872 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28874 (__getresgid): Do not use CHECK_1.
28875 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28877 (__getresuid): Do not use CHECK_1.
28878 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28880 (__lxstat): Do not use CHECK_1.
28881 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28883 (__old_msgctl): Do not use CHECK_1.
28884 (__new_msgctl): Likewise.
28885 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28887 (__new_setrlimit): Do not use CHECK_1.
28888 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28890 (__old_shmctl): Do not use CHECK_1.
28891 (__new_shmctl): Likewise.
28892 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28894 (__xstat): Do not use CHECK_1.
28895 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28896 (__lxstat): Do not use CHECK_1.
28897 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28899 (___lxstat64): Do not use CHECK_1.
28900 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28901 (__old_msgctl): Do not use CHECK_1.
28902 (__new_msgctl): Likewise.
28903 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28905 (__gettimeofday): Do not use CHECK_1.
28906 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28907 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28908 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28910 (__gettimeofday): Do not use CHECK_1.
28911 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28912 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28913 (__new_shmctl): Do not use CHECK_1.
28914 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28916 (do_sigtimedwait): Do not use CHECK_1.
28917 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28919 (do_sigwaitinfo): Do not use CHECK_1.
28920 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28922 (msgctl): Do not use CHECK_1.
28923 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28925 (shmctl): Do not use CHECK_1.
28926 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28927 (ustat): Do not use CHECK_1.
28928 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28930 (__fxstat): Do not use CHECK_1.
28931 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28933 (__fxstatat): Do not use CHECK_1.
28934 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28936 (__lxstat): Do not use CHECK_1.
28937 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28939 (__xstat): Do not use CHECK_1.
28940 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28941 (__xstat): Do not use CHECK_1.
28942 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28943 (___xstat64): Do not use CHECK_1.
28946 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28948 (CHECK_BOUNDS_HIGH): Likewise.
28949 * string/strcpy.c: Do not include <bp-checks.h>.
28950 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28952 2013-02-07 Roland McGrath <roland@hack.frob.com>
28954 * nscd/nscd-client.h (__nscd_drop_map_ref):
28955 Add __attribute__ ((unused)).
28956 * nis/nss-nisplus.h (niserr2nss): Likewise.
28958 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28959 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28961 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28962 Remove inline keyword.
28963 * include/rounding-mode.h (round_away): Likewise.
28964 * libio/wfileops.c (adjust_wide_data): Likewise.
28965 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28966 (__m128i_strloadu_tolower): Likewise.
28967 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28968 (__m128i_strloadu_tolower): Likewise.
28969 * time/mktime.c (ydhms_diff): Likewise.
28970 * locale/elem-hash.h (elem_hash): Likewise.
28971 * locale/setlocale.c (setdata): Likewise.
28972 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28973 (re_string_wchar_at): Likewise.
28974 (bitset_not, bitset_merge, bitset_mask): Likewise.
28975 [!(__GNUC__ > 3)] (inline): Remove macro.
28976 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28977 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28978 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28979 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28980 * string/memcmp.c (memcmp_bytes): Likewise.
28981 * locale/programs/locarchive.c (compute_hashval): Likewise.
28982 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28983 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28984 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28985 * nss/getent.c (print_rpc, print_protocols): Likewise.
28986 (print_passwd, print_group, print_aliases): Likewise.
28987 * nis/nss-nisplus.h (niserr2nss): Likewise.
28988 * nscd/connections.c (restart_p): Likewise.
28989 Change return type to bool.
28991 2013-02-05 Roland McGrath <roland@hack.frob.com>
28993 * Makeconfig (all-Depend-files): Add existing
28994 $(sorted-subdirs:=/Depend) files.
28995 (all-subdirs): Remove nss.
28996 * sysdeps/unix/inet/Subdirs: Add it here instead.
28997 * hesiod/Depend: New file.
28999 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29000 instead of calling alloca.
29002 * io/lseek.c (__lseek): Rename to __libc_lseek.
29003 Define __lseek as an alias.
29005 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29007 2013-02-04 Carlos O'Donell <carlos@redhat.com>
29009 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29010 else clause and remove check for non-standard endianness.
29012 2013-02-04 David S. Miller <davem@davemloft.net>
29014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29016 2013-02-04 Joseph Myers <joseph@codesourcery.com>
29019 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29020 (__ubp_memchr): Remove prototype.
29021 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29022 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29023 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29024 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29025 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29027 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29028 (__ubp_memchr): Likewise.
29029 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29030 (__ubp_memchr): Likewise.
29031 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29032 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29033 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29034 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29036 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29037 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29038 (__getcwd): Do not use CHECK_STRING.
29039 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29041 (__real_chown): Do not use CHECK_STRING.
29042 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29044 (fchownat): Do not use CHECK_STRING.
29045 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29047 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29049 (__lchown): Do not use CHECK_STRING.
29050 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29051 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29052 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29053 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29055 include <bp-checks.h>.
29056 (truncate64): Do not use CHECK_STRING.
29057 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29059 (__real_chown): Do not use CHECK_STRING.
29060 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29062 (__lchown): Do not use CHECK_STRING.
29063 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29065 (__chown): Do not use CHECK_STRING.
29066 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29068 (truncate64): Do not use CHECK_STRING.
29069 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29071 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29072 (__xmknod): Do not use CHECK_STRING.
29073 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29075 (__xmknodat): Do not use CHECK_STRING.
29076 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29077 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29079 2013-02-04 Andreas Schwab <schwab@suse.de>
29082 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29083 * include/netdb.h: Likewise for h_errno.
29084 * elf/tst-stackguard1.c: Include <tls.h>.
29086 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29088 * elf/link.h (struct link_map): Extend the l_addr comment.
29089 * include/link.h (struct link_map): Likewise.
29091 2013-02-01 Joseph Myers <joseph@codesourcery.com>
29094 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29095 (BOUNDED_1): Remove macro.
29096 * debug/backtrace.c: Don't include <bp-checks.h>.
29097 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29098 (__backtrace): Likewise.
29099 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29101 (__backtrace): Don't use BOUNDED_1.
29102 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29104 (__backtrace): Don't use BOUNDED_1.
29105 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29106 (__backtrace): Don't use BOUNDED_1.
29107 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29108 (shmat): Don't use BOUNDED_N.
29110 2013-01-31 Joseph Myers <joseph@codesourcery.com>
29113 * sysdeps/generic/bp-start.h: Remove file.
29114 * csu/libc-start.c: Don't include <bp-start.h>.
29115 (LIBC_START_MAIN): Set up __environ directly instead of using
29116 INIT_ARGV_and_ENVIRON.
29117 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29121 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29123 (CHECK_FCNTL): Likewise.
29124 (CHECK_N_PAGES): Likewise.
29127 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29129 (CHECK_SIGSET_NULL_OK): Likewise.
29130 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29132 (sigpending): Don't use CHECK_SIGSET.
29133 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29135 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29136 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29138 (do_sigsuspend): Don't use CHECK_SIGSET.
29139 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29141 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29142 (do_sigwait): Don't use CHECK_SIGSET.
29143 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29145 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29146 include <bp-checks.h>.
29147 (sigpending): Don't use CHECK_SIGSET.
29148 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29149 include <bp-checks.h>.
29150 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29151 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29153 (sigpending): Don't use CHECK_SIGSET.
29154 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29156 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29159 * sysdeps/generic/bp-semctl.h: Remove file.
29160 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29161 <bp-checks.h> and <bp-semctl.h>.
29162 (__old_semctl): Don't use CHECK_SEMCTL.
29163 (__new_semctl): Likewise.
29164 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29166 (__old_semctl): Don't use CHECK_SEMCTL.
29167 (__new_semctl): Likewise.
29168 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29169 <bp-checks.h> and <bp-semctl.h>.
29170 (__old_semctl): Don't use CHECK_SEMCTL.
29171 (__new_semctl): Likewise.
29172 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29173 <bp-checks.h> and <bp-semctl.h>.
29174 (semctl): Don't use CHECK_SEMCTL.
29177 * Makerules (elide-bp-thunks): Remove variable.
29178 (elide-routines.oS): Don't use $(elide-bp-thunks).
29179 (elide-routines.os): Likewise.
29180 (elide-routines.o): Likewise.
29181 (elide-routines.op): Likewise.
29182 (elide-routines.og): Likewise.
29183 (objects): Don't use $(bp-thunks).
29184 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29186 (common-generated): Do not add s-proto-bp.d.
29187 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29190 Do not generate makefile rules for bounded-pointer thunks.
29191 * sysdeps/generic/bp-thunks.h: Remove file.
29192 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29193 * sysdeps/unix/s-proto-bp.S: Likewise.
29196 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29197 parts of result separately when argument is not close to line from
29198 -i to i and one part of argument is small.
29199 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29200 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29201 * math/libm-test.inc (cacos_test): Add more tests.
29202 (casin_test): Likewise.
29203 (casinh_test): Likewise.
29204 * sysdeps/i386/fpu/libm-test-ulps: Update.
29205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29207 2013-01-31 David S. Miller <davem@davemloft.net>
29209 * po/de.po: Update from translation team.
29211 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29213 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29215 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29217 * configure.in (_AC_PROG_CC_C89): New definition.
29218 * configure: Regenerate.
29220 * configure.in (AC_PROG_CPP): New definition.
29221 * configure: Regenerate.
29223 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29225 * debug/tst-backtrace.h: New file.
29226 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29227 (ret): Remove variable.
29229 (FAIL): Remove macro.
29230 (NO_INLINE): Likewise.
29231 (fn1): Use match function instead of strstr.
29232 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29233 (ret): Remove variable.
29235 (FAIL): Remove macro.
29236 (NO_INLINE): Likewise.
29237 (fn): Use match function instead of strstr.
29238 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29239 (ret): Remove variable.
29241 (FAIL): Remove macro.
29242 (NO_INLINE): Likewise.
29243 (handle_signal): Use match function instead of strstr.
29244 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29245 (ret): Remove variable.
29247 (FAIL): Remove macro.
29248 (NO_INLINE): Likewise.
29249 (handle_signal): Use match function instead of strstr.
29251 2013-01-23 Roland McGrath <roland@hack.frob.com>
29253 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29255 2013-01-23 David S. Miller <davem@davemloft.net>
29257 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29258 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29259 argument of CAS if possible.
29260 * sysdeps/sparc/sparc64/bits/atomic.h
29261 (__arch_compare_and_exchange_val_32_acq): Likewise.
29262 (__arch_compare_and_exchange_val_64_acq): Likewise.
29264 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29266 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29267 * sysdeps/posix/ulimit.c: ... this.
29268 Include <limits.h>.
29269 * sysdeps/unix/bsd/ulimit.c: Remove file.
29271 2013-01-23 Adam Conrad <adconrad@0c3.net>
29273 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29274 (LDFLAGS-tst-array5): Likewise.
29276 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29279 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29280 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29281 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29282 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29284 2013-01-21 David S. Miller <davem@davemloft.net>
29286 * sysdeps/sparc/backtrace.c: New file.
29287 * sysdeps/sparc/sparc32/backtrace.h: New file.
29288 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29289 * sysdeps/sparc/sparc64/backtrace.h: New file.
29290 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29291 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29294 2013-01-21 Andreas Schwab <schwab@suse.de>
29297 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29300 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29306 2013-01-18 Joseph Myers <joseph@codesourcery.com>
29307 Mark Mitchell <mark@codesourcery.com>
29308 Tom de Vries <tom@codesourcery.com>
29309 Paul Pluzhnikov <ppluzhnikov@google.com>
29311 * debug/tst-backtrace2.c: New file.
29312 * debug/tst-backtrace3.c: Likewise.
29313 * debug/tst-backtrace4.c: Likewise.
29314 * debug/tst-backtrace5.c: Likewise.
29315 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29316 (CFLAGS-tst-backtrace3.c): Likewise.
29317 (CFLAGS-tst-backtrace4.c): Likewise.
29318 (CFLAGS-tst-backtrace5.c): Likewise.
29319 (LDFLAGS-tst-backtrace2): Likewise.
29320 (LDFLAGS-tst-backtrace3): Likewise.
29321 (LDFLAGS-tst-backtrace4): Likewise.
29322 (LDFLAGS-tst-backtrace5): Likewise.
29323 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29324 tst-backtrace4 and tst-backtrace5.
29326 2013-01-18 Anton Blanchard <anton@samba.org>
29327 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29329 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29330 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29331 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29332 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29334 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29335 "+r" and remove output regs list as redundant. Add explicit inline
29336 asm to specify register of return val to work around compiler codegen
29337 bug. Remove (int) cast on return value. Add return type parameter to
29338 use in macro so that this macro does not truncate return value for
29340 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29341 pass to INTERNAL_VSYSCALL_NCS.
29342 (INLINE_VSYSCALL): Add 'long int' as return type to
29343 INTERNAL_VSYSCALL_NCS macro invocation.
29344 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29345 INTERNAL_VSYSCALL_NCS macro invocation.
29346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29348 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29351 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29352 Fix application of SIMD FP exception mask.
29354 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29355 mp_no from a power of two.
29356 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29357 __mpexp_twomm1. Use __pow_mp.
29359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29362 2013-01-17 David S. Miller <davem@davemloft.net>
29364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29366 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29369 * include/complex.h: Condition contents on [!_COMPLEX_H].
29370 (__kernel_casinhf): New prototype.
29371 (__kernel_casinh): Likewise.
29372 (__kernel_casinhl): Likewise.
29373 * math/Makefile (libm_calls): Add k_casinh.
29374 * math/k_casinh.c: New file.
29375 * math/k_casinhf.c: Likewise.
29376 * math/k_casinhl.c: Likewise.
29377 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29378 finite nonzero arguments.
29379 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29380 finite nonzero arguments.
29381 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29382 finite nonzero arguments.
29383 * math/s_casinh.c: Do not include <float.h>.
29384 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29385 * math/s_casinhf.c: Do not include <float.h>.
29386 (__casinhf): Move code for finite nonzero arguments to
29388 * math/s_casinhl.c: Do not include <float.h>.
29389 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29391 (__casinhl): Move code for finite nonzero arguments to
29393 * math/libm-test.inc (cacos_test): Add more tests.
29394 * sysdeps/i386/fpu/libm-test-ulps: Update.
29395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29397 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29399 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29400 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29401 [!HAVE_MREMAP]: Remove [defined linux] case.
29402 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29404 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29406 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29408 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
29410 * elf/elf.h (R_386_SIZE32): New relocation.
29411 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29413 (elf_machine_rela): Likewise.
29414 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29415 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29417 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29419 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29420 (FP_FAST_FMA): Do not define.
29421 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29422 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29423 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29424 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29425 !_SOFT_FLOAT]: Likewise.
29426 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29427 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29429 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29430 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29431 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29432 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29433 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29434 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29437 2013-01-16 Andreas Schwab <schwab@suse.de>
29440 * include/stdlib.h (__mktemp): Add declaration.
29441 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29442 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29444 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29446 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29448 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29449 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29450 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29452 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29453 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29455 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29457 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29458 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29459 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29461 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29462 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29464 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29466 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29468 2013-01-15 David S. Miller <davem@davemloft.net>
29470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29471 trunc{,f} to libm-sysdep_routes.
29472 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29482 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29483 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29484 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29485 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29486 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29487 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29490 nearbyint{,f} to libm-sysdep_routes.
29491 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29502 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29504 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29505 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29507 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29508 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29509 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29511 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29512 libc_feholdexcept and libc_fesetenv.
29514 2013-01-15 Mike Frysinger <vapier@gentoo.org>
29516 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29518 2013-01-14 David S. Miller <davem@davemloft.net>
29520 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29521 (SPARC_ASM_VIS2_IFUNC): Likewise.
29522 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29524 use of 'siam' instruction.
29525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29558 routines to libm-sysdep_routines.
29559 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29562 fdim/fdimf to libm-sysdep_routines.
29563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29571 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29572 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29573 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29574 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29576 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29578 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29579 to optimize copies.
29581 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29586 local variable MPTWO.
29587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29590 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29592 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29595 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29597 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29599 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29601 * manual/pattern.texi (glob_t): Document gl_flags.
29602 (glob64_t): Likewise.
29604 2013-01-11 David S. Miller <davem@davemloft.net>
29606 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29607 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29608 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
29609 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29610 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29611 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29612 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29613 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29614 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29615 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29616 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29617 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29618 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29620 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29621 sparc V9 rather than using V8 code.
29622 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29623 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29625 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29627 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29630 2013-01-11 Roland McGrath <roland@hack.frob.com>
29632 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29633 not in the main loop.
29634 * configure: Regenerated.
29636 2013-01-11 Joseph Myers <joseph@codesourcery.com>
29638 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29639 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29641 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29642 [!__GLIBC_HAVE_LONG_LONG] case.
29643 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29644 condition to just #else.
29645 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29646 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29647 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29648 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29650 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29651 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29652 #elif condition to just #else.
29653 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29654 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29655 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29656 #elif condition to just #else.
29658 2013-01-11 Steve Ellcey <sellcey@mips.com>
29660 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29661 (EF_MIPS_ARCH_64): Fix value.
29662 (EF_MIPS_ARCH_32R2): New.
29663 (EF_MIPS_ARCH_64R2): New.
29665 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29667 * Makeconfig (+link-pie-before-libc): New.
29668 (+link-pie-after-libc): Likewise.
29669 (+link-pie-tests): Likewise.
29670 (+link-pie): Rewritten.
29671 (link-before-libc): Remove $(config-LDFLAGS).
29672 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29673 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29674 (config-LDFLAGS): Renamed to ...
29675 (rtld-LDFLAGS): This.
29676 (rtld-tests-LDFLAGS): New macro.
29677 (link-libc-rpath-link): Likewise.
29678 (link-libc-tests-rpath-link): Likewise.
29679 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29680 (link-libc): Prepand $(link-libc-rpath-link).
29681 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29682 (test-program-prefix): New macro.
29683 (test-via-rtld-prefix): Likewise.
29684 (test-program-cmd): Likewise.
29685 (host-test-program-cmd): Likewise.
29686 * Makefile ($(common-objpfx)testrun.sh): Replace
29687 $(run-program-prefix) with $(test-program-prefix).
29688 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29690 ($(common-objpfx)shlib.lds): Likewise.
29691 (build-module-helper): Likewise.
29692 ($(common-objpfx)format.lds): Likewise.
29693 * Rules (binaries-pie-tests): New.
29694 (binaries-pie-notests): Likewise.
29695 (binaries-pie): Rewritten.
29696 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29697 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29698 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29699 (make-test-out): Replace $(host-built-program-cmd) with
29700 $(host-test-program-cmd).
29701 * config.make.in (build-hardcoded-path-in-tests): New variable.
29702 * configure.in (--enable-hardcoded-path-in-tests): New configure
29704 (hardcoded_path_in_tests): New AC_SUBST.
29705 * configure: Regenerated.
29706 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29707 $(built-program-cmd) with $(test-program-cmd).
29708 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29709 (test_program_cmd): This.
29710 * elf/Makefile ($(objpfx)order.out): Run test with
29711 $(test-program-prefix).
29712 ($(objpfx)order2.out): Likewise.
29713 ($(objpfx)tst-initorder.out): Likewise.
29714 ($(objpfx)tst-initorder2.out): Likewise.
29715 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29716 $(test-program-cmd).
29717 ($(objpfx)tst-array1-static.out): Likewise.
29718 ($(objpfx)tst-array2.out): Likewise.
29719 ($(objpfx)tst-array3.out): Likewise.
29720 ($(objpfx)tst-array4.out): Likewise.
29721 ($(objpfx)tst-array5.out): Likewise.
29722 ($(objpfx)tst-array5-static.out): Likewise.
29723 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29724 $(test-program-cmd).
29725 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29726 $(run-program-prefix) with $(test-program-prefix).
29727 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29728 (test_program_prefix): This.
29729 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29730 $(run-program-prefix) with $(test-program-prefix).
29731 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29732 (test_program_prefix): This.
29733 * iconvdata/tst-tables.sh: Likewise.
29734 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29735 $(run-program-prefix) with $(test-program-prefix).
29736 ($(objpfx)tst-translit.out): Likewise.
29737 ($(objpfx)tst-gettext2.out): Likewise.
29738 ($(objpfx)tst-gettext4.out): Likewise.
29739 ($(objpfx)tst-gettext6.out): Likewise.
29740 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29741 (test_program_prefix): This.
29742 * intl/tst-gettext2.sh: Likewise.
29743 * intl/tst-gettext4.sh Likewise.
29744 * intl/tst-gettext6.sh: Likewise.
29745 * intl/tst-translit.sh: Likewise.
29746 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29747 with $(test-program-cmd).
29748 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29749 $(run-program-prefix) with $(test-program-prefix).
29750 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29751 (test_program_prefix): This.
29752 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29753 $(run-program-prefix) with $(test-program-prefix).
29754 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29755 (test_program_prefix): This.
29756 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29757 * posix/Makefile ($(objpfx)globtest.out): Replace
29758 $(run-via-rtld-prefix) and $(test-wrapper) with
29759 $(test-program-prefix) and $(test-via-rtld-prefix).
29760 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29761 $(test-program-prefix).
29762 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29763 $(host-test-program-cmd).
29764 (tst-spawn-ARGS): Likewise.
29765 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29766 $(test-program-prefix).
29767 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29768 (test_via_rtld_prefix): This.
29769 (test_wrapper): Renamed to ...
29770 (test_program_prefix): This.
29771 (run_program_prefix): Replaced by test_program_prefix.
29772 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29773 (test_program_prefix): This.
29774 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29775 with $(host-test-program-cmd).
29776 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29777 $(run-program-prefix) with $(test-program-prefix).
29778 ($(objpfx)tst-printf.out): Likewise.
29779 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29780 $(test-program-cmd).
29781 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29782 (test_program_prefix): This.
29783 * stdio-common/tst-unbputc.sh: Likewise.
29784 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29785 $(run-program-prefix) with $(test-program-prefix).
29786 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29787 (test_program_prefix): This.
29788 * string/Makefile ($(objpfx)tst-svc.out): Replace
29789 $(built-program-cmd) with $(test-program-cmd).
29791 2013-01-11 Andreas Jaeger <aj@suse.de>
29794 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29795 value. Sync with Linux 3.7.
29797 2013-01-10 David S. Miller <davem@davemloft.net>
29799 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29800 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29801 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29803 2013-01-10 Roland McGrath <roland@hack.frob.com>
29805 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29807 * configure: Regenerated.
29809 2013-01-10 David S. Miller <davem@davemloft.net>
29811 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29812 sparc V9 rather than using V8 code.
29813 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29814 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29816 2013-01-10 Roland McGrath <roland@hack.frob.com>
29818 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29819 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29820 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29821 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29822 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29823 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29824 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29825 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29826 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29827 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29828 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29829 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29830 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29831 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29832 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29833 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29834 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29835 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29836 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29837 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29838 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29839 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29840 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29841 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29842 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29843 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29844 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29846 2013-01-10 David S. Miller <davem@davemloft.net>
29848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29850 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29852 * posix/Makefile (tests-static): New variable.
29853 (tests): Add $(tests-static).
29854 (tst-exec-static-ARGS): New variable.
29855 (tst-spawn-static-ARGS): Likewise.
29856 * posix/tst-exec-static.c: New file.
29857 * posix/tst-spawn-static.c: Likewise.
29858 * posix/tst-exec.c: Support run directly.
29859 * posix/tst-spawn.c: Likewise.
29861 2013-01-10 Joseph Myers <joseph@codesourcery.com>
29863 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29865 * math/bits/mathcalls.h (llrint): Likewise.
29866 (llround): Likewise.
29867 * stdlib/stdlib.h (struct drand48_data): Likewise.
29868 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29869 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29870 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29872 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29874 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29875 (elf_greg_t): Likewise.
29876 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29877 (__jmp_buf): Likewise.
29878 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29880 (llrint): Likewise, for all definitions.
29881 (llrintl): Likewise.
29883 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29884 Remove [__GNUC__] condition.
29885 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29886 condition to just [__USE_ISOC99].
29887 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29889 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29892 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29893 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29895 (_POSIX_V6_ILP32_OFF32): Likewise.
29896 (_XBS5_ILP32_OFF32): Likewise.
29897 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29898 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29900 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29902 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29904 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29905 doubles __mpexp_twomm1. Adjust usage.
29906 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29909 2013-01-10 Andreas Schwab <schwab@suse.de>
29912 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29913 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29915 2013-01-09 David S. Miller <davem@davemloft.net>
29918 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29919 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29920 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29921 (TCP_FASTOPEN): Define.
29922 (tcp_repair_opt): New structure.
29923 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29925 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29926 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29927 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29928 (tcp_cookie_transactions): New structure.
29930 2013-01-09 Anton Blanchard <anton@samba.org>
29932 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29933 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29934 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29935 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29937 2013-01-09 Joseph Myers <joseph@codesourcery.com>
29939 * include/features.h (__USE_ANSI): Remove.
29941 2013-01-09 Roland McGrath <roland@hack.frob.com>
29943 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29945 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29947 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29949 * sysdeps/s390/fpu/libm-test-ulps: Update.
29951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29953 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29957 (denorm): Likewise.
29958 (__mp_dbl): Likewise.
29959 (__dbl_mp): Likewise.
29960 (add_magnitudes): Likewise.
29961 (sub_magnitudes): Likewise.
29967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29971 (denorm): Likewise.
29972 (__mp_dbl): Likewise.
29973 (__dbl_mp): Likewise.
29974 (add_magnitudes): Likewise.
29975 (sub_magnitudes): Likewise.
29981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29985 (denorm): Likewise.
29986 (__mp_dbl): Likewise.
29987 (__dbl_mp): Likewise.
29988 (add_magnitudes): Likewise.
29989 (sub_magnitudes): Likewise.
29996 2013-01-08 Joseph Myers <joseph@codesourcery.com>
29998 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29999 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30000 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30001 2 && __USE_EXTERN_INLINES]: Likewise.
30003 2013-01-08 Andreas Jaeger <aj@suse.de>
30006 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30008 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30009 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30011 2013-01-07 Anton Blanchard <anton@samba.org>
30013 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30014 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30015 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30016 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30017 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30018 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30019 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30020 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30022 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30023 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30024 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30025 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30026 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30027 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30028 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30029 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30030 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30031 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30032 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30033 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30034 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30035 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30036 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30037 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30038 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30039 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30040 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30041 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30042 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30043 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30045 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30046 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30047 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30048 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30049 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30050 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30051 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30052 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30053 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30055 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30057 2013-01-07 Joseph Myers <joseph@codesourcery.com>
30059 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30060 (__MALLOC_PMT): Likewise.
30061 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30062 [__GNUC__], only on [_LIBC].
30063 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30064 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30065 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30066 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30067 forward declaration.
30068 (realloc_hook_ini): Likewise.
30069 (memalign_hook_ini): Likewise.
30070 (__libc_memalign): Do not use __MALLOC_PMT in variable
30072 (__libc_valloc): Likewise.
30073 (__libc_pvalloc): Likewise.
30074 (__libc_calloc): Likewise.
30075 (__posix_memalign): Likewise.
30078 * math/s_casinh.c: Include <float.h>.
30079 (__casinh): Do not do computation with squaring and square root
30080 for large arguments.
30081 * math/s_casinhf.c: Include <float.h>.
30082 (__casinhf): Do not do computation with squaring and square root
30083 for large arguments.
30084 * math/s_casinhl.c: Include <float.h>.
30085 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30086 (__casinhl): Do not do computation with squaring and square root
30087 for large arguments.
30088 * math/libm-test.inc (casin_test): Add more tests.
30089 (casinh_test): Likewise.
30090 * sysdeps/i386/fpu/libm-test-ulps: Update.
30091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30093 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30095 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30096 (__x86_64_raw_data_cache_size): Likewise.
30097 (__x86_64_data_cache_size_half): Likewise.
30098 (__x86_64_raw_data_cache_size_half): Likewise.
30099 (__x86_64_shared_cache_size): Likewise.
30100 (__x86_64_raw_shared_cache_size): Likewise.
30101 (__x86_64_shared_cache_size_half): Likewise.
30102 (__x86_64_raw_shared_cache_size_half): Likewise.
30103 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30105 (__x86_data_cache_size): This.
30106 (__x86_64_raw_data_cache_size): Renamed to ...
30107 (__x86_raw_data_cache_size): This.
30108 (__x86_64_data_cache_size_half): Renamed to ...
30109 (__x86_data_cache_size_half): This.
30110 (__x86_64_raw_data_cache_size_half): Renamed to ...
30111 (__x86_raw_data_cache_size_half): This.
30112 (__x86_64_shared_cache_size): Renamed to ...
30113 (__x86_shared_cache_size): This.
30114 (__x86_64_raw_shared_cache_size): Renamed to ...
30115 (__x86_raw_shared_cache_size): This.
30116 (__x86_64_shared_cache_size_half): Renamed to ...
30117 (__x86_shared_cache_size_half): This.
30118 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30119 (__x86_raw_shared_cache_size_half): This.
30120 * sysdeps/x86_64/memcpy.S: Updated.
30121 * sysdeps/x86_64/memset.S: Likewise.
30122 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30123 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30124 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30126 2013-01-04 David S. Miller <davem@davemloft.net>
30128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30130 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30132 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30133 1 to avoid redefinition warning.
30134 (__USE_GNU): Don't define.
30135 (init_signaling_nan): Protoize.
30137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30139 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30141 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30143 (__cpymn): Likewise.
30144 (norm): Remove commented code.
30145 (denorm): Likewise.
30146 (__mp_dbl): Likewise.
30148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30149 (__cpymn): Likewise.
30150 (norm): Remove commented code.
30151 (denorm): Likewise.
30152 (__mp_dbl): Likewise.
30155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30156 mp_no value for 1.0 and 2.0.
30157 (norm): Use RADIXI instead of radixi.d.
30158 (denorm): Likewise.
30159 (__mul): Use 0.0 instead of zero.d.
30160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30161 mp_no value for 1.0 and 2.0.
30162 (norm): Use RADIXI instead of radixi.d.
30163 (denorm): Likewise.
30164 (__mul): Use 0.0 instead of zero.d.
30166 2013-01-04 Joseph Myers <joseph@codesourcery.com>
30169 * math/s_casinh.c (__casinh): Reduce finite argument to first
30170 quadrant then set signs of results at the end.
30171 * math/s_casinhf.c (__casinhf): Likewise.
30172 * math/s_casinhl.c (__casinhl): Likewise.
30173 * math/libm-test.inc (casin_test): Add more tests.
30174 (casinh_test): Likewise.
30175 * sysdeps/i386/fpu/libm-test-ulps: Update.
30176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30178 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30180 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30182 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30184 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30186 (denorm): Likewise.
30187 (__mp_dbl): Likewise.
30190 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30191 and adjust the header comment.
30193 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30194 variable name from declaration.
30196 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30199 Initialize COMMON_CPUID_INDEX_7 element.
30200 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30201 (CPUID_RTM): Likewise.
30202 (HAS_RTM): Likewise.
30203 (COMMON_CPUID_INDEX_7): New enum.
30205 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30208 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30209 size is zero, record memory as freed.
30211 2013-01-03 Andreas Jaeger <aj@suse.de>
30213 * po/ia.po: Add new Interlingua translation.
30215 2012-01-03 Allan McRae <allan@archlinux.org>
30217 * locale/programs/localedef.c: Fix description of '--posix' flag.
30219 2013-01-02 Joseph Myers <joseph@codesourcery.com>
30221 * NEWS: Update dates in second copyright notice.
30222 * README: Update copyright dates in example.
30223 * manual/libc.texinfo: Update copyright dates.
30224 * scripts/test-installation.pl: Update copyright date in --version
30227 * hurd/ctty-input.c: Fix copyright notice formatting.
30228 * hurd/ctty-output.c: Likewise.
30229 * hurd/dtable.c: Likewise.
30230 * hurd/hurd-raise.c: Likewise.
30231 * hurd/hurdprio.c: Likewise.
30232 * hurd/msgportdemux.c: Likewise.
30233 * misc/sys/file.h: Likewise.
30234 * misc/sys/ioctl.h: Likewise.
30235 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30236 * sysdeps/mach/hurd/chdir.c: Likewise.
30237 * sysdeps/mach/hurd/fchdir.c: Likewise.
30238 * sysdeps/mach/hurd/rename.c: Likewise.
30239 * sysdeps/mach/hurd/rmdir.c: Likewise.
30240 * sysdeps/mach/hurd/seekdir.c: Likewise.
30241 * sysdeps/mach/hurd/setsid.c: Likewise.
30242 * sysdeps/posix/wait3.c: Likewise.
30244 * All files with FSF copyright notices: Update copyright dates
30245 using scripts/update-copyrights.
30246 * intl/plural.c: Regenerated.
30247 * locale/programs/charmap-kw.h: Likewise.
30248 * locale/programs/locfile-kw.h: Likewise.
30250 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30252 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30255 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30256 calculation loop and add branch prediction.
30258 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30259 check access beyond bounds of m1np.
30261 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30263 (__inv): Remove local variable MPTWO to use the global
30265 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30266 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30268 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30269 MP3HALFS static const.
30271 2013-01-01 David S. Miller <davem@davemloft.net>
30273 * po/ca.po: Update from translation team.
30275 2013-01-01 Joseph Myers <joseph@codesourcery.com>
30277 * scripts/update-copyrights: New file.
30278 * Makeconfig: Reformat copyright notice.
30279 * ctype/ctype.h: Likewise.
30280 * debug/swprintf_chk.c: Likewise.
30281 * elf/dl-cache.c: Likewise.
30282 * elf/dl-debug.c: Likewise.
30283 * elf/dl-object.c: Likewise.
30284 * grp/initgroups.c: Likewise.
30285 * hurd/Makefile: Likewise.
30286 * hurd/hurd/signal.h: Likewise.
30287 * hurd/hurdfault.c: Likewise.
30288 * hurd/hurdioctl.c: Likewise.
30289 * hurd/hurdlookup.c: Likewise.
30290 * hurd/intr-msg.c: Likewise.
30291 * iconv/gconv_open.c: Likewise.
30292 * libio/swprintf.c: Likewise.
30293 * locale/lc-ctype.c: Likewise.
30294 * locale/nl_langinfo.c: Likewise.
30295 * mach/Machrules: Likewise.
30296 * mach/Makefile: Likewise.
30297 * malloc/obstack.h: Likewise.
30298 * manual/Makefile: Likewise.
30299 * manual/tsort.awk: Likewise.
30300 * misc/bits/stab.def: Likewise.
30301 * nis/nis_print_group_entry.c: Likewise.
30302 * nis/nis_table.c: Likewise.
30303 * nis/nss_compat/compat-pwd.c: Likewise.
30304 * nis/nss_compat/compat-spwd.c: Likewise.
30305 * po/Makefile: Likewise.
30306 * posix/fnmatch.c: Likewise.
30307 * posix/regex.h: Likewise.
30308 * resolv/Makefile: Likewise.
30309 * resolv/nss_dns/dns-network.c: Likewise.
30310 * resolv/res_hconf.c: Likewise.
30311 * scripts/gen-sorted.awk: Likewise.
30312 * soft-fp/soft-fp.h: Likewise.
30313 * stdio-common/printf.h: Likewise.
30314 * stdlib/monetary.h: Likewise.
30315 * stdlib/random.c: Likewise.
30316 * stdlib/random_r.c: Likewise.
30317 * sysdeps/generic/Makefile: Likewise.
30318 * sysdeps/gnu/Makefile: Likewise.
30319 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30320 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30321 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30322 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30323 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30324 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30325 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30326 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30327 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30328 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30329 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30330 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30331 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30332 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30333 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30334 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30335 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30336 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30337 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30339 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30340 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30341 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30342 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30343 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30344 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30345 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30346 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30347 * sysdeps/mach/hurd/errnos.awk: Likewise.
30348 * sysdeps/mach/hurd/fork.c: Likewise.
30349 * sysdeps/mach/hurd/getcwd.c: Likewise.
30350 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30351 * sysdeps/mach/hurd/mmap.c: Likewise.
30352 * sysdeps/mach/hurd/utimes.c: Likewise.
30353 * sysdeps/mach/hurd/xmknod.c: Likewise.
30354 * sysdeps/posix/profil.c: Likewise.
30355 * sysdeps/posix/readdir_r.c: Likewise.
30356 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30357 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30358 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30359 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30361 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30362 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30363 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30365 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30366 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30367 * sysdeps/pthread/lio_listio.c: Likewise.
30368 * sysdeps/sparc/dl-procinfo.h: Likewise.
30369 * sysdeps/unix/i386/sysdep.S: Likewise.
30370 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30371 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30372 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30373 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30375 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30376 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30377 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30378 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30379 * sysdeps/wordsize-32/divdi3.c: Likewise.
30380 * time/sys/time.h: Likewise.
30381 * wcsmbs/Makefile: Likewise.
30383 2013-01-01 David S. Miller <davem@davemloft.net>
30385 * po/fr.po: Update from translation team.
30387 * catgets/gencat.c: Update copyright year.
30388 * csu/version.c: Likewise.
30389 * debug/catchsegv.sh: Likewise.
30390 * debug/pcprofiledump.c: Likewise.
30391 * debug/xtrace.sh: Likewise.
30392 * elf/ldconfig.c: Likewise.
30393 * elf/ldd.bash.in: Likewise.
30394 * elf/pldd.c: Likewise.
30395 * elf/sotruss.ksh: Likewise.
30396 * elf/sprof.c: Likewise.
30397 * iconv/iconv_prog.c: Likewise.
30398 * iconv/iconvconfig.c: Likewise.
30399 * locale/programs/locale.c: Likewise.
30400 * locale/programs/localedef.c: Likewise.
30401 * login/programs/pt_chown.c: Likewise.
30402 * malloc/memusage.sh: Likewise.
30403 * malloc/memusagestat.c: Likewise.
30404 * malloc/mtrace.pl: Likewise.
30405 * nscd/nscd.c: Likewise.
30406 * nss/getent.c: Likewise.
30407 * nss/makedb.c: Likewise.
30408 * posix/getconf.c: Likewise.
30410 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30412 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30415 2012-12-30 Mike Frysinger <vapier@gentoo.org>
30417 * math/bits/mathcalls.h (modf): Use __nonnull.
30419 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30421 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30422 (split): Use macro CN instead of the bare value.
30423 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30425 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30426 instead of the bare value.
30427 (power1): Likewise.
30429 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30431 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30433 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30435 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30437 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30438 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30439 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30440 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30442 2012-12-28 Andreas Jaeger <aj@suse.de>
30444 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30445 values are from Linux 3.7.
30447 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30448 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30450 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30452 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30455 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30457 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30458 variables with preprocessor constants.
30459 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30460 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30461 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30463 2012-12-27 Bruno Haible <bruno@clisp.org>
30466 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30469 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30472 and use variable directly.
30473 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30475 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30477 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30478 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30480 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30482 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30483 include directive. Remove local variable MPONE.
30484 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30485 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30486 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30488 2012-12-25 David S. Miller <davem@davemloft.net>
30490 * version.h (RELEASE): Set to "development".
30491 (VERSION): Set to "2.17.90".
30492 * NEWS: Add 2.18 section.
30494 2012-12-21 David S. Miller <davem@davemloft.net>
30496 * po/hr.po: Update from translation team.
30498 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30500 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30502 2012-12-19 Steve Ellcey <sellcey@mips.com>
30504 * NEWS: Mention new memcpy for MIPS.
30506 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30508 * manual/contrib.texi (Contributors): Spelling correction.
30510 2012-12-15 David S. Miller <davem@davemloft.net>
30512 * po/ru.po: Update from translation team.
30514 2012-12-13 David S. Miller <davem@davemloft.net>
30516 * NEWS: Mention IFUNC testsuite enhancements.
30518 * po/pl.po: Update from translation team.
30519 * po/bg.po: Likewise.
30521 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30522 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30524 2012-12-11 David S. Miller <davem@davemloft.net>
30526 * po/sv.po: Update from translation team.
30528 * po/vi.po: Update from translation team.
30530 * po/cs.po: Update from translation team.
30532 * po/de.po: Update from translation team.
30533 * po/eo.po: Likewise.
30534 * po/nl.po: Likewise.
30536 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30539 * manual/argp.texi (Argp Helper Functions): Move node to follow
30540 Argp Parsing State.
30543 * manual/conf.texi (Limits on File System Capacity): Mention if
30544 terminating null is included in the max size.
30546 2012-12-10 Andreas Jaeger <aj@suse.de>
30548 * po/cs.po: Update from translation team.
30550 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30552 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30553 void pointer and cast to uintptr_t.
30554 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30556 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30557 * sysdeps/s390/s390-64/memset.S: Likewise.
30559 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
30562 * menual/message.texi (Message Translation): Fix typos.
30563 (Helper programs for gettext): Likewise.
30565 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30568 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30571 2012-12-07 David S. Miller <davem@davemloft.net>
30573 * po/libc.pot: Update.
30575 2012-12-07 Richard Henderson <rth@redhat.com>
30578 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30579 normal/normal case to before the switch.
30580 (_FP_DIV): Likewise.
30582 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30583 Mike Frysinger <vapier@gentoo.org>
30585 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30586 check for __NR_fadvise64_64.
30588 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30590 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30591 0, not just to plain "0" as a statement.
30592 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30595 2012-12-06 Joseph Myers <joseph@codesourcery.com>
30597 * NEWS: Use sourceware.org in Bugzilla URL.
30599 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30602 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30604 * stdio-common/tst-put-error.c (do_test): Add newline to the
30605 padded test to ensure flush.
30607 2012-12-05 Jeff Law <law@redhat.com>
30609 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30611 2012-12-05 Joseph Myers <joseph@codesourcery.com>
30613 * README: Don't refer to ports add-on as distributed separately.
30614 Mention AArch64 in list of systems supported in the ports add-on.
30616 * LICENSES: Add more non-FSF copyright and license notices.
30618 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30621 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30623 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30624 10000 as width of padded output.
30626 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30628 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30630 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30631 variable LX with __attribute__ ((unused)).
30632 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30634 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30635 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30636 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30637 with __attribute__ ((unused)).
30639 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
30641 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30643 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30645 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30646 (CFLAGS-nldbl-acos.c): New variable.
30647 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30648 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30649 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30650 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30651 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30652 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30653 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30654 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30655 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30656 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30657 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30658 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30659 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30660 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30661 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30662 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30663 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30664 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30665 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30666 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30667 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30668 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30669 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30670 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30671 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30672 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30673 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30674 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30675 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30676 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30677 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30678 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30679 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30680 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30681 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30682 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30683 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30684 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30685 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30686 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30687 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30688 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30689 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30690 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30691 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30692 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30693 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30694 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30695 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30696 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30697 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30698 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30699 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30700 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30701 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30702 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30703 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30704 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30705 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30706 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30707 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30708 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30709 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30710 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30711 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30712 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30713 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30714 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30715 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30716 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30717 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30718 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30719 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30720 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30721 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30722 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30723 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30724 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30725 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30726 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30727 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30728 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30729 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30730 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30731 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30732 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30733 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30734 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30735 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30736 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30737 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30738 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30739 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30740 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30741 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30742 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30743 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30746 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30749 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30750 whole low double instead of just low 47 bits when splitting values
30753 2012-12-03 Allan McRae <allan@archlinux.org>
30755 * manual/stdio.texi (Predefined Printf Handlers): Remove
30756 @hsep and @vsep usage.
30758 2012-12-03 Mike Frysinger <vapier@gentoo.org>
30760 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30761 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30763 2012-12-03 Jeff Law <law@redhat.com>
30765 * time/sys/time.h (settimeofday): Do not mark TV argument
30768 2012-12-01 Mike Frysinger <vapier@gentoo.org>
30770 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30771 when currently writing and seek to current position when not.
30772 * libio/Makefile (tests): Remove bug-fclose1.
30773 * libio/bug-fclose1.c: Delete.
30775 2012-12-01 Joseph Myers <joseph@codesourcery.com>
30777 * manual/arith.texi (feenableexcept): Fix typo.
30778 (fedisableexcept): Likewise.
30780 2012-11-30 Roland McGrath <roland@hack.frob.com>
30782 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30783 second, differently-typed declaration, rather than a cast.
30785 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30787 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30788 * include/rpc/svc.h: ... here.
30790 2012-11-30 Aurelien Jarno <aurel32@debian.org>
30793 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30794 depending n and resplen2 to catch cases where answer
30797 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30799 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30800 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30802 2012-11-29 Mike Frysinger <vapier@gentoo.org>
30804 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30806 2012-11-29 Roland McGrath <roland@hack.frob.com>
30808 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30810 2012-11-28 Jeff Law <law@redhat.com>
30813 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30814 dataset_temporary. Track alloca usage into alloca_used.
30815 If dataset is large allocate and release it via malloc/free.
30817 2012-06-04 Florian Weimer <fweimer@redhat.com>
30820 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30822 2012-11-28 David S. Miller <davem@davemloft.net>
30824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30826 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30829 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30830 of pi/2 rounded to nearest to 64 bits.
30831 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30832 nearest to 64 bits.
30833 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30836 2012-11-28 Jeff Law <law@redhat.com>
30837 Martin Osvald <mosvald@redhat.com>
30840 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30841 * sunrpc/svc.c: Include time.h.
30842 (__svc_accept_failed): New function.
30843 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30844 any reason other than EINTR, call __svc_accept_failed.
30845 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30846 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30848 2012-11-28 Andreas Schwab <schwab@suse.de>
30850 * scripts/abilist.awk: Also handle indirect functions in .opd
30853 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30856 * sysdeps/x86/fpu/powl_helper.c: New file.
30857 * sysdeps/x86/fpu/Makefile: Likewise.
30858 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30860 (__ieee754_powl): Use __powl_helper for finite arguments except
30861 integer exponents below 8.
30862 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30864 (__ieee754_powl): Use __powl_helper for finite arguments except
30865 integer exponents below 8.
30866 * math/libm-test.inc (pow_test): Add more tests and enable some
30867 previously disabled tests.
30868 * sysdeps/i386/fpu/libm-test-ulps: Update.
30869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30871 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30872 Carlos O'Donell <carlos_odonell@mentor.com>
30874 * nss/makedb.c (is_prime): Assert that input is odd and greater
30875 than 4. Note that fact in a comment too.
30876 (next_prime): Add 4 to input.
30878 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30881 * libio/Makefile (tests): Add test case tst-fwrite-error.
30882 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30883 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30884 * libio/tst-fwrite-error.c: New test case.
30886 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30888 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30889 before casting to void *.
30890 * include/libc-internal.h (__pointer_type): New macro.
30891 (__integer_if_pointer_type_sub): Likewise.
30892 (__integer_if_pointer_type): Likewise.
30893 (cast_to_integer): Likewise.
30894 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30895 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30896 before casting to atomic64_t.
30897 (atomic_exchange_acq): Likewise.
30898 (__arch_exchange_and_add_body): Likewise.
30899 (__arch_add_body): Likewise.
30900 (atomic_add_negative): Likewise.
30901 (atomic_add_zero): Likewise.
30903 2012-11-26 Joseph Myers <joseph@codesourcery.com>
30905 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30906 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30907 (add_fdes): Likewise.
30908 (linear_search_fdes): Likewise.
30909 (binary_search_unencoded_fdes): Likewise.
30911 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30913 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30915 2012-11-24 Adam Conrad <adconrad@0c3.net>
30917 * configure.in: Autodetect C++ header directories.
30918 * configure: Regenerated.
30920 2012-11-23 Mike Frysinger <vapier@gentoo.org>
30922 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30924 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30928 2012-11-22 Joseph Myers <joseph@codesourcery.com>
30930 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30931 LDBL_MANT_DIG == 106]: Disable some tests.
30932 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30934 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30938 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30939 input for small inputs. Return +/- pi/2 for large inputs.
30940 * math/libm-test.inc (atan_test): Add more tests.
30942 * sysdeps/generic/unwind-dw2-fde-glibc.c
30943 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30944 __attribute__ ((unused)).
30947 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30948 x * y if x and y are nonzero and z is zero.
30951 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30952 nonzero exponents with absolute value below 0x1p-117 to +/-
30956 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30957 up arguments below 2**-450, not just those below 2**-500.
30958 * math/libm-test.inc (hypot_test): Add another test.
30961 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30962 Return a+b for ratio over 2**120, not 2**60.
30963 * math/libm-test.inc (hypot_test): Add another test.
30965 * math/libm-test.inc (clog_test): Use
30966 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30967 (clog10_test): Likewise.
30970 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30972 2012-11-22 Andreas Schwab <schwab@suse.de>
30974 * sysdeps/i386/fpu/libm-test-ulps: Update.
30976 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30978 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30979 printf output with newline.
30981 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30984 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30985 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30986 -z nodlopen, -z initfirst and -z execstack support.
30987 * configure: Regenerated.
30989 * elf/elf.h (DF_1_NODIRECT): New macro.
30990 (DF_1_IGNMULDEF): Likewise.
30991 (DF_1_NOKSYMS): Likewise.
30992 (DF_1_NOHDR): Likewise.
30993 (DF_1_EDITED): Likewise.
30994 (DF_1_NORELOC): Likewise.
30995 (DF_1_SYMINTPOSE): Likewise.
30996 (DF_1_GLOBAUDIT): Likewise.
30997 (DF_1_SINGLETON): Likewise.
30998 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30999 DT_1_SUPPORTED_MASK bits.
31000 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31002 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31004 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31006 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31008 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31011 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31012 (sendmmsg): Move declarations...
31013 * socket/sys/socket.h: ... here.
31014 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31015 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31017 * socket/recvmmsg.c: ... this new file.
31018 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31019 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31020 definition of __sendmmsg hidden.
31021 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31022 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31023 Move ENOSYS stub into and include it from...
31024 * socket/sendmmsg.c: ... this new file.
31025 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31026 (sysdep_routines): Move recvmmsg and sendmmsg...
31027 * socket/Makefile (routines): ... here.
31028 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31029 (GLIBC_PRIVATE): Add __sendmmsg.
31030 * include/sys/socket.h (__sendmmsg): Add declarations.
31031 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31034 2012-11-20 Joseph Myers <joseph@codesourcery.com>
31036 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31037 variable I1 with __attribute__ ((unused)).
31038 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31040 2012-11-19 Joseph Myers <joseph@codesourcery.com>
31042 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31043 DUMMY variables with __attribute__ ((unused)).
31045 * bits/byteswap.h: Include <bits/types.h>.
31046 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31048 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31050 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31051 string_t. Do not manually set errno.
31052 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31053 length with __strnlen. Make sure to both set errno and return it on
31056 2012-11-19 David S. Miller <davem@davemloft.net>
31058 With help from Joseph Myers.
31059 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31060 very large arguments properly.
31061 * math/libm-test.inc (atan_test): New tests.
31062 (atan2_test): New tests.
31063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31066 2012-11-19 Joseph Myers <joseph@codesourcery.com>
31069 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31072 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31073 [POSIX] (EADDRNOTAVAIL): Likewise.
31074 [POSIX] (EAFNOSUPPORT): Likewise.
31075 [POSIX] (EALREADY): Likewise.
31076 [POSIX] (ECONNABORTED): Likewise.
31077 [POSIX] (ECONNREFUSED): Likewise.
31078 [POSIX] (ECONNRESET): Likewise.
31079 [POSIX] (EDESTADDRREQ): Likewise.
31080 [POSIX] (EDQUOT): Likewise.
31081 [POSIX] (EHOSTUNREACH): Likewise.
31082 [POSIX] (EIDRM): Likewise.
31083 [POSIX] (EISCONN): Likewise.
31084 [POSIX] (ELOOP): Likewise.
31085 [POSIX] (EMULTIHOP): Likewise.
31086 [POSIX] (ENETDOWN): Likewise.
31087 [POSIX] (ENETUNREACH): Likewise.
31088 [POSIX] (ENOBUFS): Likewise.
31089 [POSIX] (ENODATA): Likewise.
31090 [POSIX] (ENOLINK): Likewise.
31091 [POSIX] (ENOMSG): Likewise.
31092 [POSIX] (ENOPROTOOPT): Likewise.
31093 [POSIX] (ENOSR): Likewise.
31094 [POSIX] (ENOSTR): Likewise.
31095 [POSIX] (ENOTCONN): Likewise.
31096 [POSIX] (ENOTSOCK): Likewise.
31097 [POSIX] (EOPNOTSUPP): Likewise.
31098 [POSIX] (EOVERFLOW): Likewise.
31099 [POSIX] (EPROTO): Likewise.
31100 [POSIX] (EPROTONOSUPPORT): Likewise.
31101 [POSIX] (EPROTOTYPE): Likewise.
31102 [POSIX] (ESTALE): Likewise.
31103 [POSIX] (ETIME): Likewise.
31104 [POSIX] (ETXTBSY): Likewise.
31105 [POSIX] (EWOULDBLOCK): Likewise.
31106 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31107 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31108 [POSIX] (SEEK_CUR): Likewise.
31109 [POSIX] (SEEK_END): Likewise.
31110 [POSIX || UNIX98] (mode_t): Do not require.
31111 [POSIX] (off_t): Likewise.
31112 [POSIX] (pid_t): Likewise.
31113 [POSIX] (sys/stat.h): Do not allow header.
31114 [POSIX] (unistd.h): Likewise.
31115 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31116 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31117 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31118 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31120 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31121 sigevent): Specify elements.
31122 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31124 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31125 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31127 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31128 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31129 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31130 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31131 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31132 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31133 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31134 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31135 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31136 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31137 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31138 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31139 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31140 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31142 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31144 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31146 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31148 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31149 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31150 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31151 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31152 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31153 Specify lower bound on value.
31154 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31155 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31156 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31157 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31158 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31159 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31160 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31161 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31163 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31165 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31166 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31167 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31168 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31169 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31170 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31171 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31172 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31173 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31174 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31175 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31176 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31177 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31178 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31179 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31180 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31182 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31184 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31185 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31186 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31187 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31188 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31189 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31191 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31192 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31193 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31194 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31195 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31196 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31197 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31199 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31200 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31201 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31202 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31203 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31204 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31205 specify as optional.
31206 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31207 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31208 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31209 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31210 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31211 [XPG3] (NL_LANGMAX): Likewise.
31212 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31213 [POSIX || XPG3] (NL_NMAX): Likewise.
31214 [POSIX || XPG3] (NL_SETMAX): Likewise.
31215 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31216 [XPG3] (NZERO): Likewise.
31217 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31218 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31219 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31220 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31221 (REG_ERANGE): Expect.
31222 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31224 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31225 Use (void) in prototype.
31226 [POSIX] (*_t): Allow.
31227 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31228 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31229 (WRDE_BADVAL): Expect.
31231 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31233 [XPG3 || XPG4] (O_RSYNC): Likewise.
31234 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31236 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31237 [XPG3 || XPG4] (sigqueue): Likewise.
31238 [XPG3 || XPG4] (sigtimedwait): Likewise.
31239 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31240 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31241 [XPG3 || XPG4] (vsnprintf): Likewise.
31242 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31244 [XPG3 || XPG4] (blksize_t): Likewise.
31245 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31247 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31248 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31249 [XPG3 || XPG4] (struct itimerspec): Likewise.
31250 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31251 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31252 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31253 [XPG3 || XPG4] (clockid_t): Likewise.
31254 [XPG3 || XPG4] (timer_t): Likewise.
31255 [XPG3 || XPG4] (clock_getres): Likewise.
31256 [XPG3 || XPG4] (clock_gettime): Likewise.
31257 [XPG3 || XPG4] (clock_settime): Likewise.
31258 [XPG3 || XPG4] (nanosleep): Likewise.
31259 [XPG3 || XPG4] (timer_create): Likewise.
31260 [XPG3 || XPG4] (timer_delete): Likewise.
31261 [XPG3 || XPG4] (timer_gettime): Likewise.
31262 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31263 [XPG3 || XPG4] (timer_settime): Likewise.
31264 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31265 [XPG3 || XPG4] (getlogin_r): Likewise.
31266 [XPG3 || XPG4] (pread): Likewise.
31267 [XPG3 || XPG4] (pthread_atfork): Likewise.
31268 [XPG3 || XPG4] (pwrite): Likewise.
31271 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31274 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31276 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31277 finalizing MALLSTREAM.
31279 * sysdeps/mach/hurd/syncfs.c: New file.
31281 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31284 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31285 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31286 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31287 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31288 (_nss_dns_gethostbyname4_r): Likewise.
31289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31290 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31292 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31295 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31297 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31299 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31300 * elf/cache.c (print_entry): Print ",AArch64" for
31303 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31304 * elf/cache.c (print_entry): Print ",hard-float" for
31307 2012-11-18 David S. Miller <davem@davemloft.net>
31309 With help from Joseph Myers.
31310 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31312 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31314 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31315 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31317 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31318 * math/libm-test.inc (y0_test): New tests.
31319 (y1_test): New tests.
31320 * sysdeps/i386/fpu/libm-test-ulps: Update.
31321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31324 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31326 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31328 * configure: Regenerated.
31330 2012-11-17 David S. Miller <davem@davemloft.net>
31333 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31334 nonzero exponents with absolute value below 0x1p-128 to +/-
31337 2012-11-17 Joseph Myers <joseph@codesourcery.com>
31339 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31341 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31343 * posix/getconf-speclist.c: New file.
31344 * posix/posix-envs.def: Likewise.
31345 * posix/confstr.c (START_ENV_GROUP): New macro.
31346 (END_ENV_GROUP): Likewise.
31347 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31348 (KNOWN_PRESENT_ENV_STRING): Likewise.
31349 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31350 (UNKNOWN_ENVIRONMENT): Likewise.
31351 (confstr): Include posix-envs.def instead of handling
31352 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31353 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31354 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31355 (END_ENV_GROUP): Likewise.
31356 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31357 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31358 (UNKNOWN_ENVIRONMENT): Likewise.
31359 (__sysconf): Include posix-envs.def instead of handling associated
31360 cases directly here.
31361 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31362 preprocessing getconf-speclist.c rather than running getconf or
31363 generating empty file.
31365 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31367 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31369 2012-11-16 Andrej Lajovic <natrij@gmail.com>
31372 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31374 2012-11-16 David S. Miller <davem@davemloft.net>
31376 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31377 smaller than LDBL_EPSILON/2.0L, just return xm1.
31379 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31381 * elf/tst-array1.c (init): Set constructor priority to 1000.
31382 (fini): Set destructor priority to 1000.
31383 * elf/tst-array2dep.c: Likewise.
31385 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31388 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31389 (_IO_new_file_xsputn): Also return EOF if none of the input
31390 data was written when overflow failed.
31391 * libio/iopadn.c (_IO_padn): Likewise.
31392 * libio/iowpadn.c (_IO_wpadn): Likewise.
31393 * stdio-common/tst-put-error.c: Add copyright notice.
31394 (do_test): Add case for printing padded string.
31395 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31396 _IO_padn returned error.
31397 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31398 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31401 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31403 * libio/libioP.h: Add comment note that the references to C++
31404 bits are now obsolete.
31406 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31408 * math/libm-test.inc (check_complex): Use asprintf.
31410 2012-11-14 Joseph Myers <joseph@codesourcery.com>
31412 * debug/pcprofiledump.c (print_version): Update copyright year.
31413 * malloc/memusagestat.c (print_version): Likewise.
31415 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31418 * elf/Makefile (tests): Add tst-audit8.
31419 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31420 ($(objpfx)tst-audit8.out): New target.
31421 (tst-audit8-ENV): New variable.
31422 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31423 audit if l_reloc_result is NULL.
31424 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31425 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31426 * elf/tst-audit8.c: New file.
31428 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31430 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31431 * misc/Makefile (CFLAGS-select.c): Define.
31432 * posix/Makefile (CFLAGS-pause.c): Define.
31434 2012-11-13 David S. Miller <davem@davemloft.net>
31436 * crypt/Makefile: Move test targets after toplevel Rules
31437 inclusion. Grab any necessary sysdep routines when linking.
31438 * crypt/md5.c (md5_process_block): Remove define, we will always
31439 name it __md5_process_block.
31440 (md5_finish_ctx): Update md5_process_block call.
31441 (md5_stream): Likewise.
31442 (md5_process_bytes): Likewise.
31443 (md5_process_block): Rename to __md5_process_block and move to ...
31444 * crypt/md5-block.c: ... here.
31445 * crypt/sha256.c (sha256_process_block): Move to ...
31446 * crypt/sha256-block.c: ... here.
31447 * crypt/sha512.c (sha512_process_block): Move to ...
31448 * crypt/sha512-block.c: ... here.
31449 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31451 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31452 * sysdeps/sparc/sparc64/multiarch/Makefile
31453 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31455 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31456 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31458 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31459 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31460 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31461 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31462 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31463 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31464 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31465 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31466 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31468 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31469 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31471 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31473 2012-11-13 Joseph Myers <joseph@codesourcery.com>
31475 * timezone/tzselect.ksh: Update from tzcode git revision
31476 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31477 * timezone/zdump.c: Likewise.
31478 * timezone/zic.c: Likewise.
31479 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31480 in TZVERSION setting, not $(PKGVERSION).
31481 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31482 REPORT_BUGS_TO settings.
31485 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31488 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31490 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31491 detection to immediately after _FP_ROUND().
31492 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31495 2012-11-11 David S. Miller <davem@davemloft.net>
31497 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31499 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31500 __close rather than their public counterparts.
31502 2012-11-10 Joseph Myers <joseph@codesourcery.com>
31504 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31506 [UNIX98] (sem_timedwait): Do not expect.
31507 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31508 [XPG4 || UNIX98] (sockatmark): Do not expect.
31509 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31510 (clock_getcpuclockid): Do not expect.
31511 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31512 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31514 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31515 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31516 [UNIX98] (vwscanf): Likewise.
31517 [UNIX98] (vswscanf): Likewise.
31519 2012-11-09 Joseph Myers <joseph@codesourcery.com>
31521 * timezone/version.h: Remove file.
31522 * timezone/README: Do not refer to version.h.
31523 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31524 $(objpfx)version.h.
31525 ($(objpfx)zdump.o): Likewise.
31526 ($(objpfx)version.h): New target.
31528 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31530 * timezone/README: Don't mention modification to tzselect.ksh.
31531 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31532 work on unmodified tzselect.ksh. Substitute version numbers in
31535 * Makefile (format-me): Remove.
31536 (INSTALL): Adjust indentation. Use commands directly instead of
31537 using $(format-me).
31539 * aclocal.m4 (ACX_PKGVERSION): New macro.
31540 (ACX_BUGURL): Likewise.
31541 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31542 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31543 (REPORT_BUGS_TO): Likewise.
31544 * configure: Regenerated.
31545 * config.h.in (PKGVERSION): New macro.
31546 (REPORT_BUGS_TO): Likewise.
31547 * config.make.in (PKGVERSION): New variable.
31548 (PKGVERSION_TEXI): Likewise.
31549 (REPORT_BUGS_TO): Likewise.
31550 (REPORT_BUGS_TEXI): Likewise.
31551 * Makefile (format-me): Use -I$(common-objpfx)manual.
31552 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31553 ($(common-objpfx)manual/%): New target.
31554 (manual/%): Remove target.
31555 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31556 (print_version): Use PKGVERSION.
31557 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31558 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31559 and REPORT_BUGS_TO.
31560 ($(objpfx)xtrace): Likewise.
31561 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31562 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31563 (print_version): Use PKGVERSION.
31564 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31565 (do_version): Use PKGVERSION.
31566 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31568 (common-ldd-rewrite): Likewise.
31569 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31570 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31571 (print_version): Use PKGVERSION.
31572 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31573 * elf/pldd.c (argp_program_bug_address): Remove variable.
31574 (more_help): New function.
31575 (argp): Use more_help.
31576 (print_version): Use PKGVERSION.
31577 * elf/sln.c (main): Use PKGVERSION.
31578 (usage): Use REPORT_BUGS_TO.
31579 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31580 (top level): Use PKGVERSION.
31581 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31582 (print_version): Use PKGVERSION.
31583 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31584 (print_version): Use PKGVERSION.
31585 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31586 (print_version): Use PKGVERSION.
31587 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31588 (print_version): Use PKGVERSION.
31589 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31590 (print_version): Use PKGVERSION.
31591 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31592 (print_version): Use PKGVERSION.
31593 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31595 ($(objpfx)memusage): Likewise.
31596 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31597 (do_version): Use PKGVERSION.
31598 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31599 (print_version): Use PKGVERSION.
31600 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31601 ($PKGVERSION): New variable.
31602 ($REPORT_BUGS_TO): Likewise.
31603 (usage): Use $REPORT_BUGS_TO.
31604 (top level): Use $PKGVERSION.
31605 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31606 ($(objpfx)pkgvers.texi): New rule.
31607 ($(objpfx)stamp-pkgvers): Likewise.
31608 * manual/install.texi: Include pkgvers.texi.
31609 (--with-pkgversion): Document new configure option.
31610 (--with-bugurl): Likewise.
31611 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31612 than necessarily for this particular distribution. Use
31613 REPORT_BUGS_TO for where to report bugs.
31614 * INSTALL: Regenerated.
31615 * manual/libc.texinfo: Include pkgvers.texi.
31616 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31617 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31618 (print_version): Use PKGVERSION.
31619 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31620 (print_version): Use PKGVERSION.
31621 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31622 (print_version): Use PKGVERSION.
31623 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31624 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31626 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31627 (print_version): Use PKGVERSION.
31628 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31629 (print_version): Use PKGVERSION.
31630 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31633 * timezone/checktab.awk: Update from tzcode 2012i.
31634 * timezone/ialloc.c: Likewise.
31635 * timezone/private.h: Likewise.
31636 * timezone/scheck.c: Likewise.
31637 * timezone/tzfile.h: Likewise.
31638 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31639 (TZVERSION): Hardcode tzcode version number.
31640 * timezone/zdump.c: Update from tzcode 2012i.
31641 * timezone/zic.c: Likewise.
31642 * timezone/version.h: New file.
31643 * timezone/README: Describe version.h. Update upstream location.
31646 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31647 (mktemp): Enable declaration.
31648 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31650 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31653 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31657 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31665 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31666 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31667 for copies of such integer values.
31668 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31669 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31671 2012-11-09 Andreas Jaeger <aj@suse.de>
31673 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31674 definitions and declarations that are provided by
31675 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31677 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31679 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31680 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31681 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31684 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31686 * elf/elf.h: Update comment before AArch64 relocations.
31688 2012-11-07 David S. Miller <davem@davemloft.net>
31690 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31691 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31692 (__start_context): Declare.
31693 (__makecontext_ret): Delete.
31694 (__makecontext): Hook up __start_context instead of
31696 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31697 (sysdep_routines): Add __start_context when in stdlib.
31699 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31701 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31702 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31703 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31705 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31706 (READELF): New variable. Use it instead of hardcoded "readelf".
31708 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31710 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31711 * sysdeps/x86/Makefile: Here.
31712 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31713 * sysdeps/x86/tst-xmmymm.sh: This.
31715 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31717 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31719 [UNIX98] (pthread_barrier_t): Do not expect.
31720 [UNIX98] (pthread_barrierattr_t): Likewise.
31721 [UNIX98] (pthread_spinlock_t): Likewise.
31722 [UNIX98] (pthread_barrier_destroy): Likewise.
31723 [UNIX98] (pthread_barrier_init): Likewise.
31724 [UNIX98] (pthread_barrier_wait): Likewise.
31725 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31726 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31727 [UNIX98] (pthread_barrierattr_init): Likewise.
31728 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31729 [UNIX98] (pthread_getcpuclockid): Likewise.
31730 [UNIX98] (pthread_mutex_timedlock): Likewise.
31731 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31732 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31733 [UNIX98] (pthread_sigmask): Likewise.
31734 [UNIX98] (pthread_spin_destroy): Likewise.
31735 [UNIX98] (pthread_spin_init): Likewise.
31736 [UNIX98] (pthread_spin_lock): Likewise.
31737 [UNIX98] (pthread_spin_trylock): Likewise.
31738 [UNIX98] (pthread_spin_unlock): Likewise.
31739 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31741 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31742 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31743 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31744 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31745 [XPG3 || XPG4] (pthread_key_t): Likewise.
31746 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31747 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31748 [XPG3 || XPG4] (pthread_once_t): Likewise.
31749 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31750 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31751 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31752 [XPG3 || XPG4] (pthread_t): Likewise.
31754 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31756 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31758 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31759 Change function return type to int.
31761 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31762 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31763 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31764 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31765 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31766 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31767 [!POSIX] (posix_madvise): Likewise.
31768 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31770 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31771 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31772 (mode_t): Likewise.
31773 (posix_mem_offset): Likewise.
31774 (posix_typed_mem_get_info): Likewise.
31775 (posix_typed_mem_open): Likewise.
31777 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31778 Change condition to [XOPEN2K8].
31780 * conform/conformtest.pl: Preprocess allow-header data with -x c
31781 instead of from stdin.
31782 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31783 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31784 [C99-based standards] (cerfc): Likewise.
31785 [C99-based standards] (cexp2): Likewise.
31786 [C99-based standards] (cexpm1): Likewise.
31787 [C99-based standards] (clog10): Likewise.
31788 [C99-based standards] (clog1p): Likewise.
31789 [C99-based standards] (clog2): Likewise.
31790 [C99-based standards] (clgamma): Likewise.
31791 [C99-based standards] (ctgamma): Likewise.
31792 [C99-based standards] (cerff): Likewise.
31793 [C99-based standards] (cerfcf): Likewise.
31794 [C99-based standards] (cexp2f): Likewise.
31795 [C99-based standards] (cexpm1f): Likewise.
31796 [C99-based standards] (clog10f): Likewise.
31797 [C99-based standards] (clog1pf): Likewise.
31798 [C99-based standards] (clog2f): Likewise.
31799 [C99-based standards] (clgammaf): Likewise.
31800 [C99-based standards] (ctgammaf): Likewise.
31801 [C99-based standards] (cerfl): Likewise.
31802 [C99-based standards] (cerfcl): Likewise.
31803 [C99-based standards] (cexp2l): Likewise.
31804 [C99-based standards] (cexpm1l): Likewise.
31805 [C99-based standards] (clog10l): Likewise.
31806 [C99-based standards] (clog1pl): Likewise.
31807 [C99-based standards] (clog2l): Likewise.
31808 [C99-based standards] (clgammal): Likewise.
31809 [C99-based standards] (ctgammal): Likewise.
31810 * conform/data/inttypes.h-data [C99-based standards]: Include
31811 stdint.h-data. Remove all expectations for stdint.h contents.
31812 [C99-based standards] (PRI*): Do not allow.
31813 [C99-based standards] (SCN*): Likewise.
31814 [C99-based standards] (*_t): Likewise.
31815 [C99-based-standards] (PRId8): Expect macro.
31816 [C99-based-standards] (PRIi8): Likewise.
31817 [C99-based-standards] (PRIo8): Likewise.
31818 [C99-based-standards] (PRIu8): Likewise.
31819 [C99-based-standards] (PRIx8): Likewise.
31820 [C99-based-standards] (PRIX8): Likewise.
31821 [C99-based-standards] (SCNd8): Likewise.
31822 [C99-based-standards] (SCNi8): Likewise.
31823 [C99-based-standards] (SCNo8): Likewise.
31824 [C99-based-standards] (SCNu8): Likewise.
31825 [C99-based-standards] (SCNx8): Likewise.
31826 [C99-based-standards] (PRIdLEAST8): Likewise.
31827 [C99-based-standards] (PRIiLEAST8): Likewise.
31828 [C99-based-standards] (PRIoLEAST8): Likewise.
31829 [C99-based-standards] (PRIuLEAST8): Likewise.
31830 [C99-based-standards] (PRIxLEAST8): Likewise.
31831 [C99-based-standards] (PRIXLEAST8): Likewise.
31832 [C99-based-standards] (SCNdLEAST8): Likewise.
31833 [C99-based-standards] (SCNiLEAST8): Likewise.
31834 [C99-based-standards] (SCNoLEAST8): Likewise.
31835 [C99-based-standards] (SCNuLEAST8): Likewise.
31836 [C99-based-standards] (SCNxLEAST8): Likewise.
31837 [C99-based-standards] (PRIdFAST8): Likewise.
31838 [C99-based-standards] (PRIiFAST8): Likewise.
31839 [C99-based-standards] (PRIoFAST8): Likewise.
31840 [C99-based-standards] (PRIuFAST8): Likewise.
31841 [C99-based-standards] (PRIxFAST8): Likewise.
31842 [C99-based-standards] (PRIXFAST8): Likewise.
31843 [C99-based-standards] (SCNdFAST8): Likewise.
31844 [C99-based-standards] (SCNiFAST8): Likewise.
31845 [C99-based-standards] (SCNoFAST8): Likewise.
31846 [C99-based-standards] (SCNuFAST8): Likewise.
31847 [C99-based-standards] (SCNxFAST8): Likewise.
31848 [C99-based-standards] (PRId16): Likewise.
31849 [C99-based-standards] (PRIi16): Likewise.
31850 [C99-based-standards] (PRIo16): Likewise.
31851 [C99-based-standards] (PRIu16): Likewise.
31852 [C99-based-standards] (PRIx16): Likewise.
31853 [C99-based-standards] (PRIX16): Likewise.
31854 [C99-based-standards] (SCNd16): Likewise.
31855 [C99-based-standards] (SCNi16): Likewise.
31856 [C99-based-standards] (SCNo16): Likewise.
31857 [C99-based-standards] (SCNu16): Likewise.
31858 [C99-based-standards] (SCNx16): Likewise.
31859 [C99-based-standards] (PRIdLEAST16): Likewise.
31860 [C99-based-standards] (PRIiLEAST16): Likewise.
31861 [C99-based-standards] (PRIoLEAST16): Likewise.
31862 [C99-based-standards] (PRIuLEAST16): Likewise.
31863 [C99-based-standards] (PRIxLEAST16): Likewise.
31864 [C99-based-standards] (PRIXLEAST16): Likewise.
31865 [C99-based-standards] (SCNdLEAST16): Likewise.
31866 [C99-based-standards] (SCNiLEAST16): Likewise.
31867 [C99-based-standards] (SCNoLEAST16): Likewise.
31868 [C99-based-standards] (SCNuLEAST16): Likewise.
31869 [C99-based-standards] (SCNxLEAST16): Likewise.
31870 [C99-based-standards] (PRIdFAST16): Likewise.
31871 [C99-based-standards] (PRIiFAST16): Likewise.
31872 [C99-based-standards] (PRIoFAST16): Likewise.
31873 [C99-based-standards] (PRIuFAST16): Likewise.
31874 [C99-based-standards] (PRIxFAST16): Likewise.
31875 [C99-based-standards] (PRIXFAST16): Likewise.
31876 [C99-based-standards] (SCNdFAST16): Likewise.
31877 [C99-based-standards] (SCNiFAST16): Likewise.
31878 [C99-based-standards] (SCNoFAST16): Likewise.
31879 [C99-based-standards] (SCNuFAST16): Likewise.
31880 [C99-based-standards] (SCNxFAST16): Likewise.
31881 [C99-based-standards] (PRId32): Likewise.
31882 [C99-based-standards] (PRIi32): Likewise.
31883 [C99-based-standards] (PRIo32): Likewise.
31884 [C99-based-standards] (PRIu32): Likewise.
31885 [C99-based-standards] (PRIx32): Likewise.
31886 [C99-based-standards] (PRIX32): Likewise.
31887 [C99-based-standards] (SCNd32): Likewise.
31888 [C99-based-standards] (SCNi32): Likewise.
31889 [C99-based-standards] (SCNo32): Likewise.
31890 [C99-based-standards] (SCNu32): Likewise.
31891 [C99-based-standards] (SCNx32): Likewise.
31892 [C99-based-standards] (PRIdLEAST32): Likewise.
31893 [C99-based-standards] (PRIiLEAST32): Likewise.
31894 [C99-based-standards] (PRIoLEAST32): Likewise.
31895 [C99-based-standards] (PRIuLEAST32): Likewise.
31896 [C99-based-standards] (PRIxLEAST32): Likewise.
31897 [C99-based-standards] (PRIXLEAST32): Likewise.
31898 [C99-based-standards] (SCNdLEAST32): Likewise.
31899 [C99-based-standards] (SCNiLEAST32): Likewise.
31900 [C99-based-standards] (SCNoLEAST32): Likewise.
31901 [C99-based-standards] (SCNuLEAST32): Likewise.
31902 [C99-based-standards] (SCNxLEAST32): Likewise.
31903 [C99-based-standards] (PRIdFAST32): Likewise.
31904 [C99-based-standards] (PRIiFAST32): Likewise.
31905 [C99-based-standards] (PRIoFAST32): Likewise.
31906 [C99-based-standards] (PRIuFAST32): Likewise.
31907 [C99-based-standards] (PRIxFAST32): Likewise.
31908 [C99-based-standards] (PRIXFAST32): Likewise.
31909 [C99-based-standards] (SCNdFAST32): Likewise.
31910 [C99-based-standards] (SCNiFAST32): Likewise.
31911 [C99-based-standards] (SCNoFAST32): Likewise.
31912 [C99-based-standards] (SCNuFAST32): Likewise.
31913 [C99-based-standards] (SCNxFAST32): Likewise.
31914 [C99-based-standards] (PRId64): Likewise.
31915 [C99-based-standards] (PRIi64): Likewise.
31916 [C99-based-standards] (PRIo64): Likewise.
31917 [C99-based-standards] (PRIu64): Likewise.
31918 [C99-based-standards] (PRIx64): Likewise.
31919 [C99-based-standards] (PRIX64): Likewise.
31920 [C99-based-standards] (SCNd64): Likewise.
31921 [C99-based-standards] (SCNi64): Likewise.
31922 [C99-based-standards] (SCNo64): Likewise.
31923 [C99-based-standards] (SCNu64): Likewise.
31924 [C99-based-standards] (SCNx64): Likewise.
31925 [C99-based-standards] (PRIdLEAST64): Likewise.
31926 [C99-based-standards] (PRIiLEAST64): Likewise.
31927 [C99-based-standards] (PRIoLEAST64): Likewise.
31928 [C99-based-standards] (PRIuLEAST64): Likewise.
31929 [C99-based-standards] (PRIxLEAST64): Likewise.
31930 [C99-based-standards] (PRIXLEAST64): Likewise.
31931 [C99-based-standards] (SCNdLEAST64): Likewise.
31932 [C99-based-standards] (SCNiLEAST64): Likewise.
31933 [C99-based-standards] (SCNoLEAST64): Likewise.
31934 [C99-based-standards] (SCNuLEAST64): Likewise.
31935 [C99-based-standards] (SCNxLEAST64): Likewise.
31936 [C99-based-standards] (PRIdFAST64): Likewise.
31937 [C99-based-standards] (PRIiFAST64): Likewise.
31938 [C99-based-standards] (PRIoFAST64): Likewise.
31939 [C99-based-standards] (PRIuFAST64): Likewise.
31940 [C99-based-standards] (PRIxFAST64): Likewise.
31941 [C99-based-standards] (PRIXFAST64): Likewise.
31942 [C99-based-standards] (SCNdFAST64): Likewise.
31943 [C99-based-standards] (SCNiFAST64): Likewise.
31944 [C99-based-standards] (SCNoFAST64): Likewise.
31945 [C99-based-standards] (SCNuFAST64): Likewise.
31946 [C99-based-standards] (SCNxFAST64): Likewise.
31947 [C99-based-standards] (PRIdMAX): Likewise.
31948 [C99-based-standards] (PRIiMAX): Likewise.
31949 [C99-based-standards] (PRIoMAX): Likewise.
31950 [C99-based-standards] (PRIuMAX): Likewise.
31951 [C99-based-standards] (PRIxMAX): Likewise.
31952 [C99-based-standards] (PRIXMAX): Likewise.
31953 [C99-based-standards] (SCNdMAX): Likewise.
31954 [C99-based-standards] (SCNiMAX): Likewise.
31955 [C99-based-standards] (SCNoMAX): Likewise.
31956 [C99-based-standards] (SCNuMAX): Likewise.
31957 [C99-based-standards] (SCNxMAX): Likewise.
31958 [C99-based-standards] (PRIdPTR): Likewise.
31959 [C99-based-standards] (PRIiPTR): Likewise.
31960 [C99-based-standards] (PRIoPTR): Likewise.
31961 [C99-based-standards] (PRIuPTR): Likewise.
31962 [C99-based-standards] (PRIxPTR): Likewise.
31963 [C99-based-standards] (PRIXPTR): Likewise.
31964 [C99-based-standards] (SCNdPTR): Likewise.
31965 [C99-based-standards] (SCNiPTR): Likewise.
31966 [C99-based-standards] (SCNoPTR): Likewise.
31967 [C99-based-standards] (SCNuPTR): Likewise.
31968 [C99-based-standards] (SCNxPTR): Likewise.
31969 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31971 * conform/data/stdint.h-data: Update comments to clarify
31973 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31975 [C99-based standards] (INT8_MAX): Likewise.
31976 [C99-based standards] (INT16_MIN): Likewise.
31977 [C99-based standards] (INT16_MAX): Likewise.
31978 [C99-based standards] (INT32_MIN): Likewise.
31979 [C99-based standards] (INT32_MAX): Likewise.
31980 [C99-based standards] (INT64_MIN): Likewise.
31981 [C99-based standards] (INT64_MAX): Likewise.
31982 [C99-based standards] (UINT8_MAX): Likewise.
31983 [C99-based standards] (UINT16_MAX): Likewise.
31984 [C99-based standards] (UINT32_MAX): Likewise.
31985 [C99-based standards] (UINT64_MAX): Likewise.
31986 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31987 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31988 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31989 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31990 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31991 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31992 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31993 [C99-based standards] (INT_LEAST64_MAX): Likewise.
31994 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31995 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31996 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31997 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31998 [C99-based standards] (INT_FAST8_MIN): Likewise.
31999 [C99-based standards] (INT_FAST8_MAX): Likewise.
32000 [C99-based standards] (INT_FAST16_MIN): Likewise.
32001 [C99-based standards] (INT_FAST16_MAX): Likewise.
32002 [C99-based standards] (INT_FAST32_MIN): Likewise.
32003 [C99-based standards] (INT_FAST32_MAX): Likewise.
32004 [C99-based standards] (INT_FAST64_MIN): Likewise.
32005 [C99-based standards] (INT_FAST64_MAX): Likewise.
32006 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32007 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32008 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32009 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32010 [C99-based standards] (INTPTR_MIN): Likewise.
32011 [C99-based standards] (INTPTR_MAX): Likewise.
32012 [C99-based standards] (UINTPTR_MAX): Likewise.
32013 [C99-based standards] (INTMAX_MIN): Likewise.
32014 [C99-based standards] (INTMAX_MAX): Likewise.
32015 [C99-based standards] (UINTMAX_MAX): Likewise.
32016 [C99-based standards] (PTRDIFF_MIN): Likewise.
32017 [C99-based standards] (PTRDIFF_MAX): Likewise.
32018 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32019 [C99-based standards] (SIZE_MAX): Likewise.
32020 [C99-based standards] (WCHAR_MAX): Likewise.
32021 [C99-based standards] (WINT_MAX): Likewise.
32022 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32023 constraint on value.
32024 [C99-based standards] (WCHAR_MIN): Likewise.
32025 [C99-based standards] (WINT_MIN): Likewise.
32026 [C99-based standards] (*_t): Allow.
32027 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32028 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32029 Include math.h-data and complex.h-data. Remove all expectations
32030 of math.h and complex.h contents.
32031 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32033 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32034 (struct tm): Expect tag.
32035 [C99-based-standards] (wcstof): Expect function.
32036 [C99-based-standards] (wcstold): Likewise.
32037 [C99-based-standards] (wcstoll): Likewise.
32038 [C99-based-standards] (wcstoull): Likewise.
32039 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32040 macro-int-constant. Specify type.
32041 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32042 constraint on value.
32043 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32045 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32047 [ISO C standards]: Do not allow headers.
32048 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32049 wcs[abcdefghijklmnopqrstuvwxyz]*.
32050 [ISO C standards] (*_t): Do not allow.
32051 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32053 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32054 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32056 [ISO C standards]: Do not allow headers.
32057 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32058 is[abcdefghijklmnopqrstuvwxyz]*.
32059 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32060 to[abcdefghijklmnopqrstuvwxyz]*.
32061 [ISO C standards] (*_t): Do not allow.
32062 * conform/data/stdalign.h-data: New file.
32063 * conform/data/stdbool.h-data: Likewise.
32064 * conform/data/stdnoreturn.h-data: Likewise.
32066 2012-11-07 Roland McGrath <roland@hack.frob.com>
32069 * manual/filesys.texi (Directory Entries): Typo fix.
32070 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32072 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32074 * elf/elf.h (EM_AARCH64): New macro.
32075 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32076 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32077 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32078 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32079 (R_AARCH64_TLSDESC): Likewise.
32080 (NT_ARM_TLS): Likewise.
32081 (NT_ARM_HW_BREAK): Likewise.
32082 (NT_ARM_HW_WATCH): Likewise.
32084 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32087 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32088 (__ieee754_powl): Saturate nonzero exponents with absolute value
32089 below 0x1p-79 to +/- 0x1p-79.
32090 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32091 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32092 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32093 nonzero exponents with absolute value below 0x1p-32 to +/-
32095 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32096 (__ieee754_powl): Saturate nonzero exponents with absolute value
32097 below 0x1p-79 to +/- 0x1p-79.
32098 * math/libm-test.inc (pow_test): Add more tests.
32100 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32102 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32103 _dl_s390_cap_flags with kernel. Increase string length.
32104 (_dl_s390_platforms): Add z196 and zEC12.
32106 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32108 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32109 Change XOPEN21K to XOPEN2K.
32111 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32113 * string/memmove.c: Use memcpy when possible.
32115 2012-11-06 Andreas Jaeger <aj@suse.de>
32117 * po/eo.po: Update from translation team.
32119 2012-11-06 Joseph Myers <joseph@codesourcery.com>
32122 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32123 exponent and small x and y exponents, scale x or y up. Increase
32124 by 2 the exponent used in scaling up.
32125 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32126 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32127 * math/libm-test.inc (fma_test): Add more tests.
32128 (fma_test_towardzero): Likewise.
32129 (fma_test_downward): Likewise.
32130 (fma_test_upward): Likewise.
32132 2012-11-05 Joseph Myers <joseph@codesourcery.com>
32135 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32139 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32140 namespace for names of struct fields.
32141 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32143 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32144 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32146 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32149 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32151 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32153 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32157 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32160 2012-11-04 Joseph Myers <joseph@codesourcery.com>
32163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32164 definitely overflow as x * y not x * y + z.
32165 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32166 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32167 * math/libm-test.inc (fma_test): Add more tests.
32168 (fma_test_towardzero): Likewise.
32169 (fma_test_downward): Likewise.
32170 (fma_test_upward): Likewise.
32172 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32176 * include/stub-tag.h: Remove file.
32177 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32179 * manual/maint.texi (Porting): Don't reference it.
32180 * Makerules ($(objpfx)stubs): Likewise.
32181 * dirent/closedir.c: Don't include <stub-tag.h>.
32182 * dirent/dirfd.c: Likewise.
32183 * dirent/fdopendir.c: Likewise.
32184 * dirent/getdents.c: Likewise.
32185 * dirent/getdents64.c: Likewise.
32186 * dirent/opendir.c: Likewise.
32187 * dirent/readdir.c: Likewise.
32188 * dirent/readdir64.c: Likewise.
32189 * dirent/readdir64_r.c: Likewise.
32190 * dirent/readdir_r.c: Likewise.
32191 * dirent/rewinddir.c: Likewise.
32192 * dirent/seekdir.c: Likewise.
32193 * dirent/telldir.c: Likewise.
32194 * gmon/profil.c: Likewise.
32195 * grp/setgroups.c: Likewise.
32196 * inet/if_index.c: Likewise.
32197 * io/access.c: Likewise.
32198 * io/chdir.c: Likewise.
32199 * io/chmod.c: Likewise.
32200 * io/chown.c: Likewise.
32201 * io/close.c: Likewise.
32202 * io/dup.c: Likewise.
32203 * io/dup2.c: Likewise.
32204 * io/dup3.c: Likewise.
32205 * io/euidaccess.c: Likewise.
32206 * io/faccessat.c: Likewise.
32207 * io/fchdir.c: Likewise.
32208 * io/fchmod.c: Likewise.
32209 * io/fchmodat.c: Likewise.
32210 * io/fchown.c: Likewise.
32211 * io/fchownat.c: Likewise.
32212 * io/fcntl.c: Likewise.
32213 * io/flock.c: Likewise.
32214 * io/fstatfs.c: Likewise.
32215 * io/fstatfs64.c: Likewise.
32216 * io/fstatvfs.c: Likewise.
32217 * io/fstatvfs64.c: Likewise.
32218 * io/futimens.c: Likewise.
32219 * io/fxstat.c: Likewise.
32220 * io/fxstat64.c: Likewise.
32221 * io/fxstatat.c: Likewise.
32222 * io/fxstatat64.c: Likewise.
32223 * io/getcwd.c: Likewise.
32224 * io/isatty.c: Likewise.
32225 * io/lchmod.c: Likewise.
32226 * io/lchown.c: Likewise.
32227 * io/link.c: Likewise.
32228 * io/linkat.c: Likewise.
32229 * io/lseek.c: Likewise.
32230 * io/lseek64.c: Likewise.
32231 * io/lxstat64.c: Likewise.
32232 * io/mkdir.c: Likewise.
32233 * io/mkdirat.c: Likewise.
32234 * io/mkfifo.c: Likewise.
32235 * io/mkfifoat.c: Likewise.
32236 * io/open.c: Likewise.
32237 * io/open64.c: Likewise.
32238 * io/openat.c: Likewise.
32239 * io/openat64.c: Likewise.
32240 * io/pipe.c: Likewise.
32241 * io/pipe2.c: Likewise.
32242 * io/poll.c: Likewise.
32243 * io/posix_fadvise.c: Likewise.
32244 * io/posix_fadvise64.c: Likewise.
32245 * io/posix_fallocate.c: Likewise.
32246 * io/posix_fallocate64.c: Likewise.
32247 * io/read.c: Likewise.
32248 * io/readlink.c: Likewise.
32249 * io/readlinkat.c: Likewise.
32250 * io/rmdir.c: Likewise.
32251 * io/sendfile.c: Likewise.
32252 * io/sendfile64.c: Likewise.
32253 * io/statfs.c: Likewise.
32254 * io/statfs64.c: Likewise.
32255 * io/statvfs.c: Likewise.
32256 * io/statvfs64.c: Likewise.
32257 * io/symlink.c: Likewise.
32258 * io/symlinkat.c: Likewise.
32259 * io/ttyname.c: Likewise.
32260 * io/ttyname_r.c: Likewise.
32261 * io/umask.c: Likewise.
32262 * io/unlink.c: Likewise.
32263 * io/unlinkat.c: Likewise.
32264 * io/utime.c: Likewise.
32265 * io/utimensat.c: Likewise.
32266 * io/write.c: Likewise.
32267 * io/xmknod.c: Likewise.
32268 * io/xmknodat.c: Likewise.
32269 * io/xstat.c: Likewise.
32270 * io/xstat64.c: Likewise.
32271 * login/getpt.c: Likewise.
32272 * login/grantpt.c: Likewise.
32273 * login/unlockpt.c: Likewise.
32274 * math/e_acoshl.c: Likewise.
32275 * math/e_acosl.c: Likewise.
32276 * math/e_asinl.c: Likewise.
32277 * math/e_atan2l.c: Likewise.
32278 * math/e_atanhl.c: Likewise.
32279 * math/e_coshl.c: Likewise.
32280 * math/e_expl.c: Likewise.
32281 * math/e_fmodl.c: Likewise.
32282 * math/e_gammal_r.c: Likewise.
32283 * math/e_hypotl.c: Likewise.
32284 * math/e_j0l.c: Likewise.
32285 * math/e_j1l.c: Likewise.
32286 * math/e_jnl.c: Likewise.
32287 * math/e_lgammal_r.c: Likewise.
32288 * math/e_log10l.c: Likewise.
32289 * math/e_log2l.c: Likewise.
32290 * math/e_logl.c: Likewise.
32291 * math/e_powl.c: Likewise.
32292 * math/e_rem_pio2l.c: Likewise.
32293 * math/e_sinhl.c: Likewise.
32294 * math/e_sqrtl.c: Likewise.
32295 * math/fclrexcpt.c: Likewise.
32296 * math/fedisblxcpt.c: Likewise.
32297 * math/feenablxcpt.c: Likewise.
32298 * math/fegetenv.c: Likewise.
32299 * math/fegetexcept.c: Likewise.
32300 * math/fegetround.c: Likewise.
32301 * math/feholdexcpt.c: Likewise.
32302 * math/fesetenv.c: Likewise.
32303 * math/fesetround.c: Likewise.
32304 * math/feupdateenv.c: Likewise.
32305 * math/fgetexcptflg.c: Likewise.
32306 * math/fraiseexcpt.c: Likewise.
32307 * math/fsetexcptflg.c: Likewise.
32308 * math/ftestexcept.c: Likewise.
32309 * math/k_cosl.c: Likewise.
32310 * math/k_rem_pio2l.c: Likewise.
32311 * math/k_sinl.c: Likewise.
32312 * math/k_tanl.c: Likewise.
32313 * math/s_asinhl.c: Likewise.
32314 * math/s_atanl.c: Likewise.
32315 * math/s_cbrtl.c: Likewise.
32316 * math/s_erfl.c: Likewise.
32317 * math/s_expm1l.c: Likewise.
32318 * math/s_log1pl.c: Likewise.
32319 * math/s_tanhl.c: Likewise.
32320 * misc/acct.c: Likewise.
32321 * misc/brk.c: Likewise.
32322 * misc/chflags.c: Likewise.
32323 * misc/chroot.c: Likewise.
32324 * misc/fchflags.c: Likewise.
32325 * misc/fgetxattr.c: Likewise.
32326 * misc/flistxattr.c: Likewise.
32327 * misc/fremovexattr.c: Likewise.
32328 * misc/fsetxattr.c: Likewise.
32329 * misc/fsync.c: Likewise.
32330 * misc/ftruncate.c: Likewise.
32331 * misc/futimes.c: Likewise.
32332 * misc/futimesat.c: Likewise.
32333 * misc/getdomain.c: Likewise.
32334 * misc/getdtsz.c: Likewise.
32335 * misc/gethostid.c: Likewise.
32336 * misc/gethostname.c: Likewise.
32337 * misc/getloadavg.c: Likewise.
32338 * misc/getpagesize.c: Likewise.
32339 * misc/getsysstats.c: Likewise.
32340 * misc/getxattr.c: Likewise.
32341 * misc/gtty.c: Likewise.
32342 * misc/ioctl.c: Likewise.
32343 * misc/lgetxattr.c: Likewise.
32344 * misc/listxattr.c: Likewise.
32345 * misc/llistxattr.c: Likewise.
32346 * misc/lremovexattr.c: Likewise.
32347 * misc/lsetxattr.c: Likewise.
32348 * misc/lutimes.c: Likewise.
32349 * misc/madvise.c: Likewise.
32350 * misc/mincore.c: Likewise.
32351 * misc/mlock.c: Likewise.
32352 * misc/mlockall.c: Likewise.
32353 * misc/mmap.c: Likewise.
32354 * misc/mprotect.c: Likewise.
32355 * misc/msync.c: Likewise.
32356 * misc/munlock.c: Likewise.
32357 * misc/munlockall.c: Likewise.
32358 * misc/munmap.c: Likewise.
32359 * misc/preadv.c: Likewise.
32360 * misc/preadv64.c: Likewise.
32361 * misc/ptrace.c: Likewise.
32362 * misc/pwritev.c: Likewise.
32363 * misc/pwritev64.c: Likewise.
32364 * misc/readv.c: Likewise.
32365 * misc/reboot.c: Likewise.
32366 * misc/remap_file_pages.c: Likewise.
32367 * misc/removexattr.c: Likewise.
32368 * misc/revoke.c: Likewise.
32369 * misc/select.c: Likewise.
32370 * misc/setdomain.c: Likewise.
32371 * misc/setegid.c: Likewise.
32372 * misc/seteuid.c: Likewise.
32373 * misc/sethostid.c: Likewise.
32374 * misc/sethostname.c: Likewise.
32375 * misc/setregid.c: Likewise.
32376 * misc/setreuid.c: Likewise.
32377 * misc/setxattr.c: Likewise.
32378 * misc/sstk.c: Likewise.
32379 * misc/stty.c: Likewise.
32380 * misc/swapoff.c: Likewise.
32381 * misc/swapon.c: Likewise.
32382 * misc/sync.c: Likewise.
32383 * misc/syncfs.c: Likewise.
32384 * misc/syscall.c: Likewise.
32385 * misc/truncate.c: Likewise.
32386 * misc/ualarm.c: Likewise.
32387 * misc/usleep.c: Likewise.
32388 * misc/ustat.c: Likewise.
32389 * misc/utimes.c: Likewise.
32390 * misc/vhangup.c: Likewise.
32391 * misc/writev.c: Likewise.
32392 * posix/_exit.c: Likewise.
32393 * posix/alarm.c: Likewise.
32394 * posix/execve.c: Likewise.
32395 * posix/fexecve.c: Likewise.
32396 * posix/fork.c: Likewise.
32397 * posix/fpathconf.c: Likewise.
32398 * posix/getaddrinfo.c: Likewise.
32399 * posix/getegid.c: Likewise.
32400 * posix/geteuid.c: Likewise.
32401 * posix/getgid.c: Likewise.
32402 * posix/getgroups.c: Likewise.
32403 * posix/getlogin.c: Likewise.
32404 * posix/getlogin_r.c: Likewise.
32405 * posix/getpgid.c: Likewise.
32406 * posix/getpid.c: Likewise.
32407 * posix/getppid.c: Likewise.
32408 * posix/getresgid.c: Likewise.
32409 * posix/getresuid.c: Likewise.
32410 * posix/getsid.c: Likewise.
32411 * posix/getuid.c: Likewise.
32412 * posix/glob64.c: Likewise.
32413 * posix/nanosleep.c: Likewise.
32414 * posix/pathconf.c: Likewise.
32415 * posix/pause.c: Likewise.
32416 * posix/posix_madvise.c: Likewise.
32417 * posix/pread.c: Likewise.
32418 * posix/pread64.c: Likewise.
32419 * posix/pwrite.c: Likewise.
32420 * posix/pwrite64.c: Likewise.
32421 * posix/sched_getaffinity.c: Likewise.
32422 * posix/sched_getp.c: Likewise.
32423 * posix/sched_gets.c: Likewise.
32424 * posix/sched_primax.c: Likewise.
32425 * posix/sched_primin.c: Likewise.
32426 * posix/sched_rr_gi.c: Likewise.
32427 * posix/sched_setaffinity.c: Likewise.
32428 * posix/sched_setp.c: Likewise.
32429 * posix/sched_sets.c: Likewise.
32430 * posix/sched_yield.c: Likewise.
32431 * posix/setgid.c: Likewise.
32432 * posix/setlogin.c: Likewise.
32433 * posix/setpgid.c: Likewise.
32434 * posix/setresgid.c: Likewise.
32435 * posix/setresuid.c: Likewise.
32436 * posix/setsid.c: Likewise.
32437 * posix/setuid.c: Likewise.
32438 * posix/sleep.c: Likewise.
32439 * posix/spawni.c: Likewise.
32440 * posix/sysconf.c: Likewise.
32441 * posix/times.c: Likewise.
32442 * posix/wait.c: Likewise.
32443 * posix/wait3.c: Likewise.
32444 * posix/wait4.c: Likewise.
32445 * posix/waitpid.c: Likewise.
32446 * resolv/gai_sigqueue.c: Likewise.
32447 * resource/getpriority.c: Likewise.
32448 * resource/getrlimit.c: Likewise.
32449 * resource/getrusage.c: Likewise.
32450 * resource/nice.c: Likewise.
32451 * resource/setpriority.c: Likewise.
32452 * resource/setrlimit.c: Likewise.
32453 * resource/ulimit.c: Likewise.
32454 * rt/aio_cancel.c: Likewise.
32455 * rt/aio_fsync.c: Likewise.
32456 * rt/aio_read.c: Likewise.
32457 * rt/aio_sigqueue.c: Likewise.
32458 * rt/aio_suspend.c: Likewise.
32459 * rt/aio_write.c: Likewise.
32460 * rt/clock_getres.c: Likewise.
32461 * rt/clock_gettime.c: Likewise.
32462 * rt/clock_nanosleep.c: Likewise.
32463 * rt/clock_settime.c: Likewise.
32464 * rt/lio_listio.c: Likewise.
32465 * rt/mq_close.c: Likewise.
32466 * rt/mq_getattr.c: Likewise.
32467 * rt/mq_notify.c: Likewise.
32468 * rt/mq_open.c: Likewise.
32469 * rt/mq_receive.c: Likewise.
32470 * rt/mq_send.c: Likewise.
32471 * rt/mq_setattr.c: Likewise.
32472 * rt/mq_timedreceive.c: Likewise.
32473 * rt/mq_timedsend.c: Likewise.
32474 * rt/mq_unlink.c: Likewise.
32475 * rt/shm_open.c: Likewise.
32476 * rt/shm_unlink.c: Likewise.
32477 * rt/timer_create.c: Likewise.
32478 * rt/timer_delete.c: Likewise.
32479 * rt/timer_getoverr.c: Likewise.
32480 * rt/timer_gettime.c: Likewise.
32481 * rt/timer_settime.c: Likewise.
32482 * setjmp/__longjmp.c: Likewise.
32483 * setjmp/setjmp.c: Likewise.
32484 * signal/kill.c: Likewise.
32485 * signal/killpg.c: Likewise.
32486 * signal/raise.c: Likewise.
32487 * signal/sigaction.c: Likewise.
32488 * signal/sigaltstack.c: Likewise.
32489 * signal/sigblock.c: Likewise.
32490 * signal/sigignore.c: Likewise.
32491 * signal/sigintr.c: Likewise.
32492 * signal/signal.c: Likewise.
32493 * signal/sigpause.c: Likewise.
32494 * signal/sigpending.c: Likewise.
32495 * signal/sigqueue.c: Likewise.
32496 * signal/sigreturn.c: Likewise.
32497 * signal/sigset.c: Likewise.
32498 * signal/sigsetmask.c: Likewise.
32499 * signal/sigstack.c: Likewise.
32500 * signal/sigsuspend.c: Likewise.
32501 * signal/sigtimedwait.c: Likewise.
32502 * signal/sigvec.c: Likewise.
32503 * signal/sigwait.c: Likewise.
32504 * signal/sigwaitinfo.c: Likewise.
32505 * signal/sysv_signal.c: Likewise.
32506 * socket/accept.c: Likewise.
32507 * socket/accept4.c: Likewise.
32508 * socket/bind.c: Likewise.
32509 * socket/connect.c: Likewise.
32510 * socket/getpeername.c: Likewise.
32511 * socket/getsockname.c: Likewise.
32512 * socket/getsockopt.c: Likewise.
32513 * socket/isfdtype.c: Likewise.
32514 * socket/listen.c: Likewise.
32515 * socket/recv.c: Likewise.
32516 * socket/recvfrom.c: Likewise.
32517 * socket/recvmsg.c: Likewise.
32518 * socket/send.c: Likewise.
32519 * socket/sendmsg.c: Likewise.
32520 * socket/sendto.c: Likewise.
32521 * socket/setsockopt.c: Likewise.
32522 * socket/shutdown.c: Likewise.
32523 * socket/sockatmark.c: Likewise.
32524 * socket/socket.c: Likewise.
32525 * socket/socketpair.c: Likewise.
32526 * stdio-common/ctermid.c: Likewise.
32527 * stdio-common/cuserid.c: Likewise.
32528 * stdio-common/remove.c: Likewise.
32529 * stdio-common/rename.c: Likewise.
32530 * stdio-common/renameat.c: Likewise.
32531 * stdio-common/tempname.c: Likewise.
32532 * stdlib/getcontext.c: Likewise.
32533 * stdlib/makecontext.c: Likewise.
32534 * stdlib/setcontext.c: Likewise.
32535 * stdlib/swapcontext.c: Likewise.
32536 * stdlib/system.c: Likewise.
32537 * streams/fattach.c: Likewise.
32538 * streams/fdetach.c: Likewise.
32539 * streams/getmsg.c: Likewise.
32540 * streams/getpmsg.c: Likewise.
32541 * streams/putmsg.c: Likewise.
32542 * streams/putpmsg.c: Likewise.
32543 * sysdeps/unix/bsd/getpt.c: Likewise.
32544 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32545 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32546 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32549 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32550 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32551 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32552 * sysvipc/msgctl.c: Likewise.
32553 * sysvipc/msgget.c: Likewise.
32554 * sysvipc/msgrcv.c: Likewise.
32555 * sysvipc/msgsnd.c: Likewise.
32556 * sysvipc/semctl.c: Likewise.
32557 * sysvipc/semget.c: Likewise.
32558 * sysvipc/semop.c: Likewise.
32559 * sysvipc/semtimedop.c: Likewise.
32560 * sysvipc/shmat.c: Likewise.
32561 * sysvipc/shmctl.c: Likewise.
32562 * sysvipc/shmdt.c: Likewise.
32563 * sysvipc/shmget.c: Likewise.
32564 * termios/tcdrain.c: Likewise.
32565 * termios/tcflow.c: Likewise.
32566 * termios/tcflush.c: Likewise.
32567 * termios/tcgetattr.c: Likewise.
32568 * termios/tcgetpgrp.c: Likewise.
32569 * termios/tcsendbrk.c: Likewise.
32570 * termios/tcsetattr.c: Likewise.
32571 * termios/tcsetpgrp.c: Likewise.
32572 * time/adjtime.c: Likewise.
32573 * time/clock.c: Likewise.
32574 * time/getitimer.c: Likewise.
32575 * time/gettimeofday.c: Likewise.
32576 * time/setitimer.c: Likewise.
32577 * time/settimeofday.c: Likewise.
32578 * time/stime.c: Likewise.
32579 * time/time.c: Likewise.
32581 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
32583 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32586 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32588 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32590 2012-11-03 Joseph Myers <joseph@codesourcery.com>
32593 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32594 FE_TONEAREST before applying Dekker multiplication and Knuth
32595 addition. Clear inexact exceptions and check for exact zero
32596 results afterwards.
32597 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32598 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32599 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32600 * math/libm-test.inc (fma_test): Add more tests.
32601 (fma_test_towardzero): Likewise.
32602 (fma_test_downward): Likewise.
32603 (fma_test_upward): Likewise.
32604 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32606 (libc_fesetround): New macro.
32607 (libc_fesetroundf): Likewise.
32608 (libc_fesetroundl): Likewise.
32609 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32611 (libc_fesetround_387): Likewise.
32612 (libc_fesetroundf): New macro.
32613 (libc_fesetround): Likewise.
32614 (libc_fesetroundl): Likewise.
32615 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32617 (libc_fesetroundf): New macro.
32618 (libc_fesetround): Likewise.
32619 (libc_fesetroundl): Likewise.
32620 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32621 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32622 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32624 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32625 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32627 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32628 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32630 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32634 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32635 integer constant usable in #if and use that to give value to enum
32637 (FE_DIVBYZERO): Likewise.
32638 (FE_UNDERFLOW): Likewise.
32639 (FE_OVERFLOW): Likewise.
32640 (FE_INVALID): Likewise.
32641 (FE_INVALID_SNAN): Likewise.
32642 (FE_INVALID_ISI): Likewise.
32643 (FE_INVALID_IDI): Likewise.
32644 (FE_INVALID_ZDZ): Likewise.
32645 (FE_INVALID_IMZ): Likewise.
32646 (FE_INVALID_COMPARE): Likewise.
32647 (FE_INVALID_SOFTWARE): Likewise.
32648 (FE_INVALID_SQRT): Likewise.
32649 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32650 (FE_TONEAREST): Likewise.
32651 (FE_TOWARDZERO): Likewise.
32652 (FE_UPWARD): Likewise.
32653 (FE_DOWNWARD): Likewise.
32654 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32655 (FE_DIVBYZERO): Likewise.
32656 (FE_OVERFLOW): Likewise.
32657 (FE_UNDERFLOW): Likewise.
32658 (FE_INEXACT): Likewise.
32659 (FE_TONEAREST): Likewise.
32660 (FE_DOWNWARD): Likewise.
32661 (FE_UPWARD): Likewise.
32662 (FE_TOWARDZERO): Likewise.
32663 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32664 (FE_UNDERFLOW): Likewise.
32665 (FE_OVERFLOW): Likewise.
32666 (FE_DIVBYZERO): Likewise.
32667 (FE_INVALID): Likewise.
32668 (FE_TONEAREST): Likewise.
32669 (FE_TOWARDZERO): Likewise.
32670 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32671 (FE_OVERFLOW): Likewise.
32672 (FE_UNDERFLOW): Likewise.
32673 (FE_DIVBYZERO): Likewise.
32674 (FE_INEXACT): Likewise.
32675 (FE_TONEAREST): Likewise.
32676 (FE_TOWARDZERO): Likewise.
32677 (FE_UPWARD): Likewise.
32678 (FE_DOWNWARD): Likewise.
32679 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32680 (FE_DIVBYZERO): Likewise.
32681 (FE_OVERFLOW): Likewise.
32682 (FE_UNDERFLOW): Likewise.
32683 (FE_INEXACT): Likewise.
32684 (FE_TONEAREST): Likewise.
32685 (FE_DOWNWARD): Likewise.
32686 (FE_UPWARD): Likewise.
32687 (FE_TOWARDZERO): Likewise.
32689 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32691 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32693 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32695 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32696 commands. Quote $PWD.
32697 (blacklist_exports): Don't use remove_newlines. Replace "declare
32699 (remove_newlines): Remove.
32701 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32703 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32704 * stdlib/stdlib.h (atof): Moved to ...
32705 * include/bits/stdlib-float.h: Here. New file.
32706 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32707 * stdlib/bits/stdlib-float.h: New file.
32708 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32710 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32713 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32715 * conform/conformtest.pl (@headers): Add fenv.h.
32716 * conform/data/fenv.h-data: New file.
32717 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32718 include of <math/fenv.h>.
32720 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32721 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32722 && !UNIX98]. Enables tests for XOPEN2K8.
32723 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32724 POSIX2008]: Likewise.
32726 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32727 (struct rusage): Do not expect type or its members.
32730 * math/math.h (FP_NAN): Define macro to integer constant usable in
32731 #if and use that to give value to enum constant.
32732 (FP_INFINITE): Likewise.
32733 (FP_ZERO): Likewise.
32734 (FP_SUBNORMAL): Likewise.
32735 (FP_NORMAL): Likewise.
32737 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32739 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32740 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32743 2012-11-02 Roland McGrath <roland@hack.frob.com>
32745 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32746 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32747 autoconf-time if not.
32748 * configure.in: Remove AC_PREREQ.
32750 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32752 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32753 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32754 of the internal implementation.
32756 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32758 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32759 except include of <misc/sys/syslog.h>.
32761 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32764 function returns with a NULL context exit with zero.
32766 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32768 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32770 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32772 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32773 (run_program_cmd): This.
32774 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32775 (tst_langinfo): New variable. Use it.
32777 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32779 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32780 floating point opcodes.
32782 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32784 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32787 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32789 * sysdeps/mach/hurd/powerpc: Remove directory.
32790 * sysdeps/mach/powerpc: Likewise.
32792 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32794 * scripts/check-local-headers.sh: Ignore c++ headers.
32796 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32798 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32799 __libc_cleanup_region_start argument.
32801 2012-11-01 Joseph Myers <joseph@codesourcery.com>
32805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32806 x * y using scaling, not as x * y + z.
32807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32808 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32809 * math/libm-test.inc (fma_test): Add more tests.
32810 (fma_test_towardzero): Likewise.
32811 (fma_test_downward): Likewise.
32812 (fma_test_upward): Likewise.
32814 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32816 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32818 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32820 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32823 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32825 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32827 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32834 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32837 Fix the order of the list for glibc 2.17.
32838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32841 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32845 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32848 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32849 for low part of x being zero before using __atanl (y).
32850 * math/libm-test.inc (atan2_test): Add another test.
32852 * manual/install.texi (Configuring and compiling): Document
32853 general use of test-wrapper and test-wrapper-env.
32854 * INSTALL: Regenerated.
32856 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32857 (__fma): Do not extract and scale down low bits on after-rounding
32858 systems when result rounded to normal precision would have normal
32860 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32861 (__fmal): Do not extract and scale down low bits on after-rounding
32862 systems when result rounded to normal precision would have normal
32864 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32865 (__fmal): Do not extract and scale down low bits on after-rounding
32866 systems when result rounded to normal precision would have normal
32868 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32870 (fma_test): Add more tests.
32871 (fma_test_towardzero): Likewise.
32872 (fma_test_downward): Likewise.
32873 (fma_test_upward): Likewise.
32875 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32877 * sysdeps/i386/tininess.h: Renamed to ...
32878 * sysdeps/x86/tininess.h: This.
32879 * sysdeps/x86_64/tininess.h: Removed.
32881 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32883 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32884 input. Use $(build-program-cmd).
32885 ($(objpfx)tst-array1-static.out): Likewise.
32886 ($(objpfx)tst-array2.out): Likewise.
32887 ($(objpfx)tst-array3.out): Likewise.
32888 ($(objpfx)tst-array4.out): Likewise.
32889 ($(objpfx)tst-array5.out): Likewise.
32890 ($(objpfx)tst-array5-static.out): Likewise.
32892 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32894 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32897 * nss/nsswitch.h (nss_interface_function): Provide new
32898 macro for use with NSS functions.
32899 * grp/initgroups.c: Use new macro.
32900 * nss/getXXbyYY.c: Likewise.
32901 * nss/getXXbyYY_r.c: Likewise.
32902 * nss/getXXent.c: Likewise.
32903 * nss/getXXent_r.c: Likewise.
32904 * sysdeps/posix/getaddrinfo.c: Likewise.
32906 2012-10-30 Andreas Jaeger <aj@suse.de>
32908 * po/ru.po: Update Russion translation from translation project.
32910 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32915 result and shift together with sticky bit instead of replicating
32916 round-to-nearest rounding.
32917 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32918 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32919 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32920 missing underflow exceptions.
32921 (fma_test_towardzero): Add more tests.
32922 (fma_test_downward): Likewise.
32923 (fma_test_upward): Likewise.
32926 * sysdeps/generic/tininess.h: New file.
32927 * sysdeps/i386/tininess.h: Likewise.
32928 * sysdeps/sh/tininess.h: Likewise.
32929 * sysdeps/x86_64/tininess.h: Likewise.
32930 * stdlib/tst-strtod-underflow.c: Likewise.
32931 * stdlib/tst-tininess.c: Likewise.
32932 * stdlib/strtod_l.c: Include <tininess.h>.
32933 (round_and_return): Do not set errno for exact underflow cases.
32934 Force an underflow exception when setting errno for underflow.
32935 Determine underflow based on rounding to normal precision if
32936 TININESS_AFTER_ROUNDING.
32937 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32938 ERANGE for exact underflow cases.
32939 * stdlib/Makefile (tests): Add tst-tininess and
32940 tst-strtod-underflow.
32941 ($(objpfx)tst-tininess): Use $(link-libm).
32942 ($(objpfx)tst-strtod-underflow): Likewise.
32944 2012-10-30 Andreas Jaeger <aj@suse.de>
32947 * elf/Makefile (tests): Remove conditional for have-initfini-array
32948 since this is now always required and the variable does not exist
32950 (tests-static): Likewise.
32951 (modules-names): Likewise.
32953 * po/eo.po: Add Esperanto translation from translation project.
32955 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32956 merged with constructor/destructor.
32957 (init_array): Likewise.
32958 * elf/tst-array2dep.c (fini_array): Likewise.
32959 (init_array): Likewise.
32961 2012-10-29 Mike Frysinger <vapier@gentoo.org>
32963 * manual/message.texi: Delete @cartouche tags.
32965 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32967 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32969 * sysdeps/mach/hurd/fsync.c: Likewise.
32971 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32972 [_POSIX_REALTIME_SIGNALS]: Change condition to
32973 [_POSIX_REALTIME_SIGNALS > 0].
32975 2012-10-27 Andreas Jaeger <aj@suse.de>
32977 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32978 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32979 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32980 [__WORDSIZE != 64]: Likewise.
32982 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32984 * iconvdata/tst-table.sh: Remove ${SHELL}.
32985 * iconvdata/tst-tables.sh: Likewise.
32987 2012-10-25 David S. Miller <davem@davemloft.net>
32989 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32990 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32993 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32995 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32996 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32997 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33000 2012-10-25 Roland McGrath <roland@hack.frob.com>
33002 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33003 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33006 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33007 Jim Blandy <jimb@codesourcery.com>
33009 * scripts/cross-test-ssh.sh: New file.
33010 * manual/install.texi (Configuring and compiling): Document use of
33012 * INSTALL: Regenerated.
33014 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33016 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33019 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33021 * Makeconfig (run-program-prefix): Fix comment.
33023 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33024 Jim Blandy <jimb@codesourcery.com>
33026 * Makeconfig (test-wrapper): New variable,
33027 (test-wrapper-env): Likewise.
33028 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33029 (run-built-tests): Define to yes.
33030 (run-program-prefix): Use $(test-wrapper).
33031 (built-program-cmd): Likewise.
33032 * Rules (make-test-out): Use $(test-wrapper-env) and
33033 $(host-built-program-cmd).
33034 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33035 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33037 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33038 $(test-wrapper-env) to tst-rtld-load-self.sh.
33039 ($(objpfx)order2.out): Use $(test-wrapper).
33040 ($(objpfx)tst-initorder.out): Likewise.
33041 ($(objpfx)tst-initorder2.out): Likewise.
33042 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33043 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33044 (test_wrapper_env): New variable. Use it to run ld.so.
33045 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33046 Use it to run ld.so.
33047 (test_wrapper_env): Likewise.
33048 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33049 $(test-wrapper) to run-iconv-test.sh.
33050 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33051 (ICONV): Use $test_wrapper.
33052 * posix/Makefile ($(objpfx)globtest.out): Pass
33053 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33054 globtest.sh, not $(run-program-prefix).
33055 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33056 (test_wrapper): Likewise.
33057 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33058 set together with run_via_rtld_prefix.
33059 (run_program_prefix): Define in terms of test_wrapper and
33060 run_via_rtld_prefix.
33062 2012-10-24 Roland McGrath <roland@hack.frob.com>
33064 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33065 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33069 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33070 Declare __clock_getres, __clock_gettime, __clock_settime,
33071 __clock_nanosleep, and __clock_getcpuclockid.
33072 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33073 Remove librt_hidden_def (clock_gettime).
33074 * sysdeps/unix/clock_gettime.c: Likewise.
33075 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33076 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33077 * rt/clock_getres.c: Define __clock_getres as an alias.
33078 * sysdeps/posix/clock_getres.c: Likewise.
33079 * rt/clock_settime.c: Define __clock_settime as an alias.
33080 * sysdeps/unix/clock_settime.c: Likewise.
33081 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33082 * sysdeps/unix/clock_nanosleep.c: Likewise.
33083 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33084 * rt/clock-compat.c: New file.
33085 * rt/Makefile (librt-routines): Add clock-compat and move
33086 $(clock-routines) to ...
33087 (routines): ... here, new variable.
33088 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33089 Don't add get_clockfreq here.
33090 * rt/Versions (libc: GLIBC_2.17): New version set.
33091 Add clock_* symbols here.
33092 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33093 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33094 (GLIBC_2.17): Add clock_* symbols.
33095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33097 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33106 * NEWS: Mention the move.
33108 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33109 Use __open, __read, __close rather than their public counterparts.
33110 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33111 (__get_clockfreq_via_cpuinfo): Likewise.
33112 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33113 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33115 * config.h.in (HAVE_IFUNC): New #undef.
33116 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33118 * configure: Regenerated.
33120 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33122 * configure.in: Move READELF check to start of file.
33123 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33124 libc_cv_asm_gnu_indirect_function in the process.
33125 * configure: Regenerated.
33127 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33129 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33130 send the output to /dev/null.
33131 (libc_cv_cc_with_libunwind): Likewise.
33132 (libc_cv_as_noexecstack): Likewise.
33133 * configure: Regenerate.
33135 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33137 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33139 * posix/globtest.sh (TMPDIR): Do not set.
33140 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33141 (testout): Likewise.
33143 2012-10-24 Andreas Jaeger <aj@suse.de>
33145 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33146 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33147 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33148 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33149 posix_fadvise64, posix_fallocate64.
33151 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33152 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33153 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33155 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33157 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33160 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33161 <bits/fcntl-linux.h>.
33162 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33164 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33165 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33166 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33167 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33168 [__WORDSIZE != 64]: Likewise.
33170 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33172 * Makeconfig (run-built-tests): New variable.
33173 * Rules [$(cross-compiling) = yes]: Change condition to
33174 [$(run-built-tests) = no].
33175 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33176 to [$(run-built-tests) = yes].
33177 * elf/Makefile [$(cross-compiling) = no]: Likewise
33178 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33179 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33180 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33181 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33182 * io/Makefile [$(cross-compiling) = no]: Likewise.
33183 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33184 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33185 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33186 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33187 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33188 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33189 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33190 * string/Makefile [$(cross-compiling) = no]: Likewise.
33192 * posix/Makefile ($(objpfx)globtest.out): Pass
33193 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33194 $(rtld-installed-name).
33195 * posix/globtest.sh (elf_objpfx): Remove variable.
33196 (rtld_installed_name): Likewise.
33197 (library_path): Likewise.
33198 (run_program_prefix): New variable. Use for running globtest
33201 2012-10-23 Jim Blandy <jimb@codesourcery.com>
33202 Joseph Myers <joseph@codesourcery.com>
33204 * Makeconfig (host-built-program-cmd): New variable.
33205 * elf/Makefile (tst-stackguard1-ARGS): Use
33206 $(host-built-program-cmd).
33207 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33208 (tst-spawn-ARGS): Likewise.
33209 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33211 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33212 Jim Blandy <jimb@codesourcery.com>
33214 * Makeconfig (run-via-rtld-prefix): New variable.
33215 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33216 (built-program-cmd): Likewise.
33218 2012-10-22 Andreas Jaeger <aj@suse.de>
33220 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33221 __O_RSYNC if it exists, otherwise to O_SYNC.
33223 2012-10-22 Jim Blandy <jimb@codesourcery.com>
33224 Joseph Myers <joseph@codesourcery.com>
33226 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33228 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33230 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33233 2012-10-22 Andreas Jaeger <aj@suse.de>
33235 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33240 bits/fcntl-linux.h.
33242 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33243 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33245 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33250 2012-10-21 Jim Blandy <jimb@codesourcery.com>
33251 Joseph Myers <joseph@codesourcery.com>
33253 * config.make.in (NM): New variable.
33255 2012-10-21 Andreas Jaeger <aj@suse.de>
33257 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33258 definitions and declarations that are provided by
33259 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33261 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33264 * elf/Makefile (tests-static): Add tst-leaks1-static.
33265 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33266 ($(objpfx)tst-leaks1-static): New rule.
33267 ($(objpfx)tst-leaks1-static-mem): Likewise.
33268 (tst-leaks1-static-ENV): New macro.
33269 * elf/dl-open.c (dl_open_worker): Check the main application
33270 only if SHARED is defined.
33271 * elf/tst-leaks1-static.c: New file.
33273 2012-10-20 Andreas Jaeger <aj@suse.de>
33275 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33276 generic values for Linux.
33277 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33278 and declarations that are provided by <bits/fcntl-linux.h> and
33279 include <bits/fcntl-linux.h>.
33280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33283 2012-10-20 Roland McGrath <roland@hack.frob.com>
33285 * io/fcntl.h: Move include of <bits/types.h> to the top and
33286 include it unconditionally.
33288 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33290 * wcsmbs/Makefile (tests-ifunc): New variable.
33291 (tests): Add $(tests-ifunc).
33292 * wcsmbs/test-wcschr-ifunc.c: New file.
33293 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33294 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33295 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33296 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33297 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33299 * string/Makefile (tests-ifunc): New variable.
33300 (tests): Add $(tests-ifunc).
33301 * string/test-memccpy.c (TEST_NAME): New macro.
33302 * string/test-memchr.c (TEST_NAME): Likewise.
33303 * string/test-memcmp.c (TEST_NAME): Likewise.
33304 * string/test-memcpy.c (TEST_NAME): Likewise.
33305 * string/test-memmem.c (TEST_NAME): Likewise.
33306 * string/test-memmove.c (TEST_NAME): Likewise.
33307 * string/test-memset.c (TEST_NAME): Likewise.
33308 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33309 * string/test-stpcpy.c (TEST_NAME): Likewise.
33310 * string/test-stpncpy.c (TEST_NAME): Likewise.
33311 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33312 * string/test-strcasestr.c (TEST_NAME): Likewise.
33313 * string/test-strcat.c (TEST_NAME): Likewise.
33314 * string/test-strchr.c (TEST_NAME): Likewise.
33315 * string/test-strcmp.c(TEST_NAME): Likewise.
33316 * string/test-strcpy.c (TEST_NAME): Likewise.
33317 * string/test-strcspn.c (TEST_NAME): Likewise.
33318 * string/test-strlen.c (TEST_NAME): Likewise.
33319 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33320 * string/test-strncmp.c (TEST_NAME): Likewise.
33321 * string/test-strncpy.c (TEST_NAME): Likewise.
33322 * string/test-strnlen.c (TEST_NAME): Likewise.
33323 * string/test-strpbrk.c (TEST_NAME): Likewise.
33324 * string/test-strrchr.c (TEST_NAME): Likewise.
33325 * string/test-strspn.c (TEST_NAME): Likewise.
33326 * string/test-strstr.c (TEST_NAME): Likewise.
33327 * string/test-bcopy-ifunc.c: New file.
33328 * string/test-bzero-ifunc.c: Likewise.
33329 * string/test-memccpy-ifunc.c: Likewise.
33330 * string/test-memchr-ifunc.c: Likewise.
33331 * string/test-memcmp-ifunc.c: Likewise.
33332 * string/test-memcpy-ifunc.c: Likewise.
33333 * string/test-memmem-ifunc.c: Likewise.
33334 * string/test-memmove-ifunc.c: Likewise.
33335 * string/test-mempcpy-ifunc.c: Likewise.
33336 * string/test-memset-ifunc.c: Likewise.
33337 * string/test-rawmemchr-ifunc.c: Likewise.
33338 * string/test-stpcpy-ifunc.c: Likewise.
33339 * string/test-stpncpy-ifunc.c: Likewise.
33340 * string/test-strcasecmp-ifunc.c: Likewise.
33341 * string/test-strcasestr-ifunc.c: Likewise.
33342 * string/test-strcat-ifunc.c: Likewise.
33343 * string/test-strchr-ifunc.c: Likewise.
33344 * string/test-strchrnul-ifunc.c: Likewise.
33345 * string/test-strcmp-ifunc.c: Likewise.
33346 * string/test-strcpy-ifunc.c: Likewise.
33347 * string/test-strcspn-ifunc.c: Likewise.
33348 * string/test-strlen-ifunc.c: Likewise.
33349 * string/test-strncasecmp-ifunc.c: Likewise.
33350 * string/test-strncat-ifunc.c: Likewise.
33351 * string/test-strncmp-ifunc.c: Likewise.
33352 * string/test-strncpy-ifunc.c: Likewise.
33353 * string/test-strnlen-ifunc.c: Likewise.
33354 * string/test-strpbrk-ifunc.c: Likewise.
33355 * string/test-strrchr-ifunc.c: Likewise.
33356 * string/test-strspn-ifunc.c: Likewise.
33357 * string/test-strstr-ifunc.c: Likewise.
33359 * debug/Makefile (tests-ifunc): New variable.
33360 (tests): Add $(tests-ifunc).
33361 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33362 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33363 * debug/test-stpcpy_chk-ifunc.c: New file.
33364 * debug/test-strcpy_chk-ifunc.c: Likewise.
33366 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33369 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33370 header is not read in.
33372 2012-10-19 Joseph Myers <joseph@codesourcery.com>
33374 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33375 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33376 directly. Pass built executable to script as
33377 $(built-program-cmd).
33378 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33379 $testprogram without using LD_LIBRARY_PATH and $ldso.
33381 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33382 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33383 $(rtld-installed-name).
33384 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33385 (rtld_installed_name): Likewise.
33386 (library_path): Likewise.
33387 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33388 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33389 $(run-program-prefix) to tst-tables.sh.
33390 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33391 it to run tst-table-from and tst-table-to.
33392 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33393 Pass it to tst-table.sh.
33394 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33395 $(run-program-prefix) to tst-gettext.sh.
33396 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33398 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33400 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33401 to run tst-gettext.
33402 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33403 to run tst-gettext2.
33404 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33405 to run tst-translit.
33406 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33407 $(run-program-prefix) to tst-mtrace.sh.
33408 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33410 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33411 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33412 $(rtld-installed-name).
33413 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33414 (rtld_installed_name): Likewise.
33415 (run_program_prefix): New variable. Use it to run wordexp-test.
33417 * Makeconfig (ARCH): Remove all definitions.
33418 (machine): Likewise.
33419 [ARCH]: Remove conditional code.
33420 [!objdir]: Give error.
33421 [!objdir] (objpfx): Remove.
33422 [!objdir] (common-objpfx): Likewise.
33423 [!objdir] (common-objdir): Likewise.
33424 * configure.in (config_makefile): Remove. Hardcode Makefile in
33425 AC_CONFIG_FILES call.
33426 * configure: Regenerated.
33429 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33431 (testout): Likewise.
33433 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33434 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33435 $(rtld-installed-name).
33436 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33437 (rtld_installed_name): Likwise.
33438 (runit): Remove function.
33439 (run_getconf): New variable, Use it for running getconf binary.
33441 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33444 * string/test-memmem.c (check_result): New function.
33445 (do_one_test): Use it.
33446 (check1): New function.
33447 (test_main): Use it.
33449 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33451 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33453 2012-10-18 Joseph Myers <joseph@codesourcery.com>
33455 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33456 (_G_LSEEK64): Likewise.
33457 (_G_MMAP64): Likewise.
33458 (_G_FSTAT64): Likewise.
33459 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33460 (_G_LSEEK64): Likewise.
33461 (_G_MMAP64): Likewise.
33462 (_G_FSTAT64): Likewise.
33463 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33464 unconditional. Call __mmap64 directly.
33465 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33466 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33467 __lseek64 directly.
33468 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33469 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33471 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33472 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33473 __lseek64 directly.
33474 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33475 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33476 __lseek64 directly.
33477 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33478 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33479 __lseek64 directly.
33480 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33481 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33482 __fxstat64 directly.
33483 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33484 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33486 (freopen64) [!_G_OPEN64]: Remove conditional code.
33487 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33489 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33490 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33492 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33493 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33495 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33496 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33498 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33499 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33501 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33502 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33504 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33505 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33507 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33509 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33512 * manual/memory.texi (Malloc Tunable Parameters): Add note
33513 about free list pointers overwriting some perturb bytes.
33514 Wording suggested by Roland McGrath.
33516 2012-10-17 Joseph Myers <joseph@codesourcery.com>
33518 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33519 (lgamma_test): Likewise.
33520 (tgamma_test): Likewise.
33522 2012-10-16 Florian Weimer <fweimer@redhat.com>
33525 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33526 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33528 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33530 * NEWS: Mention BZ #14716.
33531 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33532 when removing AVAILABLE1_USES_J macro.
33534 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33536 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33537 (__bswap_64): __uint64_t for unsigned 64-bit int.
33539 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33541 * include/string.h (memmem): Declare libc hidden alias.
33542 * string/memmem.c (memmem): Define libc hidden alias.
33543 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33544 __read, __close instead of open, read, close.
33546 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33548 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33549 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33551 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33552 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33553 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33555 (__rawmemchr_sse2): Likewise.
33556 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33557 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33558 (__strchr_sse2): Likewise.
33559 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33560 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33561 (__strcasecmp_sse2): Likewise.
33562 (__strncasecmp_sse2): Likewise.
33563 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33564 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33565 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33566 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33567 (__strrchr_sse2): Likewise.
33568 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33570 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33571 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33572 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33573 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33574 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33575 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33576 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33577 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33578 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33579 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33580 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33581 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33582 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33583 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33584 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33585 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33586 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33587 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33588 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33589 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33590 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33591 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33592 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33593 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33594 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33595 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33596 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33597 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33598 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33599 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33601 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33603 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33604 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33605 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33606 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33608 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33610 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33611 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33612 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33613 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33615 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33616 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33617 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33618 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33619 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33620 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33621 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33622 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33623 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33624 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33625 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33626 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33627 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33628 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33629 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33630 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33631 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33632 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33633 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33634 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33635 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33636 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33637 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33638 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33639 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33640 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33641 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33642 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33643 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33644 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33645 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33646 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33647 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33648 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33649 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33650 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33651 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33652 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33653 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33654 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33655 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33657 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33658 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33659 * include/ifunc-impl-list.h: New file.
33660 * misc/ifunc-impl-list.c: Likewise.
33661 * misc/Makefile (routines): Add ifunc-impl-list.
33662 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33663 * string/test-string.h: Include <ifunc-impl-list.h>.
33664 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33665 TEST_NAME]: New variables.
33666 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33668 (test_init): Call __libc_ifunc_impl_list to initialize
33669 func_list if TEST_IFUNC and TEST_NAME are defined.
33671 * string/Makefile (strop-tests): Add bcopy and bzero.
33672 * string/test-bcopy.c: New file.
33673 * string/test-bzero.c: Likewise.
33674 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33676 * string/test-memset.c: Support bzero test if TEST_BZERO is
33678 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33680 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33682 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33685 2012-10-10 Joseph Myers <joseph@codesourcery.com>
33687 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33688 * configure: Regenerated.
33690 * Makeconfig (+link-static-before-libc): Don't include
33691 $(link-static-libc).
33693 * libio/libio.h (_IO_pos_t): Remove.
33695 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33697 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33700 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33702 * crypt/crypt-entry.c: Include fips-private.h.
33703 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33704 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33705 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33706 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33708 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33710 * crypt/crypt-private.h: Include stdbool.h.
33711 (_ufc_setup_salt_r): Return bool.
33712 * crypt/crypt-entry.c: Include errno.h.
33713 (__crypt_r): Return NULL with EINVAL for bad salt.
33714 * crypt/crypt_util.c (bad_for_salt): New.
33715 (_ufc_setup_salt_r): Check that salt is long enough and within
33716 the specified alphabet.
33717 * crypt/badsalttest.c: New file.
33718 * crypt/Makefile (tests): Add it.
33719 ($(objpfx)badsalttest): New.
33721 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33723 * NEWS: Add entry for BZ #14602.
33725 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33727 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33729 * math/libm-test.inc: Update comment listing what functions and
33731 (isgreater_test): New function.
33732 (isgreaterequal_test): Likewise.
33733 (isless_test): Likewise.
33734 (islessequal_test): Likewise.
33735 (islessgreater_test): Likewise.
33736 (isunordered_test): Likewise.
33737 (main): Call the new functions.
33739 2012-10-09 Roland McGrath <roland@hack.frob.com>
33741 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33742 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33743 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33744 * sysdeps/i386/configure: Regenerated.
33745 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33746 * sysdeps/mach/configure: Regenerated.
33747 * sysdeps/mach/hurd/configure: Regenerated.
33748 * sysdeps/powerpc/configure: Regenerated.
33749 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33750 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33751 * sysdeps/s390/s390-32/configure: Regenerated.
33752 * sysdeps/s390/s390-64/configure: Regenerated.
33753 * sysdeps/sh/configure: Regenerated.
33754 * sysdeps/sparc/configure: Regenerated.
33755 * sysdeps/unix/sysv/linux/configure: Regenerated.
33756 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33757 * sysdeps/x86_64/configure: Regenerated.
33759 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33760 defined. Don't check if MAP is NULL.
33762 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33764 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33765 (_G_stat64): Likewise.
33766 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33767 (_G_stat64): Likewise.
33768 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33769 instead of struct _G_stat64.
33770 * libio/fileops.c (mmap_remap_check): Likewise.
33771 (decide_maybe_mmap): Likewise.
33772 (_IO_new_file_seekoff): Likewise.
33773 (_IO_file_stat): Likewise.
33774 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33776 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33777 instead of struct _G_stat64.
33778 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33780 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33783 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33785 (CHECK_EOL): New macro.
33786 (two_way_short_needle): Check beginning of haystack for EOL. Use
33788 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33789 Replace with CHECK_EOL.
33790 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33791 Replace with CHECK_EOL.
33793 2012-10-08 Joseph Myers <joseph@codesourcery.com>
33795 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33797 * math/libm-test.inc: Update comment listing what functions and
33799 (finite_test): New function.
33800 (isinf_test): Likewise.
33801 (isnan_test): Likewise.
33802 (fpclassify_test): Test subnormal input.
33803 (isfinite_test): Likewise.
33804 (isnormal_test): Likewise.
33805 (main): Call the new functions.
33807 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33810 * Makerules (%.dynsym): Force C locale when running
33811 $(OBJDUMP) --dynamic-syms.
33813 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33815 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33818 2012-10-06 David S. Miller <davem@davemloft.net>
33820 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33821 upper 32-bits of the length value in %o2 since we use branch-on-register
33822 tests which consider the entire 64-bit register.
33824 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33826 * string/test-strstr.c (check2): Add a test for page boundary.
33828 2012-10-05 David S. Miller <davem@davemloft.net>
33830 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33831 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33833 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33835 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33836 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33837 and bzero when HWCAP_SPARC_CRYPTO is present.
33839 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33842 * string/test-strstr.c (check2): New function.
33843 (test_main): Call check2.
33845 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33847 * string/bug-strcasestr1.c (do_test): Moved to ...
33848 * string/test-strcasestr.c (check1): Here. New function.
33849 (do_one_test): Break out result checking code into ...
33850 (check_result): This. New function.
33851 (do_one_test): Call check_result.
33852 (test_main): Call check1.
33853 * string/bug-strchr1.c (do_test): Moved to ...
33854 * string/test-strchr.c (check1): Here. New function.
33855 (do_one_test): Break out result checking code into ...
33856 (check_result): This. New function.
33857 (do_one_test): Call check_result.
33858 (test_main): Call check1.
33859 * string/bug-strstr1.c (main): Moved to ...
33860 * string/test-strstr.c (check1): Here. New function.
33861 (do_one_test): Break out result checking code into ...
33862 (check_result): This. New function.
33863 (do_one_test): Call check_result.
33864 (test_main): Call check1.
33865 * string/bug-strcasestr1.c: Removed.
33866 * string/bug-strchr1.c: Likewise.
33867 * string/bug-strstr1.c: Likewise.
33869 * elf/Makefile (dl-routines): Add hwcaps.
33870 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33871 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33872 (_dl_important_hwcaps): Moved to ...
33873 * elf/dl-hwcaps.c: Here. New file.
33874 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33877 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33878 if IS_IN_rtld isn't defined.
33880 * elf/dl-support.c (_dl_sysinfo_map): New.
33881 Include "get-dynamic-info.h" and "setup-vdso.h".
33882 (_dl_non_dynamic_init): Call setup_vdso.
33883 * elf/dynamic-link.h: Don't include <assert.h>.
33884 (elf_get_dynamic_info): Moved to ...
33885 * elf/get-dynamic-info.h: Here. New file.
33886 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33887 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33888 * elf/setup-vdso.h: Here. New file.
33889 * elf/rtld.c: Include "setup-vdso.h".
33890 (dl_main): Call setup_vdso.
33892 2012-10-05 Joseph Myers <joseph@codesourcery.com>
33894 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33895 creal in comment listing functions tested. List finite, isinf,
33896 isnan, isless, islessequal, isgreater, isgreaterequal,
33897 islessgreater, isunordered, lgamma_r and pow10 as functions and
33898 macros not tested. Mention which functions not tested are aliases
33899 for other functions. Fix typo. Note that signs of NaNs are not
33902 * scripts/config.guess: Update from config.git.
33903 * scripts/config.sub: Likewise.
33905 2012-10-04 Roland McGrath <roland@hack.frob.com>
33907 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33908 * misc/madvise.c (madvise): Renamed to __madvise.
33909 Make madvise a weak alias.
33910 * include/sys/mman.h: Declare __madvise.
33911 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33912 * sysdeps/unix/syscalls.list
33913 (madvise): Make __madvise the strong name, and madvise a weak alias.
33914 * sysdeps/unix/sysv/linux/syscalls.list
33915 (madvise, mmap): Remove redundant entries.
33916 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33917 * malloc/malloc.c (mtrim): Likewise.
33918 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33920 2012-10-03 Roland McGrath <roland@hack.frob.com>
33922 * sysdeps/mach/hurd/dl-cache.c: File removed.
33923 * config.h.in (USE_LDCONFIG): New #undef.
33924 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33925 * configure: Regenerated.
33926 * elf/Makefile (dl-routines): Add dl-cache only under
33927 [$(use-ldconfig) = yes].
33928 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33929 cache on [USE_LDCONFIG].
33930 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33932 * elf/rtld.c (dl_main): Likewise.
33934 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33936 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33937 _SC_LEVEL4_CACHE_LINESIZE.
33939 2012-10-03 Roland McGrath <roland@hack.frob.com>
33941 * sysdeps/unix/bsd/confstr.h: File removed.
33943 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
33945 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33948 2012-10-02 Roland McGrath <roland@hack.frob.com>
33950 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33951 Make 'mapoff' field ElfW(Off) rather than off_t.
33953 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33955 * nscd/Makefile: Remove nscd-cflags and all its users.
33956 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33957 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33960 * malloc.c (malloc_printerr): Clarify error message.
33962 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33966 Set bit_FMA_Usable if FMA is supported.
33967 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33969 (bit_FMA4_Usable): Updated.
33970 (index_FMA_Usable): New macro.
33971 (CPUID_FMA): Likewise
33972 (HAS_FMA): Defined with bit_FMA_Usable.
33974 2012-10-01 Roland McGrath <roland@hack.frob.com>
33976 * bits/types.h (__swblk_t): Type removed.
33977 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33978 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33979 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33980 (__SWBLK_T_TYPE): Likewise.
33981 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33982 (__SWBLK_T_TYPE): Likewise.
33983 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33984 (__SWBLK_T_TYPE): Likewise.
33985 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33986 (__SWBLK_T_TYPE): Likewise.
33988 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
33989 Honza Horak <hhorak@redhat.com>
33991 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33992 (xdr_mapname): Use YPMAXMAP as maxsize.
33993 (xdr_peername): Use YPMAXPEER as maxsize.
33994 (xdr_keydat): Use YPAXRECORD as maxsize.
33995 (xdr_valdat): Use YPMAXRECORD as maxsize.
33997 2012-10-01 Roland McGrath <roland@hack.frob.com>
33999 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34001 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34002 * csu/init-first.c: ... here.
34003 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34004 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34005 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34006 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34007 * sysdeps/i386/init-first.c: File removed.
34008 * sysdeps/sh/init-first.c: File removed.
34010 2012-10-01 Joseph Myers <joseph@codesourcery.com>
34013 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34014 if x * y might underflow to zero and z is zero.
34015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34016 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34017 * math/libm-test.inc (min_subnorm_value): New variable.
34018 (fma_test): Add more tests.
34019 (fma_test_towardzero): Likewise.
34020 (fma_test_downward): Likewise
34021 (fma_test_upward): Likewise.
34022 (initialize): Set min_subnorm_value.
34024 2012-09-29 Joseph Myers <joseph@codesourcery.com>
34027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34029 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34030 mode for addition resulting in exact zero.
34031 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34032 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34034 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34035 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34036 * math/libm-test.inc (fma_test): Add more tests.
34037 (fma_test_towardzero): New function.
34038 (fma_test_downward): Likewise.
34039 (fma_test_upward): Likewise.
34040 (main): Call the new functions.
34042 2012-09-28 David S. Miller <davem@davemloft.net>
34044 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34046 2012-09-28 Roland McGrath <roland@hack.frob.com>
34048 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34049 instead of SIGALRM.
34051 * sysdeps/gnu/_G_config.h: Moved to ...
34052 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34053 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34054 * sysdeps/generic/_G_config.h: ... here.
34056 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34058 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34060 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34061 Conditionalize target on [libnss_test1.so-version].
34063 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34065 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34066 (elfobjdir): Move out of conditionals.
34068 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34069 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34070 (__nss_lookup_function): Conditionalize label remove_from_tree on
34071 [!DO_STATIC_NSS || SHARED], matching its only use.
34073 2012-09-28 David S. Miller <davem@davemloft.net>
34075 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34076 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34078 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34080 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34081 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34082 when HWCAP_SPARC_CRYPTO is present.
34084 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34086 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34088 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34091 * stdio-common/vfprintf.c (process_string_arg): Revert
34094 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34096 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34098 * stdio-common/tst-sprintf.c: Include <locale.h>
34099 (main): Test sprintf's handling of incomplete multibyte
34102 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34104 * elf/dl-runtime.c (VERSYMIDX): Removed.
34105 * elf/dl-version.c (VERSYMIDX): Likewise.
34106 * elf/do-rel.h (VERSYMIDX): Likewise.
34107 (VALIDX): Likewise.
34108 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34109 * elf/rtld.c (VALIDX): Likewise.
34110 (ADDRIDX): Likewise.
34111 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34112 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34113 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34114 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34115 (VALIDX): Likewise.
34116 (ADDRIDX): Likewise.
34118 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34120 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34122 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34125 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34127 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34128 addresses are in the same scope as 192.0.2/24.
34129 * posix/gai.conf: Document new scope table defaults.
34131 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34134 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34135 for ftell. Compute offsets from write pointers instead.
34136 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34138 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34141 * libio/Makefile (tests): New test case tst-fseek.
34142 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34143 combination works in wide mode.
34144 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34145 state when the external buffer state changes.
34147 2012-09-27 David S. Miller <davem@davemloft.net>
34150 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34151 pass reloc->r_addend in as the 'high' argument to
34152 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34156 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34158 * rt/tst-aio2.c: Include <pthread.h>.
34159 * rt/tst-aio3.c: Likewise.
34161 2012-09-27 Steve Ellcey <sellcey@mips.com>
34163 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34165 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34167 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34168 contents on [SHARED].
34170 2012-09-26 Marek Polacek <polacek@redhat.com>
34174 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34175 for C++ and GCC <4.3 as well as for non GCC compilers.
34177 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34181 2012-09-25 Roland McGrath <roland@hack.frob.com>
34183 * Makefile.in (all, install): Declare with .PHONY.
34184 Reported by Michael Hope <michael.hope@linaro.org>.
34186 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34188 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34189 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34191 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34193 (sydep_routines): Add the new and the internal functions.
34194 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34195 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34197 (GLIBC_2.17): Add the new function.
34198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34199 (GLIBC_2.17): Likewise.
34200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34201 (GLIBC_2.17): Likewise.
34202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34203 (GLIBC_2.17): Likewise.
34204 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34206 2012-09-25 Alan Modra <amodra@gmail.com>
34208 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34209 Add release barrier before setting once_control to say
34210 initialisation is done. Add hints on lwarx. Use macro in
34212 (clear_once_control): Add release barrier.
34214 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34217 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34219 * math/s_clog10.c (__clog10): Likewise.
34220 * math/s_clog10f.c (__clog10f): Likewise.
34221 * math/s_clog10l.c (__clog10l): Likewise.
34222 * math/s_clogf.c (__clogf): Likewise.
34223 * math/s_clogl.c (__clogl): Likewise.
34224 * math/Makefile (libm-calls): Add x2y2m1.
34225 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34226 (__x2y2m1): Likewise.
34227 (__x2y2m1l): Likewise.
34228 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34229 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34230 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34231 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34232 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34233 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34234 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34235 * sysdeps/i386/fpu/libm-test-ulps: Update.
34236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34239 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34240 int as type of variable DEPTH.
34241 (glob): Use size_t instead of int as type of variables NEWCOUNT
34244 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34246 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34247 Add s_sincosf-sse2.
34248 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34249 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34250 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34251 macros for using routine as __sincosf_ia32.
34252 Use macro for function declaration and weak_alias.
34253 * sysdeps/i386/fpu/libm-test-ulps: Update.
34255 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34258 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34259 subnormal argument.
34260 * math/s_cexpf.c (__cexpf): Likewise.
34261 * math/s_csinf.c (__csinf): Likewise.
34262 * math/s_csinhf.c (__csinhf): Likewise.
34263 * math/s_ctanf.c (__ctanf): Likewise.
34264 * math/s_ctanhf.c (__ctanhf): Likewise.
34265 * math/s_ccosh.c (__ccoshf): Likewise.
34266 * math/s_cexp.c (__cexpl): Likewise.
34267 * math/s_csin.c (__csin): Likewise.
34268 * math/s_csinh.c (__csinh): Likewise.
34269 * math/s_ctan.c (__ctan): Likewise.
34270 * math/s_ctanh.c (ctanh): Likewise.
34271 * math/s_ccoshl.c (__ccoshl): Likewise.
34272 * math/s_cexpl.c (__cexpl): Likewise.
34273 * math/s_csinl.c (__csinl): Likewise.
34274 * math/s_csinhl.c (__csinhl): Likewise.
34275 * math/s_ctanl.c (__ctanl): Likewise.
34276 * math/s_ctanhl.c (__ctanhl): Likewise.
34278 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34280 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34281 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34282 (_IO_off_t): Define to __off_t, not _G_off_t.
34283 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34284 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34285 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34286 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34287 type of __dummy and __dummy2 fields.
34288 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34289 (_G_ssize_t): Likewise.
34290 (_G_off_t): Likewise.
34291 (_G_pid_t): Likewise.
34292 (_G_uid_t): Likewise.
34293 (_G_wchar_t): Likewise.
34294 (_G_wint_t): Likewise.
34295 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34296 (_G_ssize_t): Likewise.
34297 (_G_off_t): Likewise.
34298 (_G_pid_t): Likewise.
34299 (_G_uid_t): Likewise.
34300 (_G_wchar_t): Likewise.
34301 (_G_wint_t): Likewise.
34302 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34303 (_G_ssize_t): Likewise.
34304 (_G_off_t): Likewise.
34305 (_G_pid_t): Likewise.
34306 (_G_uid_t): Likewise.
34307 (_G_wchar_t): Likewise.
34308 (_G_wint_t): Likewise.
34310 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34312 * malloc/arena.c: Include malloc-sysdep.h.
34313 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34314 is sufficient to shrink the heap or an unmap is needed.
34315 * sysdeps/generic/malloc-sysdep.h: New file. Define
34316 new function check_may_shrink_heap.
34317 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34318 new function check_may_shrink_heap.
34320 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34322 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34325 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34327 * catgets/test-gencat.sh: Add "set -e".
34328 * elf/tst-pathopt.sh: Likewise.
34329 * grp/tst_fgetgrent.sh: Likewise.
34330 * iconvdata/run-iconv-test.sh: Likewise.
34331 * intl/tst-gettext.sh: Likewise.
34332 * intl/tst-gettext2.sh: Likewise.
34333 * intl/tst-gettext4.sh: Likewise.
34334 * intl/tst-gettext6.sh: Likewise.
34335 * intl/tst-translit.sh: Likewise.
34336 * io/ftwtest-sh: Likewise.
34337 * libio/test-freopen.sh: Likewise.
34338 * malloc/tst-mtrace.sh: Likewise.
34339 * posix/globtest.sh: Likewise.
34340 * posix/tst-getconf.sh: Likewise.
34341 * posix/wordexp-tst.sh: Likewise.
34342 * stdio-common/tst-printf.sh: Likewise.
34343 * stdio-common/tst-unbputc.sh: Likewise.
34344 * stdlib/tst-fmtmsg.sh: Likewise.
34345 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34346 * catgets/Makefile: Do not specify -e option when running
34347 testsuite shell scripts.
34348 * elf/Makefile: Likewise.
34349 * grp/Makefile: Likewise.
34350 * iconvdata/Makefile: Likewise.
34351 * intl/Makefile: Likewise.
34352 * io/Makefile: Likewise.
34353 * libio/Makefile: Likewise.
34354 * malloc/Makefile: Likewise.
34355 * posix/Makefile: Likewise.
34356 * stdio-common/Makefile: Likewise.
34357 * stdlib/Makefile: Likewise.
34358 * sysdeps/x86_64/Makefile: Likewise.
34360 * io/ftwtest-sh: Add copyright header.
34361 * posix/globtest.sh: Likewise.
34362 * posix/tst-getconf.sh: Likewise.
34363 * posix/wordexp-tst.sh: Likewise.
34364 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34366 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34369 * Makeconfig (+link): Defined as $(+link-static) if
34370 $(build-shared) isn't yes.
34371 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34373 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34375 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34378 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34379 new chunk size with MALLOC_ALIGN_MASK.
34381 2012-09-24 Joseph Myers <joseph@codesourcery.com>
34384 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34386 (__printf_fphex): Determine rounding using get_rounding_mode and
34388 * stdio-common/tst-printf-round.c (struct hex_test): New
34390 (hex_tests): New variable.
34391 (test_hex_in_one_mode): New function.
34392 (do_test): Also run tests for hex float output.
34394 2012-09-21 Joseph Myers <joseph@codesourcery.com>
34396 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34397 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34398 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34399 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34400 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34401 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34402 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34403 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34405 2012-09-20 Joseph Myers <joseph@codesourcery.com>
34407 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34408 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34409 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34410 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34412 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34415 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34417 * elf/tst-rtld-load-self.sh: New test.
34418 * elf/Makefile: Run it.
34420 2012-09-18 Joseph Myers <joseph@codesourcery.com>
34422 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34423 (tst-writev-ENV): Remove.
34424 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34426 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34428 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34430 2012-09-17 Joseph Myers <joseph@codesourcery.com>
34432 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34434 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34436 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34437 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34438 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34441 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34444 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34445 * config.make.in (have-cpp-asm-debuginfo): Removed.
34446 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34447 * configure: Regenerated.
34449 2012-09-14 Joseph Myers <joseph@codesourcery.com>
34452 * stdio-common/printf_fp.c: Include <stdbool.h> and
34454 (___printf_fp): Determine rounding using get_rounding_mode and
34456 * stdio-common/tst-printf-round.c: New file.
34457 * stdio-common/Makefile (tests): Add tst-printf-round.
34458 (link-libm): New variable.
34459 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34461 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34464 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34465 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34467 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34470 2012-09-13 Joseph Myers <joseph@codesourcery.com>
34472 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34473 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34474 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34475 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34477 2012-09-12 Joseph Myers <joseph@codesourcery.com>
34480 * include/rounding-mode.h: New file.
34481 * sysdeps/generic/get-rounding-mode.h: Likewise.
34482 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34483 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34484 (MAX_VALUE): New macro.
34485 (MIN_VALUE): Likewise.
34486 (overflow_value): New function.
34487 (underflow_value): Likewise.
34488 (round_and_return): Use overflow_value and underflow_value to
34489 determine return values in overflow and underflow cases. Use
34490 round_away to determine rounding depending on rounding mode.
34491 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34492 determine return values in overflow and underflow cases.
34493 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34494 (struct test_results): New structure.
34495 (struct test): Use struct test_results to store expected results
34496 for all rounding modes.
34497 (TEST): Include expected results for all rounding modes.
34498 (test_in_one_mode): New function.
34499 (do_test): Use test_in_one_mode to compute and check results.
34500 Check results for all rounding modes.
34501 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34504 2012-12-09 Allan McRae <allan@archlinux.org>
34506 * sysdeps/i386/fpu/libm-test-ulps: Update
34508 2012-09-11 Joseph Myers <joseph@codesourcery.com>
34510 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34511 (_G_int32_t): Likewise.
34512 (_G_uint16_t): Likewise.
34513 (_G_uint32_t): Likewise.
34514 (_G_HAVE_BOOL): Likewise.
34515 (_G_HAVE_ATEXIT): Likewise.
34516 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34517 (_G_HAVE_IO_FILE_OPEN): Likewise.
34518 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34519 (_G_int32_t): Likewise.
34520 (_G_uint16_t): Likewise.
34521 (_G_uint32_t): Likewise.
34522 (_G_HAVE_BOOL): Likewise.
34523 (_G_HAVE_ATEXIT): Likewise.
34524 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34525 (_G_HAVE_IO_FILE_OPEN): Likewise.
34526 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34527 (_G_int32_t): Likewise.
34528 (_G_uint16_t): Likewise.
34529 (_G_uint32_t): Likewise.
34530 (_G_HAVE_BOOL): Likewise.
34531 (_G_HAVE_ATEXIT): Likewise.
34532 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34533 (_G_HAVE_IO_FILE_OPEN): Likewise.
34535 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34537 * csu/libc-tls.c: Update copyright years.
34539 2012-09-10 Joseph Myers <joseph@codesourcery.com>
34541 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34542 [!_G_USING_THUNKS]: Remove conditional code.
34543 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34544 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34546 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34547 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34548 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34549 (_G_VTABLE_LABEL_PREFIX): Likewise.
34550 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34551 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34552 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34553 (_G_VTABLE_LABEL_PREFIX): Likewise.
34554 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34555 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34556 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34557 (_G_VTABLE_LABEL_PREFIX): Likewise.
34558 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34560 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34562 * libio/Makefile: Include ../Makeconfig before tests.
34563 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34564 only if $(build-shared) is yes.
34566 * iconv/gconv_db.c: Update copyright years.
34568 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34570 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34571 unwind info if defined PIC. Fix special cases description.
34572 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34574 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34576 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34578 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34580 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34582 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34585 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34586 (LDLIBS-tst-chk4): This.
34587 (LDFLAGS-tst-chk5): Renamed to ...
34588 (LDLIBS-tst-chk5): This.
34589 (LDFLAGS-tst-chk6): Renamed to ...
34590 (LDLIBS-tst-chk6): This.
34591 (LDFLAGS-tst-lfschk4): Renamed to ...
34592 (LDLIBS-tst-lfschk4): This.
34593 (LDFLAGS-tst-lfschk5): Renamed to ...
34594 (LDLIBS-tst-lfschk5): This.
34595 (LDFLAGS-tst-lfschk6): Renamed to ...
34596 (LDLIBS-tst-lfschk6): This.
34598 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34599 on $(common-objpfx)soversions.mk.
34601 2012-09-07 Joseph Myers <joseph@codesourcery.com>
34604 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34607 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34609 * malloc/arena.c (arena_get_retry): New function that gets
34610 another arena for the caller to try its request on.
34611 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34612 current arena cannot fulfill the request.
34613 (__libc_memalign): Likewise.
34614 (__libc_memalign): Likewise.
34615 (__libc_pvalloc): Likewise.
34616 (__libc_calloc): Likewise.
34618 2012-09-05 John Tobey <john.tobey@gmail.com>
34621 * manual/arith.texi (Operations on Complex): Fix description
34622 of carg branch cut.
34624 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34627 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34631 * manual/memory.texi (Memory): Make order of menu items match
34634 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34636 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34637 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34638 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34640 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34642 * csu/libc-tls.c (static_dtv): Renamed to ...
34643 (_dl_static_dtv): This. Make it global.
34644 (_dl_initial_dtv): Removed.
34645 (__libc_setup_tls): Updated.
34646 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34647 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34650 2012-09-06 Petr Machata <pmachata@redhat.com>
34652 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34653 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34654 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34655 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34657 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34660 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34661 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34664 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34667 * Makeconfig (link-static-before-libc): Replace $(+prector)
34669 (link-static-after-libc): Replace $(+postctor) with
34671 (link-bounded): Replace $(+prector)/$(+postctor) with
34672 $(+prectorT)/$(+postctorT).
34673 (+prectorT): New macro.
34674 (+postctorT): Likewise.
34676 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34678 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34679 (round_str): Handle values above the maximum for IBM long double
34681 * stdlib/tst-strtod-round.c (tests): Regenerated.
34683 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34685 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34687 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34688 zarch_nohighgprs around the zarch optimized routines.
34689 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34690 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34691 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34694 2012-09-05 David S. Miller <davem@davemloft.net>
34696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34698 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34699 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34700 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34701 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34704 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34706 * malloc/arena.c: Fold copyright years.
34707 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34709 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34711 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34713 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34715 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34717 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34719 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34720 change internal state upon failure.
34722 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34724 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34725 * malloc/memusage.c (mmap): Likewise.
34726 (mmap64, mremap): Likewise. Adjust name in comment.
34728 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34730 * libio/fileops.c: Fix typos in comments.
34731 * libio/oldfileops.c: Likewise.
34732 * libio/wfileops.c: Likewise.
34734 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34737 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34738 (tst-malloc-usable-ENV): Set environment for test case.
34739 * malloc/hooks.c (malloc_check_get_size): New function to get
34741 * malloc/malloc.c (musable): Use malloc_check_get_size.
34742 * malloc/tst-malloc-usable.c: New test case.
34744 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34746 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34748 2012-09-05 Allan McRae <allan@archlinux.org>
34751 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34752 determine header location.
34753 * configure: Regenerated.
34755 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34757 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34759 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34760 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34762 (test): Regenerate.
34764 2012-09-04 David S. Miller <davem@davemloft.net>
34766 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34767 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34768 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34770 2012-09-04 Florian Weimer <fweimer@redhat.com>
34772 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34775 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34777 2012-09-04 Joseph Myers <joseph@codesourcery.com>
34780 * libio/iogetdelim.c: Include <limits.h>.
34781 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34782 + len + 1 would overflow.
34784 2012-09-03 Andreas Jaeger <aj@suse.de>
34786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34787 * sysdeps/i386/fpu/libm-test-ulps: Update.
34789 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34791 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34792 Add s_sinf-sse2, s_conf-sse2.
34794 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34795 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34796 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34797 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34799 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34800 for using routine as __sinf_ia32.
34801 Use macro for function declaration and weak_alias.
34802 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34803 for using routine as __cosf_ia32.
34804 Use macro for function declaration and weak_alias.
34806 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34807 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34809 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34810 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34813 * math/libm-test.inc (cos_test): Add more test cases.
34814 (sin_test): Likewise.
34815 (sincos_test): Likewise.
34817 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34819 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34820 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34822 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34824 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34827 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34828 first element of the GOT.
34829 (elf_machine_load_address): Return the difference between
34830 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34832 2012-09-01 Allan McRae <allan@archlinux.org>
34835 * configure.in (AWK): Require gawk version 3.0 or later.
34836 * configure: Regenerated.
34838 2012-09-01 Joseph Myers <joseph@codesourcery.com>
34840 * sysdeps/unix/sysv/linux/kernel-features.h
34841 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34842 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34843 [__NR_clock_getres]: Make code unconditional.
34844 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34845 (clock_getcpuclockid): Remove code left unreachable by removal of
34847 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34848 code unconditional.
34849 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34850 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34851 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34852 Make code unconditional.
34853 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34854 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34855 * sysdeps/unix/sysv/linux/clock_settime.c
34856 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34858 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34859 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34861 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34864 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34865 scripts/test-installation.pl.
34867 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34868 and $ld_so_version if it is set.
34870 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34873 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34874 failure if reading from procfs failed.
34875 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34877 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34879 * sysdeps/unix/sysv/linux/kernel-features.h
34880 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34881 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34882 Remove conditional code.
34883 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34884 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34885 Remove conditional code.
34886 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34887 * sysdeps/unix/sysv/linux/i386/fxstat.c
34888 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34889 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34890 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34891 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34892 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34893 * sysdeps/unix/sysv/linux/i386/lxstat.c
34894 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34895 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34896 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34897 Remove conditional code.
34898 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34899 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34900 Remove conditional code.
34901 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34902 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34903 <kernel-features.h>.
34904 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34906 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34907 Remove conditional code.
34908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34909 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34910 Remove conditional.
34912 2012-08-27 Mike Frysinger <vapier@gentoo.org>
34915 * NEWS: Add fixed bug number.
34917 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34920 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34921 underflowing exponent in case of negative sign.
34922 * stdlib/tst-strtod-round-data: Add more tests.
34923 * stdlib/tst-strtod-round.c (tests): Regenerated.
34926 * stdlib/strtod_l.c (NDIG): Remove.
34927 (HEXNDIG): Likewise.
34928 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34929 smallest representable value.
34930 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34931 lie within an exact representation of 1/2 ulp of the result.
34932 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34934 (TENS_P9_IDX): Define unconditionally.
34935 (TENS_P9_SIZE): Likewise.
34936 (TENS_P10_IDX): Likewise.
34937 (TENS_P10_SIZE): Likewise.
34938 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34939 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34940 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34941 entries for 10^2^13 and 10^2^14.
34942 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34943 (TENS_P13_IDX): Define.
34944 (TENS_P13_SIZE): Likewise.
34945 (TENS_P14_IDX): Likewise.
34946 (TENS_P14_SIZE): Likewise.
34947 (_fpioconst_pow10): Change array size to
34948 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34950 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34951 1024]: Add entries for 10^2^13 and 10^2^14.
34952 [LAST_POW10 > _LAST_POW10]: Remove #error.
34953 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34954 (_fpioconst_pow10): Change array size to
34955 FPIOCONST_POW10_ARRAY_SIZE.
34956 * stdlib/gen-fpioconst.c: New file.
34957 * stdlib/gen-tst-strtod-round.c: Likewise.
34958 * stdlib/tst-strtod-round-data: Likewise.
34959 * stdlib/tst-strtod-round.c: Likewise.
34960 * stdlib/Makefile (tests): Add tst-strtod-round.
34963 * stdlib/strtod_l.c: Include <stdint.h>.
34964 (NDEBUG): Do not define.
34965 (round_and_return): Change EXPONENT parameter to type intmax_t.
34966 Rearrange calculations to avoid internal overflow possibilities.
34967 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34968 Rearrange calculations to avoid internal overflow possibilities.
34969 Assert that number fits inside MPNSIZE limbs.
34970 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34971 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34972 calculations and add assertions to avoid internal overflow
34973 possibilities. Add casts to avoid signed/unsigned operations.
34974 * stdlib/tst-strtod-overflow.c: New file.
34975 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34977 2012-08-25 Marek Polacek <polacek@redhat.com>
34979 * time/time.h: Fix some typos in comments.
34981 2012-08-23 Roland McGrath <roland@hack.frob.com>
34983 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34984 * posix/tst-rfc3484-2.c: Likewise.
34985 * posix/tst-rfc3484-3.c: Likewise.
34987 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34989 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34990 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34992 2012-08-23 Joseph Myers <joseph@codesourcery.com>
34994 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34995 #include of fxstatat64.c.
34997 2012-08-22 Roland McGrath <roland@hack.frob.com>
34999 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35000 * shadow/getspent_r.c: Likewise.
35001 * shadow/getspnam.c: Likewise.
35002 * shadow/getspnam_r.c: Likewise.
35003 * gshadow/getsgent.c: Likewise.
35004 * gshadow/getsgent_r.c: Likewise.
35005 * gshadow/getsgnam.c: Likewise.
35006 * gshadow/getsgnam_r.c: Likewise.
35007 * inet/getnetbyad.c: Likewise.
35008 * inet/getnetbyad_r.c: Likewise.
35009 * inet/getnetbynm.c: Likewise.
35010 * inet/getnetbynm_r.c: Likewise.
35011 * inet/getnetent.c: Likewise.
35012 * inet/getnetent_r.c: Likewise.
35013 * inet/getproto.c: Likewise.
35014 * inet/getproto_r.c: Likewise.
35015 * inet/getprtent.c: Likewise.
35016 * inet/getprtent_r.c: Likewise.
35017 * inet/getprtname.c: Likewise.
35018 * inet/getprtname_r.c: Likewise.
35019 * inet/getrpcbyname.c: Likewise.
35020 * inet/getrpcbyname_r.c: Likewise.
35021 * inet/getrpcbynumber.c: Likewise.
35022 * inet/getrpcbynumber_r.c: Likewise.
35023 * inet/getrpcent.c: Likewise.
35024 * inet/getrpcent_r.c: Likewise.
35025 * inet/getaliasent.c: Likewise.
35026 * inet/getaliasent_r.c: Likewise.
35027 * inet/getaliasname.c: Likewise.
35028 * inet/getaliasname_r.c: Likewise.
35029 * nscd/getgrgid_r.c: Likewise.
35030 * nscd/getgrnam_r.c: Likewise.
35031 * nscd/gethstbyad_r.c: Likewise.
35032 * nscd/gethstbynm3_r.c: Likewise.
35033 * nscd/getpwnam_r.c: Likewise.
35034 * nscd/getpwuid_r.c: Likewise.
35035 * nscd/getsrvbynm_r.c: Likewise.
35036 * nscd/getsrvbypt_r.c: Likewise.
35037 * nscd/gai.c: Likewise.
35039 * configure.in (build_nscd): New substituted variable, set
35040 by --disable-build-nscd and defaults to $use_nscd.
35041 * configure: Regenerated.
35042 * config.make.in (build-nscd): New substituted variable.
35043 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35044 Change conditional to require [$(build-nscd) = yes] as well.
35045 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35048 * configure.in (use_nscd): New substituted variable, set by
35049 --disable-nscd. If enabled, define USE_NSCD.
35050 * configure: Regenerated.
35051 * config.h.in: Add USE_NSCD.
35052 * config.make.in (use-nscd): New substituted variable.
35053 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35054 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35055 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35056 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35057 (CFLAGS-getgrnam_r.c): Likewise.
35058 (CFLAGS-initgroups.c): Likewise.
35059 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35060 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35062 * inet/getnetgrent_r.c
35063 (nscd_setnetgrent): New function, broken out of ...
35064 (setnetgrent): ... here. Call it.
35065 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35066 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35067 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35068 * nscd/Makefile (routines, aux): Move definitions after include of
35069 Makeconfig. Conditionalize on [$(use-nscd) != no].
35070 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35071 Conditionalize on [USE_NSCD].
35072 (is_nscd, nscd_init_cb): Likewise.
35073 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35074 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35075 * nss/nss_db/db-init.c: Likewise.
35076 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35078 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35079 (make_request): Use it.
35080 (cache_valid_p): New function.
35081 (__check_pf): Use it.
35082 * NEWS: Add item for --disable-nscd.
35084 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35086 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35087 to support sed >= 4.2.1-20-ga9bf076.
35088 * configure: Regenerated.
35090 2012-08-22 Roland McGrath <roland@hack.frob.com>
35092 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35093 Conditionalize whole body on [IREL].
35095 2012-08-22 Jeff Law <law@redhat.com>
35098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35099 if the family is PF_UNSPEC.
35101 2012-08-22 Mike Frysinger <vapier@gentoo.org>
35103 * Makerules (lib-version): Rename from V.
35104 (install-lib-nosubdir): Change V to lib-version.
35106 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35109 * powerpc32/power6/wcschr.c: New file.
35110 * powerpc32/power6/wcscpy.c: New file.
35111 * powerpc32/power6/wcsrchr.c: New file.
35112 * powerpc64/power6/wcschr.c: New file.
35113 * powerpc64/power6/wcscpy.c: New file.
35114 * powerpc64/power6/wcsrchr.c: New file.
35116 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35118 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35119 (two_way_short_needle): Use it.
35120 * string/strstr.c (AVAILABLE1_USES_J): Define.
35121 * string/strcasestr.c: Likewise.
35123 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35125 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35128 * NEWS: Add an entry.
35129 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35130 define their defaults.
35131 (two_way_short_needle): Detect end-of-string on-the-fly.
35132 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35133 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35134 * string/bug-strcasestr1.c: New test.
35135 * string/Makefile: Run it.
35137 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35140 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35141 the first character.
35143 2012-08-21 Roland McGrath <roland@hack.frob.com>
35145 * csu/elf-init.c (__libc_csu_irel): Function removed.
35146 * csu/libc-start.c (apply_irel): New function.
35147 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35149 2012-08-21 Joseph Myers <joseph@codesourcery.com>
35151 * sysdeps/unix/sysv/linux/kernel-features.h
35152 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35153 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35154 <kernel-features.h>.
35155 [__NR_fadvise64_64]: Make code unconditional.
35156 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35157 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35158 !__NR_fadvise64_64)]: Likewise.
35159 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35160 !__NR_fadvise64_64))]: Likewise.
35161 [__NR_fadvise64]: Make code unconditional.
35162 [!__NR_fadvise64]: Remove conditional code.
35163 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35164 <kernel-features.h>.
35165 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35167 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35170 not include <kernel-features.h>.
35171 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35173 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35175 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35176 include <kernel-features.h>.
35177 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35179 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35182 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35184 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35185 slight instruction rearrangements per scrollpipe analysis.
35186 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35188 2012-08-20 Roland McGrath <roland@hack.frob.com>
35190 * manual/syslog.texi (syslog; vsyslog, closelog):
35191 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35192 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35194 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35195 DSOCAPS to match condition on defining it.
35197 2012-08-20 Joseph Myers <joseph@codesourcery.com>
35199 * sysdeps/unix/sysv/linux/kernel-features.h
35200 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35202 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35203 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35205 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35206 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35208 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35209 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35211 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35212 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35214 * sysdeps/unix/sysv/linux/kernel-features.h
35215 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35216 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35218 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35219 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35220 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35221 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35222 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35223 Make code unconditional.
35224 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35225 (__mmap64) [!__NR_mmap2]: Likewise.
35226 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35227 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35228 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35229 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35230 [__NR_mmap2]: Make code unconditional.
35231 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35232 (__mmap64) [!__NR_mmap2]: Likewise.
35234 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35236 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35238 2012-08-18 Andreas Jaeger <aj@suse.de>
35240 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35242 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35244 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35245 * include/unistd.h (__have_sock_cloexec): Likewise.
35246 (__have_pipe2): Likewise.
35247 (__have_dup3): Likewise.
35249 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35252 * include/unistd.h (__have_pipe2): Change define into an extern int.
35253 (__have_dup3): Likewise.
35254 * socket/have_sock_cloexec.c: Include fcntl.h.
35255 (__have_pipe2): New variable.
35256 (__have_dup3): Likewise.
35258 2012-08-17 Mike Frysinger <vapier@gentoo.org>
35260 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35262 2012-08-17 Marek Polacek <polacek@redhat.com>
35264 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35265 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35267 2012-08-17 Roland McGrath <roland@hack.frob.com>
35269 * configure.in: Add AC_SUBST for sysheaders.
35270 * configure: Regenerated.
35271 * config.make.in (sysheaders): New substituted variable.
35273 * sysdeps/unix/mkfifo.c: Moved ...
35274 * sysdeps/posix/mkfifo.c: ... here.
35275 * sysdeps/unix/mkfifoat.c: Moved ...
35276 * sysdeps/posix/mkfifoat.c: ... here.
35278 * sysdeps/unix/utime.c: Moved ...
35279 * sysdeps/posix/utime.c: ... here.
35281 * sysdeps/unix/time.c: Moved ...
35282 * sysdeps/posix/time.c: ... here.
35283 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35284 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35286 * sysdeps/unix/nice.c: Moved ...
35287 * sysdeps/posix/nice.c: ... here.
35289 * sysdeps/unix/alarm.c: Moved ...
35290 * sysdeps/posix/alarm.c: ... here.
35292 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35294 2012-08-17 Jeff Law <law@redhat.com>
35296 * intl/Makefile (codeset_mo): New variable.
35297 ($(codeset_mo)): New target.
35298 (tst-codeset.out): Depend on that. Remove explicit rule.
35299 (tst-gettext3.out, tst-gettext5.out): Likewise.
35300 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35301 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35302 * intl/tst-codeset.sh: Remove.
35303 * intl/tst-gettext3.sh: Likewise.
35304 * intl/tst-gettext5.sh: Likewise.
35306 2012-08-17 Roland McGrath <roland@hack.frob.com>
35308 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35309 * sysdeps/unix/syscalls.list: ... here.
35311 * sysdeps/posix/getaddrinfo.c
35312 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35313 (gaiconf_init, gaiconf_reload): Use them.
35314 [!_STATBUF_ST_NSEC]
35315 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35316 Define using time_t rather than struct timespec.
35318 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35319 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35321 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35323 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35324 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35327 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35328 __libc_cleanup_push argument.
35330 * bits/param.h: New file.
35331 * misc/sys/param.h: New file.
35332 * include/sys/param.h: New file.
35333 * misc/Makefile (headers): Add bits/param.h.
35334 * sysdeps/generic/sys/param.h: File removed.
35335 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35336 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35337 * sysdeps/mach/hurd/bits/param.h: New file.
35338 * sysdeps/mach/hurd/sys/param.h: File removed.
35340 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35343 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35345 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35346 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35349 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35350 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35351 rather than -D_IO_MTSAFE_IO conditionally.
35352 * stdio-common/Makefile (CPPFLAGS): Likewise.
35353 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35354 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35355 Use $(libio-mtsafe).
35356 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35357 of -D_IO_MTSAFE_IO.
35358 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35359 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35360 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35361 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35362 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35363 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35364 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35365 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35366 (CFLAGS-fread_u_chk.c): Likewise.
35367 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35368 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35369 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35370 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35371 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35372 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35373 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35374 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35375 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35377 * libio/Makefile: Test [$(libc-reentrant) = yes]
35378 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35381 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35382 * sysdeps/pthread/configure: File removed.
35383 * sysdeps/pthread/Makeconfig: New file.
35384 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35385 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35387 2012-08-16 Gary Benson <gbenson@redhat.com>
35389 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35390 unmapping the first object in a namespace.
35392 2012-08-16 Roland McGrath <roland@hack.frob.com>
35394 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35395 (__internal_setnetgrent): ... this. Add internal_function to
35396 definition. Add libc_hidden_def.
35397 (setnetgrent): Update caller.
35398 (internal_endnetgrent): Renamed to ...
35399 (__internal_endnetgrent): ... this. Add internal_function to
35400 definition. Add libc_hidden_def.
35401 (endnetgrent): Update caller.
35402 (internal_getnetgrent_r): Renamed to ...
35403 (__internal_getnetgrent_r): ... this. Add internal_function to
35404 definition. Add libc_hidden_def.
35405 (__getnetgrent_r): Update caller.
35406 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35408 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35410 * stdlib/longlong.h: Update from GCC.
35412 2012-08-16 Roland McGrath <roland@hack.frob.com>
35414 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35415 on _QL, which is set by umul_ppmm but never used.
35416 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35417 variables, which are set by GMP macros but never used.
35418 * stdio-common/_itowa.c (_itowa): Likewise.
35419 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35420 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35422 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35424 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35425 struct La_sh_regs is not constant.
35426 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35427 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35428 and struct La_sparc64_regs are not constant.
35430 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35432 * sysdeps/unix/sysv/linux/kernel-features.h
35433 (__ASSUME_POSIX_TIMERS): Remove.
35434 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35435 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35436 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35437 Make code unconditional.
35438 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35439 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35440 Make code unconditional.
35441 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35442 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35443 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35444 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35445 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35446 Make code unconditional.
35447 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35448 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35449 (__libc_missing_posix_timers): Remove.
35451 2012-08-15 Roland McGrath <roland@hack.frob.com>
35453 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35454 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35456 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35458 * elf/dl-sym.c: Include <stdlib.h>.
35460 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35461 constants, which avoids warnings in 32-bit builds.
35463 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35464 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35466 * misc/lseek.c: File moved to ...
35467 * io/lseek.c: ... here.
35469 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35471 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35472 shifting LEN more than 31 bits at once.
35474 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35477 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35478 segmentation fault for a case of two empty input strings.
35479 * string/test-strncasecmp.c (check1): Renamed to...
35480 (bz12205): ...this.
35481 (bz14195): Add new testcase for two empty input strings and N > 0.
35482 (test_main): Call new testcase, adapt for renamed function.
35484 2012-08-15 Andreas Jaeger <aj@suse.de>
35487 * crypt/md5test2.c: New test, based on test supplied by Serge
35488 Belyshev <belyshev@depni.sinp.msu.ru>.
35489 * crypt/Makefile (xtests): Add md5test-giant..
35490 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35492 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35495 * crypt/md5.c (md5_process_block): Don't assume the buffer
35496 length is less than 2**32.
35497 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35498 length is less than 2**64.
35500 2012-08-15 Roland McGrath <roland@hack.frob.com>
35502 * string/str-two-way.h: Include <sys/param.h>.
35503 (MAX): Macro removed.
35505 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35506 Move #define and #undef of memmove to just before and after
35507 including <string.h>.
35509 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35510 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35511 and after including <string.h>. Move declarations of
35512 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35513 to before #include "string/memmove.c".
35515 * include/dirent.h: Declare __getdirentries.
35517 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35518 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35520 2012-08-14 Mike Frysinger <vapier@gentoo.org>
35522 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35523 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35524 * sysdeps/i386/configure: Regenerated.
35525 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35526 STABS_CURRENT_FILE, and STABS_FUN.
35527 (END): Remove call to STABS_FUN_END.
35528 (STABS_CURRENT_FILE1): Delete.
35529 (STABS_CURRENT_FILE): Likewise.
35530 (STABS_FUN): Likewise.
35531 (STABS_FUN_END): Likewise.
35532 (STABS_FUN2): Likewise.
35533 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35534 * sysdeps/x86_64/configure: Regenerated.
35536 2012-08-14 Roland McGrath <roland@hack.frob.com>
35538 * elf/dl-open.c: Include <atomic.h>.
35539 * elf/dl-lookup.c: Likewise.
35541 2012-08-14 Joseph Myers <joseph@codesourcery.com>
35543 * sysdeps/unix/sysv/linux/kernel-features.h
35544 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35545 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35547 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35549 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35550 condition on __ASSUME_CLONE_THREAD_FLAGS.
35552 2012-08-14 Andreas Jaeger <aj@suse.de>
35554 * sysdeps/i386/fpu/libm-test-ulps: Update.
35556 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35558 * include/atomic.h (atomic_exchange_and_add): Split into ...
35559 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35562 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35566 2012-08-13 Jeff Law <law@redhat.com>
35568 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35569 null byte in the output string.
35571 2012-08-10 Joseph Myers <joseph@codesourcery.com>
35573 * sysdeps/unix/sysv/linux/kernel-features.h
35574 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35575 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35576 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35577 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35578 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35579 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35580 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35582 2012-08-09 Jeff Law <law@redhat.com>
35585 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35586 When avoid_arena is set, don't retry in the that arena. Pick the
35587 next one, whatever it might be.
35588 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35589 (arena_lock): Pass in new parameter to arena_get2.
35590 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35592 (__libc_malloc): Unify retrying after main arena failure with
35593 __libc_memalign version.
35594 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35596 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35599 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35600 to __redirect_strstr.
35601 (__strstr_sse42): Use typeof __redirect_strstr.
35602 (__strstr_ia32): Likewise.
35603 (__libc_strstr): New prototype.
35604 (strstr): Renamed to ...
35605 (__libc_strstr): This.
35606 (strstr): New strong alias of __libc_strstr.
35607 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35608 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35611 (__libc_time): New prototype.
35612 (time_ifunc): Replace time with __libc_time.
35613 (time): New strong alias and hidden definition of __libc_time.
35614 (__GI_time): Remove strong alias.
35615 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35616 Include <stddef.h>.
35617 (memmove): Redefined to __redirect_memmove.
35618 (__memmove_sse2): Use typeof __redirect_memmove.
35619 (__memmove_ssse3): Likewise.
35620 (__memmove_ssse3_back): Likewise.
35621 (__libc_memmove): New prototype.
35622 (memmove): Renamed to ...
35623 (__libc_memmove): This.
35624 (memmove): New strong alias of __libc_memmove.
35626 2012-08-08 Mark Salter <msalter@redhat.com>
35629 (R_MN10300_TLS_GD): Define.
35630 (R_MN10300_TLS_LD): Likewise.
35631 (R_MN10300_TLS_LDO): Likewise.
35632 (R_MN10300_TLS_GOTIE): Likewise.
35633 (R_MN10300_TLS_IE): Likewise.
35634 (R_MN10300_TLS_LE): Likewise.
35635 (R_MN10300_TLS_DTPMOD): Likewise.
35636 (R_MN10300_TLS_DTPOFF): Likewise.
35637 (R_MN10300_TLS_TPOFF): Likewise.
35638 (R_MN10300_SYM_DIFF): Likewise.
35639 (R_MN10300_ALIGN): Likewise.
35640 (R_MN10300_NUM): Update.
35642 2012-08-08 Joseph Myers <joseph@codesourcery.com>
35644 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35647 2012-08-08 Roland McGrath <roland@hack.frob.com>
35649 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35651 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35652 sysdeps/unix -> sysdeps/posix move.
35653 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35655 2012-08-07 Allan McRae <allan@archlinux.org>
35658 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35659 (SUNOS_CPP): Likewise.
35660 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35662 (open_input): Call CPP using execvp.
35664 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35666 * sysdeps/unix/sysv/linux/kernel-features.h
35667 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35668 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35669 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35670 (__ASSUME_WAITID_SYSCALL): Likewise.
35671 * sysdeps/unix/sysv/linux/dl-execstack.c
35672 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35673 code unconditional.
35674 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35676 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35677 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35678 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35680 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35682 [__ASSUME_WAITID_SYSCALL]: Likewise.
35683 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35685 2012-08-07 Roland McGrath <roland@hack.frob.com>
35687 * sysdeps/unix/closedir.c: Renamed to ...
35688 * sysdeps/posix/closedir.c: ... here.
35689 * sysdeps/unix/dirfd.c: Renamed to ...
35690 * sysdeps/posix/dirfd.c: ... here.
35691 * sysdeps/unix/dirstream.h: Renamed to ...
35692 * sysdeps/posix/dirstream.h: ... here.
35693 * sysdeps/unix/fdopendir.c: Renamed to ...
35694 * sysdeps/posix/fdopendir.c: ... here.
35695 * sysdeps/unix/opendir.c: Renamed to ...
35696 * sysdeps/posix/opendir.c: ... here.
35697 * sysdeps/unix/readdir.c: Renamed to ...
35698 * sysdeps/posix/readdir.c: ... here.
35699 * sysdeps/unix/readdir_r.c: Renamed to ...
35700 * sysdeps/posix/readdir_r.c: ... here.
35701 * sysdeps/unix/rewinddir.c: Renamed to ...
35702 * sysdeps/posix/rewinddir.c: ... here.
35703 * sysdeps/unix/seekdir.c: Renamed to ...
35704 * sysdeps/posix/seekdir.c: ... here.
35705 * sysdeps/unix/telldir.c: Renamed to ...
35706 * sysdeps/posix/telldir.c: ... here.
35707 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35708 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35709 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35710 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35712 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35713 * bits/fcntl.h: ... here.
35715 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35717 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35718 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35719 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35720 (struct flock): Move l_start, l_len to the beginning.
35721 Use __pid_t for l_pid.
35722 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35723 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35724 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35725 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35726 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35727 [__USE_LARGEFILE64] (struct flock64): New type.
35728 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35730 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35731 * bits/dirent.h: ... here.
35733 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35734 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35736 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35738 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35739 Change from 2.6.0 to 2.6.16.
35740 * sysdeps/unix/sysv/linux/configure: Regenerated.
35741 * sysdeps/unix/sysv/linux/kernel-features.h
35742 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35743 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35745 (__ASSUME_UTIMES): Likewise.
35746 (__ASSUME_CLONE_STOPPED): Remove.
35747 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35748 architectures, not kernel version.
35749 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35750 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35751 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35752 (__ASSUME_WAITID_SYSCALL): Likewise.
35753 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35754 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35755 * README: State 2.6.16 as minimum Linux kernel version. Do not
35756 refer to older versions.
35758 2012-08-06 Roland McGrath <roland@hack.frob.com>
35760 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35761 Define alphasort64 as an alias.
35762 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35763 Define versionsort64 as an alias.
35764 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35765 Define scandir64 as an alias.
35766 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35767 Define scandirat64 as an alias.
35768 * dirent/alphasort64.c (alphasort64):
35769 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35770 * dirent/versionsort64.c: Likewise.
35771 * dirent/scandir64.c: Likewise.
35772 * dirent/scandirat64.c: Likewise.
35773 * sysdeps/wordsize-64/alphasort.c: File removed.
35774 * sysdeps/wordsize-64/alphasort64.c: File removed.
35775 * sysdeps/wordsize-64/scandir.c: File removed.
35776 * sysdeps/wordsize-64/scandir64.c: File removed.
35777 * sysdeps/wordsize-64/scandirat.c: File removed.
35778 * sysdeps/wordsize-64/scandirat64.c: File removed.
35779 * sysdeps/wordsize-64/versionsort.c: File removed.
35780 * sysdeps/wordsize-64/versionsort64.c: File removed.
35781 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35782 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35783 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35784 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35785 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35786 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35787 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35788 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35790 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35791 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35792 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35793 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35794 [defined __arch64__ || defined __sparcv9]
35795 (__INO_T_MATCHES_INO64_T): New macro.
35796 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35797 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35798 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35799 * sysdeps/unix/sysv/linux/bits/dirent.h
35800 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35801 (_DIRENT_MATCHES_DIRENT64): New macro.
35803 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35804 Define lockf64 as an alias.
35805 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35806 Define fseeko64 as an alias.
35807 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35808 Define ftello64 as an alias.
35809 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35810 Define _IO_fgetpos64 and fgetpos64 as aliases.
35811 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35812 Define _IO_fsetpos64 and fsetpos64 as aliases.
35813 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35814 Conditionalize body on this.
35815 * libio/fseeko64.c: Likewise.
35816 * libio/ftello64.c: Likewise.
35817 * libio/iofgetpos64.c: Likewise.
35818 * libio/iofsetpos64.c: Likewise.
35819 * sysdeps/wordsize-64/lockf.c: File removed.
35820 * sysdeps/wordsize-64/lockf64.c: File removed.
35821 * sysdeps/wordsize-64/fseeko.c: File removed.
35822 * sysdeps/wordsize-64/fseeko64.c: File removed.
35823 * sysdeps/wordsize-64/ftello.c: File removed.
35824 * sysdeps/wordsize-64/ftello64.c: File removed.
35825 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35826 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35827 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35828 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35829 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35830 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35831 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35832 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35833 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35834 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35835 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35836 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35837 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35838 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35840 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35841 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35842 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35843 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35844 [defined __arch64__ || defined __sparcv9]
35845 (__OFF_T_MATCHES_OFF64_T): New macro.
35846 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35847 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35848 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35849 (__OFF_T_MATCHES_OFF64_T): New macro.
35851 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35853 * stdlib/secure-getenv.c (__secure_getenv): Replace
35854 GLIBC_2_16 with GLIBC_2_17.
35856 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35858 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35859 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35861 2012-08-03 David S. Miller <davem@davemloft.net>
35863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35865 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35867 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35869 (__ASSUME_CORRECT_SI_PID): Likewise.
35870 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35871 (__ASSUME_TMPFS_NAME): Likewise.
35872 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35873 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35874 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35875 (HAVE_AUX_SECURE): Make definition unconditional.
35876 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35877 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35879 2012-08-03 Roland McGrath <roland@hack.frob.com>
35881 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35882 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35883 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35884 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35885 __eloop_threshold instead of SYMLOOP_MAX.
35887 * sysdeps/generic/eloop-threshold.h: New file.
35888 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35890 * elf/chroot_canon.c (chroot_canon): Likewise.
35892 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35895 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35896 Change to 2.6.0 everywhere.
35897 * sysdeps/unix/sysv/linux/configure: Regenerated.
35898 * sysdeps/unix/sysv/linux/kernel-features.h
35899 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35900 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35902 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35903 (__ASSUME_FUTEX_REQUEUE): Remove.
35904 (__ASSUME_STATFS64): Define unconditionally.
35905 (__ASSUME_AT_SECURE): Likewise.
35906 (__ASSUME_CORRECT_SI_PID): Likewise.
35907 (__ASSUME_TGKILL): Define without depending on kernel version for
35909 (__ASSUME_UTIMES): Likewise.
35910 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35912 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35913 (__ASSUME_TMPFS_NAME): Likewise.
35914 * README: Update reference to Linux kernel versions.
35916 2012-08-02 Marek Polacek <polacek@redhat.com>
35919 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35920 libc_cv_asm_type_prefix with %.
35921 * configure: Regenerated.
35922 * include/libc-symbols.h: Remove comment about
35923 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35924 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35925 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35926 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35927 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35928 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35929 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35930 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35931 * elf/tst-unique2mod1.c: Likewise.
35932 * elf/tst-unique1mod2.c: Likewise.
35933 * elf/tst-unique1mod1.c: Likewise.
35934 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35935 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35936 Replace ASM_TYPE_DIRECTIVE with .type.
35937 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35938 * sysdeps/i386/sysdep.h: Likewise.
35939 * sysdeps/x86_64/sysdep.h: Likewise.
35940 * sysdeps/sh/sysdep.h: Likewise.
35941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35942 Do not define ASM_TYPE_DIRECTIVE.
35943 * sysdeps/powerpc/sysdep.h: Likewise.
35944 * sysdeps/powerpc/powerpc32/sysdep.h:
35945 Replace ASM_TYPE_DIRECTIVE with .type.
35946 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35947 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35948 * sysdeps/i386/fpu/e_powf.S: Likewise.
35949 * sysdeps/i386/fpu/e_expl.S: Likewise.
35950 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35951 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35952 * sysdeps/i386/fpu/e_pow.S: Likewise.
35953 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35954 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35955 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35956 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35957 * sysdeps/i386/fpu/e_log2.S: Likewise.
35958 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35959 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35960 * sysdeps/i386/fpu/e_powl.S: Likewise.
35961 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35962 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35963 * sysdeps/i386/fpu/e_logl.S: Likewise.
35964 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35965 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35966 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35967 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35968 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35969 * sysdeps/i386/fpu/e_log.S: Likewise.
35970 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35971 * sysdeps/i386/fpu/e_logf.S: Likewise.
35972 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35973 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35974 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35975 * sysdeps/i386/fpu/e_log10.S: Likewise.
35976 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35977 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35978 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35979 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35980 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35981 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35982 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35983 * sysdeps/i386/i686/strtok.S: Likewise.
35984 * sysdeps/i386/i386-mcount.S: Likewise.
35985 * sysdeps/i386/strtok.S: Likewise.
35986 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35987 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35988 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35989 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35990 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35991 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35992 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35993 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35994 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35995 * sysdeps/x86_64/_mcount.S: Likewise.
35996 * sysdeps/x86_64/strtok.S: Likewise.
35997 * sysdeps/sh/_mcount.S: Likewise.
35999 2012-08-01 Roland McGrath <roland@hack.frob.com>
36001 * libio/iofopen.c: Include <fcntl.h>.
36002 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36003 (_IO_fopen64, fopen64): Define as aliases.
36004 * libio/iofopen64.c: Include <fcntl.h>.
36005 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36006 Conditionalize body on this.
36007 * sysdeps/wordsize-64/iofopen.c: File removed.
36008 * sysdeps/wordsize-64/iofopen64.c: File removed.
36010 2012-08-01 Marek Polacek <polacek@redhat.com>
36012 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36013 Use dlfcn directly instead of a variable.
36014 (binfmt-subdir): Do not define.
36017 2012-08-01 Joseph Myers <joseph@codesourcery.com>
36019 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36020 Remove all definitions.
36021 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36022 <kernel-features.h>.
36023 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36024 (miss_F_GETOWN_EX): Remove all definitions.
36025 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36027 [!__ASSUME_FCNTL64]: Remove conditional code.
36028 [__ASSUME_FCNTL64]: Make code unconditional.
36029 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36030 <kernel-features.h>.
36031 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36032 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36033 (lockf64) [__NR_fcntl64]: Make code unconditional.
36034 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36036 * sysdeps/unix/sysv/linux/kernel-features.h
36037 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36038 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36039 Make code unconditional.
36040 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36041 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36043 [__NR_vfork]: Make code unconditional.
36044 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36045 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36047 [__NR_vfork]: Make code unconditional.
36048 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36049 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36051 2012-08-01 Roland McGrath <roland@hack.frob.com>
36053 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36054 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36056 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36057 Define mkstemp64 as an alias.
36058 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36059 Define mkstemps64 as an alias.
36060 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36061 Define mkostemp64 as an alias.
36062 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36063 Define mkostemps64 as an alias.
36064 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36065 Conditionalize body on this.
36066 * misc/mkostemp64.c: Likewise.
36067 * misc/mkostemps64.c: Likewise.
36068 * misc/mkstemps64.c: Likewise.
36069 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36070 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36071 * sysdeps/wordsize-64/mkostemp.c: File removed.
36072 * sysdeps/wordsize-64/mkstemp.c: File removed.
36073 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36074 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36075 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36076 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36079 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36080 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36081 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36082 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36084 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36085 compat_symbol macros from <shlib-compat.h> rather than the underlying
36086 default_symbol_version and symbol_version macros, so that DEFAULT
36087 lines in shlib-versions are respected.
36088 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36090 2012-08-01 Florian Weimer <fweimer@redhat.com>
36092 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36093 Declare with warn_unused_result.
36094 (setgid, setregid, setegid, setresgid): Likewise.
36095 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36097 * WUR-REPORT: Remove set*id functions.
36099 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36101 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36103 2012-07-31 Roland McGrath <roland@hack.frob.com>
36106 * include/sys/socket.h (__libc_accept, __libc_accept4):
36107 Add attribute_hidden.
36108 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36110 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36112 * inet/getnetgrent_r.c (setup): Likewise.
36114 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36116 2012-07-31 David S. Miller <davem@davemloft.net>
36118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36120 2012-07-31 Joseph Myers <joseph@codesourcery.com>
36123 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36124 value between 1.0 and 2.0 and smaller part has absolute value less
36126 * math/s_clog10.c (__clog10): Likewise.
36127 * math/s_clog10f.c (__clog10f): Likewise.
36128 * math/s_clog10l.c (__clog10l): Likewise.
36129 * math/s_clogf.c (__clogf): Likewise.
36130 * math/s_clogl.c (__clogl): Likewise.
36131 * math/libm-test.inc (clog_test): Add more tests.
36132 (clog10_test): Likewise.
36133 * sysdeps/i386/fpu/libm-test-ulps: Update.
36134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36136 2012-07-31 Florian Weimer <fweimer@redhat.com>
36138 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36139 Exit with zero in case no suitable GID is found, and write a
36140 message to standard error.
36142 2012-07-30 Roland McGrath <roland@hack.frob.com>
36144 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36146 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36147 (MAXPATHLEN): Removed.
36148 (NOGROUP, NODEV): New macros.
36149 (setbit, clrbit, isset, isclr): New macros.
36150 (howmany, roundup, powerof2): New macros.
36151 (DEV_BSIZE): New macro.
36153 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36154 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36156 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36157 definition on [!__NO_LONG_DOUBLE_MATH].
36159 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36160 PTR_MANGLE and PTR_DEMANGLE.
36162 * socket/accept4.c (accept4): Rename to __libc_accept4.
36163 Define accept4 as a weak alias.
36165 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36166 on [_DIRENT_HAVE_D_TYPE].
36167 * io/ftw.c (ftw_dir): Likewise.
36169 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36171 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36173 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36174 Use the BSD numbers rather than the arbitrary ones we had.
36175 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36176 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36177 (SIGXCPU, SIGXFSZ): New macros.
36180 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36181 initializer on [_LIBC_REENTRANT].
36183 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36184 definitions inside [_POSIX_MAPPED_FILES].
36186 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36188 * dirent/opendir.c: Include <fcntl.h>.
36190 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36191 (__libc_getspecific): Likewise.
36192 (__libc_key_create): Likewise.
36194 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36195 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36196 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36197 (tmpfile64): Define as alias.
36198 * sysdeps/wordsize-64/tmpfile.c: File removed.
36199 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36200 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36201 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36203 * stdio-common/vfscanf.c: Include <stdbool.h>.
36204 * nss/makedb.c: Likewise.
36205 * stdio-common/_i18n_number.h: Likewise.
36206 * argp/argp-help.c: Likewise.
36207 * posix/wordexp.c: Likewise.
36208 * sysdeps/posix/spawni.c: Likewise.
36209 * nss/nss_files/files-initgroups.c: Likewise.
36210 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36211 * nss/nss_files/files-initgroups.c: Likewise.
36212 * nss/nss_db/db-netgrp.c: Likewise.
36213 * nss/nss_db/db-initgroups.c: Likewise.
36214 * io/fchmodat.c: Include <sys/stat.h>.
36216 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36217 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36219 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36222 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36223 Add multiple inclusion protection.
36225 2012-07-27 David S. Miller <davem@davemloft.net>
36227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36229 2012-07-27 Gary Benson <gbenson@redhat.com>
36232 * elf/rtld.c: Include <stap-probe.h>.
36233 (dl_main): Added static probes "init_start" and "init_complete".
36234 * elf/dl-load.c: Include <stap-probe.h>.
36235 (lose): Take new parameter "nsid".
36236 Added static probe "map_failed".
36237 (_dl_map_object_from_fd): Pass namespace id to lose.
36238 Added static probe "map_start".
36239 (open_verify): Pass namespace id to lose.
36240 * elf/dl-open.c: Include <stap-probe.h>.
36241 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36242 and "reloc_complete".
36243 * elf/dl-close.c: Include <stap-probe.h>.
36244 (_dl_close_worker): Added static probes "unmap_start" and
36246 * elf/rtld-debugger-interface.txt: New file documenting the above.
36248 2012-07-26 Roland McGrath <roland@hack.frob.com>
36250 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36251 rather than a string variable.
36252 * sunrpc/rpc_main.c (h_output): Likewise.
36253 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36255 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36257 * inet/check_native.c: New file.
36259 2012-07-26 Joseph Myers <joseph@codesourcery.com>
36262 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36263 if larger part has absolute value 1.0.
36264 * math/s_clog10.c (__clog10): Likewise.
36265 * math/s_clog10f.c (__clog10f): Likewise.
36266 * math/s_clog10l.c (__clog10l): Likewise.
36267 * math/s_clogf.c (__clogf): Likewise.
36268 * math/s_clogl.c (__clogl): Likewise.
36269 * math/libm-test.inc (clog_test): Add more tests.
36270 (clog10_test): Likewise.
36271 * sysdeps/i386/fpu/libm-test-ulps: Update.
36272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36274 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36275 (pltexit): Likewise.
36276 (La_regs): Likewise.
36277 (La_retval): Likewise.
36278 (int_retval): Likewise.
36279 Update #error for removed macros to refer only to definitions in
36281 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36283 (pltexit): Likewise.
36284 (La_regs): Likewise.
36285 (La_retval): Likewise.
36286 (int_retval): Likewise.
36287 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36289 (pltexit): Likewise.
36290 (La_regs): Likewise.
36291 (La_retval): Likewise.
36292 (int_retval): Likewise.
36293 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36295 (pltexit): Likewise.
36296 (La_regs): Likewise.
36297 (La_retval): Likewise.
36298 (int_retval): Likewise.
36299 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36301 (pltexit): Likewise.
36302 (La_regs): Likewise.
36303 (La_retval): Likewise.
36304 (int_retval): Likewise.
36305 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36307 (pltexit): Likewise.
36308 (La_regs): Likewise.
36309 (La_retval): Likewise.
36310 (int_retval): Likewise.
36311 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36313 (pltexit): Likewise.
36314 (La_regs): Likewise.
36315 (La_retval): Likewise.
36316 (int_retval): Likewise.
36317 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36318 macro definitions in tst-audit.h.
36319 * sysdeps/i386/tst-audit.h: New file.
36320 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36321 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36322 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36323 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36324 * sysdeps/sh/tst-audit.h: Likewise.
36325 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36326 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36327 * sysdeps/x86_64/tst-audit.h: Likewise.
36329 2012-07-26 Andreas Jaeger <aj@suse.de>
36331 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36334 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36335 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36336 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36338 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36339 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36340 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36342 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36345 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36347 (si_call_addr, si_syscall, si_arch): Define new macro.
36348 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36350 (si_call_addr, si_syscall, si_arch): Define new marcro.
36351 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36353 (si_call_addr, si_syscall, si_arch): Define new macro.
36354 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36356 (si_call_addr, si_syscall, si_arch): Define new macro.
36358 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36361 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36362 Change to 2.4.21 where previously 2.4.1.
36363 * sysdeps/unix/sysv/linux/configure: Regenerated.
36364 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36365 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36366 Linux kernel version.
36367 (__ASSUME_STD_AUXV): Remove.
36368 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36370 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36371 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36372 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36373 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36374 (__ASSUME_NETLINK_SUPPORT): Likewise.
36375 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36376 (__no_netlink_support): Remove conditional definition.
36377 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36379 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36380 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36381 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36382 (if_nameindex_ioctl): Remove.
36383 (if_nameindex_netlink): Do not handle __no_netlink_support.
36384 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36386 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36387 Remove conditional code.
36388 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36390 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36392 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36393 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36394 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36396 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36397 [!__ASSUME_STD_AUXV]: Remove conditional code.
36398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36399 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36400 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36402 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36403 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36405 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36407 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36408 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36410 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36412 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36415 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36418 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36419 code unconditional.
36420 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36422 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36424 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36427 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36429 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36432 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36433 code unconditional.
36434 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36436 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36438 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36441 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36442 code unconditional.
36443 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36445 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36447 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36450 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36452 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36453 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36454 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36455 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36456 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36457 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36458 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36459 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36460 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36461 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36462 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36463 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36464 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36465 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36466 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36467 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36468 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36469 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36470 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36472 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36473 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36474 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36476 2012-07-25 Florian Weimer <fweimer@redhat.com>
36478 * Versions.def: Add GLIBC_2.17.
36479 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36480 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36481 Introduce __libc_secure_getenv.
36482 * stdlib/Versions (2.17): Add secure_getenv
36483 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36484 * stdlib/secure-getenv.c: Rename __secure_getenv to
36485 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36486 symbol __secure_getenv for GLIBC_2.0.
36487 * stdlib/tst-secure-getenv.c: New.
36488 * stdlib/Makefile (tests): Add testcase.
36489 * manual/startup.texi (Environment Access): Document
36491 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36492 __libc_secure_getenv.
36493 * inet/ruserpass.c (ruserpass): Likewise.
36494 * malloc/mtrace.c (mtrace): Likewise.
36495 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36496 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36497 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36498 * sysdeps/posix/tempname.c: Likewise. Evaluate
36499 HAVE_SECURE_GETENV.
36500 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36501 __secure_getenv to __libc_secure_getenv.
36502 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36509 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36515 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36517 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36518 (struct La_i86_retval): Likewise.
36519 (struct La_x86_64_regs): Likewise.
36520 (struct La_x86_64_retval): Likewise.
36521 (struct La_x32_regs): Likewise.
36522 (struct La_x32_retval): Likewise.
36523 (struct La_ppc32_regs): Likewise.
36524 (struct La_ppc32_retval): Likewise.
36525 (struct La_ppc64_regs): Likewise.
36526 (struct La_ppc64_retval): Likewise.
36527 (struct La_sh_regs): Likewise.
36528 (struct La_sh_retval): Likewise.
36529 (struct La_s390_32_regs): Likewise.
36530 (struct La_s390_32_retval): Likewise.
36531 (struct La_s390_64_regs): Likewise.
36532 (struct La_s390_64_retval): Likewise.
36533 (struct La_sparc32_regs): Likewise.
36534 (struct La_sparc32_retval): Likewise.
36535 (struct La_sparc64_regs): Likewise.
36536 (struct La_sparc64_retval): Likewise.
36537 (struct audit_ifaces): Remove architecture-specific pltenter and
36539 * sysdeps/i386/ldsodefs.h: New file.
36540 * sysdeps/powerpc/ldsodefs.h: Likewise.
36541 * sysdeps/s390/ldsodefs.h: Likewise.
36542 * sysdeps/sh/ldsodefs.h: Likewise.
36543 * sysdeps/sparc/ldsodefs.h: Likewise.
36544 * sysdeps/x86_64/ldsodefs.h: Likewise.
36546 2012-07-25 Marek Polacek <polacek@redhat.com>
36549 * math/libm-test.inc (yn_test): Add another test.
36550 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36551 to ERANGE when the result is +-Inf.
36552 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36553 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36554 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36555 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36557 2012-07-24 Joseph Myers <joseph@codesourcery.com>
36559 * conform/data/time.h-data (NULL): Use macro-constant. Require
36561 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36563 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36565 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36567 * configure.in <sysdeps resolving>: Correct printing
36569 * configure: Regenerate.
36571 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36573 * math/w_ilogb.c: Include <limits.h>.
36574 * math/w_ilogbl.c: Likewise.
36576 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36578 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36579 va_copy. Document allowing for unavailable va_copy only as
36580 pre-C99 compatibility.
36581 * manual/string.texi (Copying and Concatenation): Use va_copy
36582 instead of __va_copy in concat example.
36584 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36586 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36587 (__sendto): Use create_address_port. Initialize APORT and deallocate
36590 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36591 with O_NOLINK passed to __file_name_lookup.
36593 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36594 with O_NOLINK passed to __file_name_lookup.
36596 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36597 negative N or less than NGIDS.
36599 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36600 type to string_t. Set ERANGE as errno and return it if NAME is not big
36601 enough. Use memcpy instead of strncpy.
36603 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36605 * elf/Makefile (check-data): Remove.
36606 (localplt.data): New vpath directive.
36607 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36608 instead of $(check-data).
36609 * scripts/data/localplt-generic.data: Move to ...
36610 * sysdeps/generic/localplt.data: ... here.
36611 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36612 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36613 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36616 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36619 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36622 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36625 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36628 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36632 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36634 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36635 PPC32 and PPC64 files.
36636 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36637 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36639 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36641 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36642 __makecontext_ret to ...
36643 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36644 ... here and call exit if uc_link is NULL. New file.
36645 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36646 __makecontext_ret.S.
36647 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36648 __makecontext_ret to ...
36649 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36650 ... here and call exit if uc_link is NULL. New file.
36651 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36652 __makecontext_ret.S.
36654 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36656 * elf/elf.h (R_390_IRELATIVE): New definition.
36657 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36658 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36659 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36660 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36661 (elf_machine_lazy_rel): Likewise.
36662 * sysdeps/s390/dl-irel.h: New file.
36663 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36664 * sysdeps/s390/s390-64/memset.S: New asm code.
36665 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36666 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36667 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36668 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36669 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36670 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36671 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36672 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36673 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36674 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36675 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36676 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36677 * sysdeps/s390/s390-32/memset.S: New asm code.
36678 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36680 2012-07-17 Marek Polacek <polacek@redhat.com>
36683 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36684 * sysdeps/s390/s390-64/configure.in: Likewise.
36685 * sysdeps/sparc/configure.in: Likewise.
36686 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36687 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36688 * sysdeps/i386/configure.in: Likewise.
36689 * sysdeps/x86_64/configure.in: Likewise.
36690 * sysdeps/sh/configure.in: Likewise.
36691 * sysdeps/s390/s390-32/configure: Regenerated.
36692 * sysdeps/s390/s390-64/configure: Likewise.
36693 * sysdeps/x86_64/configure: Likewise.
36694 * sysdeps/sh/configure: Likewise.
36695 * sysdeps/powerpc/powerpc64/configure: Likewise.
36696 * sysdeps/powerpc/powerpc32/configure: Likewise.
36697 * sysdeps/sparc/configure: Likwise.
36698 * sysdeps/i386/configure: Likewise.
36700 * elf/dl-open.c: Comment fixes.
36702 2012-07-17 Joseph Myers <joseph@codesourcery.com>
36704 * Makefile [CXX] (check-data): Remove.
36705 [CXX] (c++-types.data): New vpath directive.
36706 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36707 vpath. Do not allow for C++ type data being missing.
36708 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36709 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36710 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36711 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36712 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36713 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36714 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36717 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36720 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36723 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36726 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36729 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36732 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36735 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36738 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36739 definitions to architecture-specific files.
36740 (TLS_IE): Likewise.
36741 (TLS_LD): Likewise.
36742 (TLS_GD): Likewise.
36743 * sysdeps/i386/tls-macros.h: New file.
36744 * sysdeps/powerpc/tls-macros.h: Likewise.
36745 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36746 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36747 * sysdeps/sh/tls-macros.h: Likewise.
36748 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36749 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36750 * sysdeps/x86_64/tls-macros.h: Likewise.
36752 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36754 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36755 zero value for regular exit case.
36757 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36758 (__start_context): Preserve zero value for regular exit case.
36760 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36761 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36763 * manual/setjmp.texi (setcontext): Clarify normal process
36764 termination when uc_link is the null pointer.
36765 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36768 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36770 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36771 preprocessor. Test for each exception mask separately.
36773 2012-07-16 Andreas Jaeger <aj@suse.de>
36775 * po/ru.po: Update from translation team.
36777 2012-07-15 Joseph Myers <joseph@codesourcery.com>
36779 * conform/data/string.h-data (NULL): Use macro-constant. Require
36781 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36782 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36783 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36784 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36785 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36787 2012-07-13 Andreas Jaeger <aj@suse.de>
36789 * po/fr.po: Update from translation team.
36791 2012-07-12 Marek Polacek <polacek@redhat.com>
36794 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36795 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36798 2012-07-12 Joseph Myers <joseph@codesourcery.com>
36801 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36802 Change to 2.4.1 where previously 2.4.0.
36803 * sysdeps/unix/sysv/linux/configure: Regenerated.
36804 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36805 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36807 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36808 (__ASSUME_AT_CLKTCK): Remove.
36809 (__ASSUME_AT_PAGESIZE): Likewise.
36810 (__ASSUME_AT_XID): Likewise.
36811 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36812 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36813 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36815 (HAVE_AUX_PAGESIZE): Likewise.
36816 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36817 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36818 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36820 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36824 the temporary buffer used to invoke __gethostbyname2_r,
36825 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36826 host_data / struct gaih_addrtuple.
36827 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36828 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36829 header file nss/nsswitch.h.
36830 * nss/nsswitch.h (global scope): Add definition of implementation
36831 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36832 resolv/nss_dns/dns-host.c).
36834 2012-07-11 Andreas Jaeger <aj@suse.de>
36836 * po/fr.po: Update from translation team.
36838 * po/sv.po: Update from translation team
36839 * po/fr.po: Another update from translation team.
36841 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36843 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36844 for subnormals or multiply small sinh result by itself.
36845 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36848 2012-07-11 David S. Miller <davem@davemloft.net>
36850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36852 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36855 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36856 (INTERNAL_MARK): Shift it here.
36858 2012-07-10 Marek Polacek <polacek@redhat.com>
36861 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36862 libc_cv_asm_global_directive with .globl.
36863 * configure: Regenerated.
36864 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36866 * sysdeps/i386/configure: Regenerated.
36867 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36869 * sysdeps/x86_64/configure: Regenerated.
36870 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36871 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36872 * elf/tst-unique2mod2.c: Likewise.
36873 * elf/tst-unique2mod1.c: Likewise.
36874 * elf/tst-unique1mod2.c: Likewise.
36875 * elf/tst-unique1mod1.c: Likewise.
36876 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36877 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36878 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36879 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36880 * sysdeps/mach/sysdep.h: Likewise.
36881 * sysdeps/i386/sysdep.h: Likewise.
36882 * sysdeps/i386/i386-mcount.S: Likewise.
36883 * sysdeps/x86_64/_mcount.S: Likewise.
36884 * sysdeps/x86_64/sysdep.h: Likewise.
36885 * sysdeps/sh/_mcount.S: Likewise.
36886 * sysdeps/sh/sysdep.h: Likewise.
36887 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36888 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36889 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36890 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36891 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36892 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36893 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36894 * locale/localeinfo.h: Likewise.
36895 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36896 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36898 2012-07-09 Roland McGrath <roland@hack.frob.com>
36901 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36903 * manual/message.texi (The Uniforum approach): Likewise.
36904 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36905 (glibc iconv Implementation): Likewise.
36907 2012-07-09 Joseph Myers <joseph@codesourcery.com>
36910 * math/s_clog.c (__clog): Avoid scaling a value down where that
36911 could result in underflow.
36912 * math/s_clog10.c (__clog10): Likewise.
36913 * math/s_clog10f.c (__clog10f): Likewise.
36914 * math/s_clog10l.c (__clog10l): Likewise.
36915 * math/s_clogf.c (__clogf): Likewise.
36916 * math/s_clogl.c (__clogl): Likewise.
36917 * math/libm-test.inc (clog_test): Add more tests.
36918 (clog10_test): Likewise.
36919 * sysdeps/i386/fpu/libm-test-ulps: Update.
36920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36922 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36925 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36926 by 7 not 8 to examine high bit of fractional part.
36929 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36930 for call to __mcount_internal.
36931 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36932 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36933 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36935 2012-07-06 Joseph Myers <joseph@codesourcery.com>
36938 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36939 approximation for values within 0x1p-13f of an odd multiple of
36941 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36942 exception. Add more tests.
36943 * sysdeps/i386/fpu/libm-test-ulps: Update.
36946 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36947 inputs and return -1 for them. Do not check for +Inf in case not
36948 reachable for +Inf.
36949 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36950 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36951 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36952 and return -1 for them. Do not check for +Inf in case not
36953 reachable for +Inf.
36954 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36956 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36957 and return -1 for them. Do not check for +Inf in case not
36958 reachable for +Inf.
36959 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36960 spurious underflow.
36961 * sysdeps/i386/fpu/libm-test-ulps: Update.
36962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36964 2012-07-06 Mike Frysinger <vapier@gentoo.org>
36966 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36968 2012-07-05 Joseph Myers <joseph@codesourcery.com>
36972 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36973 could result in spurious underflow. Scale down values above
36974 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36975 * math/s_csqrtf.c (__csqrtf): Likewise.
36976 * math/s_csqrtl.c (__csqrtl): Likewise.
36977 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36978 spurious underflow.
36979 * sysdeps/i386/fpu/libm-test-ulps: Update.
36980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36982 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36984 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36986 * catgets/xopen-msg.awk: New file.
36987 * catgets/xopen-msg.sed: Removed.
36989 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36991 * intl/po2test.awk: New file.
36992 * intl/po2test.sed: Removed.
36994 2012-07-04 Joseph Myers <joseph@codesourcery.com>
36997 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36998 or multiply small sinh result by itself.
36999 * math/s_ctanf.c (__ctanf): Likewise.
37000 * math/s_ctanh.c (__ctanh): Likewise.
37001 * math/s_ctanhf.c (__ctanhf): Likewise.
37002 * math/s_ctanhl.c (__ctanhl): Likewise.
37003 * math/s_ctanl.c (__ctanl): Likewise.
37004 * math/libm-test.inc (ctan_test_tonearest): New function.
37005 (ctan_test_towardzero): Likewise.
37006 (ctan_test_downward): Likewise.
37007 (ctan_test_upward): Likewise.
37008 (ctanh_test_tonearest): Likewise.
37009 (ctanh_test_towardzero): Likewise.
37010 (ctanh_test_downward): Likewise.
37011 (ctanh_test_upward): Likewise.
37012 (main): Call these new functions.
37013 * sysdeps/i386/fpu/libm-test-ulps: Update.
37014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37016 2012-07-03 Mike Frysinger <vapier@gentoo.org>
37018 * .gitignore: Delete /ports entry.
37020 2012-07-03 Andreas Jaeger <aj@suse.de>
37022 * po/bg.po: Update from translation team.
37023 * po/cs.po: Likewise.
37024 * po/de.po: Likewise.
37025 * po/hr.po: Likewise.
37026 * po/nl.pl: Likewise.
37027 * po/pl.po: Likewise.
37028 * po/vi.po: Likewise.
37030 2012-07-03 Joseph Myers <joseph@codesourcery.com>
37032 * Makeconfig [!+link] (+link-before-libc): New variable.
37033 [!+link] (+link-after-libc): Likewise.
37034 [!+link] (+link-tests): Likewise.
37035 [!+link] (+link): Define in terms of $(+link-before-libc) and
37036 $(+link-after-libc).
37037 [!+link-static] (+link-static-before-libc): New variable.
37038 [!+link-static] (+link-static-after-libc): Likewise.
37039 [!+link-static] (+link-static-tests): Likewise.
37040 [!+link-static] (+link-static): Define in terms of
37041 $(+link-static-before-libc) and $(+link-static-after-libc).
37042 [build-shared] (link-libc-before-gnulib): New variable.
37043 [build-shared] (link-libc-tests): Likewise.
37044 [build-shared] (link-libc): Define in terms of
37045 $(link-libc-before-gnulib).
37046 [!build-shared] (link-libc-tests): New variable.
37047 (link-libc-static-tests): New variable.
37048 [!gnulib] (gnulib-arch): New variable.
37049 [!gnulib] (gnulib-tests): Likewise.
37050 [!gnulib] (static-gnulib-arch): Likewise.
37051 [!gnulib] (static-gnulib-tests): Likewise.
37052 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37053 Define with "=" instead of ":=".
37054 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37055 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37056 * Rules (binaries-all-notests): New variable.
37057 (binaries-all-tests): Likewise.
37058 (binaries-static-notests): Likewise.
37059 (binaries-static-tests): Likewise.
37060 (binaries-all): Define using $(binaries-all-notests) and
37061 $(binaries-all-tests).
37062 (binaries-static): Define using $(binaries-static-notests) and
37063 $(binaries-static-tests).
37064 (binaries-shared-tests): New variable.
37065 (binaries-shared-notests): Likewise.
37066 (binaries-shared): Remove variable.
37067 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37068 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37069 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37070 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37071 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37072 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37073 * elf/Makefile (sln-modules): New variable.
37074 (extra-objs): Add $(sln-modules:=.o).
37075 (ldconfig-modules): Add static-stubs.
37076 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37077 * elf/static-stubs.c: New file.
37080 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37081 by 7 not 8 to examine high bit of fractional part. Use volatile
37082 variables when splitting into final array of floats if
37083 __FLT_EVAL_METHOD__ != 0.
37084 * math/libm-test.inc (cos_test): Add another test.
37085 (sin_test): Likewise.
37086 * sysdeps/i386/fpu/libm-test-ulps: Update.
37089 * math/libm-test.inc (cosh_test): Add more tests.
37091 * version.h (RELEASE): Set to "development".
37092 (VERSION): Set to "2.16.90".
37094 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37096 * NEWS: Update copyright. Remove last-updated date.
37097 Mention math library bug fixes and timezone data changes.
37098 * README: Mention GNU/Hurd, x32, and HPPA support status.
37100 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37102 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37104 2012-06-27 Andreas Jaeger <aj@suse.de>
37106 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37108 2012-06-25 Andreas Jaeger <aj@suse.de>
37110 * sysdeps/s390/fpu/libm-test-ulps: Update.
37112 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37113 Thomas Schwinge <thomas@codesourcery.com>
37115 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37116 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37117 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37120 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37122 * sysdeps/mach/start.c: Remove file.
37123 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37124 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37125 * sysdeps/sh/init-first.c: Likewise.
37127 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37128 registers for frame unwinding purposes, add CFI directives.
37129 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37130 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37131 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37134 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37135 __fortify_fail returning.
37136 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37138 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37139 sysdeps/sh/____longjmp_chk.S.
37140 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37141 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37142 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37143 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37145 * sysdeps/sh/abort-instr.h: New file.
37146 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37147 process in case exit returns.
37149 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37150 initialize the GOT register before use.
37152 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37153 calculation of ARGC > 4.
37155 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37156 meaningful names to some local labels.
37158 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37159 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37161 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37162 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37163 (__arch_compare_and_exchange_val_16_acq): Likewise.
37164 (__arch_compare_and_exchange_val_32_acq): Likewise.
37165 (atomic_exchange_and_add): Fix gUSA sequence.
37166 (atomic_add): Likewise.
37167 (atomic_add_negative): Likewise.
37168 (atomic_add_zero): Likewise.
37169 (atomic_bit_test_set): Likewise.
37171 2012-06-22 Andreas Schwab <schwab@redhat.com>
37174 * include/link.h (struct link_map): Add l_free_initfini.
37175 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37177 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37178 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37179 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37182 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37184 * configure.in: Use AC_LANG_SOURCE.
37185 * configure: Regenerate.
37187 2012-06-22 Roland McGrath <roland@hack.frob.com>
37189 * configure.in (libc_cv_localstatedir): New substituted variable.
37190 * configure: Regenerated.
37191 * config.make.in (localstatedir): New variable, substituted from
37192 libc_cv_localstatedir.
37193 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37194 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37195 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37196 * sysdeps/gnu/configure: Regenerated.
37198 2012-06-21 Jeff Law <law@redhat.com>
37201 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37202 free. Simplify list management for _LIBC case.
37204 2012-06-21 Joseph Myers <joseph@codesourcery.com>
37207 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37208 Clear sign bit of 64-bit integer value before comparing against
37211 * sysdeps/mach/configure: Regenerated.
37213 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37216 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37218 2012-06-21 Jeff Law <law@redhat.com>
37221 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37222 uint16_t for elements in the "seen" array to avoid char overflows.
37223 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37224 * elf/dl-open.c (dl_open_worker): Likewise.
37226 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37228 * scripts/list-sources.sh: Scan PORTS for translations.
37229 * po/libc.pot: Regenerated.
37231 2012-06-21 Andreas Jaeger <aj@suse.de>
37234 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37236 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37237 * bits/byteswap-16.h (__bswap_16): Likewise.
37238 * bits/byteswap.h (__bswap_constant_16): Likewise.
37240 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37243 * sysdeps/i386/fpu_control.h: Removed.
37244 * sysdeps/x86_64/fpu_control.h: Moved to ...
37245 * sysdeps/x86/fpu_control.h: Here.
37247 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37248 (_FPU_SETCW): Likewise.
37250 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37253 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37254 * sysdeps/x86/fpu/bits/mathinline.h: This.
37255 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37259 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37260 functions if __x86_64__ is defined.
37262 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37264 * string/endian.h: Add !__ASSEMBLER__ condition for including
37265 conversion interfaces.
37267 2012-06-15 Joseph Myers <joseph@codesourcery.com>
37270 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37271 of ABS(x) in calculating zero to negative powers other than odd
37273 * math/libm-test.inc (pow_test): Add more tests.
37275 2012-06-15 Andreas Jaeger <aj@suse.de>
37277 * manual/contrib.texi (Contributors): Update entry of Liubov
37278 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37281 2012-06-15 Cyril Hrubis <metan@ucw.cz>
37283 * string/string.h: Add __wur to GNU version of strerror_r.
37285 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37288 * string/Makefile (tests): Add tst-strtok_r.
37289 * string/tst-strtok_r.c: New file.
37290 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37291 RAX_LP/RDX_LP on SAVE_PTR.
37293 2012-06-14 Roland McGrath <roland@hack.frob.com>
37295 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37297 2012-06-14 Joseph Myers <joseph@codesourcery.com>
37299 * libm_test.inc (csqrt_test): Allow more spurious underflow
37301 (j0_test): Likewise.
37302 (j1_test): Likewise.
37303 (y0_test): Likewise.
37304 (y1_test): Likewise.
37306 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37308 * po/Makefile (libc.pot): Use UTF-8 charset.
37310 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37313 Suppress sign-conversion warning from FD_SET.
37314 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37315 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37316 not unsigned long int.
37317 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37319 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37323 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37324 __extern_always_inline instead of __extern_inline.
37325 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37326 (__signbit): Likewise.
37327 (__signbitl): Support C++ namespace.
37328 (lrintf): New inline function.
37330 (llrintf): Likewise.
37331 (llrint): Likewise.
37341 (floorf): Likewise.
37342 (nearbyint): Likewise.
37343 (nearbyintf): Likewise.
37345 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37347 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37348 non-default versions.
37350 2012-06-11 Roland McGrath <roland@hack.frob.com>
37353 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37355 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37357 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37358 (FE_UPWARD, FE_DOWNWARD): Don't define.
37359 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37360 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37362 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37364 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37365 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37367 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37369 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37370 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37371 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37372 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37374 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37377 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37378 * sysdeps/i386/fpu/Implies: New file.
37379 * sysdeps/x86_64/fpu/Implies: Likewise.
37380 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37381 * sysdeps/x86/fpu/bits/fenv.h: This.
37383 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37386 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37389 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37390 character 0xffff that matches the last element of the
37393 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37395 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37398 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37400 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37401 values higher than 25.6283.
37403 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37406 subnormal exponent extraction and add some __builtin_expect.
37407 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37408 Fix for subnormal mantissa calculation.
37410 2012-06-04 Mike Frysinger <vapier@gentoo.org>
37412 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37413 cpu2 is -1 and errno is not ENOSYS.
37415 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37418 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37419 * sysdeps/x86/bits/string.h: This.
37420 * sysdeps/x86_64/bits/string.h: Removed.
37422 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37423 if not compiling for x86-64, but compiling for >= i486.
37425 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37426 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37428 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37429 New macro from Linux kernel 3.4.0.
37430 (FP_XSTATE_MAGIC2): Likewise.
37431 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37432 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37433 (struct _fpx_sw_bytes): New struct.
37434 (struct _xsave_hdr): Likewise.
37435 (struct _ymmh_state): Likewise.
37436 (struct _xstate): Likewise.
37438 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37439 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37440 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37441 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37442 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37443 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37445 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37446 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37447 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37448 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37449 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37450 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37452 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37455 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37456 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37457 (sysdep_headers): Include sys/platform/ppc.h.
37458 * sysdeps/powerpc/test-gettimebase.c: Test for
37459 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37460 * manual/Makefile (appendices): Include platform.texi.
37461 * manual/contrib.texi (Contributors): Update @node pointers.
37462 * manual/maint.texi (Maintenance): Likewise.
37463 (Platform): New node.
37464 * manual/platform.texi: New file. Document the new features.
37466 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37467 Jakub Jelinek <jakub@redhat.com>
37470 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37471 where __builtin_expect is unavailable.
37473 2012-06-03 David S. Miller <davem@davemloft.net>
37475 * stdlib/longlong.h: Updated from GCC.
37477 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37480 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37481 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37484 (GLIBC_2.16): Likewise.
37486 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37488 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37490 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37493 (default-abi): New variable.
37494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37495 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37497 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37499 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37501 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37504 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37505 definition. Document in comment.
37507 2012-06-01 David S. Miller <davem@davemloft.net>
37509 * stdlib/longlong.h: Updated from GCC.
37511 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37514 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37515 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37516 sys/debugreg.h sys/io.h here.
37517 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37518 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37520 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37521 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37522 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37523 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37524 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37525 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37527 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37528 Define only if __x86_64__ is defined.
37530 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37533 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37534 Use int64_t for variable i.
37535 * math/libm-test.inc (fmod_test): Add more tests.
37537 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37538 z computation is not scheduled after fetestexcept.
37539 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37540 Use math_force_eval instead of asm to ensure calculation scheduled
37541 before exception test.
37542 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37543 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37545 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37548 computation is not scheduled after fetestexcept.
37550 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37553 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37554 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37556 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37558 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37559 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37561 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37564 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37566 (__WCHAR_MIN): Support __WORDSIZE == 64.
37567 (__WCHAR_MAX): Likewise.
37569 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37570 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37573 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37574 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37577 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37578 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37580 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37581 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37583 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37584 Defined to 1 if __x86_64__ isn't defined.
37585 (_STAT_VER_LINUX_OLD): New.
37586 (st_atime): Remove duplicate.
37587 (st_mtime): Likewise.
37588 (st_ctime): Likewise.
37590 2012-05-31 David S. Miller <davem@davemloft.net>
37592 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37595 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37597 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37601 * elf/dl-reloc.c: Include <_itoa.h>.
37602 (_dl_reloc_bad_type): Remove use of INTUSE.
37603 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37604 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37605 * stdio-common/psiginfo.c (psiginfo): Likewise.
37606 * stdio-common/psignal.c (psignal): Likewise.
37607 * string/strsignal.c (strsignal): Likewise.
37608 * include/signal.h (_sys_siglist): Declare hidden proto.
37609 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37610 INTVARDEF with libc_hidden_data_def.
37611 * stdio-common/itoa-udigits.c: Likewise.
37612 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37613 (_itoa_lower_digits_internal): Remove declaration.
37614 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37615 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37616 (_sys_sigabbrev_internal): Remove aliases.
37617 (_sys_siglist): Define hidden alias.
37619 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37624 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37627 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37628 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37630 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37631 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37632 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37633 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37634 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37635 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37637 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37638 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37639 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37641 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37649 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37650 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37651 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37653 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37654 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37656 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37657 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37658 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37660 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37661 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37663 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37664 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37666 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37667 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37668 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37670 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37671 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37673 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37675 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37676 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37677 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37679 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37681 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37683 2012-05-31 Joseph Myers <joseph@codesourcery.com>
37685 * math/math.h (M_El): Use two more decimal places.
37686 (M_LOG2El): Likewise.
37687 (M_LOG10El): Likewise.
37688 (M_LN2l): Likewise.
37689 (M_LN10l): Likewise.
37691 (M_PI_2l): Likewise.
37692 (M_PI_4l): Likewise.
37693 (M_1_PIl): Likewise.
37694 (M_2_PIl): Likewise.
37695 (M_2_SQRTPIl): Likewise.
37696 (M_SQRT2l): Likewise.
37697 (M_SQRT1_2l): Likewise.
37699 2012-05-31 David S. Miller <davem@davemloft.net>
37701 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37702 values between float registers.
37703 * sysdeps/sparc/sparc64/memset.S: Likewise.
37704 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37706 2012-05-31 Mike Frysinger <vapier@gentoo.org>
37708 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37709 -D_FORTIFY_SOURCE=1.
37710 (CPPFLAGS-tst-longjmp_chk.c): Define.
37711 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37712 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37713 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37714 CFLAGS-tst-wchar-h.c.
37716 2012-05-31 Marek Polacek <polacek@redhat.com>
37719 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37720 __endmntent_internal): Remove declaration.
37721 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37722 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37723 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37725 2012-05-30 David S. Miller <davem@davemloft.net>
37727 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37728 (___Q_simulate_exceptions): Use real FP ops rather than writing
37730 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37733 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37736 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37737 * sysdeps/x86/bits/xtitypes.h: This.
37739 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37740 * sysdeps/x86/bits/wordsize.h: This.
37742 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37743 * sysdeps/x86/bits/huge_vall.h: This.
37745 * sysdeps/i386/bits/select.h: Removed.
37746 * sysdeps/x86_64/bits/select.h: Renamed to ...
37747 * sysdeps/x86/bits/select.h: This.
37749 * sysdeps/i386/bits/setjmp.h: Removed.
37750 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37751 * sysdeps/x86/bits/setjmp.h: This.
37753 * sysdeps/i386/bits/mathdef.h: Removed.
37754 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37755 * sysdeps/x86/bits/mathdef.h: This.
37757 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37760 * include/sys/socket.h (__connect_internal)
37761 (__libc_sa_len_internal): Remove declaration.
37762 (__connect, __libc_sa_len): Declare hidden_proto.
37763 (SA_LEN): Remove use of INTUSE.
37764 * socket/connect.c: Add libc_hidden_def.
37765 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37766 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37767 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37769 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37770 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37771 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37772 of adding _internal alias.
37774 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37777 * sysdeps/i386/bits/link.h: Removed.
37778 * sysdeps/i386/bits/linkmap.h: Likewise.
37779 * sysdeps/x86_64/bits/link.h: Renamed to ...
37780 * sysdeps/x86/bits/link.h: This.
37781 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37782 * sysdeps/x86/bits/linkmap.h: This.
37784 * sysdeps/i386/bits/endian.h: Removed.
37785 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37786 * sysdeps/x86/bits/endian.h: This.
37788 * sysdeps/i386/bits/byteswap.h: Removed.
37789 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37790 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37791 * sysdeps/x86/bits/byteswap.h: This.
37792 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37793 * sysdeps/x86/bits/byteswap-16.h: This.
37794 * sysdeps/i386/Implies: Add x86.
37795 * sysdeps/x86_64/Implies: Likewise.
37797 2012-05-30 David S. Miller <davem@davemloft.net>
37799 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37800 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37801 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37802 (FP_TRAPPING_EXCEPTIONS): Define.
37803 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37804 (FP_TRAPPING_EXCEPTIONS): Define.
37805 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37806 subnormals only when inexact has been signalled or underflow
37807 exceptions are enabled.
37808 (_FP_PACK_CANONICAL): Likewise.
37810 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37813 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37814 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37816 2012-05-30 Richard Henderson <rth@twiddle.net>
37818 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37819 with #ifndef NOT_IN_libc.
37821 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37822 marked to avoid plt entry.
37824 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37827 * Makeconfig (default-abi): New macro.
37828 (abi-includes): Likewise.
37829 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37830 $(abi-$(default-abi)-lib-soname) for soname if defined.
37831 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37833 * Makefile (installed-stubs): Likewise.
37834 * include/stubs-biarch.h: Removed.
37835 * scripts/lib-names.awk: Only handle one library at a time.
37836 * scripts/soversions.awk: Remove WORDSIZE support.
37837 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37839 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37841 (syscall-list-default-condition): Likewise.
37842 (syscall-list-default-condition): Likewise.
37843 (syscall-list-includes): Likewise.
37844 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37845 syscall-list-* with abi-*. Handle undefined abi-variants.
37846 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37847 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37848 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37849 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37850 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37851 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37853 (syscall-list-32-options): Likewise.
37854 (syscall-list-32-condition): Likewise.
37855 (syscall-list-64-options): Likewise.
37856 (syscall-list-64-condition): Likewise.
37857 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37859 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37862 (abi-64-ld-soname): New macro.
37863 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37864 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37867 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37868 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37870 2012-05-30 Joseph Myers <joseph@codesourcery.com>
37872 * sysdeps/unix/sysv/linux/kernel-features.h
37873 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37874 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37875 include <kernel-features.h>.
37876 [!__NR_ftruncate64]: Remove conditional code.
37877 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37878 [__NR_ftruncate64]: Make code unconditional.
37879 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37880 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37881 include <kernel-features.h>.
37882 [!__NR_ftruncate64]: Remove conditional code.
37883 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37884 [__NR_ftruncate64]: Make code unconditional.
37885 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37887 include <kernel-features.h>.
37888 [!__NR_ftruncate64]: Remove conditional code.
37889 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37890 [__NR_ftruncate64]: Make code unconditional.
37891 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37893 include <kernel-features.h>.
37894 [!__NR_ftruncate64]: Remove conditional code.
37895 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37896 [__NR_ftruncate64]: Make code unconditional.
37897 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37899 * configure.in (libc_cv_fpie): Weaken to a compile test using
37900 LIBC_TRY_CC_OPTION.
37901 * configure: Regenerated.
37903 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37918 2012-05-27 David S. Miller <davem@davemloft.net>
37920 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37922 (__Q_simulate_exceptions): Return void. Change to simulate
37923 exceptions by writing into the %fsr.
37924 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37925 (__Qp_handle_exceptions): Likewise.
37927 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37928 __Qp_handle_exceptions.
37929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37930 __Qp_handle_exceptions.
37931 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37932 as unused and give dummy FP_RND_NEAREST initializer.
37933 (FP_INHIBIT_RESULTS): Define.
37934 (___Q_simulate_exceptions): Update declaration.
37935 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37937 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37938 as unused and give dummy FP_RND_NEAREST initializer.
37939 (__Qp_handle_exceptions): Update declaration.
37940 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37943 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37945 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37946 the temporary FPU control word.
37947 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37948 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37949 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37950 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37951 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37952 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37953 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37954 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37955 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37956 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37957 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37959 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37961 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37964 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37966 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37967 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37968 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37969 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37971 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37972 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37975 2012-05-27 Ulrich Drepper <drepper@gmail.com>
37977 * po/h.po: Update from translation team.
37979 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37981 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37983 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37984 handling of denormals.
37985 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37986 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37987 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37988 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37989 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37994 2012-05-26 Marek Polacek <polacek@redhat.com>
37997 * math/libm-test.inc (fma_test): Don't always expect underflow
38000 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38003 * elf/tst-execstack.c: Include stackinfo.h.
38004 (do_test): Adjust test case to ensure that pthread_getattr_np
38005 behaviour remains the same after marking stack executable.
38007 2012-05-25 Joseph Myers <joseph@codesourcery.com>
38009 * sysdeps/unix/sysv/linux/kernel-features.h
38010 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38011 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38013 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38014 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38015 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38017 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38018 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38020 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38022 * configure.in: Define the default includes to being none.
38023 * configure: Regenerated.
38025 2012-05-25 Roland McGrath <roland@hack.frob.com>
38027 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38028 * sysdeps/x86_64/setjmp.S: Likewise.
38029 * sysdeps/i386/bsd-setjmp.S: Likewise.
38030 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38031 * sysdeps/i386/setjmp.S: Likewise.
38032 * sysdeps/i386/__longjmp.S: Likewise.
38033 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38034 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38036 * include/stap-probe.h: New file.
38037 * configure.in: Handle --enable-systemtap.
38038 * configure: Regenerated.
38039 * config.h.in (USE_STAP_PROBE): New #undef.
38040 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38041 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38042 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38044 2012-05-25 Joseph Myers <joseph@codesourcery.com>
38047 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38048 to 2.4.0 where earlier.
38049 * sysdeps/unix/sysv/linux/configure: Regenerated.
38050 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38051 <kernel-features.h>.
38052 [__ASSUME_32BITUIDS]: Make code unconditional.
38053 [!__ASSUME_32BITUIDS]: Remove conditional code.
38054 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38055 <kernel-features.h>.
38056 [__ASSUME_32BITUIDS]: Make code unconditional.
38057 [!__ASSUME_32BITUIDS]: Remove conditional code.
38058 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38059 [__ASSUME_32BITUIDS]: Make code unconditional.
38060 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38061 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38062 <kernel-features.h>.
38063 [__ASSUME_32BITUIDS]: Make code unconditional.
38064 [!__ASSUME_32BITUIDS]: Remove conditional code.
38065 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38066 <kernel-features.h>.
38067 [__ASSUME_32BITUIDS]: Make code unconditional.
38068 [!__ASSUME_32BITUIDS]: Remove conditional code.
38069 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38070 <kernel-features.h>.
38071 [__ASSUME_32BITUIDS]: Make code unconditional.
38072 [!__ASSUME_32BITUIDS]: Remove conditional code.
38073 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38074 <kernel-features.h>.
38075 [__ASSUME_32BITUIDS]: Make code unconditional.
38076 [!__ASSUME_32BITUIDS]: Remove conditional code.
38077 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38078 <kernel-features.h>.
38079 [__ASSUME_32BITUIDS]: Make code unconditional.
38080 [!__ASSUME_32BITUIDS]: Remove conditional code.
38081 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38082 <kernel-features.h>.
38083 [__ASSUME_32BITUIDS]: Make code unconditional.
38084 [!__ASSUME_32BITUIDS]: Remove conditional code.
38085 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38086 <kernel-features.h>.
38087 [__ASSUME_32BITUIDS]: Make code unconditional.
38088 [!__ASSUME_32BITUIDS]: Remove conditional code.
38089 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38090 <kernel-features.h>.
38091 [__ASSUME_32BITUIDS]: Make code unconditional.
38092 [!__ASSUME_32BITUIDS]: Remove conditional code.
38093 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38094 <kernel-features.h>.
38095 [__ASSUME_32BITUIDS]: Make code unconditional.
38096 [!__ASSUME_32BITUIDS]: Remove conditional code.
38097 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38098 <kernel-features.h>.
38099 [__ASSUME_32BITUIDS]: Make code unconditional.
38100 [!__ASSUME_32BITUIDS]: Remove conditional code.
38101 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38102 <kernel-features.h>.
38103 [__NR_setresgid] (__setresgid): Do not declare.
38104 [__ASSUME_32BITUIDS]: Make code unconditional.
38105 [!__ASSUME_32BITUIDS]: Remove conditional code.
38106 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38107 <kernel-features.h>.
38108 [__NR_setresuid] (__setresuid): Do not declare.
38109 [__ASSUME_32BITUIDS]: Make code unconditional.
38110 [!__ASSUME_32BITUIDS]: Remove conditional code.
38111 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38112 <kernel-features.h>.
38113 [__ASSUME_32BITUIDS]: Make code unconditional.
38114 [!__ASSUME_32BITUIDS]: Remove conditional code.
38115 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38116 <kernel-features.h>.
38117 [__ASSUME_32BITUIDS]: Make code unconditional.
38118 [!__ASSUME_32BITUIDS]: Remove conditional code.
38119 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38120 <kernel-features.h>.
38121 [__ASSUME_32BITUIDS]: Make code unconditional.
38122 [!__ASSUME_32BITUIDS]: Remove conditional code.
38123 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38124 <kernel-features.h>.
38125 [__ASSUME_32BITUIDS]: Make code unconditional.
38126 [!__ASSUME_32BITUIDS]: Remove conditional code.
38127 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38128 <kernel-features.h>.
38129 [__ASSUME_32BITUIDS]: Make code unconditional.
38130 [!__ASSUME_32BITUIDS]: Remove conditional code.
38131 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38132 <kernel-features.h>.
38133 [__ASSUME_32BITUIDS]: Make code unconditional.
38134 [!__ASSUME_32BITUIDS]: Remove conditional code.
38135 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38136 <kernel-features.h>.
38137 [__ASSUME_32BITUIDS]: Make code unconditional.
38138 [!__ASSUME_32BITUIDS]: Remove conditional code.
38139 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38140 <kernel-features.h>.
38141 [__ASSUME_32BITUIDS]: Make code unconditional.
38142 [!__ASSUME_32BITUIDS]: Remove conditional code.
38143 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38144 <kernel-features.h>.
38145 [__ASSUME_32BITUIDS]: Make code unconditional.
38146 [!__ASSUME_32BITUIDS]: Remove conditional code.
38147 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38148 <kernel-features.h>.
38149 [__ASSUME_32BITUIDS]: Make code unconditional.
38150 [!__ASSUME_32BITUIDS]: Remove conditional code.
38151 * sysdeps/unix/sysv/linux/kernel-features.h
38152 (__ASSUME_SETRESUID_SYSCALL): Remove.
38153 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38154 (__ASSUME_32BITUIDS): Likewise.
38155 (__ASSUME_LDT_WORKS): Likewise.
38156 (__ASSUME_O_DIRECTORY): Likewise.
38157 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38158 architecture but not kernel version.
38159 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38160 (__ASSUME_MMAP2_SYSCALL): Likewise.
38161 (__ASSUME_STAT64_SYSCALL): Likewise.
38162 (__ASSUME_IPC64): Likewise.
38163 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38164 <kernel-features.h>.
38165 [__ASSUME_32BITUIDS]: Make code unconditional.
38166 [!__ASSUME_32BITUIDS]: Remove conditional code.
38167 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38168 <kernel-features.h>.
38169 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38170 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38171 132096]: Remove conditional code.
38172 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38173 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38174 <kernel-features.h>.
38175 [__ASSUME_32BITUIDS]: Make code unconditional.
38176 [!__ASSUME_32BITUIDS]: Remove conditional code.
38177 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38178 <kernel-features.h>.
38179 [__ASSUME_32BITUIDS]: Make code unconditional.
38180 [!__ASSUME_32BITUIDS]: Remove conditional code.
38181 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38182 <kernel-features.h>.
38183 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38185 (__setresgid): Do not declare.
38186 [__ASSUME_32BITUIDS]: Make code unconditional.
38187 [!__ASSUME_32BITUIDS]: Remove conditional code.
38188 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38189 <kernel-features.h>.
38190 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38192 (__setresuid): Do not declare.
38193 [__ASSUME_32BITUIDS]: Make code unconditional.
38194 [!__ASSUME_32BITUIDS]: Remove conditional code.
38195 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38196 <kernel-features.h>.
38197 [__ASSUME_32BITUIDS]: Make code unconditional.
38198 [!__ASSUME_32BITUIDS]: Remove conditional code.
38199 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38200 <kernel-features.h>.
38201 [__ASSUME_32BITUIDS]: Make code unconditional.
38202 [!__ASSUME_32BITUIDS]: Remove conditional code.
38204 2012-05-25 Richard Henderson <rth@twiddle.net>
38206 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38207 dl_hwcap to ifunc resolver.
38208 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38210 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38211 dl_hwcap to ifunc resolver.
38212 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38214 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38217 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38218 for |x| <= 2**-26, not 2**-57.
38219 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38222 2012-05-24 Jeff Law <law@redhat.com>
38224 * stdio-common/Makefile (tests): Add bug25.
38225 * stdio-common/bug25.c: New test.
38227 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38230 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38231 multiple of MALLOC_ALIGNMENT in size.
38232 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38234 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38236 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38238 (FILENAME_MAX): Use macro-int-constant.
38239 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38240 (_IOFBF): Use macro-int-constant.
38241 (_IOLBF): Likewise.
38242 (_IONBF): Likewise.
38243 (SEEK_CUR): Likewise.
38244 (SEEK_END): Likewise.
38245 (SEEK_SET): Likewise.
38246 (TMP_MAX): Likewise.
38247 (EOF): Use macro-int-constant. Require < 0.
38248 (NULL): Use macro-constant. Require == 0.
38249 (stdin): Require type to be FILE *.
38250 (stdout): Likewise.
38251 (stderr): Likewise.
38252 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38253 macro-int-constant.
38254 (EXIT_SUCCESS): Likewise.
38255 (NULL): Use macro-constant. Require == 0.
38256 (RAND_MAX): Use macro-int-constant.
38257 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38258 [C99-based standards] (strtof): Require function.
38259 [C99-based standards] (strtold): Likewise.
38260 [C99-based standards] (strtoll): Likewise.
38261 [C99-based standards] (strtoull): Likewise.
38262 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38263 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38264 [ISO || ISO99 || ISO11] (math.h): Likewise.
38265 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38266 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38269 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38272 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38273 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38274 * intl/dgettext.c (DCGETTEXT): Likewise.
38275 * intl/gettext.c (DCGETTEXT): Likewise.
38276 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38277 * posix/regex_internal.h (gettext): Likewise.
38278 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38279 Remove declaration.
38280 * include/argz.h (__argz_count_internal)
38281 (__argz_stringify_internal): Remove declaration.
38282 (__argz_count, __argz_stringify): Declare hidden proto.
38283 * intl/dcgettext.c: Remove use of INTDEF.
38284 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38285 * string/argz-stringify.c: Likewise.
38286 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38287 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38288 Declare hidden proto.
38289 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38290 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38291 Declare hidden proto.
38292 * include/stdio.h (__asprintf_internal): Don't declare.
38293 (__asprintf): Don't define as macro. Declare hidden proto.
38294 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38295 (__fsetlocking): Declare hidden proto.
38296 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38297 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38299 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38300 (_IO_setlinebuf): Remove use of INTUSE.
38301 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38302 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38303 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38304 Remove declaration.
38305 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38306 (_IO_do_flush): Remove use of INTUSE.
38307 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38308 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38309 (_IO_adjust_column, _IO_least_wmarker)
38310 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38311 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38312 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38313 (_IO_default_doallocate, _IO_wdefault_doallocate)
38314 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38315 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38316 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38317 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38318 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38319 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38320 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38321 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38322 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38323 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38324 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38325 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38326 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38328 (_IO_flush_all_internal, _IO_adjust_column_internal)
38329 (_IO_default_uflow_internal, _IO_default_finish_internal)
38330 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38331 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38332 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38333 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38334 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38335 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38336 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38337 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38338 (_IO_file_close_internal, _IO_file_close_it_internal)
38339 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38340 (_IO_file_init_internal, _IO_file_attach_internal)
38341 (_IO_file_fopen_internal, _IO_file_read_internal)
38342 (_IO_file_sync_internal, _IO_file_seek_internal)
38343 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38344 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38345 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38346 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38347 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38348 (_IO_list_all_internal, _IO_link_in_internal)
38349 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38350 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38351 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38352 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38353 (_IO_do_write_internal, _IO_padn_internal)
38354 (_IO_getline_info_internal, _IO_getline_internal)
38355 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38356 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38357 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38358 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38359 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38360 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38361 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38362 with libc_hidden_ver, remove use of INTUSE.
38363 * libio/genops.c: Likewise.
38364 * libio/freopen.c: Likewise.
38365 * libio/freopen64.c: Likewise.
38366 * libio/iofclose.c: Likewise.
38367 * libio/iofdopen.c: Likewise.
38368 * libio/iofflush.c: Likewise.
38369 * libio/iofflush_u.c: Likewise.
38370 * libio/iofgets.c: Likewise.
38371 * libio/iofgets_u.c: Likewise.
38372 * libio/iofopen.c: Likewise.
38373 * libio/iofopncook.c: Likewise.
38374 * libio/iofread.c: Likewise.
38375 * libio/iofread_u.c: Likewise.
38376 * libio/ioftell.c: Likewise.
38377 * libio/iofwrite.c: Likewise.
38378 * libio/iogetline.c: Likewise.
38379 * libio/iogets.c: Likewise.
38380 * libio/iogetwline.c: Likewise.
38381 * libio/iopadn.c: Likewise.
38382 * libio/iopopen.c: Likewise.
38383 * libio/ioseekoff.c: Likewise.
38384 * libio/ioseekpos.c: Likewise.
38385 * libio/iosetbuffer.c: Likewise.
38386 * libio/iosetvbuf.c: Likewise.
38387 * libio/ioungetc.c: Likewise.
38388 * libio/ioungetwc.c: Likewise.
38389 * libio/iovdprintf.c: Likewise.
38390 * libio/iovsprintf.c: Likewise.
38391 * libio/iovsscanf.c: Likewise.
38392 * libio/memstream.c: Likewise.
38393 * libio/obprintf.c: Likewise.
38394 * libio/oldfileops.c: Likewise.
38395 * libio/oldiofclose.c: Likewise.
38396 * libio/oldiofdopen.c: Likewise.
38397 * libio/oldiofopen.c: Likewise.
38398 * libio/oldiopopen.c: Likewise.
38399 * libio/oldstdfiles.c: Likewise.
38400 * libio/putc.c: Likewise.
38401 * libio/setbuf.c: Likewise.
38402 * libio/setlinebuf.c: Likewise.
38403 * libio/stdfiles.c: Likewise.
38404 * libio/strops.c: Likewise.
38405 * libio/vasprintf.c: Likewise.
38406 * libio/vscanf.c: Likewise.
38407 * libio/vsnprintf.c: Likewise.
38408 * libio/vswprintf.c: Likewise.
38409 * libio/wfiledoalloc.c: Likewise.
38410 * libio/wfileops.c: Likewise.
38411 * libio/wgenops.c: Likewise.
38412 * libio/wmemstream.c: Likewise.
38413 * libio/wstrops.c: Likewise.
38414 * libio/__fpurge.c: Likewise.
38415 * libio/__fsetlocking.c: Likewise.
38416 * assert/assert.c: Likewise.
38417 * debug/fgets_chk.c: Likewise.
38418 * debug/fgets_u_chk.c: Likewise.
38419 * debug/fread_chk.c: Likewise.
38420 * debug/fread_u_chk.c: Likewise.
38421 * debug/gets_chk.c: Likewise.
38422 * debug/obprintf_chk.c: Likewise.
38423 * debug/vasprintf_chk.c: Likewise.
38424 * debug/vdprintf_chk.c: Likewise.
38425 * debug/vsnprintf_chk.c: Likewise.
38426 * debug/vsprintf_chk.c: Likewise.
38427 * malloc/mtrace.c: Likewise.
38428 * misc/error.c: Likewise.
38429 * misc/syslog.c: Likewise.
38430 * stdio-common/asprintf.c: Likewise.
38431 * stdio-common/fxprintf.c: Likewise.
38432 * stdio-common/getw.c: Likewise.
38433 * stdio-common/isoc99_fscanf.c: Likewise.
38434 * stdio-common/isoc99_scanf.c: Likewise.
38435 * stdio-common/isoc99_vfscanf.c: Likewise.
38436 * stdio-common/isoc99_vscanf.c: Likewise.
38437 * stdio-common/isoc99_vsscanf.c: Likewise.
38438 * stdio-common/printf-prs.c: Likewise.
38439 * stdio-common/printf_fp.c: Likewise.
38440 * stdio-common/printf_fphex.c: Likewise.
38441 * stdio-common/printf_size.c: Likewise.
38442 * stdio-common/putw.c: Likewise.
38443 * stdio-common/scanf.c: Likewise.
38444 * stdio-common/sprintf.c: Likewise.
38445 * stdio-common/tmpfile.c: Likewise.
38446 * stdio-common/vfprintf.c: Likewise.
38447 * stdio-common/vfscanf.c: Likewise.
38448 * stdlib/strfmon_l.c: Likewise.
38449 * sunrpc/openchild.c: Likewise.
38450 * sunrpc/xdr_stdio.c: Likewise.
38451 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38452 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38454 2012-05-24 Roland McGrath <roland@hack.frob.com>
38456 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38458 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38459 in the third column, to generate for the shared library an IFUNC
38460 that uses _dl_vdso_vsym.
38461 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38462 * Makeconfig (object-suffixes-noshared): New variable.
38464 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38465 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38466 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38467 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38470 * include/sys/time.h (__gettimeofday): Remove macro.
38471 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38472 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38474 (__gettimeofday): Add libc_hidden_def.
38475 (gettimeofday): Add libc_hidden_weak.
38476 * sysdeps/mach/gettimeofday.c: Likewise.
38477 * sysdeps/posix/gettimeofday.c: Likewise.
38478 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38479 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38480 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38481 (__gettimeofday_internal): Remove strong_alias.
38482 (__gettimeofday): Add libc_hidden_def.
38483 (gettimeofday): Add libc_hidden_weak.
38484 * sysdeps/unix/syscalls.list (gettimeofday):
38485 Remove __gettimeofday_internal alias.
38487 2012-05-24 Daniel Jacobowitz <drow@false.org>
38488 H.J. Lu <hongjiu.lu@intel.com>
38491 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38492 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38493 (largebin_index_32_big): New.
38494 (largebin_index): Use it for 16-byte alignment.
38495 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38496 correction with front_misalign.
38498 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38526 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38527 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38529 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38533 * math/libm-test.inc (exp_test): Add test from bug 14036.
38534 (pow_test): Add test from bug 10846.
38536 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38538 (special_function): Do not include flags in test name.
38539 (parse_args): Likewise.
38540 * sysdeps/i386/fpu/libm-test-ulps: Update.
38541 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38542 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38543 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38546 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38548 * math/libm-test.inc ("Philosophy"): Update comment about
38550 (UNDERFLOW_EXCEPTION): New macro.
38551 (UNDERFLOW_EXCEPTION_OK): Likewise.
38552 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38553 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38554 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38555 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38556 (INVALID_EXCEPTION_OK): Update value.
38557 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38558 (OVERFLOW_EXCEPTION_OK): Likewise.
38559 (IGNORE_ZERO_INF_SIGN): Likewise.
38560 (test_exceptions): Handle underflow exceptions.
38561 (acos_test): Update for underflow exception expectations.
38562 (cexp_test): Likewise.
38563 (clog_test): Likewise.
38564 (clog10_test): Likewise.
38565 (csqrt_test): Likewise.
38566 (ctan_test): Likewise.
38567 (ctanh_test): Likewise.
38568 (exp_test): Likewise.
38569 (exp10_test): Likewise.
38570 (exp2_test): Likewise.
38571 (expm1_test): Likewise.
38572 (fma_test): Likewise.
38573 (j0_test): Likewise.
38574 (jn_test): Likewise.
38575 (nexttoward_test): Likewise.
38576 (pow_test): Likewise.
38577 (scalbn_test): Likewise.
38578 (scalbln_test): Likewise.
38579 (tan_test): Likewise.
38580 (y1_test): Likewise.
38581 * sysdeps/i386/fpu/libm-test-ulps: Update.
38582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38584 2012-05-23 David S. Miller <davem@davemloft.net>
38586 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38587 (__libc_sigaction): Remove unused local variables.
38589 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38591 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38593 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38595 mktime: avoid signed integer overflow
38596 * time/mktime.c (__mktime_internal): Do not mishandle the case
38597 where diff == INT_MIN.
38599 mktime: simplify computation of average
38600 * time/mktime.c (ranged_convert): Use new time_t_avg function
38601 instead of rolling our own (probably-slower) code.
38603 mktime: do not assume signed right shift propagates sign bit
38604 * time/mktime.c (isdst_differ): New static function.
38605 (__mktime_internal): No need to normalize tm_isdst now.
38606 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38609 mktime: merge another wrapv change from gnulib
38610 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38611 from some compilers.
38613 mktime: remove incorrect attempt at unusual arithmetics
38614 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38615 The code didn't really work on such machines anyway.
38616 (TYPE_MINIMUM): Assume two's complement.
38617 (twos_complement_arithmetic): Verify that long_int and time_t
38618 are two's complement (or unsigned, in the latter case).
38620 mktime: check signed shifts on long_int and time_t, too
38621 * time/mktime.c (SHR): Check that shifts work as desired
38622 on the types long_int and time_t too, as SHR is used on
38625 mktime: do not assume 'long' is wide enough
38626 * time/mktime.c (verify): Move decl up.
38627 (long_int): New type.
38628 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38629 to remove assumption in the code that 'long' is wide enough to
38630 store year values. This assumption is not true on x32 and on
38631 some non-glibc platforms.
38633 mktime: merge wrapv change from gnulib
38634 * time/mktime.c (WRAPV): New macro.
38635 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38636 (guess_time_tm, __mktime_internal): Do not assume that signed
38637 integer overflow wraps around; modern compilers generate code
38638 where this assumption is no longer valid.
38640 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38642 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38643 Replace "jmp L(pseudo_end)" with "ret".
38644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38647 2012-05-23 Andreas Jaeger <aj@suse.de>
38649 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38650 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38652 2012-05-23 Andreas Jaeger <aj@suse.de>
38653 Maximilian Attems <max@stro.at>
38655 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38658 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38660 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38661 code so that pseudo_end is just ret and the stack pointer is
38662 correct also for static library in error case.
38664 2012-05-23 Joseph Myers <joseph@codesourcery.com>
38666 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38667 move to syscalls.list.
38668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38673 * manual/install.texi (Running make install): Do not mention Linux
38674 kernel version for which pt_chown is not needed.
38675 (Linux): Do not mention problems with nscd with 2.0 kernels.
38676 * INSTALL: Regenerated.
38678 2012-05-23 Andreas Jaeger <aj@suse.de>
38680 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38681 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38683 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38684 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38685 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38686 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38687 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38688 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38689 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38690 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38691 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38692 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38693 * sysdeps/unix/sysv/linux/bits/in.h
38694 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38696 2012-05-22 Roland McGrath <roland@hack.frob.com>
38698 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38699 (PREPARE_VERSION): Just use assert instead, it will be elided
38700 under [NDEBUG] anyway.
38702 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38704 * sysdeps/unix/sysv/linux/Makefile: Include
38705 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38706 (sysdep_routines): Remove sysctl.
38707 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38708 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38709 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38710 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38711 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38713 2012-05-22 Andreas Jaeger <aj@suse.de>
38715 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38716 that pseudo_end is just ret and the stack pointer is correct also
38717 for static library in error case.
38719 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38722 * nss/nsswitch.c (defconfig_entries): New variable.
38723 (__nss_database_lookup): Don't leak defconfig entries.
38724 (nss_parse_service_list): Don't leak on error paths.
38725 (free_database_entries): New function.
38726 (free_defconfig): New function.
38727 (free_mem): Move common code to free_database_entries.
38729 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38731 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38733 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38735 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38736 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38739 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38740 (INTERNAL_SYSCALL_TYPES): Likewise.
38741 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38742 (LOAD_REGS_TYPES_[1-6]): Likewise.
38743 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38744 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38746 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38748 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38749 copysignl for GLIBC_2_0.
38750 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38751 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38752 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38753 logbl for GLIBC_2_0.
38754 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38755 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38757 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38759 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38760 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38762 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38765 * time/mktime.c: Update copyright years.
38767 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38769 mktime: merge comment-quoting-style change from gnulib
38770 * time/mktime.c: Quote 'like this' in comments.
38771 The GNU coding standards suggest that we no longer quote `like this',
38772 as "`" and "'" are typically rendered asymmetrically nowadays.
38773 The typical gnulib style is to quote 'like this' when quoting
38774 code, and "like this" when quoting English.
38776 * time/mktime.c (compile-command): Add "-I.".
38778 mktime: merge mktime-internal.h change from gnulib
38779 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38781 mktime: merge time_r change from gnulib
38782 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38784 mktime: merge DEBUG change from gnulib
38785 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38786 case system <time.h> has a #define.
38788 mktime: merge <sys/types.h> change from gnulib
38789 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38790 since <time.t> is now guaranteed to define time_t.
38792 mktime: merge HAVE_CONFIG_H change from gnulib
38793 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38795 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38797 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38800 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38802 (struct rusage): Use anonymous union to pad each field to
38805 2012-05-21 David S. Miller <davem@davemloft.net>
38807 * Makefules (o-iterator): Remove .s cases.
38808 (compile-command.s): Delete.
38809 (COMPILE.s): Delete.
38810 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38812 2012-05-21 Joseph Myers <joseph@codesourcery.com>
38814 * configure.in (libc_cv_predef_stack_protector): Only consider
38815 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38816 * configure: Regenerated.
38818 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38821 New macro. Use R*LP on int and pointer.
38822 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38823 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38824 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38825 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38827 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38828 [__WORDSIZE_TIME64_COMPAT32] instead of
38829 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38830 (struct utmp): Likewise.
38831 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38832 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38834 (__WORDSIZE_TIME64_COMPAT32): This.
38835 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38836 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38837 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38838 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38839 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38840 (__WORDSIZE_TIME64_COMPAT32): New macro.
38842 2012-05-21 Andreas Jaeger <aj@suse.de>
38844 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38845 only if [SHARED]. Add prototype for __wcschr_ia32.
38847 2012-05-21 Roland McGrath <roland@hack.frob.com>
38849 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38850 of %rbp unmolested in the jmp_buf while mangling the low bits.
38851 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38852 unmolested high bits of %rbp while demangling the low bits.
38853 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38855 2012-05-21 Andreas Jaeger <aj@suse.de>
38857 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38858 * sunrpc/svc_simple.c: Use it for registerrpc.
38859 * sunrpc/xcrypt.c: Use it for passwd2des.
38861 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38863 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38865 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38866 Don't define if [__SYSCALL_WORDSIZE != 32].
38867 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38870 2012-05-21 Bruno Haible <bruno@clisp.org>
38871 Andreas Jaeger <aj@suse.de>
38873 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38874 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38875 inptr and inend for must_buffer_ch.
38876 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38877 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38878 * stdio-common/Makefile (tests): Remove bug15.
38879 (bug15-ENV): Remove macro.
38880 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38883 2012-05-19 Andreas Jaeger <aj@suse.de>
38884 Roland McGrath <roland@hack.frob.com>
38886 * manual/contrib.texi: Completely rewritten. It contains now an
38887 alphabetical list of contributors and their contributions.
38889 2012-05-21 Richard Henderson <rth@twiddle.net>
38891 * misc/getauxval.c (__getauxval): Use unsigned long int.
38892 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38893 (getauxval): Use unsigned long int.
38895 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38897 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38899 2012-05-21 Roland McGrath <roland@hack.frob.com>
38901 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38902 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38903 __alignof__ (long double).
38905 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38909 2012-05-20 Richard Henderson <rth@twiddle.net>
38911 * misc/getauxval.c: New file.
38912 * misc/sys/auxv.h: New file.
38913 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38914 (routines): Add getauxval.
38915 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38916 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38917 * elf/dl-sysdep.c (_dl_auxv): Remove.
38918 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38919 * elf/dl-support.c (_dl_auxv): New variable.
38920 (_dl_aux_init): Initialize it.
38921 * manual/startup.texi (Auxiliary Vector): New node.
38922 * sysdeps/generic/bits/hwcap.h: New file.
38923 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38924 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38925 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38926 * sysdeps/sparc/sysdep.h: ... here. Include it.
38927 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38928 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38934 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38940 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38944 2012-05-19 David S. Miller <davem@davemloft.net>
38946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38948 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38951 * math/s_ccosh.c: Include <float.h>
38952 (__ccosh): Avoid internal overflow calculating sinh and cosh
38953 values before multiplying by sin and cos values.
38954 * math/s_ccoshf.c: Likewise.
38955 * math/s_ccoshl.c: Likewise.
38956 * math/s_csin.c: Likewise.
38957 * math/s_csinf.c: Likewise.
38958 * math/s_csinl.c: Likewise.
38959 * math/s_csinh.c: Likewise.
38960 * math/s_csinhf.c: Likewise.
38961 * math/s_csinhl.c: Likewise.
38962 * math/libm-test.inc (ccos_test): Add more tests.
38963 (ccosh_test): Likewise.
38964 (csin_test): Likewise.
38965 (csinh_test): Likewise.
38966 * sysdeps/i386/fpu/libm-test-ulps: Update.
38967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38969 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38971 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38972 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38974 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38976 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38978 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38979 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38980 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38981 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38982 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38983 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38984 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38985 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38986 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38987 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38988 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38989 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38990 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38991 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38992 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38993 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38994 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38995 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38996 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38997 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38998 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38999 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39000 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39001 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39002 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39003 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39004 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39005 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39006 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39007 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39008 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39010 2012-05-18 Andreas Jaeger <aj@suse.de>
39012 * csu/.gitignore: Delete.
39014 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39016 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39017 (timex): Use __syscall_slong_t.
39019 2012-05-18 Andreas Jaeger <aj@suse.de>
39020 Carlos O'Donell <carlos_odonell@mentor.com>
39022 * manual/install.texi (Configuring and compiling): Update
39023 description about files modified in the source directory.
39024 * INSTALL: Regenerated.
39026 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39028 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39029 value. Use "or" to set return value to -1.
39030 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39031 negate return value.
39033 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39035 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39036 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39037 failure if the compiler has Graphite support disabled.
39038 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39040 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39041 (CFLAGS-memmove.c): Likewise.
39042 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39045 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39047 * sysdeps/x86_64/x32/_itoa.h: New file.
39049 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39050 getdents system call only if kernel and user dirents have the
39051 same d_ino and d_off.
39053 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39054 LLONG_MAX != LONG_MAX.
39055 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39056 (_fitoa_word): Likewise.
39058 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39060 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39061 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39062 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39064 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39065 include <bits/wordsize.h>. Check __x86_64__ instead of
39067 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39068 if __x86_64__ is defined. Use anonymous union on fpstate.
39070 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39073 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39075 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39076 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39077 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39078 Refer to _rtld_local_ro instead of _rtld_global_ro.
39079 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39081 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39083 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39085 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39086 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39087 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39089 * sysdeps/powerpc/powerpc32/dl-machine.c
39090 (__elf_machine_runtime_setup) [PROF]: Don't reference
39093 2012-05-18 Andreas Jaeger <aj@suse.de>
39095 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39096 function only available for GCCs before 3.4 since GCC 3.4
39097 introduced a builtin.
39099 (llrintf): Likewise.
39100 (llrint): Likewise.
39107 (nearbyint): Likewise.
39108 (nearbyintf): Likewise.
39112 (floorf): Likewise.
39114 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39116 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39117 on both fields and cast pointer to __syscall_ulong_t.
39119 * bits/types.h (__fsword_t): New type.
39120 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39121 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39122 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39123 (__FSWORD_T_TYPE): Likewise.
39124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39125 (__FSWORD_T_TYPE): Likewise.
39126 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39127 (__FSWORD_T_TYPE): Likewise.
39128 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39129 (__FSWORD_T_TYPE): Likewise.
39130 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39131 __SWORD_TYPE with __fsword_t.
39132 (statfs64): Likewise.
39134 2012-05-17 David S. Miller <davem@davemloft.net>
39136 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39138 2012-05-17 Andreas Jaeger <aj@suse.de>
39140 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39143 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39145 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39147 2012-05-17 Andreas Jaeger <aj@suse.de>
39149 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39152 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39154 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39156 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39158 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39159 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39161 2012-05-17 Andreas Jaeger <aj@suse.de>
39162 Carlos O'Donell <carlos_odonell@mentor.com>
39165 * sysdeps/x86_64/multiarch/init-arch.h
39166 (bit_YMM_Usable): Rename to...
39167 (bit_AVX_Usable): ... this.
39168 (bit_FMA4_Usable): New macro.
39169 (bit_XMM_state): New macro.
39170 (bit_YMM_state): New macro.
39171 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39172 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39173 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39174 (CPUID_OSXSAVE): New macro.
39175 (CPUID_AVX): New macro.
39176 (CPUID_FMA4): New macro.
39177 (index_YMM_Usable): Rename to...
39178 (index_AVX_Usable): ... this.
39179 (HAS_AVX): Use HAS_ARCH_FEATURE.
39180 (HAS_FMA4): Likewise.
39181 (HAS_YMM_USABLE): Remove.
39182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39183 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39185 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39186 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39187 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39188 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39189 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39191 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39193 * math/libm-test.c: Support platforms without multiple rounding modes.
39194 * math/bug-nextafter.c: Support platforms without FP exceptions.
39195 * math/bug-nexttoward.c: Likewise.
39196 * math/test-fenv.c: Likewise.
39197 * math/test-misc.c: Likewise.
39198 * stdlib/bug-getcontext.c: Likewise.
39200 2012-05-17 Andreas Jaeger <aj@suse.de>
39202 * manual/examples/search.c (critter_cmp): Change signature to
39204 * manual/string.texi (Collation Functions): Likewise.
39206 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39208 * bits/types.h: Fold copyright years.
39209 * bits/typesizes.h: Likewise.
39210 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39211 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39212 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39213 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39214 * time/time.h: Likewise.
39216 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39219 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39220 in instead of returning them. Return void.
39221 (__libc_mallinfo): Accumulate over all arenas.
39222 (__malloc_stats): Adjust for change in int_mallinfo interface.
39224 2012-05-16 Roland McGrath <roland@hack.frob.com>
39227 * configure.in (NM): Add AC_CHECK_TOOL for it.
39228 (libc_extra_cflags): New substituted variable.
39229 Check for -fstack-protector being used implicitly.
39230 * configure: Regenerated.
39231 * config.make.in (config-extra-cflags): New variable,
39232 gets @libc_extra_cflags@.
39233 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39236 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39237 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39238 * configure: Regenerated.
39239 * config.make.in (CPPUNDEFS): New substituted variable.
39240 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39241 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39242 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39244 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39246 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39247 (mq_attr): Use __syscall_slong_t.
39249 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39251 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39252 Check __x86_64__ instead of __WORDSIZE.
39253 (_STAT_VER_LINUX): Likewise.
39254 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39255 __syscall_ulong_t and __syscall_slong_t.
39256 (stat64): Likewise.
39258 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39260 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39262 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39264 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39266 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39268 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39271 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39272 include <bits/wordsize.h>. Check __x86_64__ instead of
39274 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39276 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39278 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39279 include <bits/wordsize.h>. Check __x86_64__ instead of
39281 (user_regs_struct): Use "__extension__ unsigned long long"
39282 instead of "unsigned long" if __x86_64__ is defined.
39283 (user): Likewise. Pad after pointer field if __ILP32__ is
39286 2012-05-16 Joseph Myers <joseph@codesourcery.com>
39288 * configure.in (makeinfo): Require version 4.5 or later. Allow
39290 * configure: Regenerated.
39291 * manual/install.texi (texinfo): Increase version requirement to
39293 * INSTALL: Regenerated.
39295 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39297 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39299 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39301 * sysdeps/x86_64/x32/ffs.c: New file.
39303 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39305 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39306 defined. Use __syscall_ulong_t.
39307 (shminfo): Use __syscall_ulong_t.
39308 (shm_info): Likewise.
39310 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39313 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39315 (msgqnum_t): Use __syscall_ulong_t.
39316 (msglen_t): Likewise.
39317 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39320 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39321 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39323 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39325 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39326 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39328 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39331 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39332 include <bits/wordsize.h>. Check __x86_64__ instead of
39335 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39336 "unsigned long long int" if __x86_64__ is defined.
39337 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39339 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39340 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39341 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39343 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39345 (GET_PC): Cast to uintptr_t first.
39346 (GET_FRAME): Likewise.
39347 (GET_STACK): Likewise.
39349 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39350 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39351 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39352 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39353 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39354 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39355 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39356 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39357 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39358 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39359 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39360 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39361 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39362 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39363 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39364 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39365 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39366 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39367 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39368 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39369 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39370 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39371 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39372 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39373 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39374 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39375 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39376 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39377 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39379 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39381 * Makerules (+depfiles): Also collect depfiles from .oS in
39383 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39384 .oS, $(libnldbl-routines)).
39386 * Makerules (native-compile-mkdep-flags): Define.
39387 * sunrpc/Makefile (extra-objs): Add $(addprefix
39388 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39389 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39390 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39391 calling $(make-target-directory).
39393 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39395 * bits/types.h (__snseconds_t): Removed.
39396 * time/time.h (struct timespec): Replace __snseconds_t with
39398 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39399 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39401 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39402 (__SNSECONDS_T_TYPE): Likewise.
39403 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39404 (__SNSECONDS_T_TYPE): Likewise.
39405 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39406 (__SNSECONDS_T_TYPE): Likewise.
39408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39410 * sysdeps/mach/hurd/bits/typesizes.h
39411 (__SYSCALL_SLONG_TYPE): New macro.
39412 (__SYSCALL_ULONG_TYPE): Likewise.
39414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39416 * bits/types.h (__syscall_slong_t): New type.
39417 (__syscall_ulong_t): Likewise.
39419 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39420 (__SYSCALL_ULONG_TYPE): Likewise.
39421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39422 (__SYSCALL_SLONG_TYPE): Likewise.
39423 (__SYSCALL_ULONG_TYPE): Likewise.
39424 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39425 (__SYSCALL_SLONG_TYPE): Likewise.
39426 (__SYSCALL_ULONG_TYPE): Likewise.
39427 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39428 (__SYSCALL_SLONG_TYPE): Likewise.
39429 (__SYSCALL_ULONG_TYPE): Likewise.
39431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39433 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39434 Add sigaltstack-offsets.sym.
39435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39436 <sigaltstack-offsets.h>.
39437 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39438 longjmp_msg pointer.
39439 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39440 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39442 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39444 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39446 * elf/stackguard-macros.h: Remove file.
39447 * sysdeps/generic/stackguard-macros.h: New file.
39448 * sysdeps/i386/stackguard-macros.h: Likewise.
39449 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39450 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39451 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39452 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39453 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39454 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39455 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39456 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39457 <elf/stackguard-macros.h>.
39460 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39461 __aligned__ in attribute.
39462 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39463 (gregset_t): Likewise.
39465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39467 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39468 * sysdeps/x86_64/64/Implies-after: Here. New file.
39469 * sysdeps/x86_64/x32/Implies-after: New file.
39471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39473 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39474 and access return value for _dl_profile_fixup. Use R10_LP to
39477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39479 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39483 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39484 * sysdeps/x86_64/x32/sysdep.h: New file.
39486 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39488 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39489 * sysdeps/x86_64/setjmp.S: Likewise.
39491 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39493 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39494 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39495 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39496 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39497 remove unused global constant.
39499 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39501 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39502 include of <not-cancel.h>.
39504 2012-05-15 Roland McGrath <roland@hack.frob.com>
39506 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39508 2012-05-15 Jeff Law <law@redhat.com>
39509 Andreas Jaeger <aj@suse.de>
39512 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39514 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39515 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39516 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39517 code changing __hst_map_handle.map.
39519 2012-05-15 Roland McGrath <roland@hack.frob.com>
39521 * configure.in (sysnames): Look for Implies-before and Implies-after
39523 * configure: Regenerated.
39525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39527 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39528 8-byte data alignment with LP_SIZE alignment.
39530 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39532 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39537 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39541 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39542 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39543 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39545 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39549 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39550 (stackinfo_sub_sp): Likewise.
39552 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39554 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39559 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39562 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39564 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39567 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39569 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39573 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39574 into R11_LP and load __x86_64_shared_cache_size_half into
39577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39579 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39582 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39584 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39586 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39590 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39591 powerpc32/power7/fpu/s_logb.c via #include.
39592 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39593 powerpc32/power7/fpu/s_logbf.c via #include.
39594 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39595 powerpc32/power7/fpu/s_logbl.c via #include.
39597 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39599 * README.libm: Remove file.
39601 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39603 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39604 count for x32. Use R*_LP and omit operand-size suffix.
39606 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39608 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39609 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39610 * sysdeps/x86_64/x32/shlib-versions: New file.
39612 2012-05-14 Roland McGrath <roland@hack.frob.com>
39614 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39615 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39616 Use _dl_fatal_printf instead.
39618 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39620 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39621 set if not set by the user. Do not allow for being unset.
39622 * sysdeps/unix/sysv/linux/configure: Regenerated.
39624 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39626 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39627 the `q' suffix from lea and replace .quad with ASM_ADDR.
39629 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39631 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39632 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39634 (PTR_DEMANGLE): Likewise.
39636 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39638 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39640 (ASM_ADDR): Likewise.
39641 (RAX_LP): Likewise.
39642 (RBP_LP): Likewise.
39643 (RBX_LP): Likewise.
39644 (RCX_LP): Likewise.
39645 (RDI_LP): Likewise.
39646 (RSI_LP): Likewise.
39647 (RSP_LP): Likewise.
39650 (R10_LP): Likewise.
39651 (R10_LP): Likewise.
39652 (R11_LP): Likewise.
39653 (R12_LP): Likewise.
39654 (R13_LP): Likewise.
39655 (R14_LP): Likewise.
39656 (R15_LP): Likewise.
39658 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39660 * sysdeps/x86_64/x32/dl-machine.h: New file.
39662 2012-05-14 Andreas Jaeger <aj@suse.de>
39664 * manual/Makefile (subdir): Remove export of subdir.
39665 (all): Remove target.
39666 (.PHONY): Remove all from list.
39667 (mkinstalldirs): Remove.
39668 (.PHONY): Remove installdirs from list.
39669 ($(inst_infodir)/libc.info): Use make-target-directory.
39670 (installdirs): Remove.
39671 (subdir_%): Remove.
39672 (glibc-targets): Remove.
39675 ($(objpfx)stubs ../po/manual.pot): Remove.
39676 ($(objpfx)stamp%): Remove.
39677 (make-target-directory): Remove.
39678 (subdir_install): Remove.
39679 (routines): Remove.
39686 * manual/.gitignore: Remove, it's not needed anymore.
39687 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39689 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39691 (texis): Renamed to $(objpfx)texis.
39692 (texis-path): New, contains path to generated files.
39693 (chapters.%): Use texis-path for complete path, add extra argument
39695 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39696 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39697 (summary,texi, stamp-summary): Use complete path of
39698 files. Generate files in build dir.
39699 (dir-add.texi): Build in build dir.
39700 (libm-err.texi,stamp-libm-err): Likewise.
39701 (version.texi, stamp-version): Likewise.
39702 (.%c.texi): Likewise.
39703 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39704 (mostlyclean): Remove target.
39705 (realclean): Remove target.
39706 (generated): Add new variable with contents from mostlyclean and
39707 realclean, remove entries duplicated in common-mostlyclean, add
39708 stamp-libm-err and stamp-version.
39709 (generated-dirs): Add libc directory.
39710 ($(inst_infodir)/libc.info): Install files from build dir.
39712 * manual/install.texi (Configuring and compiling): Adjust since
39713 the info files are not part of the tar ball anymore.
39715 2012-05-14 Andreas Jaeger <aj@suse.de>
39717 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39720 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39723 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39724 to 2.2.0 where earlier.
39725 * sysdeps/unix/sysv/linux/configure: Regenerated.
39726 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39727 Remove conditional code.
39728 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39729 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39730 Remove conditional code.
39731 [!__NR_lchown]: Likewise.
39732 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39733 [__NR_lchown]: Likewise.
39734 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39735 comment referencing __ASSUME_LCHOWN_SYSCALL.
39736 * sysdeps/unix/sysv/linux/i386/sigaction.c
39737 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39738 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39739 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39740 Remove conditional code.
39741 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39742 (__protocol_available): Remove #if 0 code.
39743 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39745 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39746 * sysdeps/unix/sysv/linux/kernel-features.h
39747 (__ASSUME_GETCWD_SYSCALL): Don't define.
39748 (__ASSUME_REALTIME_SIGNALS): Likewise.
39749 (__ASSUME_PREAD_SYSCALL): Likewise.
39750 (__ASSUME_PWRITE_SYSCALL): Likewise.
39751 (__ASSUME_POLL_SYSCALL): Likewise.
39752 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39753 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39755 (__ASSUME_SIOCGIFNAME): Don't define.
39756 (__ASSUME_MSG_NOSIGNAL): Likewise.
39757 (__ASSUME_SENDFILE): Define unconditionally.
39758 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39759 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39761 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39762 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39763 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39764 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39765 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39766 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39767 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39769 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39772 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39773 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39775 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39776 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39778 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39779 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39781 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39782 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39784 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39785 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39787 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39788 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39790 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39791 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39792 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39793 Remove conditional code.
39794 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39795 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39796 Remove conditional code.
39797 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39798 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39799 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39800 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39801 Remove conditional code.
39802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39803 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39804 Remove conditional code.
39805 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39806 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39807 Remove conditional code.
39808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39809 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39810 Remove conditional code.
39811 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39812 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39813 Remove conditional code.
39814 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39815 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39816 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39817 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39818 * sysdeps/unix/sysv/linux/sigaction.c
39819 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39820 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39821 * sysdeps/unix/sysv/linux/sigpending.c
39822 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39823 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39824 * sysdeps/unix/sysv/linux/sigprocmask.c
39825 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39826 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39827 * sysdeps/unix/sysv/linux/sigsuspend.c
39828 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39829 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39830 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39831 (__libc_missing_rt_sigs): Remove.
39832 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39833 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39834 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39835 Remove conditional code.
39836 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39837 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39839 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39840 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39841 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39842 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39844 2012-05-14 Andreas Jaeger <aj@suse.de>
39846 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39847 it's not used in glibc.
39848 (__coshm1): Likewise.
39849 (__acosh1p): Likewise.
39852 * manual/string.texi (Copying and Concatenation): Add missing
39853 variable in concat example.
39854 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39856 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39859 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39860 __builtin_clzl with __builtin_clzll.
39862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39865 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39868 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39870 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39871 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39872 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39873 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39875 2012-05-14 Mike Frysinger <vapier@gentoo.org>
39877 * NEWS: Update ia64 info.
39879 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39881 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39884 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39886 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39887 * sysdeps/unix/syscalls.list (dup3): Likewise.
39888 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39889 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39891 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39893 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39894 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39896 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39898 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39900 (TLS_IE): Use mov/add instead of movq/addq to load thread
39902 (TLS_GD_PREFIX): New.
39905 2012-05-11 David S. Miller <davem@davemloft.net>
39907 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39908 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39909 (_FPU_SETCW): Likewise.
39911 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39913 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39914 is 32-byte aligned.
39916 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39919 * iconvdata/gb18030.c: Update tables.
39920 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39921 characters specially.
39922 (BODY for TO_LOOP): Add encoding of missing ranges.
39924 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39927 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39928 * sysdeps/mach/hurd/dup3.c: Likewise.
39929 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39930 * sysdeps/powerpc/memmove.c:: Likewise.
39932 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39934 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39935 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39937 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39939 * elf/elf.h (R_X86_64_RELATIVE64): New.
39940 (R_X86_64_NUM): Updated.
39941 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39942 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39943 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39944 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39945 tst-quad1pie tst-quad2pie
39946 (modules-names): Add tst-quadmod1 tst-quadmod2.
39947 ($(objpfx)tst-quad1): New dependency.
39948 ($(objpfx)tst-quad2): Likewise.
39949 ($(objpfx)tst-quad1pie): Likewise.
39950 ($(objpfx)tst-quad2pie): Likewise.
39951 * sysdeps/x86_64/tst-quad1.c: New file.
39952 * sysdeps/x86_64/tst-quad1pie.c: New file.
39953 * sysdeps/x86_64/tst-quad2.c: Likewise.
39954 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39955 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39956 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39957 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39958 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39960 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39962 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39963 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39964 * streams/stropts.h (t_scalar_t): Define type.
39966 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39967 (_PATH_PRESERVE): Set to "/var/lib".
39968 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39970 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39973 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39974 if __dir_mkfile succeeded.
39976 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39977 checking for _hurd_dtablesize. Unlock it right after having
39978 finished _hurd_dtable allocation.
39980 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39982 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39983 * sysdeps/mach/hurd/configure: Regenerated.
39984 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39985 special-casing to...
39986 * sysdeps/gnu/configure.in: ... this new file.
39987 * sysdeps/unix/sysv/linux/configure: Regenerated.
39988 * sysdeps/gnu/configure: New generated file.
39990 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39991 for Linux: use nsec instead of usec, as well as:
39992 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39993 members of type struct timespec.
39994 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39996 (struct stat64): Likewise.
39997 (_STATBUF_ST_NSEC): New macro.
39998 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40000 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40001 __strtoul_internal rather than strtoul.
40003 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40005 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40008 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40010 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40011 which preserves existing values.
40012 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40014 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40016 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40017 TIMEOUT values. Return EINVAL for NFDS values either negative or
40018 greater than FD_SETSIZE.
40020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40022 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40023 allocated, call __vm_protect to finish enabling the existing space, and
40024 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40025 allocate the remainder.
40027 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40029 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40030 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40032 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40034 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40035 sysdeps/mach/hurd/readlink.c.
40037 * posix/tst-sysconf.c (posix_options): Only use
40038 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40039 _POSIX_SYNCHRONIZED_IO when they are defined
40040 * sysdeps/mach/hurd/bits/posix_opt.h:
40041 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40042 (_XOPEN_REALTIME): Undefine macro.
40043 (_XOPEN_REALTIME_THREADS): Undefine macro.
40044 (_XOPEN_SHM): Undefine macro.
40045 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40047 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40049 (_POSIX_ASYNC_IO): Undefine macro.
40050 (_POSIX_PRIORITIZED_IO): Undefine macro.
40051 (_POSIX_SPIN_LOCKS): Define macro to -1.
40053 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40054 SA_NODEFER, SA_RESETHAND.
40055 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40056 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40059 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40061 * elf/Makefile (pldd-modules): Define unconditionally.
40063 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40065 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40067 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40069 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40070 Return ENOENT when name is empty.
40071 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40073 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40075 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40077 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40079 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40081 Fix mlock in all cases except non-readable pages.
40082 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40083 instead of VM_PROT_ALL as parameter to __vm_wire function.
40085 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40086 (__mkdir): When path is `/', just fail with EEXIST.
40087 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40089 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40091 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40092 <sys/uio.h> (for writev).
40093 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40094 and <sys/param.h> (for MIN).
40096 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40098 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40099 REQUESTED_TIME. Properly set the remaining time and return EINTR
40102 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40104 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40105 Depend on against $(link-rpcuserlibs).
40107 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40109 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40110 (__libc_stack_end): Do not use attribute_relro.
40111 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40112 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40113 to libthread-provided value.
40114 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40117 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40120 * bits/libc-lock.h (__libc_once_get): New macro.
40121 * sysdeps/mach/bits/libc-lock.h: Likewise.
40122 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40124 instead of using implementation details.
40126 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40127 * libio/freopen.c: Likewise.
40128 * libio/freopen64.c: Likewise.
40129 * misc/syslog.c: Likewise.
40130 * nscd/connections.c: Likewise.
40131 * nscd/netgroupcache.c: Likewise.
40132 * sysdeps/posix/getcwd.c: Likewise.
40134 2012-05-10 Roland McGrath <roland@hack.frob.com>
40136 * math/w_ilogbf.c: Add #include <limits.h>.
40138 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40140 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40141 path instead of returning without unlocking.
40143 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40144 immediate-write ioctls.
40145 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40147 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40149 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40150 __builtin_frame_address instead of making assumptions about the
40151 location of the return address relative to DATA. Force early load of
40152 the return address.
40153 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40154 __builtin_frame_address.
40157 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40158 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40159 implement dup3 and do some further code clean-ups.
40160 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40161 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40163 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40165 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40167 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40168 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40169 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40170 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40171 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40174 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40175 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40176 when handler == SIG_ERR, not when handler != SIG_ERR.
40178 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40180 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40181 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40184 accept4 for GNU Hurd.
40185 * include/sys/socket.h (__libc_accept4): New prototype.
40186 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40187 to implement __libc_accept4.
40188 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40190 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40192 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40193 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40194 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40195 signal-defines.sym.
40197 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40199 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40201 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40203 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40204 assertion on O_CLOEXEC flag.
40205 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40206 * hurd/intern-fd.c: Likewise.
40207 * hurd/port2fd.c: Likewise.
40209 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40212 * bits/in.h (IPV6_PKTINFO): Define new macro.
40213 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40215 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40220 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40221 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40222 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40223 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40225 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40226 * math/libm-test.inc (logb_test) : Additional logb tests.
40228 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40229 Andreas Jaeger <aj@suse.de>
40231 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40232 * configure: Regenerated.
40233 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40234 * config.make.in (link-obsolete-rpc): New substituted variable.
40235 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40236 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40237 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40238 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40239 so that libc.a contains the symbols.
40240 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40241 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40242 * sunrpc/auth_none.c: Likewise.
40243 * sunrpc/auth_unix.c: Likewise.
40244 * sunrpc/authdes_prot.c: Likewise.
40245 * sunrpc/authuxprot.c: Likewise.
40246 * sunrpc/clnt_gen.c: Likewise.
40247 * sunrpc/clnt_perr.c: Likewise.
40248 * sunrpc/clnt_raw.c: Likewise.
40249 * sunrpc/clnt_simp.c: Likewise.
40250 * sunrpc/clnt_tcp.c: Likewise.
40251 * sunrpc/clnt_udp.c: Likewise.
40252 * sunrpc/clnt_unix.c: Likewise.
40253 * sunrpc/des_crypt.c: Likewise.
40254 * sunrpc/des_soft.c: Likewise.
40255 * sunrpc/get_myaddr.c: Likewise.
40256 * sunrpc/key_call.c: Likewise.
40257 * sunrpc/key_prot.c: Likewise.
40258 * sunrpc/netname.c: Likewise.
40259 * sunrpc/pm_getmaps.c: Likewise.
40260 * sunrpc/pm_getport.c: Likewise.
40261 * sunrpc/pmap_clnt.c: Likewise.
40262 * sunrpc/pmap_prot.c: Likewise.
40263 * sunrpc/pmap_prot2.c: Likewise.
40264 * sunrpc/pmap_rmt.c: Likewise.
40265 * sunrpc/publickey.c: Likewise.
40266 * sunrpc/rpc_cmsg.c: Likewise.
40267 * sunrpc/rpc_common.c: Likewise.
40268 * sunrpc/rpc_dtable.c: Likewise.
40269 * sunrpc/rpc_prot.c: Likewise.
40270 * sunrpc/rpc_thread.c: Likewise.
40271 * sunrpc/rtime.c: Likewise.
40272 * sunrpc/svc.c: Likewise.
40273 * sunrpc/svc_auth.c: Likewise.
40274 * sunrpc/svc_raw.c: Likewise.
40275 * sunrpc/svc_run.c: Likewise.
40276 * sunrpc/svc_tcp.c: Likewise.
40277 * sunrpc/svc_udp.c: Likewise.
40278 * sunrpc/svc_unix.c: Likewise.
40279 * sunrpc/svcauth_des.c: Likewise.
40280 * sunrpc/xcrypt.c: Likewise.
40281 * sunrpc/xdr.c: Likewise.
40282 * sunrpc/xdr_array.c: Likewise.
40283 * sunrpc/xdr_float.c: Likewise.
40284 * sunrpc/xdr_intXX_t.c: Likewise.
40285 * sunrpc/xdr_mem.c: Likewise.
40286 * sunrpc/xdr_rec.c: Likewise.
40287 * sunrpc/xdr_ref.c: Likewise.
40288 * sunrpc/xdr_sizeof.c: Likewise.
40289 * sunrpc/xdr_stdio.c: Likewise.
40291 2012-05-10 Roland McGrath <roland@hack.frob.com>
40293 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40294 change. Update copyright years.
40296 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40298 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40300 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40301 Joseph Myers <joseph@codesourcery.com>
40302 Paul Pluzhnikov <ppluzhnikov@google.com>
40305 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40307 [cross-compiling] (extra-libs): Likewise.
40308 [cross-compiling] (extra-libs-others): Likewise.
40309 [cross-compiling] (librpcsvc-routines): Likewise.
40310 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40311 [cross-compiling] (omit-deps): Likewise.
40312 (sunrpc-CPPFLAGS): New variable.
40313 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40314 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40315 (cross-rpcgen-objs): New variable.
40316 (extra-objs): Append $(cross-rpcgen-objs).
40317 ($(cross-rpcgen-objs)): New rule.
40318 ($(objpfx)cross-rpcgen): Likewise.
40319 (rpcgen-cmd): Define to use $(built-program-file). Expand
40321 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40322 ($(objpfx)x%.stmp): Likewise.
40323 * sunrpc/proto.h [IS_IN_build] (_): Define.
40324 [IS_IN_build] (_libc_intl_domainname): Likewise.
40326 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40328 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40329 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40330 and R_X86_64_TPOFF64.
40332 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40334 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40335 sysdeps/unix/sysv/syscalls.list.
40338 * sysdeps/unix/sysv/syscalls.list: Remove file.
40340 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40343 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40344 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40345 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40346 (__LC_IDENTIFICATION): Make these macros useful in #if
40347 expressions, as required by C99.
40349 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40351 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40352 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40355 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40357 * stdlib/longlong.h: Updated from GCC.
40359 2012-05-09 Andreas Jaeger <aj@suse.de>
40361 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40362 default is first entry.
40363 (run_mode): Set type.
40364 (main): Remove informal message about syslog.
40365 (options): Fix typo.
40368 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40371 (llrintf): Likewise.
40372 (llrint): Likewise.
40375 (nearbyint): Likewise.
40376 (nearbyintf): Likewise.
40378 2012-05-09 Andreas Jaeger <aj@suse.de>
40379 Pedro Alves <palves@redhat.com>
40381 * nscd/nscd.c (run_mode): Use enum.
40382 (main): Cleanup coding style issue.
40384 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
40385 Andreas Jaeger <aj@suse.de>
40387 * nscd/nscd.c (go_background): Replaced with...
40388 (run_mode): ... this.
40389 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40390 (options): Add -F --foreground.
40391 (main): Implement it.
40392 (parse_opt): Parse it.
40394 2012-05-09 Andreas Jaeger <aj@suse.de>
40397 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40398 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40399 -Wconversion warning.
40400 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40403 2012-05-09 Joseph Myers <joseph@codesourcery.com>
40405 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40407 (LC_ALL): Use macro-int-constant.
40408 (LC_COLLATE): Likewise.
40409 (LC_CTYPE): Likewise.
40410 (LC_MESSAGES): Likewise.
40411 (LC_MONETARY): Likewise.
40412 (LC_NUMERIC): Likewise.
40413 (LC_TIME): Likewise.
40414 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40415 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40417 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40419 [C99-based standards] (float_t): Expect type.
40420 [C99-based standards] (double_t): Expect type.
40421 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40423 [C99-based standards] (HUGE_VALL): Likewise.
40424 [C99-based standards] (INFINITY): Likewise.
40425 [C99-based standards] (NAN): Likewise.
40426 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40427 [C99-based standards] (FP_NAN): Likewise.
40428 [C99-based standards] (FP_NORMAL): Likewise.
40429 [C99-based standards] (FP_SUBNORMAL): Likewise.
40430 [C99-based standards] (FP_ZERO): Likewise.
40431 [C99-based standards] (FP_FAST_FMA): Use
40432 optional-macro-int-constant. Specify type. Require == 1.
40433 [C99-based standards] (FP_FAST_FMAF): Likewise.
40434 [C99-based standards] (FP_FAST_FMAL): Likewise.
40435 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40436 [C99-based standards] (FP_ILOGBNAN): Likewise.
40437 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40439 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40440 [C99-based standards] (math_errhandling): Specify type.
40441 [ISO99 || ISO11] (signgam): Do not allow.
40442 [non-C99-based standards] (copysignf): Do not allow.
40443 [non-C99-based standards] (exp2f): Likewise.
40444 [non-C99-based standards] (log2f): Likewise.
40445 [non-C99-based standards] (modff): Allow.
40446 [non-C99-based standards] (erff): Do not allow.
40447 [non-C99-based standards] (erfcf): Likewise.
40448 [non-C99-based standards] (gammaf): Likewise.
40449 [non-C99-based standards] (hypotf): Likewise.
40450 [non-C99-based standards] (j0f): Likewise.
40451 [non-C99-based standards] (j1f): Likewise.
40452 [non-C99-based standards] (jnf): Likewise.
40453 [non-C99-based standards] (lgammaf): Likewise.
40454 [non-C99-based standards] (tgammaf): Likewise.
40455 [non-C99-based standards] (y0f): Likewise.
40456 [non-C99-based standards] (y1f): Likewise.
40457 [non-C99-based standards] (ynf): Likewise.
40458 [non-C99-based standards] (isnanf): Likewise.
40459 [non-C99-based standards] (acoshf): Likewise.
40460 [non-C99-based standards] (asinhf): Likewise.
40461 [non-C99-based standards] (atanhf): Likewise.
40462 [non-C99-based standards] (cbrtf): Likewise.
40463 [non-C99-based standards] (expm1f): Likewise.
40464 [non-C99-based standards] (ilogbf): Likewise.
40465 [non-C99-based standards] (log1pf): Likewise.
40466 [non-C99-based standards] (logbf): Likewise.
40467 [non-C99-based standards] (nextafterf): Likewise.
40468 [non-C99-based standards] (remainderf): Likewise.
40469 [non-C99-based standards] (rintf): Likewise.
40470 [non-C99-based standards] (scalbf): Likewise.
40471 [non-C99-based standards] (copysignl): Likewise.
40472 [non-C99-based standards] (exp2l): Likewise.
40473 [non-C99-based standards] (log2l): Likewise.
40474 [non-C99-based standards] (modfl): Allow.
40475 [non-C99-based standards] (erfl): Do not allow.
40476 [non-C99-based standards] (erfcl): Likewise.
40477 [non-C99-based standards] (gammal): Likewise.
40478 [non-C99-based standards] (hypotl): Likewise.
40479 [non-C99-based standards] (j0l): Likewise.
40480 [non-C99-based standards] (j1l): Likewise.
40481 [non-C99-based standards] (jnl): Likewise.
40482 [non-C99-based standards] (lgammal): Likewise.
40483 [non-C99-based standards] (tgammal): Likewise.
40484 [non-C99-based standards] (y0l): Likewise.
40485 [non-C99-based standards] (y1l): Likewise.
40486 [non-C99-based standards] (ynl): Likewise.
40487 [non-C99-based standards] (isnanl): Likewise.
40488 [non-C99-based standards] (acoshl): Likewise.
40489 [non-C99-based standards] (asinhl): Likewise.
40490 [non-C99-based standards] (atanhl): Likewise.
40491 [non-C99-based standards] (cbrtl): Likewise.
40492 [non-C99-based standards] (expm1l): Likewise.
40493 [non-C99-based standards] (ilogbl): Likewise.
40494 [non-C99-based standards] (log1pl): Likewise.
40495 [non-C99-based standards] (logbl): Likewise.
40496 [non-C99-based standards] (nextafterl): Likewise.
40497 [non-C99-based standards] (remainderl): Likewise.
40498 [non-C99-based standards] (rintl): Likewise.
40499 [non-C99-based standards] (scalbl): Likewise.
40500 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40501 [non-C99-based standards] (FP_*): Do not allow.
40502 [C99-based standards] (FP_*): Change to
40503 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40504 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40506 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40507 (SIG_ERR): Likewise.
40508 [X/Open-based standards] (SIG_HOLD): Likewise.
40509 (SIG_IGN): Likewise.
40510 (SIGABRT): Use macro-int-constant. Specify type. Require
40512 (SIGFPE): Likewise.
40513 (SIGILL): Likewise.
40514 (SIGINT): Likewise.
40515 (SIGSEGV): Likewise.
40516 (SIGTER): Likewise.
40517 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40518 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40519 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40520 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40521 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40522 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40523 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40524 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40525 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40526 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40527 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40528 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40529 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40530 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40531 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40532 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40533 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40534 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40535 [X/Open-based standards] (SIGTRAP): Likewise.
40536 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40537 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40538 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40539 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40540 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40543 2012-05-08 Ian Wienand <ianw@vmware.com>
40546 * time/tzset.c (__tzset_parse_tz): Update default rules for
40547 daylight time changes in the Energy Policy Act of 2005.
40549 2012-05-09 Andreas Jaeger <aj@suse.de>
40552 * elf/ldconfig.c (parse_conf): Change string to make clear that
40553 ldconfig only issued a warning if ld.so.conf does not exist.
40555 2012-05-08 David S. Miller <davem@davemloft.net>
40557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40558 movxtod instead of popping the value on the stack.
40560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40562 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40564 * config.h.in: Add HAVE_ARM_PCS_VFP.
40566 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
40569 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40570 checking but the checks are disabled for any reason.
40572 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40574 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40575 and ELF64_R_TYPE with ELFW(R_TYPE).
40577 2012-05-08 Joseph Myers <joseph@codesourcery.com>
40579 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40580 (ulimit): Likewise.
40582 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40583 (settimeofday): Likewise.
40585 2012-05-08 Mike Frysinger <vapier@gentoo.org>
40587 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40588 a struct th_u2 inside the union, and move tu_block/tu_code into
40589 a new th_u3 union of tu_block/tu_code inside of that. Move
40590 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40591 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40592 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40593 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40594 (th_stuff): Change to th_u1.tu_stuff.
40596 (th_msg): Change to th_u1.th_u2.tu_data.
40598 2012-05-07 David S. Miller <davem@davemloft.net>
40600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40603 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40604 (SETUP_PIC_REG): Use it.
40605 (SETUP_PIC_REG_LEAF): Use it.
40607 2012-05-07 Joseph Myers <joseph@codesourcery.com>
40611 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40613 (EXPL_FINITE): Likewise.
40614 (FLDLOG): Likewise.
40615 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40616 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40618 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40620 (EXPL_FINITE): Likewise.
40621 (FLDLOG): Likewise.
40622 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40623 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40625 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40626 test of -max_value argument for long double.
40627 * sysdeps/i386/fpu/libm-test-ulps: Update.
40628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40630 2012-05-06 David S. Miller <davem@davemloft.net>
40632 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40633 quad soft-float symbols whose references which are compiler
40635 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40637 2012-05-06 Joseph Myers <joseph@codesourcery.com>
40641 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40643 (EXPL_FINITE): Likewise.
40644 (FLDLOG): Likewise.
40647 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40648 Adjust comments for base varying.
40649 (__expl_finite): Change alias to EXPL_FINITE.
40650 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40652 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40653 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40654 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40655 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40656 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40658 (EXPL_FINITE): Likewise.
40659 (FLDLOG): Likewise.
40662 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40663 Adjust comments for base varying.
40664 (__expl_finite): Change alias to EXPL_FINITE.
40665 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40670 * math/libm-test.inc (check_float_internal): Correct ulp
40671 calculation for subnormal expected results.
40673 2012-05-06 Andreas Jaeger <aj@suse.de>
40675 * Makeconfig (+math-flags): New, set to -frounding-math.
40676 (+cflags): Add +math-flags so that all of glibc gets compiled with
40679 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40681 2012-05-05 Joseph Myers <joseph@codesourcery.com>
40683 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40689 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40690 (__ieee754_expl): Allow for and saturate large arguments.
40691 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40692 (u_threshold): Likewise.
40693 (__exp): Call __ieee754_exp before checking for overflow and
40695 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40696 (u_threshold): Likewise.
40697 (__expf): Call __ieee754_expf before checking for overflow and
40699 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40700 (u_threshold): Likewise.
40701 (__expl): Call __ieee754_expl before checking for overflow and
40703 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40704 (__ieee754_expl): Allow for and saturate large arguments.
40705 * math/libm-test.inc (exp_test): Add another test. Do not allow
40706 missing overflow exception on overflow.
40707 (expm1_test): Do not allow missing overflow exception on overflow.
40709 * sysdeps/i386/fpu/e_expl.c: Move to ...
40710 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40711 rather than using inline asm.
40712 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40713 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40714 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40716 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40719 (signal): Likewise.
40723 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40725 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40726 sysdeps/unix/common/syscalls.list.
40727 (fchmod): Likewise.
40728 (fchown): Likewise.
40729 (ftruncate): Likewise.
40730 (getrusage): Likewise.
40731 (gettimeofday): Likewise.
40732 (setpgid): Likewise.
40733 (setregid): Likewise.
40734 (setreuid): Likewise.
40735 (sigaction): Likewise.
40736 (truncate): Likewise.
40737 (vhangup): Likewise.
40738 * sysdeps/unix/common/syscalls.list: Remove file.
40739 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40740 * sysdeps/unix/sysv/linux/Implies: Likewise.
40742 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40744 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40746 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40750 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40753 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40756 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40759 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40762 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40765 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40768 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40772 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40776 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40779 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40783 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40787 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40789 * sysdeps/unix/common/bits/dirent.h: Remove file.
40790 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40792 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40793 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40794 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40795 * sysdeps/unix/bsd/isatty.c: Likewise.
40796 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40797 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40798 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40800 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40803 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40804 long double comparison inaccuracies.
40805 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40808 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40810 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40811 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40813 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40817 nonzero digits before rounding a hex value.
40818 * stdlib/tst-strtod.c (tests): Add another test.
40820 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40822 * sysdeps/s390/fpu/libm-test-ulps: Update.
40824 2012-05-03 Andreas Jaeger <aj@suse.de>
40826 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40827 does not get optimized out.
40828 (malloc_opt_barrier): New.
40830 2012-05-03 Andreas Jaeger <aj@suse.de>
40831 Roland McGrath <roland@hack.frob.com>
40833 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40834 intermediate file deletion.
40835 (generated): Add .symlist files.
40837 2012-05-03 Joseph Myers <joseph@codesourcery.com>
40840 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40841 Redirect under this condition.
40842 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40843 [__USE_GNU] (__dprintf_chk): Not under this condition.
40844 [__USE_GNU] (__vdprintf_chk): Likewise.
40845 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40846 under this condition.
40847 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40848 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40849 [__USE_XOPEN2K8] (vdprintf): Likewise.
40850 [__USE_GNU] (__dprintf_chk): Not under this condition.
40851 [__USE_GNU] (__vdprintf_chk): Likewise.
40852 [__USE_GNU] (dprintf): Likewise.
40853 [__USE_GNU] (vdprintf): Likewise.
40855 2012-05-03 Roland McGrath <roland@hack.frob.com>
40857 * elf/Makefile (common-generated): Set this instead of generated for
40858 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40859 $(all-built-dso)-derived lists.
40861 2012-05-03 Andreas Jaeger <aj@suse.de>
40863 * sysdeps/i386/fpu/libm-test-ulps: Update.
40866 * FAQ.in: Likewise.
40867 * scripts/gen-FAQ.pl: Likewise.
40868 * manual/install.texi (Installation): Point to online location of
40870 * Makefile (files-for-dist): Remove FAQ.
40873 2012-05-02 Allan McRae <allan@archlinux.org>
40875 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40876 (LDFLAGS-reldepmod5.so): Likewise.
40877 (LDFLAGS-reldep6mod1.so): Likewise.
40878 (LDFLAGS-reldep6mod4.so): Likewise.
40879 (LDFLAGS-reldep8mod3.so): Likewise.
40880 (LDFLAGS-unload4mod1.so): Likewise.
40881 (LDFLAGS-unload4mod2.so): Likewise.
40882 (LDFLAGS-tst-initorder): Likewise.
40883 (LDFLAGS-tst-initordera2.so): Likewise.
40884 (LDFLAGS-tst-initordera3.so): Likewise.
40885 (LDFLAGS-tst-initordera4.so): Likewise.
40886 (LDFLAGS-tst-initorderb2.so): Likewise.
40887 (LDFLAGS-noload): Likewise.
40888 (LDFLAGS-next): Likewise.
40889 (LDFLAGS-order2mod1.so): Likewise.
40890 (LDFLAGS-order2mod2.so): Likewise.
40891 (LDFLAGS-tst-initorder2): Likewise.
40892 (LDFLAGS-tst-initorder2a.so): Likewise.
40893 (LDFLAGS-tst-initorder2b.so): Likewise.
40894 (LDFLAGS-tst-initorder2c.so): Likewise.
40895 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40897 2012-05-02 David S. Miller <davem@davemloft.net>
40899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40901 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40904 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40906 2012-05-02 Andreas Jaeger <aj@suse.de>
40908 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40909 since we manipulate rounding mode.
40910 (CPPFLAGS-test-idouble.c): Likewise.
40911 (CPPFLAGS-test-ifloat.c): Likewise.
40912 (CFLAGS-test-ldouble.c): Likewise.
40913 (CFLAGS-test-double.c): Likewise.
40914 (CFLAGS-test-float.c): Likewise.
40915 (CFLAGS-test-misc.c): Likewise.
40916 (CFLAGS-test-test-fenv.c): Likewise.
40918 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40922 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40923 comparisons to determine direction to adjust input.
40925 2012-05-01 Roland McGrath <roland@hack.frob.com>
40927 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40928 output to the target.
40930 * scripts/localplt.awk: New file.
40931 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40932 (check-localplt-CFLAGS): Variable removed.
40933 ($(all-built-dso:=.jmprel)): New static pattern rule.
40934 (generated): Add those targets.
40935 (localplt-built-dso): New variable.
40936 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40938 * elf/check-localplt.c: File removed.
40940 * scripts/check-execstack.awk: New file.
40941 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40942 (check-execstack-CFLAGS): Variable removed.
40943 ($(objpfx)check-execstack.h): Target removed.
40944 ($(objpfx)execstack-default): New target.
40945 (generated): Add that instead of check-execstack.h.
40946 ($(all-built-dso:=.phdr)): New static pattern rule.
40947 (generated): Add those targets.
40948 * elf/check-execstack.c: File removed.
40950 * scripts/check-textrel.awk: New file.
40951 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40952 (check-textrel-CFLAGS): Variable removed.
40953 (all-built-dso): Use := to define.o
40954 ($(all-built-dso:=.dyn)): New static pattern rule.
40955 (generated): Add those targets.
40956 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40957 * config.make.in (READELF): New substituted variable.
40958 * elf/check-textrel.c: File removed.
40960 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40962 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40964 * conform/data/ctype.h-data [C99-based standards] (isblank):
40966 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40967 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40969 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40970 Specify type. Require positive value.
40971 (EILSEQ): Likewise.
40972 (ERANGE): Likewise.
40973 [ISO || POSIX] (EILSEQ): Do not expect.
40974 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40975 Specify type. Require positive value.
40976 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40977 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40978 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40979 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40980 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40981 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40982 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40983 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40984 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40985 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40986 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40987 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40988 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40989 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40990 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40991 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40992 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40993 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40994 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40995 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40996 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40997 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40998 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40999 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41000 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41001 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41002 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41003 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41004 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41005 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41006 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41007 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41008 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41009 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41010 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41011 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41012 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41013 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41014 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41015 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41016 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41017 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41018 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41019 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41020 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41021 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41022 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41023 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41024 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41025 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41026 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41027 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41028 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41029 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41030 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41031 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41032 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41033 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41034 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41035 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41036 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41037 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41038 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41039 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41040 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41041 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41042 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41043 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41044 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41045 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41046 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41047 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41048 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41049 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41050 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41051 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41052 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41054 (FLT_ROUNDS): Expect as macro, not constant.
41055 (FLT_MANT_DIG): Use macro-int-constant.
41056 (DBL_MANT_DIG): Likewise.
41057 (LDBL_MANT_DIG): Likewise.
41058 (FLT_DIG): Likewise.
41059 (DBL_DIG): Likewise.
41060 (LDBL_DIG): Likewise.
41061 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41062 (DBL_MIN_EXP): Likewise.
41063 (LDBL_MIN_EXP): Likewise.
41064 (FLT_MAX_EXP): Use macro-int-constant.
41065 (DBL_MAX_EXP): Likewise.
41066 (LDBL_MAX_EXP): Likewise.
41067 (FLT_MAX_10_EXP): Likewise.
41068 (DBL_MAX_10_EXP): Likewise.
41069 (LDBL_MAX_10_EXP): Likewise.
41070 (FLT_MAX): Use macro-constant.
41071 (DBL_MAX): Likewise.
41072 (LDBL_MAX): Likewise.
41073 (FLT_EPSILON): Use macro-constant. Give upper bound.
41074 (DBL_EPSILON): Likewise.
41075 (LDBL_EPSILON): Likewise.
41076 (FLT_MIN): Likewise.
41077 (DBL_MIN): Likewise.
41078 (LDBL_MIN): Likewise.
41079 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41080 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41081 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41082 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41083 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41084 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41085 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41086 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41087 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41088 [ISO11] (FLT_TRUE_MIN): Likewise.
41089 [ISO11] (LDBL_TRUE_MIN): Likewise.
41090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41091 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41092 (SCHAR_MIN): Use macro-int-constant. Specify type.
41093 (SCHAR_MAX): Likewise.
41094 (UCHAR_MAX): Likewise.
41095 (CHAR_MIN): Likewise.
41096 (CHAR_MAX): Likewise.
41097 (MB_LEN_MAX): Use macro-int-constant.
41098 (SHRT_MIN): Use macro-int-constant. Specify type.
41099 (SHRT_MAX): Likewise.
41100 (USHRT_MAX): Likewise.
41101 (INT_MAX): Likewise.
41102 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41104 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41106 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41108 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41109 bound negative. Suffix upper bound with "L".
41110 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41112 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41114 [C99-based standards] (LLONG_MAX): Likewise.
41115 [C99-based standards] (ULLONG_MAX): Likewise.
41116 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41118 [ISO11] (max_align_t): Require type.
41119 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41121 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41122 from $CFLAGS, without defining away __attribute__ calls.
41123 (checknamespace): Use $CFLAGS_namespace.
41125 * conform/conformtest.pl (@keywords): Only include C99 keywords
41126 for standards based on C99 or C11.
41128 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41130 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41133 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41134 usability of symbols in #if.
41136 * conform/conformtest.pl: If macro or constant types start
41137 "promoted:", expect the symbol to be of the following type
41138 promoted by the integer promotions.
41140 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41141 in one place. Also handle "macro-constant".
41143 * conform/conformtest.pl: Only accept expected macro values with
41144 "==". Parse all "macro" lines in one place.
41145 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41147 * conform/conformtest.pl: Handle braced types on "constant" lines
41148 instead of handling "typed-constant".
41149 * conform/data/signal.h-data: Use "constant" instead of
41152 * conform/conformtest.pl: Handle "optional-" at start of lines in
41153 one place rather than duplicating several cases. Handle each
41154 format of "macro" line with initial "optional-".
41156 * conform/conformtest.pl: Only accept expected constant or
41157 optional-constant values with "==". Parse all "constant" lines in
41158 one place. Parse all "optional-constant" lines in one place.
41159 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41160 * conform/data/fmtmsg.h-data: Likewise.
41161 * conform/data/netinet/in.h-data: Likewise.
41162 * conform/data/tar.h-data: Likewise.
41163 * conform/data/limits.h-data: Use "==" form on "constant" and
41164 "optional-constant" lines.
41166 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41167 Use -std=c99 for XOPEN2K.
41168 (@knownproblems): Remove.
41169 (newtoken): Don't check %isknown.
41171 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41172 Do not expect macro.
41173 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41174 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41175 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41176 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41177 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41178 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41179 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41180 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41181 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41182 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41183 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41184 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41185 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41186 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41187 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41188 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41189 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41190 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41191 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41192 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41193 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41194 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41195 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41196 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41197 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41198 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41199 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41200 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41201 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41202 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41203 [XPG3] (acosh): Likewise.
41204 [XPG3] (asinh): Likewise.
41205 [XPG3] (atanh): Likewise.
41206 [XPG3] (cbrt): Likewise.
41207 [XPG3] (expm1): Likewise.
41208 [XPG3] (ilogb): Likewise.
41209 [XPG3] (log1p): Likewise.
41210 [XPG3] (logb): Likewise.
41211 [XPG3] (nextafter): Likewise.
41212 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41213 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41214 [XPG3] (remainder): Likewise.
41215 [XPG3] (rint): Likewise.
41216 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41217 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41218 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41219 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41220 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41221 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41222 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41223 [UNIX98 || XOPEN2K] (scalb): Expect.
41224 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41225 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41226 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41227 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41228 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41229 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41230 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41231 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41232 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41233 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41234 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41235 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41236 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41237 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41238 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41239 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41240 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41241 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41242 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41243 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41244 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41245 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41246 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41247 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41248 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41249 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41250 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41251 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41252 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41253 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41254 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41255 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41256 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41257 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41258 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41259 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41260 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41261 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41262 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41263 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41264 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41265 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41266 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41267 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41268 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41269 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41270 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41271 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41272 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41273 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41274 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41275 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41276 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41277 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41278 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41279 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41280 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41281 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41282 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41283 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41284 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41285 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41286 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41287 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41288 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41289 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41290 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41291 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41292 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41293 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41294 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41295 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41296 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41297 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41298 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41299 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41300 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41301 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41302 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41303 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41304 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41305 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41306 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41307 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41308 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41309 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41310 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41311 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41312 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41313 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41314 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41315 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41316 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41317 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41318 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41319 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41320 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41321 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41322 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41323 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41324 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41325 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41326 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41327 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41328 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41329 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41330 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41331 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41332 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41333 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41334 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41335 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41336 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41337 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41338 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41339 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41340 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41341 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41342 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41343 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41344 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41345 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41346 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41347 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41348 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41349 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41350 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41351 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41352 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41353 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41354 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41355 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41356 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41357 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41358 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41359 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41360 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41362 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41363 _XOPEN_SOURCE_EXTENDED for XPG4.
41365 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41367 * Makeconfig (localtime): Remove variable.
41368 (inst_localtime-file): Likewise.
41370 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41391 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41395 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41396 comparisons to determine direction to adjust input.
41397 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41398 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41399 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41401 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41403 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41405 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41406 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41408 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41410 * math/libm-test.inc (nexttoward_test): Add more tests.
41412 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41415 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41416 in version GLIBC_2.1, not GLIBC_2.0.
41417 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41420 2012-04-30 Joseph Myers <joseph@codesourcery.com>
41423 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41425 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41426 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41427 * math/libm-test.inc (acos_test): Add more tests.
41428 (asin_test): Likewise.
41429 * sysdeps/i386/fpu/libm-test-ulps: Update.
41430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41433 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41435 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41436 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41437 * math/libm-test.inc (acos_test_tonearest): New function.
41438 (acos_test_towardzero): Likewise.
41439 (acos_test_downward): Likewise.
41440 (acos_test_upward): Likewise.
41441 (asin_test_tonearest): Likewise.
41442 (asin_test_towardzero): Likewise.
41443 (asin_test_downward): Likewise.
41444 (asin_test_upward): Likewise.
41445 (main): Call the new functions.
41446 * sysdeps/i386/fpu/libm-test-ulps: Update.
41447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41451 * math/e_exp10.c: Include <float.h>.
41452 (__ieee754_exp10): Handle underflow here rather than multiplying
41453 large negative argument by M_LN10.
41454 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41456 * math/e_exp10l.c: Include <float.h>.
41457 (__ieee754_exp10l): Handle underflow here rather than multiplying
41458 large negative argument by M_LN10l.
41459 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41460 spurious overflow exception on underflow.
41462 2012-04-29 Marek Polacek <polacek@redhat.com>
41464 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41465 (__fortify_function): New macro.
41466 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41467 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41468 __extern_always_inline.
41469 * libio/bits/stdio2.h: Likewise.
41470 * libio/bits/stdio.h: Likewise.
41471 * string/string.h: Likewise.
41472 * string/bits/string3.h: Likewise.
41473 * include/stdio.h: Likewise.
41474 * stdlib/bits/stdlib.h: Likewise.
41475 * stdlib/stdlib.h: Likewise.
41476 * rt/bits/mqueue2.h: Likewise.
41477 * rt/mqueue.h: Likewise.
41478 * posix/bits/unistd.h: Likewise.
41479 * posix/unistd.h: Likewise.
41480 * io/bits/poll2.h: Likewise.
41481 * io/bits/fcntl2.h: Likewise.
41482 * io/fcntl.h: Likewise.
41483 * io/sys/poll.h: Likewise.
41484 * misc/bits/syslog.h: Likewise.
41485 * misc/bits/syslog-ldbl.h: Likewise.
41486 * misc/sys/syslog.h: Likewise.
41487 * socket/bits/socket2.h: Likewise.
41488 * socket/sys/socket.h: Likewise.
41489 * debug/tst-chk1.c: Likewise.
41490 * wcsmbs/bits/wchar2.h: Likewise.
41491 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41492 * wcsmbs/wchar.h: Likewise.
41494 2012-04-29 Andreas Jaeger <aj@suse.de>
41496 * Makerules (tests): Remove enable-check-abi protection.
41497 (check-abi-warn): Remove.
41498 (check-abi-%): Remove check-abi-warn usage.
41500 * configure.in: Remove check-abi configure option.
41501 * configure: Regenerated.
41502 * config.make.in (enable-check-abi): Remove.
41504 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41507 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41508 double functions to double *_finite functions.
41511 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41512 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41514 * stdio-common/Makefile (tests): Add tst-sprintf3.
41515 * stdio-common/tst-sprintf3.c: New file.
41517 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41518 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41520 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41522 * conform/conformtest.pl: Remove duplicate typed-constant
41525 2012-04-28 David S. Miller <davem@davemloft.net>
41527 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41528 (check-abi-%): Remove AWK script prerequisite and explicit
41530 (check-abi): Rewrite to just diff the symlist with the abilist.
41531 (config-tls, config-abi-config): Delete, no longer used.
41532 (update-abi-%): Remove AWK script and explicit abilist directory.
41533 (update-abi): Rewrite to simply compare and conditionally copy the
41534 symlist and the sysdep abilist file. Remove update-abi-config
41536 * abilist/ld.abilist: Remove.
41537 * abilist/libBrokenLocale.abilist: Remove.
41538 * abilist/libanl.abilist: Remove.
41539 * abilist/libcrypt.abilist: Remove.
41540 * abilist/libdl.abilist: Remove.
41541 * abilist/librt.abilist: Remove.
41542 * abilist/libthread_db.abilist: Remove.
41543 * abilist/libutil.abilist: Remove.
41544 * scripts/extract-abilist.awk: Remove.
41545 * scripts/merge-abilist.awk: Remove.
41546 * sysdeps/generic/libcidn.abilist: New file.
41547 * sysdeps/generic/libnss_compat.abilist: New file.
41548 * sysdeps/generic/libnss_db.abilist: New file.
41549 * sysdeps/generic/libnss_dns.abilist: New file.
41550 * sysdeps/generic/libnss_files.abilist: New file.
41551 * sysdeps/generic/libnss_hesiod.abilist: New file.
41552 * sysdeps/generic/libnss_nis.abilist: New file.
41553 * sysdeps/generic/libnss_nisplus.abilist: New file.
41554 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41555 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41556 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41558 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41559 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41560 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41561 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41562 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41563 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41564 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41565 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41566 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41568 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41569 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41570 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41571 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41573 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41574 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41575 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41576 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41577 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41578 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41580 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41581 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41582 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41584 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41687 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41688 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41689 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41692 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41693 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41694 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41695 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41696 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41697 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41698 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41699 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41700 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41752 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41754 * conform/conformtest.pl: Fix typo in handling typed-constant from
41757 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41759 * README: Cut down references to pre-2.6 Linux kernels and
41760 Linuxthreads. Update lists of configurations in libc and ports
41761 and sort alphabetically. Say "or newer" with Linux kernel version
41764 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41766 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41769 * math/libm-test.inc (logb_test_downward): New test to expose
41770 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41773 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41776 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41778 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41779 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41781 2012-04-26 Joseph Myers <joseph@codesourcery.com>
41783 * sysdeps/unix/i386/brk.S: Remove file.
41784 * sysdeps/unix/i386/dl-brk.S: Likewise.
41785 * sysdeps/unix/i386/pipe.S: Likewise.
41786 * sysdeps/unix/i386/sigreturn.S: Likewise.
41787 * sysdeps/unix/i386/syscall.S: Likewise.
41788 * sysdeps/unix/i386/vfork.S: Likewise.
41789 * sysdeps/unix/i386/wait.S: Likewise.
41791 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41792 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41794 * configure.in (arm*-none*): Do not allow without
41795 --enable-hacker-mode.
41796 (netbsd*): Remove case setting base_os.
41797 (386bsd*): Likewise.
41798 (freebsd*): Likewise.
41801 (sunos*): Likewise.
41802 (ultrix*): Likewise.
41803 (newsos*): Likewise.
41804 (dynix*): Likewise.
41810 (minix*): Likewise.
41811 (irix4*): Likewise.
41812 (irix6*): Likewise.
41813 (solaris[2-9]*): Likewise.
41815 * configure: Regenerated.
41817 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41820 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41821 overflow or cancellation in calculating denominator.
41822 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41824 down expression to avoid unexpected rounding in newer GCCs.
41825 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41827 2012-04-26 David S. Miller <davem@davemloft.net>
41829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41830 long-double compat symbols.
41831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41845 2012-04-25 David S. Miller <davem@davemloft.net>
41847 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41848 HWCAP_* values only after the memory barriers have been defined.
41849 (atomic_full_barrier): Define.
41850 (atomic_read_barrier): Define.
41851 (atomic_write_barrier): Define.
41853 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41855 * shlib-versions: Add libgcc_s version information.
41856 * sysdeps/generic/libgcc_s.h: Remove.
41857 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41859 * sysdeps/gnu/unwind-resume.c: Likewise.
41860 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41862 2012-04-25 David S. Miller <davem@davemloft.net>
41864 * sysdeps/unix/sparc/brk.S: Delete.
41865 * sysdeps/unix/sparc/dl-brk.S: Delete.
41866 * sysdeps/unix/sparc/pipe.S: Delete.
41867 * sysdeps/unix/sparc/sysdep.S: Delete.
41868 * sysdeps/unix/sparc/sysdep.h: Delete.
41869 * sysdeps/unix/sparc/vfork.S: Delete.
41870 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41871 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41872 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41873 (ret_ERRVAL, r0, r1, MOVE): Define.
41874 (JUMPTARGET): Remove.
41875 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41876 sysdeps/unix/sparc/sysdep.h
41877 (ENTRY, END): Remove.
41878 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41880 2012-04-25 Joseph Myers <joseph@codesourcery.com>
41882 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41883 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41886 * timezone/README: Update upstream location and email address for
41888 * timezone/zdump.c: Update from tzcode 2012b.
41889 * timezone/zic.c: Likewise.
41891 * configure.in (libc_cv_as_needed): Remove test.
41892 * configure: Regenerated.
41893 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41894 conditional definition.
41895 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41896 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41897 * config.make.in (have-as-needed): Remove variable.
41899 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41900 Paul Pluzhnikov <ppluzhnikov@google.com>
41902 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41905 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41907 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41908 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41909 * sysdeps/sh/strlen.S: Likewise.
41911 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41913 * sysdeps/unix/fork.S: Remove file.
41914 * sysdeps/unix/i386/fork.S: Likewise.
41915 * sysdeps/unix/sparc/fork.S: Likewise.
41917 * sysdeps/unix/system.c: Remove file.
41918 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41920 * sysdeps/unix/getegid.S: Remove file.
41921 * sysdeps/unix/geteuid.S: Likewise.
41923 2012-04-24 Roland McGrath <roland@hack.frob.com>
41925 * scripts/check-localplt.awk: New file.
41926 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41928 * scripts/data/localplt-generic.data: Add a comment.
41930 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41931 NODE when __dir_mkfile failed.
41932 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41933 Reported by Ludovic Courtès <ludo@gnu.org>.
41935 2012-04-24 Andreas Jaeger <aj@suse.de>
41937 * Makerules (common-clean): Also remove gen-as-const-headers
41940 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41942 * Makerules (native-compile): Do not change working directory for
41943 build. Use $(OUTPUT_OPTION) in command.
41944 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41946 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41949 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41950 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41951 * math/libm-test.inc (floor_test): Add more tests.
41952 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41954 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41956 * sysdeps/unix/getdents.c: Remove file.
41957 * sysdeps/unix/sysv/getdents.c: Likewise.
41958 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41960 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41961 sysdeps/unix/mman/syscalls.list.
41963 (mprotect): Likewise.
41965 (munmap): Likewise.
41966 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41967 * sysdeps/unix/mman/syscalls.list: Remove.
41968 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41970 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41971 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41972 * configure: Regenerated.
41973 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41974 $(libgcc_s_suffix).
41975 * config.make.in (libgcc_s_suffix): Remove variable.
41977 2012-04-23 Joseph Myers <joseph@codesourcery.com>
41979 * sysdeps/unix/sysv/gethostname.c: Move to ...
41980 * sysdeps/posix/gethostname.c: ... here.
41982 * sysdeps/unix/execve.S: Remove file.
41984 * sysdeps/unix/_exit.S: Remove file.
41986 2012-04-23 Andreas Jaeger <aj@suse.de>
41989 * manual/Makefile: Remove make dist support, there's no
41990 need for a stand-alone documentation tar ball.
41991 (TEXI2DVI): Define always, it's not in Makeconfig.
41994 (edition): Removed.
41995 (glibc-doc-$(edition).tar): Removed
41999 (ETAGS): Remove, it's in Makeconfig.
42000 (move-if-change): Remove, it's in Makeconfig.
42002 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
42005 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42006 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42007 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42008 (strtod_l, strtof_l, strtold_l): Remove __wur.
42009 It is not necessarily an error to ignore strtol's return value.
42010 One can reliably look at the stored endptr to decide whether
42011 the number had valid syntax.
42013 2012-04-21 Andreas Jaeger <aj@suse.de>
42016 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42018 2012-04-21 Joseph Myers <joseph@codesourcery.com>
42020 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42021 * sysdeps/unix/sysv/Versions: Remove file.
42023 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42028 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
42031 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42032 version from __vm86.
42034 2012-04-20 Joseph Myers <joseph@codesourcery.com>
42036 * sysdeps/unix/common/lxstat.c: Remove file.
42037 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42039 * sysdeps/unix/sysv/Makefile: Remove file.
42041 * sysdeps/unix/sysv/direct.h: Remove file.
42043 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42044 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42045 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42046 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42047 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42048 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42049 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42051 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42053 * sysdeps/unix/xmknod.c: Remove file.
42054 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42056 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42058 * sysdeps/unix/sysv/i386/time.S: Remove file.
42060 * sysdeps/unix/fxstat.c: Remove file.
42061 * sysdeps/unix/xstat.c: Likewise.
42062 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42064 * sysdeps/unix/sysv/sigaction.c: Remove file.
42066 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42067 (sysdep_headers): Remove variable.
42068 [termio.h not in sysdep_headers] (generated): Likewise.
42069 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42070 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42071 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42072 * sysdeps/unix/sysv/tcflow.c: Likewise.
42073 * sysdeps/unix/sysv/tcflush.c: Likewise.
42074 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42075 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42076 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42077 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42078 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42080 * sysdeps/unix/siglist.c: Remove file.
42082 * sysdeps/unix/getppid.S: Remove file.
42084 * sysdeps/unix/mkdir.c: Remove file.
42085 * sysdeps/unix/rmdir.c: Likewise.
42087 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42089 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42091 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42092 errlist-compat value.
42094 2012-04-18 David S. Miller <davem@davemloft.net>
42096 * sysdeps/generic/memcopy.h (reg_char): Delete.
42097 * debug/strcat_chk.c: Use char, not reg_char.
42098 * debug/strcpy_chk.c: Likewise.
42099 * debug/strncat_chk.c: Likewise.
42100 * debug/strncpy_chk.c: Likewise.
42101 * string/memchr.c: Likewise.
42102 * string/memrchr.c: Likewise.
42103 * string/rawmemchr.c: Likewise.
42104 * string/strcat.c: Likewise.
42105 * string/strchr.c: Likewise.
42106 * string/strchrnul.c: Likewise.
42107 * string/strcmp.c: Likewise.
42108 * string/strcpy.c: Likewise.
42109 * string/strncat.c: Likewise.
42110 * string/strncmp.c: Likewise.
42111 * string/strncpy.c: Likewise.
42113 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42115 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42116 __builtin_memcopy is called when src and dest ranges are known to not
42119 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42121 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42122 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42123 fwd_align_merge macro call.
42124 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42125 bwd_align_merge macro call.
42126 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42128 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42130 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42131 bwd_align_merge macros.
42132 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42133 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42134 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42136 2012-04-18 David S. Miller <davem@davemloft.net>
42138 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42140 2012-04-18 Andreas Jaeger <aj@suse.de>
42143 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42144 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42145 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42147 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42148 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42149 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42151 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42152 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42153 Adjust for changed ldbl-128 files.
42155 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42156 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42157 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42159 2012-04-17 David S. Miller <davem@davemloft.net>
42161 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42163 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42165 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42166 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42167 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42168 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42169 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42170 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42172 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42175 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42176 * math/libm-test.inc: Add ilogb errno and exception tests.
42177 * math/w_ilogb.c: New file: ilogb wrapper.
42178 * math/w_ilogbf.c: New file: ilogbf wrapper.
42179 * math/w_ilogbl.c: New file: ilogbl wrapper.
42180 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42181 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42182 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42183 exception being thrown with 0.0 as argument.
42184 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42185 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42186 exception being thrown with 0.0 as argument.
42187 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42188 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42189 exception being thrown with 0.0 as argument.
42190 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42191 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42192 exception being thrown with 0.0 as argument.
42193 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42194 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42195 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42196 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42197 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42198 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42199 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42200 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42201 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42203 2012-04-17 Petr Baudis <pasky@ucw.cz>
42205 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42208 2012-04-16 Marek Polacek <polacek@redhat.com>
42210 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42212 2012-04-16 Marek Polacek <polacek@redhat.com>
42214 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42215 operands of fdivp instruction.
42217 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42219 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42220 * elf/tst-auditmod3b.c: Likewise.
42221 * elf/tst-auditmod4b.c: Likewise.
42222 * elf/tst-auditmod5b.c: Likewise.
42223 * elf/tst-auditmod6b.c: Likewise.
42224 * elf/tst-auditmod6c.c: Likewise.
42225 * elf/tst-auditmod7b.c: Likewise.
42226 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42227 * sysdeps/x86_64/preconfigure.in: Likewise.
42228 * sysdeps/x86_64/preconfigure: Regenerated.
42230 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42232 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42235 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
42237 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42238 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42240 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42243 * locale/iso-639.def: Fix gl language name. Spotted by
42246 2012-04-12 Roland McGrath <roland@hack.frob.com>
42249 * libio/libio.h (__io_write_fn): Update comment.
42251 2012-04-12 Petr Baudis <pasky@ucw.cz>
42254 * stdio.texi (Hook Functions): The user provided writer function
42255 is not allowed to return -1.
42257 2012-04-11 David S. Miller <davem@davemloft.net>
42259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42261 2012-04-11 Mike Frysinger <vapier@gentoo.org>
42263 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42264 Add a leading slash to rtkaio.
42266 2012-04-11 Jim Meyering <meyering@redhat.com>
42269 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42270 It is not necessarily an error to ignore fwrite's return
42271 value. One can reliably use ferror to test for errors after
42274 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42276 * bits/types.h (__snseconds_t): New type.
42277 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42279 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42280 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42281 (__SNSECONDS_T_TYPE): Likewise.
42282 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42283 (__SNSECONDS_T_TYPE): Likewise.
42284 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42285 (__SNSECONDS_T_TYPE): Likewise.
42287 2012-04-10 Andreas Jaeger <aj@suse.de>
42290 * manual/time.texi (Processor Time): Return type of times is
42291 elapsed real time since an arbitrary point in the past.
42292 (CPU Time): Move CLK_TCK from here...
42293 (Processor Time): ...to here. Correct description.
42294 * manual/conf.texi (Constants for Sysconf): Correct description of
42297 2012-04-10 David S. Miller <davem@davemloft.net>
42300 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42301 where the is a gap between DT_REL(A) and DT_JMPREL.
42303 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42305 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42306 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42307 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42309 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42311 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42312 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42313 (dl_main): Handle --inhibit-cache.
42314 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42316 * elf/dl-load.c (_dl_map_object): Use it.
42317 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42319 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42322 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42323 (__ieee754_powl): Saturate large exponents rather than testing for
42324 overflow of y*log2(x).
42325 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42326 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42330 * math/s_ctan.c: Include <float.h>.
42331 (__ctan): Avoid internal overflow or cancellation in calculating
42333 * math/s_ctanf.c: Likewise.
42334 * math/s_ctanl.c: Likewise.
42335 * math/s_ctanh.c: Likewise.
42336 * math/s_ctanhf.c: Likewise.
42337 * math/s_ctanhl.c: Likewise.
42338 * math/libm-test.inc (ctan_test): Add more tests.
42339 (ctanh_test): Likewise.
42340 * sysdeps/i386/fpu/libm-test-ulps: Update.
42341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42343 2012-04-09 Andreas Jaeger <aj@suse.de>
42346 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42347 is an optional BSD extension.
42350 * manual/stdio.texi (Opening Streams): Document additional fopen
42353 2012-04-09 Roland McGrath <roland@hack.frob.com>
42355 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42356 %eax without telling the compiler.
42358 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42361 * manual/install.texi: Use sourceware.org.
42363 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42366 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42367 (__ieee754_pow): Generate overflow and underflow using huge*huge
42368 and tiny*tiny rather than just returning constant infinity or zero
42369 for large exponents.
42370 * math/libm-test.inc (pow_test): Require overflow exceptions for
42371 applicable cases of large exponents.
42374 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42375 (__ieee754_pow): Use iterative multiplication algorithm only for
42376 integer exponents with absolute value below 1024. Check for odd
42377 integer exponents when using algorithm for real exponents.
42378 * math/libm-test.inc (pow_test): Add more tests.
42379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42381 2012-04-08 Joseph Myers <joseph@codesourcery.com>
42384 * math/libm-test.inc (exp_test): Do not allow overflow exception
42387 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42390 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42391 instead of __kernel_standard_f.
42393 2012-04-08 Mike Frysinger <vapier@gentoo.org>
42395 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42396 * sysdeps/x86_64/memset_chk.S: Likewise.
42398 2012-04-08 Andreas Jaeger <aj@suse.de>
42401 * manual/startup.texi (Environment Access): Describe return value
42402 for putenv and setenv.
42405 * manual/filesys.texi (Directory Entries): Add description for
42409 * manual/filesys.texi (Directory Entries): Clarify that it's file
42410 system not operating system in the description of DT_UNKNOWN.
42413 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42415 2012-04-08 Stephen Compall <s11@member.fsf.org>
42418 * manual/llio.texi (Opening and Closing Files): Add cross
42419 reference to explain mode argument.
42421 2012-04-07 Mike Frysinger <vapier@gentoo.org>
42423 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42424 * sysdeps/x86_64/memset_chk.S: Likewise.
42426 2012-04-07 David S. Miller <davem@davemloft.net>
42428 * elf/elf.h (R_SPARC_WDISP10): Define.
42429 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42431 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42432 R_SPARC_SIZE64 and R_SPARC_H34.
42434 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42436 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42437 conditions and remove no longer applicable assertion.
42439 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42441 * bits/byteswap.h: Include <features.h>.
42442 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42443 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42445 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42447 * bits/byteswap.h (__bswap_16): Removed.
42448 Include <bits/byteswap-16.h> to get __bswap_16.
42449 * sysdeps/i386/bits/byteswap.h: Likewise.
42450 * sysdeps/s390/bits/byteswap.h: Likewise.
42451 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42452 * bits/byteswap-16.h: New file.
42453 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42454 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42455 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42456 * string/Makefile (headers): Add bits/byteswap-16.h.
42458 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42461 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42463 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42464 * nss/tst-nss-static.c: New.
42466 2012-04-06 Robert Millan <rmh@gnu.org>
42469 * manual/llio.texi (File Position Primitive): lseek
42470 refers to WHENCE when it really means OFFSET.
42472 2012-04-06 Andreas Jaeger <aj@suse.de>
42474 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42475 strncmp declarations.
42477 * abilist/libc.abilist: Add __poll and __ppoll.
42479 2012-04-05 David S. Miller <davem@davemloft.net>
42481 * scripts/check-local-headers.sh: Accept a host triplet in the
42482 path matched by the exclude regexp.
42484 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42486 * sysdeps/powerpc/powerpc32/dl-machine.h
42487 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42488 * sysdeps/s390/s390-32/dl-machine.h
42489 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42490 * sysdeps/sparc/sparc32/dl-machine.h
42491 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42492 * sysdeps/sparc/sparc64/dl-machine.h
42493 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42495 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42497 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42498 undefined symbol errors.
42500 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42503 2012-04-05 Michael Matz <matz@suse.de>
42506 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42508 2012-04-05 Andreas Jaeger <aj@suse.de>
42511 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42514 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42516 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42517 which ROUND is no valid rounding mode.
42519 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42521 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42523 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42525 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42527 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42528 an exception using FPU order intentionally.
42530 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42532 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42533 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42534 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42535 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42537 2012-04-05 Simon Josefsson <simon@josefsson.org>
42540 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42541 EINVAL when BUFLEN is too smal.
42543 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42546 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42547 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42549 2012-04-03 Andreas Jaeger <aj@suse.de>
42552 * manual/setjmp.texi (System V contexts): Fix sentence.
42555 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42556 New macro for this case.
42557 [!__GNUC__] (__bswap_64): New inline function for this case.
42558 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42559 * bits/byteswap.h: Likewise.
42560 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42561 ull, guard with __GLIBC_HAVE_LONG_LONG.
42563 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42564 __GLIBC_HAVE_LONG_LONG.
42566 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42567 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42569 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42572 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42573 inptr and inend, rather than using last_ch.
42575 2012-04-02 David S. Miller <davem@davemloft.net>
42577 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42578 * stdio-common/printf-parse.h (read_int): Change return type to
42579 'int', return -1 on INT_MAX overflow.
42580 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42581 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42582 overflows INT_MAX. Check for overflow of in-format-string precision
42583 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42584 SIZE_MAX not INT_MAX for integer overflow test.
42585 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42586 skip the construct in the format string but do not record anything.
42587 * stdio-common/bug22.c: Adjust to test both width/prevision
42588 INT_MAX overflow as well as total length INT_MAX overflow. Check
42589 explicitly for proper errno values.
42591 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42593 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42595 * string/test-strcmp.c [! WIDE]: Likewise.
42596 * time/tst-mktime2.c: Likewise for INT_MAX.
42597 * string/test-string.h: #include <sys/param.h> for MIN.
42599 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42600 * sysdeps/i386/init-first.c (init): Likewise.
42601 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42602 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42603 * sysdeps/sh/init-first.c (init): Likewise.
42605 2012-04-01 Ulrich Drepper <drepper@gmail.com>
42607 * po/ru.po: Update from translation team.
42608 * po/vi.po: Likewise.
42610 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42612 * resolv/nss_dns/dns-host.c: Merge copyright years.
42614 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42616 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42617 Optimize memcpy with prefetch if
42618 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42619 src, dst pointers have unequal 16 byte alignments.
42621 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42624 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42625 from a CNAME entry and return the minimum ttl for the query.
42626 (gaih_getanswer_slice): Likewise.
42628 2012-03-30 Jeff Law <law@redhat.com>
42630 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42632 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42633 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42635 * resolv/nss_dns/dns-host.c: Update copyright year.
42637 2012-03-30 Ulrich Drepper <drepper@gmail.com>
42639 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42640 requests to save a system call. Fix check that all bytes are sent.
42642 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42643 comments for sendmmsg.
42645 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42648 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42649 with only 1 character between 0x0041 and 0x01b0.
42650 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42651 * wcsmbs/tst-mbsnrtowcs.c: New file.
42653 2012-03-29 David S. Miller <davem@davemloft.net>
42655 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42656 small copies by hand.
42658 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42661 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42662 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42665 2012-03-28 David S. Miller <davem@davemloft.net>
42667 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42668 that branches into memcpy.
42669 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42670 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42672 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42673 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42675 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42676 implementation too.
42677 * sysdeps/sparc/mempcpy.S: New file.
42679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42680 the IFUNC routine in the libc case.
42681 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42683 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42684 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42685 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42686 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42687 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42688 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42689 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42690 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42692 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42693 loop to 256 bytes instead of 64 bytes and fix test signedness.
42695 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42696 * sysdeps/sparc/sparc32/Makefile: rather than here...
42697 * sysdeps/sparc/sparc64/Makefile: and here.
42699 2012-03-28 Ulrich Drepper <drepper@gmail.com>
42701 * malloc/mallocbug.c: Avoid warnings about unused variables.
42703 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42706 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42707 in the right place. Discard and retry query if response is
42708 larger than input buffer size.
42710 2012-03-28 Joseph Myers <joseph@codesourcery.com>
42715 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42716 x for large integer exponent.
42717 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42718 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42719 sign of result as needed afterwards.
42720 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42721 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42722 result for underflowing pow the same as for overflow.
42723 (__kernel_standard_l): Handle powl overflow and underflow here
42724 rather than calling __kernel_standard.
42725 * math/libm-test.inc (pow_test): Add more tests.
42740 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42741 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42742 (__kernel_standard_l): New function.
42743 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42745 * math/w_acosl.c (__acosl): Likewise.
42746 * math/w_asinl.c (__asinl): Likewise.
42747 * math/w_atan2l.c (__atan2l): Likewise.
42748 * math/w_atanhl.c (__atanhl): Likewise.
42749 * math/w_coshl.c (__coshl): Likewise.
42750 * math/w_exp10l.c (__exp10l): Likewise.
42751 * math/w_exp2l.c (__exp2l): Likewise.
42752 * math/w_fmodl.c (__fmodl): Likewise.
42753 * math/w_hypotl.c (__hypotl): Likewise.
42754 * math/w_j0l.c (__j0l, __y0l): Likewise.
42755 * math/w_j1l.c (__j1l, __y1l): Likewise.
42756 * math/w_jnl.c (__jnl, __ynl): Likewise.
42757 * math/w_lgammal.c (__lgammal): Likewise.
42758 * math/w_log10l.c (__log10l): Likewise.
42759 * math/w_log2l.c (__log2l): Likewise.
42760 * math/w_logl.c (__logl): Likewise.
42761 * math/w_powl.c (__powl): Likewise.
42762 * math/w_remainderl.c (__remainderl): Likewise.
42763 * math/w_scalbl.c (sysv_scalbl): Likewise.
42764 * math/w_sinhl.c (__sinhl): Likewise.
42765 * math/w_sqrtl.c (__sqrtl): Likewise.
42766 * math/w_tgammal.c (__tgammal): Likewise.
42767 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42768 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42769 * math/libm-test.inc (acos_test): Add more tests.
42770 (acosh_test): Likewise.
42771 (asin_test): Likewise.
42772 (atanh_test): Likewise.
42773 (exp_test): Likewise.
42774 (exp10_test): Likewise.
42775 (exp2_test): Likewise.
42776 (expm1_test): Likewise.
42777 (lgamma_test): Likewise.
42778 (log_test): Likewise.
42779 (log10_test): Likewise.
42780 (log1p_test): Likewise.
42781 (log2_test): Likewise.
42782 (pow_test): Do not allow some spurious overflow exceptions.
42783 (sqrt_test): Add more tests.
42784 (tgamma_test): Likewise.
42785 (y0_test): Likewise.
42786 (y1_test): Likewise.
42787 (yn_test): Likewise.
42789 2012-03-27 Anton Blanchard <anton@samba.org>
42791 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42793 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42794 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42795 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42797 2012-03-27 David S. Miller <davem@davemloft.net>
42799 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42801 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42802 have-as-vis3 check.
42804 2012-03-27 Andreas Jaeger <aj@suse.de>
42806 * sysdeps/x86_64/elf/configure.in: Moved to ...
42807 * sysdeps/x86_64/configure.in: ... here.
42808 * sysdeps/x86_64/elf/start.S: Moved to ...
42809 * sysdeps/x86_64/start.S: ... here.
42810 * sysdeps/x86_64/elf/configure: Delete.
42812 * sysdeps/x86_64/configure.in: Merge contents from
42813 sysdeps/i386/configure.in (without i686 check).
42815 * sysdeps/i386/elf/Versions: Merge into ...
42816 * sysdeps/i386/Versions: ... this.
42817 * sysdeps/i386/elf/Versions: Delete file.
42818 * sysdeps/i386/elf/start.S: Moved to ...
42819 * sysdeps/i386/start.S: ...here.
42820 * sysdeps/i386/elf/configure.in: Merge into...
42821 * sysdeps/i386/configure.in: ...here.
42822 * sysdeps/i386/elf/configure.in: Delete file.
42823 * sysdeps/i386/elf/configure: Delete file.
42825 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42826 * debug/backtracesyms.c: ... here.
42827 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42828 * debug/backtracesymsfd.c: ... here.
42829 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42830 * sysdeps/generic/ifunc-sel.h: ... here.
42832 * sysdeps/unix/i386/start.c: Delete file.
42833 * sysdeps/unix/sparc/start.c: Delete file.
42834 * sysdeps/unix/start.c: Delete file.
42836 * sysdeps/sh/elf/configure.in: Moved to ...
42837 * sysdeps/sh/configure.in: ... here.
42838 * sysdeps/sh/elf/start.S: Moved to ...
42839 * sysdeps/sh/start.S: ... here.
42840 * sysdeps/sh/elf/configure: Delete file.
42842 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42843 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42844 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42845 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42846 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42847 * sysdeps/powerpc/powerpc64/start.S: here.
42848 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42849 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42850 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42851 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42852 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42854 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42855 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42856 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42857 * sysdeps/powerpc/powerpc32/start.S: ... here.
42858 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42859 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42860 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42862 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42863 * sysdeps/powerpc/ifunc-sel.h: ... here.
42864 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42865 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42867 * sysdeps/sparc/elf/configure.in: Moved to ...
42868 * sysdeps/sparc/configure.in: ... here.
42869 * sysdeps/sparc/elf/configure: Delete file.
42870 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42871 * sysdeps/sparc/sparc32/start.S: ... here.
42872 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42873 * sysdeps/sparc/sparc64/start.S: ... here.
42874 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42875 * sysdeps/sparc/sparc32/Makefile: ... this.
42876 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42877 * sysdeps/sparc/sparc64/Makefile: ... this.
42879 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42880 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42881 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42882 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42883 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42884 * sysdeps/s390/s390-32/setjmp.S: ... here.
42885 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42886 * sysdeps/s390/s390-32/configure.in: ... here.
42887 * sysdeps/s390/s390-32/elf/configure: Delete file.
42888 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42889 * sysdeps/s390/s390-32/start.S: ... here.
42891 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42892 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42893 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42894 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42895 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42896 * sysdeps/s390/s390-64/setjmp.S: ... here.
42897 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42898 * sysdeps/s390/s390-64/configure.in: ... here
42899 * sysdeps/s390/s390-64/elf/configure: Delete file.
42900 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42901 * sysdeps/s390/s390-64/start.S: ... here.
42902 * sysdeps/s390/s390-64/elf/configure: Delete.
42904 * configure.in: Remove support for elf directories in sysdeps.
42906 * configure: Regenerated.
42907 * sysdeps/i386/configure: Regenerated.
42908 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42909 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42910 * sysdeps/s390/s390-32/configure: Regenerated.
42911 * sysdeps/s390/s390-64/configure: Regenerated.
42912 * sysdeps/sh/configure: Regenerated.
42913 * sysdeps/sparc/configure: Regenerated.
42914 * sysdeps/x86_64/configure: Regenerated.
42916 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42920 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42921 denormal result into account.
42923 2012-03-25 Roland McGrath <roland@hack.frob.com>
42925 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42926 Reported by Allan McRae <allan@archlinux.org>.
42928 2012-03-23 Jeff Law <law@redhat.com>
42930 * nss/getnssent.c (__nss_getent): Fix typo.
42932 2012-03-23 David S. Miller <davem@davemloft.net>
42934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42936 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42938 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42939 to pad to uint64_t for each field.
42940 (dl_tls_index): Replace unsigned long with uint64_t.
42942 2012-03-23 Daniel Jacobowitz <dmj@google.com>
42943 Paul Pluzhnikov <ppluzhnikov@google.com>
42946 * grp/Makefile (otherlibs): Don't set it.
42947 * inet/Makefile (otherlibs): Likewise.
42948 * login/Makefile (otherlibs): Likewise.
42949 * nscd/Makefile (otherlibs): Likewise.
42950 * posix/Makefile (otherlibs): Likewise.
42951 * pwd/Makefile (otherlibs): Likewise.
42952 * rt/Makefile (otherlibs): Likewise.
42953 * sunrpc/Makefile (otherlibs): Likewise.
42954 * nss/Makefile (otherlibs): Likewise.
42955 Add libnss_files to routines and static-only-routines.
42956 ($(objpfx)getent): Remove rule.
42957 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42958 static-only-routines.
42960 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42963 * math/s_cexp.c: Include <float.h>.
42964 (__cexp): Handle exp result overflowing not necessarily
42965 overflowing both real and imaginary parts of result.
42966 * math/s_cexpf.c: Likewise.
42967 * math/s_cexpl.c: Likewise.
42968 * math/libm-test.inc (cexp_test): Add more tests.
42969 * sysdeps/i386/fpu/libm-test-ulps: Update.
42970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42972 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42974 * include/link.h (ELFW): New macro.
42975 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42976 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42978 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42980 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42983 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42985 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42987 (struct La_x32_retval): Likewise.
42989 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42991 * sysdeps/x86_64/preconfigure.in: New file.
42992 * sysdeps/x86_64/preconfigure: New generated file.
42994 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42997 * math/e_exp2l.c: Include <float.h>.
42998 (__ieee754_exp2l): Handle overflow and underflow cases
42999 separately. Only pass fractional part of argument to
43001 * math/libm-test.inc (exp2_test): Add more tests.
43003 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43004 negating x to take absolute value.
43005 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43007 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43008 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43010 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43011 computing low part if x was negated.
43012 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43014 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43016 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43017 la_x32_gnu_pltexit.
43018 (pltexit): Cast int_retval to ptrdiff_t.
43019 * elf/tst-auditmod3b.c: Likewise.
43020 * elf/tst-auditmod4b.c: Likewise.
43021 * elf/tst-auditmod5b.c: Likewise.
43022 * elf/tst-auditmod6b.c: Likewise.
43023 * elf/tst-auditmod6c.c: Likewise.
43024 * elf/tst-auditmod7b.c: Likewise.
43026 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43027 and x32_gnu_pltexit.
43029 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43030 __ELF_NATIVE_CLASS.
43031 (La_x32_regs): New macro.
43032 (La_x32_retval): Likewise.
43033 (la_x32_gnu_pltenter): New function prototype.
43034 (la_x32_gnu_pltexit): Likewise.
43036 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43038 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43043 * configure.in (libc_cv_cc_nofma): Check for option to disable
43044 generation of FMA instructions.
43045 * configure: Regenerate.
43046 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43047 * sysdeps/ieee754/dbl-64/Makefile: New file.
43048 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43049 Remove brandred-fma4.
43050 (CFLAGS-brandred-fma4.c): Remove.
43051 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43052 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43054 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43057 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43059 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43060 LLONG_MAX != LONG_MAX.
43061 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43062 (_fitoa_word): Likewise.
43063 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43064 LLONG_MAX != LONG_MAX.
43065 * stdio-common/_itowa.h: Include <_itoa.h>.
43066 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43067 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43068 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43069 only if not defined.
43070 (_ITOA_WORD_TYPE): Likewise.
43071 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43072 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43074 2012-03-21 David S. Miller <davem@davemloft.net>
43076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43078 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43080 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43081 of x86_64 when setting libc_cv_slibdir, libdir and
43083 * sysdeps/unix/sysv/linux/configure: Regenerated.
43085 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43087 * manual/lang.texi (Old Varargs): Remove section.
43088 (How Variadic): Update menu.
43089 (va_start): Do not mention varargs.h.
43091 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43092 Joseph Myers <joseph@codesourcery.com>
43094 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43096 * configure: Regenerated.
43098 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43100 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43101 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43104 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43107 * Makefile (files-for-dist): Remove NOTES.
43108 (NOTES): Remove rule.
43109 * README: Don't refer to NOTES.
43110 * manual/creature.texi: Don't include macros.texi.
43111 * manual/intro.texi (creature.texi): Remove comment referring to
43114 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43115 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43116 * configure: Regenerated.
43117 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43118 LIBC_TRY_CC_OPTION.
43119 (libc_cv_as_i686): Likewise.
43120 (libc_cv_cc_avx): Likewise.
43121 (libc_cv_cc_sse2avx): Likewise.
43122 (libc_cv_cc_fma4): Likewise.
43123 (libc_cv_cc_novzeroupper): Likewise.
43124 * sysdeps/i386/configure: Regenerated.
43127 * sysdeps/i386/fpu/s_cexp.S: Remove.
43128 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43129 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43130 * math/libm-test.inc (cexp_test): Add more tests.
43131 * sysdeps/i386/fpu/libm-test-ulps: Update.
43132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43134 2012-03-21 Allan McRae <allan@archlinux.org>
43136 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43138 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43141 * math/w_exp2.c: Do not include <float.h>.
43142 (o_threshold, u_threshold): Remove.
43143 (__exp2): Calculate result before checking finiteness and calling
43145 * math/w_exp2f.c: Likewise.
43146 * math/w_exp2l.c: Likewise.
43147 * math/libm-test.inc (exp2_test): Require overflow exception for
43151 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43152 range of signed 64-bit integers before using fistpll. Remove
43153 checks for whether integers fit in mantissa bits.
43154 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43155 the range of signed 32-bit integers before using fistpl. Remove
43156 checks for whether integers fit in mantissa bits.
43157 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43158 (__ieee754_powl): Test for y outside the range of signed 64-bit
43159 integers before using fistpll. Reduce 64-bit values to 63-bit
43161 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43162 divide-by-zero is raised for zero to large negative powers.
43163 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43164 (__ieee754_powl): Test for y outside the range of signed 64-bit
43165 integers before using fistpll. Reduce 64-bit values to 63-bit
43167 * math/libm-test.inc (pow_test): Add more tests.
43169 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43171 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43172 <stdio-common/_itoa.h>.
43173 * debug/segfault.c: Likewise.
43174 * elf/dl-cache.c: Likewise.
43175 * elf/dl-minimal.c: Likewise.
43176 * elf/dl-misc.c: Likewise.
43177 * elf/dl-sysdep.c: Likewise.
43178 * elf/dl-version.c: Likewise.
43179 * elf/rtld.c: Likewise.
43180 * hurd/hurdsock.c: Likewise.
43181 * hurd/lookup-retry.c: Likewise.
43182 * malloc/malloc.c: Likewise.
43183 * malloc/mtrace.c: Likewise.
43184 * nscd/nscd_getgr_r.c: Likewise.
43185 * nscd/nscd_getpw_r.c: Likewise.
43186 * nscd/nscd_getserv_r.c: Likewise.
43187 * posix/getopt_init.c: Likewise.
43188 * posix/wordexp.c: Likewise.
43189 * stdio-common/_itoa.c: Likewise.
43190 * stdio-common/printf_fphex.c: Likewise.
43191 * stdio-common/vfprintf.c: Likewise.
43192 * string/_strerror.c: Likewise.
43193 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43194 * sysdeps/i386/i686/hp-timing.h: Likewise.
43195 * sysdeps/mach/_strerror.c: Likewise.
43196 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43197 * sysdeps/mach/hurd/sethostid.c: Likewise.
43198 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43199 * sysdeps/mach/xpg-strerror.c: Likewise.
43200 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43201 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43202 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43203 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43204 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43205 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43206 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43207 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43208 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43209 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43210 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43211 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43212 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43213 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43214 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43215 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43216 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43217 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43218 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43219 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43220 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43222 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43224 * stdio-common/_itoa.h: Moved to ...
43225 * sysdeps/generic/_itoa.h: Here.
43227 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43229 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43230 instead of "_itoa.h" and "_itowa.h".
43231 * stdio-common/vfprintf.: Likewise.
43233 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43235 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43237 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43238 (__signbit): Likwise.
43239 (llrintf): Likwise.
43242 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43244 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43247 2012-03-20 Joseph Myers <joseph@codesourcery.com>
43249 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43250 OVERFLOW_EXCEPTION_OK.
43251 * math/libm-test.inc ("Philosophy"): Update comment about
43253 (OVERFLOW_EXCEPTION): Define.
43254 (OVERFLOW_EXCEPTION_OK): Likewise.
43255 (INVALID_EXCEPTION_OK): Renumber.
43256 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43257 (IGNORE_ZERO_INF_SIGN): Likewise.
43258 (test_exceptions): Handle FE_OVERFLOW.
43259 (exp10_test): Expect overflow exceptions.
43260 (exp2_test): Likewise.
43261 (expm1_test): Likewise.
43262 (nextafter_test): Likewise.
43263 (pow_test): Likewise.
43264 (scalbn_test): Likewise.
43265 (scalbln_test): Likewise.
43267 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43269 * sysdeps/x86_64/bits/atomic.h
43270 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43272 (atomic_exchange_acq): Likewise.
43273 (__arch_exchange_and_add_body): Likewise.
43274 (__arch_add_body): Likewise.
43275 (atomic_add_negative): Likewise.
43276 (atomic_add_zero): Likewise.
43278 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43280 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43281 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43283 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43285 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43286 Check __x86_64__ instead of __WORDSIZE.
43288 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43290 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43292 2012-03-19 David S. Miller <davem@davemloft.net>
43294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43296 * sysdeps/sparc/fpu/fenv_private.h: New file.
43297 * sysdeps/sparc/fpu/math_private.h: Use it.
43298 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43300 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43301 (libc_feholdexcept_setroundl): Remove.
43302 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43304 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43305 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43307 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43309 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43310 int64_t instead of long int.
43311 (INSERT_WORDS64): Likwise.
43313 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43315 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43316 _Unwind_GetCFA return to _Unwind_Ptr first.
43318 2012-03-19 Joseph Myers <joseph@codesourcery.com>
43321 * math/s_clog.c: Include <float.h>.
43322 (__clog): Scale large or subnormal inputs.
43323 * math/s_clogf.c: Likewise.
43324 * math/s_clogl.c: Likewise.
43325 * math/s_clog10.c: Include <float.h>.
43326 (M_LOG10_2): Define.
43327 (__clog10): Scale large or subnormal inputs.
43328 * math/s_clog10f.c: Likewise.
43329 * math/s_clog10l.c: Likewise.
43330 * math/libm-test.inc (clog_test): Add more tests.
43331 (clog10_test): Likewise.
43332 * sysdeps/i386/fpu/libm-test-ulps: Update.
43333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43336 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43338 * math/libm-test.inc (atan2_test): Add another test.
43340 * Makerules (common-objdir-compile): Remove.
43341 * sysdeps/unix/Makefile (config-generated): Do not add
43342 $(unix-generated) to variable.
43343 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43344 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43346 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43348 [generic bits/local_lim.h] (before-compile): Do not append to
43350 [generic bits/local_lim.h] (common-generated): Likewise.
43351 [generic sys/param.h] (before-compile): Do not append to variable.
43352 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43353 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43354 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43355 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43357 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43358 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43359 [generic sys/param.h] ($(addprefix
43360 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43361 [generic sys/param.h] (common-generated): Do not append to
43363 [generic sys/param.h] (sysdep_headers): Likewise.
43364 [generic bits/errno.h] (before-compile): Do not append to
43366 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43368 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43369 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43370 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43371 [generic bits/errno.h] (common-generated): Do not append to
43373 [generic bits/ioctls.h] (before-compile): Do not append to
43375 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43377 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43378 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43379 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43381 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43382 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43383 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43384 [generic bits/ioctls.h] (common-generated): Do not append to
43386 [generic sys/syscall.h] (syscall.h): Remove variable.
43387 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43389 [generic sys/syscall.h] (before-compile): Do not append to
43391 [generic sys/syscall.h] (common-generated): Likewise.
43392 * sysdeps/unix/errnos-tmpl.c: Remove file.
43393 * sysdeps/unix/errnos.awk: Likewise.
43394 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43395 * sysdeps/unix/ioctls.awk: Likewise.
43396 * sysdeps/unix/mk-local_lim.c: Likewise.
43397 * sysdeps/unix/snarf-ioctls: Likewise.
43399 2012-03-19 Richard Henderson <rth@twiddle.net>
43401 * sysdeps/i386/fpu/fenv_private.h: New file.
43402 * sysdeps/i386/fpu/math_private.h: Use it.
43403 (math_opt_barrier, math_force_eval): Remove.
43404 (libc_feholdexcept_setround_53bit): Remove.
43405 (libc_feupdateenv_53bit): Remove.
43406 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43407 (math_opt_barrier, math_force_eval): Remove.
43408 (libc_feholdexcept): Remove.
43409 (libc_feholdexcept_setround): Remove.
43410 (libc_fetestexcept, libc_fesetenv): Remove.
43411 (libc_feupdateenv_test): Remove.
43412 (libc_feupdateenv, libc_feholdsetround): Remove.
43413 (libc_feresetround): Remove.
43415 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43416 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43418 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43419 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43420 (libc_feupdateenv_testl): New.
43421 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43422 (libc_feupdateenv_testf): New.
43423 (libc_feupdateenv): Use libc_feupdateenv_test.
43424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43425 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43427 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43428 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43429 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43430 (libc_feresetround_noex): New.
43431 (libc_feresetround_noexf): New.
43432 (libc_feresetround_noexl): New.
43433 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43434 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43435 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43436 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43438 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43439 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43441 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43442 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43443 SET_RESTORE_ROUND_NOEX.
43444 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43445 SET_RESTORE_ROUND_NOEXF.
43446 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43447 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43448 (libc_feholdsetroundf): New.
43449 (libc_feresetround, libc_feresetroundf): New.
43451 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43452 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43453 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43455 * sysdeps/generic/math_private.h: Include <fenv.h>.
43456 (default_libc_feholdexcept): New.
43457 (default_libc_feholdexcept_setround): New.
43458 (default_libc_fesetenv, default_libc_feupdateenv): New.
43459 (libc_feholdexcept): Only define if undefined.
43460 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43461 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43462 (libc_feholdexcept_setroundl): Likewise.
43463 (libc_feholdexcept_setround_53bit): Likewise.
43464 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43465 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43466 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43467 (libc_feupdateenv_53bit): Likewise.
43468 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43469 (libc_feholdexcept): Convert from macro to inline function.
43470 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43471 (libc_fesetenv, libc_feupdateenv): Likewise.
43473 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43474 not previously defined.
43475 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43476 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43477 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43478 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43479 * sysdeps/ieee754/flt-32/math_private.h: New file.
43480 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43481 math_private.h below SET_FLOAT_WORD.
43482 (__isnan, __isinf_ns, __finite): Remove.
43483 (__isnanf, __isinf_nsf, __finitef): Remove.
43485 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43489 2012-03-17 David S. Miller <davem@davemloft.net>
43492 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43495 2012-03-16 David S. Miller <davem@davemloft.net>
43497 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43501 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43503 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43504 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43505 sysdep_routines when subdir is sysvipc.
43506 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43507 __getshmlba helper.
43509 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43511 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43513 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43516 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43518 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43519 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43520 (__lround): Renamed to ...
43521 (__llround): This. Replace long int with long long int.
43522 Define lround functions as aliases of llround functions.
43523 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43525 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43527 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43528 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43529 adresses to uintptr_t. Replace "long int" and "unsigned long
43530 int" with "greg_t" on va_arg.
43532 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43534 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43535 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43537 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43538 Move e_machine check before EI_CLASS check. Handle x32
43539 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43540 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43541 SKIP_EM_IA_64 and include
43542 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43544 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43545 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43546 (add_system_dir): New macro.
43548 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43549 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43551 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43562 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43564 * math/w_j0f.c (j0f): Likewise.
43566 * math/w_j0l.c (__j0l): Likewise.
43568 * math/w_j1.c (j1): Likewise.
43570 * math/w_j1f.c (j1f): Likewise.
43572 * math/w_j1l.c (__j1l): Likewise.
43574 * math/w_jn.c (jn): Likewise.
43576 * math/w_jnf.c (jnf): Likewise.
43578 * math/w_jnl.c (__jnl): Likewise.
43580 * math/libm-test.inc (j0_test): Add more tests.
43581 (j1_test): Likewise.
43582 (jn_test): Likewise. Add trailing semicolon to existing test.
43583 (y0_test): Likewise.
43584 (y1_test): Likewise.
43585 * sysdeps/i386/fpu/libm-test-ulps: Update.
43586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43590 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43591 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43592 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43593 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43594 (__tanl): Set errno for infinite argument.
43595 * sysdeps/i386/fpu/mptan.c: Remove.
43596 * sysdeps/i386/fpu/s_tan.S: Likewise.
43597 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43598 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43599 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43600 * math/libm-test.inc (tan_test): Add more tests and enable more
43601 tests for double and long double.
43602 * sysdeps/i386/fpu/libm-test-ulps: Update.
43603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43605 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43607 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43608 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43610 2012-03-16 Roland McGrath <roland@hack.frob.com>
43612 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43613 * configure.in: Use it for both main tree and add-ons.
43614 * configure: Regenerated.
43616 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43618 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43620 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43622 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43626 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43627 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43628 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43629 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43630 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43632 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43633 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43634 != 0 for prec == 2.
43635 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43636 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43637 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43638 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43639 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43640 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43641 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43642 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43643 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43644 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43645 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43646 * math/libm-test.inc (cos_test): Add more tests and enable more
43647 tests for long double.
43648 (sin_test): Likewise.
43649 (sincos_test): Likewise.
43650 * sysdeps/i386/fpu/libm-test-ulps: Update.
43651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43653 2012-03-16 David S. Miller <davem@davemloft.net>
43655 * sysdeps/sparc/fpu/math_private.h: New file.
43657 2012-03-15 David S. Miller <davem@davemloft.net>
43659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43669 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43673 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43674 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43676 * sysdeps/sparc/sparc-ifunc.h: New file.
43677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43722 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43724 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43728 2012-03-15 Andreas Jaeger <aj@suse.de>
43731 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43732 ieee754/flt-32 implementation for sin, cos and sincos.
43733 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43734 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43735 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43736 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43737 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43738 ieee754/flt-32 implementation for tan.
43740 * math/libm-test.inc (cos_test): Enable some large input tests for
43742 (sin_test): Likewise.
43743 (sincos_test): Likewise.
43744 (tan_test): Add tests for large input.
43746 * sysdeps/i386/fpu/libm-test-ulps: Update.
43748 2012-03-15 Andreas Jaeger <aj@suse.de>
43751 * math/libm-test.inc (cos_test): Add more test cases.
43752 (sin_test): Likewise.
43753 (sincos_test): Likewise.
43755 2012-03-15 Andreas Jaeger <aj@suse.de>
43758 * math/libm-test.inc (cos_test): Add a test case for large input
43760 (sin_test): Likewise.
43761 (sincos_test): Likewise.
43763 2012-03-15 Andreas Jaeger <aj@suse.de>
43764 Joseph Myers <joseph@codesourcery.com>
43767 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43768 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43769 * sysdeps/i386/fpu/branred.c: Likewise.
43770 * sysdeps/i386/fpu/dosincos.c: Likewise.
43771 * sysdeps/i386/fpu/mpa.c: Likewise.
43772 * sysdeps/i386/fpu/s_cos.S: Likewise.
43773 * sysdeps/i386/fpu/s_sin.S: Likewise.
43774 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43775 * sysdeps/i386/fpu/sincos32.c: Likewise.
43777 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43779 (libc_feupdateenv_53bit): Define.
43780 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43782 (libc_feupdateenv_53bit): Define.
43784 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43785 53 bit (without extend i386 double precision).
43787 * math/libm-test.inc (sincos_test): Add tests for large input.
43791 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43793 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43797 2012-03-15 David S. Miller <davem@davemloft.net>
43799 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43800 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43801 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43802 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43826 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43827 fmin/fmax sysdep routines.
43828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43830 2012-03-14 David S. Miller <davem@davemloft.net>
43832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43836 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43837 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43838 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43840 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43852 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43860 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43904 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43909 * sysdeps/sparc/configure.in: New file.
43910 * sysdeps/sparc/configure: Generate.
43911 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43912 * configure: Regenerate.
43913 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43914 * config.make.in (have-as-vis3): New.
43915 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43916 available use -Av9d instead of -Av9a.
43917 * sysdeps/sparc/sparc64/Makefile: Likewise.
43918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43928 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43933 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43934 fzeros/fnegs to load 0x80000000 into a float register instead of
43936 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43938 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43942 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43943 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43944 ($(inst_includedir)/bits/syscall.h): Remove rule.
43945 ($(objpfx)bits/syscall.d): Include instead of
43946 $(objpfx)syscall-list.d.
43947 (generated): Change syscall-list.h and syscall-list.d to
43948 bits/syscall.h and bits/syscall.d.
43950 2012-03-14 Roland McGrath <roland@hack.frob.com>
43953 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43955 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43958 * math/s_csqrt.c: Include <float.h>.
43959 (__csqrt): Scale large or subnormal inputs.
43960 * math/s_csqrtf.c: Likewise.
43961 * math/s_csqrtl.c: Likewise.
43962 * math/libm-test.inc (csqrt_test): Add more tests.
43963 * sysdeps/i386/fpu/libm-test-ulps: Update.
43964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43967 * math/libm-test.inc (hypot_test): Add more tests.
43969 2012-03-13 David S. Miller <davem@davemloft.net>
43972 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43973 double-precision for the calculation instead of scaling.
43975 2012-03-13 Joseph Myers <joseph@codesourcery.com>
43977 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43978 manipulate bits before adding and subtracting TWO52[sx].
43979 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43980 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43982 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43984 2012-03-13 David S. Miller <davem@davemloft.net>
43986 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43987 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43988 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43989 rtld-global-offsets.h
43990 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43992 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43995 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43997 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43998 'err' in the ifdef scope in which it is actually used.
44000 * nss/nss_db/db-init.c: Include string.h
44002 2012-03-12 David S. Miller <davem@davemloft.net>
44004 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44005 masking out of the most significant byte of random value used.
44006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44007 Fix coding style in previous change.
44009 * sysdeps/unix/sysv/linux/kernel-features.h
44010 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44011 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44013 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44016 2012-03-11 David S. Miller <davem@davemloft.net>
44018 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44019 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44020 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44021 for 'resultvar' otherwise things get truncated on 64-bit.
44023 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44024 Fix masking out of the most significant byte of random value used.
44026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44028 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44032 2012-03-09 David S. Miller <davem@davemloft.net>
44034 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44035 variables with appropriate CPP guards.
44036 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44037 from the frame pointer, not the stack pointer. Correct layout
44038 comments. Fix test on resulting framesize and the management of
44039 the outregs buffer for pltexit. Preserve floating point return
44040 values across _dl_call_pltexit call.
44041 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44042 framesize and the management of the outregs buffer for pltexit.
44043 Preserve floating point return values across _dl_call_pltexit
44045 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44046 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44047 (la_sparc64_gnu_pltexit): New functions.
44048 (print_exit): Fix format string for return register value.
44050 2012-03-10 Joseph Myers <joseph@codesourcery.com>
44052 * sunrpc/Makefile (others): Add rpcgen.
44053 ($(objpfx)rpcgen): Remove special build rule and dependency on
44055 * sunrpc/rpcgen.c: New file.
44057 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44060 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44061 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44062 * sysdeps/i386/crti.S: Likewise.
44063 * sysdeps/i386/crtn.S: Likewise.
44064 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44065 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44066 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44067 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44068 * sysdeps/sh/crti.S: Likewise.
44069 * sysdeps/sh/crtn.S: Likewise.
44070 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44073 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44075 * locale/programs/locfile-kw.gperf: Likewise.
44076 * locale/programs/charmap-kw.h: Regenerated.
44077 * locale/programs/locfile-kw.h: Likewise.
44080 * intl/plural.y: Replace FSF snail mail address with URL.
44081 * intl/plural.c: Regenerated.
44083 2012-03-09 Richard Henderson <rth@twiddle.net>
44085 * include/math_private.h: Remove file.
44086 * math/math_private.h: Move file ...
44087 * sysdeps/generic/math_private.h: ... here.
44089 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44090 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44091 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44093 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44094 and <math_private.h>.
44095 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44096 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44097 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44098 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44099 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44100 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44101 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44102 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44103 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44104 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44105 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44106 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44107 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44108 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44109 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44110 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44111 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44112 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44113 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44114 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44115 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44116 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44117 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44119 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44121 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44124 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44125 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44126 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44127 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44128 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44129 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44130 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44131 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44132 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44133 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44134 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44135 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44136 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44137 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44138 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44139 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44140 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44141 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44142 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44143 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44144 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44145 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44146 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44147 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44148 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44149 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44150 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44151 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44152 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44153 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44154 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44155 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44156 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44157 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44158 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44159 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44160 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44161 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44162 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44163 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44164 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44165 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44166 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44167 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44168 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44169 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44172 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44173 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44174 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44175 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44176 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44177 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44178 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44179 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44180 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44182 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44183 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44184 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44185 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44186 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44187 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44188 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44189 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44190 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44191 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44192 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44193 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44194 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44195 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44196 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44197 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44198 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44199 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44200 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44201 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44202 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44203 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44204 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44205 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44206 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44207 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44208 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44209 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44210 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44211 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44212 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44213 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44214 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44215 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44216 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44217 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44218 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44219 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44220 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44221 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44222 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44223 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44224 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44225 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44226 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44227 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44228 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44229 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44230 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44231 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44232 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44233 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44234 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44235 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44236 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44237 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44238 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44239 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44240 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44241 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44242 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44243 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44244 * sysdeps/ieee754/k_standard.c: Likewise.
44245 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44246 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44247 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44248 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44249 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44250 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44251 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44252 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44253 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44254 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44255 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44256 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44257 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44258 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44259 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44260 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44261 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44262 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44263 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44264 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44265 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44266 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44267 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44268 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44269 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44270 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44271 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44272 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44273 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44274 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44275 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44276 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44277 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44278 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44279 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44280 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44281 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44282 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44283 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44284 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44285 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44286 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44287 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44288 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44289 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44290 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44291 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44292 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44293 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44294 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44295 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44296 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44297 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44298 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44299 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44300 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44301 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44302 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44303 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44304 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44305 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44306 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44307 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44308 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44309 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44310 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44311 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44312 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44313 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44314 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44315 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44316 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44317 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44318 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44319 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44320 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44321 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44322 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44323 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44324 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44325 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44326 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44327 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44328 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44329 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44330 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44331 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44332 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44333 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44334 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44335 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44336 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44337 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44338 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44339 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44340 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44341 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44342 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44343 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44344 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44345 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44346 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44347 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44348 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44349 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44350 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44351 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44352 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44353 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44354 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44355 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44356 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44357 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44358 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44359 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44360 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44361 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44362 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44363 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44364 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44365 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44366 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44367 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44368 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44369 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44370 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44371 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44372 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44373 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44374 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44375 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44376 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44377 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44378 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44379 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44380 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44381 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44382 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44383 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44384 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44385 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44386 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44387 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44388 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44389 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44390 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44391 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44392 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44393 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44394 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44395 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44396 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44397 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44398 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44399 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44400 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44401 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44402 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44403 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44404 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44405 * sysdeps/ieee754/s_lib_version.c: Likewise.
44406 * sysdeps/ieee754/s_matherr.c: Likewise.
44407 * sysdeps/ieee754/s_signgam.c: Likewise.
44408 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44409 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44410 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44411 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44412 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44413 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44414 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44415 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44416 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44417 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44418 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44419 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44420 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44421 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44422 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44423 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44424 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44425 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44426 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44427 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44430 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44432 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44433 * sunrpc/rpc_main.c: Likewise.
44434 * sunrpc/rpc_svcout.c: Likewise.
44436 2012-03-09 David S. Miller <davem@davemloft.net>
44438 * include/math_private.h: New file.
44440 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44442 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44443 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44444 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44445 from <bits/socket_type.h>.
44446 (enum __socket_type): Don't define here.
44447 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44449 bits/socket_type.h.
44452 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44453 checking __USE_GNU.
44455 * Makerules ($(inst_includedir)/%.h): New rule.
44456 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44457 (install-others): Remove variable setting.
44458 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44460 2012-03-08 Richard Henderson <rth@twiddle.net>
44462 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44463 from macro to inline function; merge with the
44464 !__LIBC_INTERNAL_MATH_INLINES version.
44465 (__ieee754_sqrtf): Likewise.
44467 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44468 to inline function.
44469 (__rintf, __floor, __floorf): Likewise.
44471 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44472 macro to inline function.
44473 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44475 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44476 not <math/math_private.h>.
44478 2012-03-08 David S. Miller <davem@davemloft.net>
44480 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44482 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44484 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44486 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44488 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44489 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44491 2012-03-08 Ulrich Drepper <drepper@gmail.com>
44493 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44494 be defined individually, they must be defined as a block. Define
44495 S for printing a string instead of hidint the different by using a
44496 macro for adding the 'l'.
44497 * stdio-common/tst-fphex-wide.c: Adjust.
44499 2012-03-07 Marek Polacek <polacek@redhat.com>
44501 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44503 2012-03-08 Marek Polacek <polacek@redhat.com>
44506 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44507 * stdio-common/tst-fphex.c: Define a few macros to make the
44508 test reusable. Use them.
44509 * stdio-common/tst-fphex-wide.c: New file.
44511 2012-03-08 Joseph Myers <joseph@codesourcery.com>
44514 * manual/macros.texi (gnusystems): New macro.
44515 (nongnusystems): Likewise.
44516 (gnulinuxhurdsystems): Likewise.
44517 (gnuhurdsystems): Likewise..
44518 (gnulinuxsystems): Likewise.
44519 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44520 variants of the GNU system, not "GNU system".
44521 * manual/conf.texi: Likewise.
44522 * manual/errno.texi: Likewise. Update example of errno macro
44524 * manual/filesys.texi: Likewise.
44525 (getumask): Document as specific to GNU/Hurd.
44526 * manual/install.texi: Likewise. Reword some references to
44528 * manual/intro.texi: Likewise.
44529 * manual/io.texi: Likewise.
44530 (File Name Portability): Detail which constraints are inapplicable
44531 to all GNU systems and which are only inapplicable to GNU/Hurd.
44532 * manual/job.texi: Likewise.
44533 * manual/llio.texi: Likewise.
44534 (O_NOCTTY): Document as present on GNU/Linux.
44535 * manual/maint.texi: Likewise.
44536 * manual/memory.texi: Likewise.
44537 * manual/pattern.texi: Likewise.
44538 * manual/pipe.texi: Likewise.
44539 * manual/process.texi: Likewise.
44540 * manual/resource.texi: Likewise.
44541 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44543 * manual/setjmp.texi: Likewise.
44544 * manual/signal.texi: Likewise.
44545 * manual/startup.texi: Likewise.
44546 * manual/stdio.texi: Likewise.
44547 * manual/terminal.texi: Likewise.
44548 (ONLCR): Document as POSIX.
44549 (OXTABS): Document availability on GNU/Linux as XTABS.
44550 (ONOEOT): Document availability separately from other bits.
44551 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44552 * manual/time.texi: Likewise.
44553 * manual/users.texi: Likewise.
44554 * INSTALL: Regenerated.
44555 * sysdeps/gnu/errlist.c: Regenerated.
44557 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44558 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44559 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44561 * configure: Regenerated.
44563 2012-03-07 Joseph Myers <joseph@codesourcery.com>
44565 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44566 default includes instead of AC_HEADER_CHECK.
44567 * sysdeps/i386/configure: Regenerated.
44570 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44571 * math/s_cacoshf.c (__cacoshf): Likewise.
44572 * math/s_cacoshl.c (__cacoshl): Likewise.
44573 * math/s_casinh.c (__casinh): Set signs of result from argument.
44574 * math/s_casinhf.c (__casinhf): Likewise.
44575 * math/s_casinhl.c (__casinhl): Likewise.
44576 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44577 (casinh_test): Add more tests.
44578 * sysdeps/i386/fpu/libm-test-ulps: Update.
44579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44581 2012-03-07 Ulrich Drepper <drepper@gmail.com>
44583 * po/zh_TW.po: Update from translation team.
44585 * login/Makefile (distribute): Remove variable.
44586 * catgets/Makefile: Likewise.
44587 * mach/Makefile: Likewise.
44588 * malloc/Makefile: Likewise.
44589 * misc/Makefile: Likewise.
44590 * iconv/Makefile: Likewise.
44591 * nscd/Makefile: Likewise.
44592 * hurd/Makefile: Likewise.
44593 * manual/Makefile: Likewise.
44594 * locale/Makefile: Likewise.
44595 * intl/Makefile: Likewise.
44596 * conform/Makefile: Likewise.
44597 * nss/Makefile: Likewise.
44598 * time/Makefile: Likewise.
44599 * soft-fp/Makefile: Likewise.
44600 * dirent/Makefile: Likewise.
44601 * gmon/Makefile: Likewise.
44602 * po/Makefile: Likewise.
44603 * rt/Makefile: Likewise.
44604 * socket/Makefile: Likewise.
44605 * math/Makefile: Likewise.
44606 * signal/Makefile: Likewise.
44607 * debug/Makefile: Likewise.
44608 * elf/Makefile: Likewise.
44609 * timezone/Makefile: Likewise.
44610 * stdlib/Makefile: Likewise.
44611 * iconvdata/Makefile: Likewise.
44612 * sunrpc/Makefile: Likewise.
44613 * io/Makefile: Likewise.
44614 * argp/Makefile: Likewise.
44615 * inet/Makefile: Likewise.
44616 * hesiod/Makefile: Likewise.
44617 * grp/Makefile: Likewise.
44618 * csu/Makefile: Likewise.
44619 * wctype/Makefile: Likewise.
44620 * crypt/Makefile: Likewise.
44621 * libio/Makefile: Likewise.
44622 * string/Makefile: Likewise.
44623 * nis/Makefile: Likewise.
44624 * resolv/Makefile: Likewise.
44625 * stdio-common/Makefile: Likewise.
44626 * wcsmbs/Makefile: Likewise.
44627 * dlfcn/Makefile: Likewise.
44628 * posix/Makefile: Likewise.
44631 * timezone/Makefile: Don't install timezone files, just the programs
44634 2012-03-06 Ulrich Drepper <drepper@gmail.com>
44636 * nss/databases.def: Add missing gshadow entry.
44638 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44640 2012-03-06 Marek Polacek <polacek@redhat.com>
44643 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44644 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44645 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44646 * stdio-common/tst-long-dbl-fphex.c: New file.
44648 2012-03-06 David S. Miller <davem@davemloft.net>
44650 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44651 (set_obp_int): New function.
44652 (get_obp_int): New function.
44653 (__get_clockfreq_via_dev_openprom): Likewise.
44654 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44655 Avoid unused variable warnings on 'val' and use builtin_expect.
44656 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44658 (INLINE_CLONE_SYSCALL): Likewise.
44660 2012-03-05 David S. Miller <davem@davemloft.net>
44662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44664 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44668 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44669 only for |x| >= 40.
44670 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44672 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
44674 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44675 Replace gettimeofday with __vdso_gettimeofday.
44677 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44678 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44679 __vdso_clock_gettime and __vdso_getcpu.
44681 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44682 time with __vdso_time.
44684 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44686 * manual/lang.texi (size_t): Note types to which size_t may be
44687 equivalent with the GNU C Library, but do not describe when
44688 differences between them are significant.
44690 2012-03-05 Andreas Jaeger <aj@suse.de>
44692 * sysdeps/i386/fpu/libm-test-ulps: Update.
44694 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44697 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44698 (__ieee754_pow): Save and restore rounding mode and use
44699 round-to-nearest for main computations.
44700 * math/libm-test.inc (pow_test_tonearest): New function.
44701 (pow_test_towardzero): Likewise.
44702 (pow_test_downward): Likewise.
44703 (pow_test_upward): Likewise.
44704 (main): Call the new functions.
44705 * sysdeps/i386/fpu/libm-test-ulps: Update.
44706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44709 * math/libm-test.inc (cosh_test_tonearest): New function.
44710 (cosh_test_towardzero): Likewise.
44711 (cosh_test_downward): Likewise.
44712 (cosh_test_upward): Likewise.
44713 (sinh_test_tonearest): Likewise.
44714 (sinh_test_towardzero): Likewise.
44715 (sinh_test_downward): Likewise.
44716 (sinh_test_upward): Likewise.
44717 (main): Call the new functions.
44718 * sysdeps/i386/fpu/libm-test-ulps: Update.
44719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44721 2012-03-05 Tom de Vries <tom@codesourcery.com>
44723 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44724 default stack guard is set in last bytes.
44725 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44727 2012-03-05 Kees Cook <keescook@chromium.org>
44729 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44732 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44733 possibly allocate from heap instead of stack.
44734 * stdio-common/bug-vfprintf-nargs.c: New file.
44735 * stdio-common/Makefile (tests): Add nargs overflow test.
44737 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44741 2012-03-03 Marek Polacek <polacek@redhat.com>
44743 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44744 * math/math_private.h: Likewise.
44745 * stdlib/tst-strtod.c: Likewise.
44746 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44747 * sysdeps/x86_64/bits/atomic.h: Likewise.
44749 2012-03-02 David S. Miller <davem@davemloft.net>
44751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44755 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44756 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44757 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44758 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44760 2012-03-02 Roland McGrath <roland@hack.frob.com>
44763 * manual/examples/README: New file, says the example source files
44764 can be used under GPL>=2.
44765 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44766 line containing just "*/".
44767 * manual/examples/add.c: Add copyright header (GPL>=2).
44768 * manual/examples/argp-ex1.c: Likewise.
44769 * manual/examples/argp-ex2.c: Likewise.
44770 * manual/examples/argp-ex3.c: Likewise.
44771 * manual/examples/argp-ex4.c: Likewise.
44772 * manual/examples/atexit.c: Likewise.
44773 * manual/examples/db.c: Likewise.
44774 * manual/examples/dir.c: Likewise.
44775 * manual/examples/dir2.c: Likewise.
44776 * manual/examples/execinfo.c: Likewise.
44777 * manual/examples/filecli.c: Likewise.
44778 * manual/examples/filesrv.c: Likewise.
44779 * manual/examples/fmtmsgexpl.c: Likewise.
44780 * manual/examples/genpass.c: Likewise.
44781 * manual/examples/inetcli.c: Likewise.
44782 * manual/examples/inetsrv.c: Likewise.
44783 * manual/examples/isockad.c: Likewise.
44784 * manual/examples/longopt.c: Likewise.
44785 * manual/examples/memopen.c: Likewise.
44786 * manual/examples/memstrm.c: Likewise.
44787 * manual/examples/mkfsock.c: Likewise.
44788 * manual/examples/mkisock.c: Likewise.
44789 * manual/examples/mygetpass.c: Likewise.
44790 * manual/examples/pipe.c: Likewise.
44791 * manual/examples/popen.c: Likewise.
44792 * manual/examples/rprintf.c: Likewise.
44793 * manual/examples/search.c: Likewise.
44794 * manual/examples/select.c: Likewise.
44795 * manual/examples/setjmp.c: Likewise.
44796 * manual/examples/sigh1.c: Likewise.
44797 * manual/examples/sigusr.c: Likewise.
44798 * manual/examples/stpcpy.c: Likewise.
44799 * manual/examples/strdupa.c: Likewise.
44800 * manual/examples/strftim.c: Likewise.
44801 * manual/examples/strncat.c: Likewise.
44802 * manual/examples/subopt.c: Likewise.
44803 * manual/examples/swapcontext.c: Likewise.
44804 * manual/examples/termios.c: Likewise.
44805 * manual/examples/testopt.c: Likewise.
44806 * manual/examples/testpass.c: Likewise.
44807 * manual/examples/timeval_subtract.c: Likewise.
44810 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44812 * manual/timeval_subtract.c.texi: ... here, new file.
44814 2012-03-02 David S. Miller <davem@davemloft.net>
44816 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44818 2012-03-02 Joseph Myers <joseph@codesourcery.com>
44821 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44822 (__sin): Save and restore rounding mode and use round-to-nearest
44823 for all computations.
44824 (__cos): Save and restore rounding mode and use round-to-nearest
44825 for all computations.
44826 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44828 (tan): Save and restore rounding mode and use round-to-nearest for
44830 * math/libm-test.inc (cos_test_tonearest): New function.
44831 (cos_test_towardzero): Likewise.
44832 (cos_test_downward): Likewise.
44833 (cos_test_upward): Likewise.
44834 (sin_test_tonearest): Likewise.
44835 (sin_test_towardzero): Likewise.
44836 (sin_test_downward): Likewise.
44837 (sin_test_upward): Likewise.
44838 (tan_test_tonearest): Likewise.
44839 (tan_test_towardzero): Likewise.
44840 (tan_test_downward): Likewise.
44841 (tan_test_upward): Likewise.
44842 (main): Call the new functions.
44843 * sysdeps/i386/fpu/libm-test-ulps: Update.
44844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44847 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44848 small n, then large n, before computing and testing k+n.
44849 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44850 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44852 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44854 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44855 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44856 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44857 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44858 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44859 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44860 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44861 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44862 * math/libm-test.inc (scalbn_test): Add more tests.
44863 (scalbln_test): Likewise.
44865 * manual/filesys.texi (mode_t): Describe constraints on size and
44866 signedness, not exact equivalence to a particular type.
44868 (ino64_t): Likewise.
44870 (nlink_t): Likewise.
44871 (blkcnt_t): Likewise.
44872 (blkcnt64_t): Likewise.
44873 * manual/llio.texi (off_t): Likewise.
44876 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44877 (__ieee754_exp): Save and restore rounding mode and use
44878 round-to-nearest for all computations.
44879 * math/libm-test.inc (exp_test_tonearest): New function.
44880 (exp_test_towardzero): Likewise.
44881 (exp_test_downward): Likewise.
44882 (exp_test_upward): Likewise.
44883 (main): Call the new functions.
44884 * sysdeps/i386/fpu/libm-test-ulps: Update.
44885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44887 2012-03-01 Chris Demetriou <cgd@google.com>
44889 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44890 have predictable order.
44892 2012-03-01 David S. Miller <davem@davemloft.net>
44894 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44896 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44897 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44898 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44899 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44901 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44902 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44903 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44905 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44906 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44907 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44908 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44909 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44913 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44914 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44915 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44917 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44918 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44919 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44920 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44921 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44922 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44923 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44924 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44925 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44926 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44927 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44928 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44930 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44931 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44932 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44933 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44934 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44935 * sysdeps/sparc/elf/configure: Regenerated.
44937 2012-03-01 Joseph Myers <joseph@codesourcery.com>
44939 * configure.in (AS, LD): Require binutils 2.20 or later.
44940 * configure: Regenerated.
44941 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44942 as required minimum version.
44943 * INSTALL: Regenerated.
44947 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44948 before squaring exponent.
44949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44950 bottom long double and 27 bits of top long double before squaring
44952 * math/libm-test.inc (erfc_test): Add more tests.
44953 * sysdeps/i386/fpu/libm-test-ulps: Update.
44954 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44957 2012-03-01 Kai Tietz <ktietz@redhat.com>
44959 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44960 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44961 containing bit-fields.
44962 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44963 * soft-fp/single.h (_FP_UNION_S): Likewise.
44964 * soft-fp/double.h (_FP_UNION_D): Likewise.
44966 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44969 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44970 not include ../strcmp.S.
44971 [USE_AS_STRNCASECMP_L]: Likewise.
44972 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44973 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44974 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44975 (__strncasecmp_l_ia32): Define as alias to
44976 __strncasecmp_l_nonascii.
44979 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44980 * sysdeps/i386/fpu/libm-test-ulps: Update.
44981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44983 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44986 2012-02-29 Jeff Law <law@redhat.com>
44988 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44989 out of bounds read.
44991 2012-02-29 Marek Polacek <polacek@redhat.com>
44994 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44995 * elf/Makefile: Add rules to run tst-unused-dep.out.
44997 2012-02-28 David S. Miller <davem@davemloft.net>
44999 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45000 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45001 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45002 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45003 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45004 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45006 2012-02-29 Joseph Myers <joseph@codesourcery.com>
45008 * math/libm-test.inc (llround_test): Move one test from
45009 lround_test. Use TEST_f_L in moved test.
45010 (lround_test): Move misplaced test to llround_test. Add testcase
45013 2012-02-28 Ulrich Drepper <drepper@gmail.com>
45015 * sysdeps/x86_64/fpu/e_expf.S: New file.
45016 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45018 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45021 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45022 of remain_len that may cause incomplete multi-byte character and
45024 * posix/bug-regex33.c: New file.
45025 * posix/Makefile (tests): Add bug-regex33.
45027 2012-02-28 Joseph Myers <joseph@codesourcery.com>
45029 * manual/macros.texi: New file.
45030 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45031 * manual/libc.texinfo: Include macros.texi.
45032 * manual/creatute.texi: Likewise.
45033 * manual/install.texi: Likewise.
45034 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45035 @glibcadj{} in references to the GNU C Library.
45036 * manual/charset.texi: Likewise.
45037 * manual/conf.texi: Likewise.
45038 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45039 when not using those macros.
45040 * manual/creature.texi: Likewise.
45041 * manual/crypt.texi: Likewise.
45042 * manual/errno.texi: Likewise.
45043 * manual/filesys.texi: Likewise.
45044 * manual/header.texi: Likewise.
45045 * manual/install.texi: Likewise.
45046 * manual/intro.texi: Likewise.
45047 * manual/io.texi: Likewise.
45048 * manual/job.texi: Likewise.
45049 * manual/lang.texi: Likewise.
45050 * manual/libc.texiinfo: Likewise.
45051 * manual/llio.texi: Likewise.
45052 * manual/locale.texi: Likewise.
45053 * manual/maint.texi: Likewise.
45054 * manual/math.texi: Likewise.
45055 * manual/memory.texi: Likewise.
45056 * manual/message.texi: Likewise.
45057 * manual/nss.texi: Likewise.
45058 * manual/pattern.texi: Likewise.
45059 * manual/process.texi: Likewise.
45060 * manual/resource.texi: Likewise.
45061 * manual/search.texi: Likewise.
45062 * manual/setjmp.texi: Likewise.
45063 * manual/signal.texi: Likewise.
45064 * manual/socket.texi: Likewise.
45065 * manual/startup.texi: Likewise.
45066 * manual/stdio.texi: Likewise.
45067 * manual/string.texi: Likewise.
45068 * manual/sysinfo.texi: Likewise.
45069 * manual/syslog.texi: Likewise.
45070 * manual/terminal.texi: Likewise.
45071 * manual/time.texi: Likewise.
45072 * manual/users.texi: Likewise.
45073 * INSTALL: Regenerated.
45074 * NOTES: Regenerated.
45075 * sysdeps/gnu/errlist.c: Regenerated.
45077 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45079 * include/dirent.h: Include <dirstream.h> before
45082 2012-02-28 David S. Miller <davem@davemloft.net>
45084 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45085 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45086 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45087 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45089 2012-02-27 David S. Miller <davem@davemloft.net>
45091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45093 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45094 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45097 frame pointer instead of stack pointer relative arg slot.
45098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45099 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45100 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45102 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45105 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45107 2012-02-27 David S. Miller <davem@davemloft.net>
45109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45113 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45114 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45115 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45116 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45118 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45120 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45121 later. Allow versions 5-9.
45122 * configure: Regenerated.
45123 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45124 required minimum version and 4.6 as recommended version. Do not
45125 mention bugs in GCC 2.7 and 2.8.
45126 * INSTALL: Regenerated.
45128 2012-02-27 David S. Miller <davem@davemloft.net>
45130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45134 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45135 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45136 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45137 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45139 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45140 manipulate bits before adding and subtracting TWO112[sx].
45141 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45143 2012-02-27 Roland McGrath <roland@hack.frob.com>
45146 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45147 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45148 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45149 being in POSIX, because they are in 1003.1-2008.
45151 * rt/tst-aio.c: Include <fcntl.h>.
45152 * rt/tst-aio7.c: Likewise.
45153 * rt/tst-aio64.c: Likewise.
45155 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45157 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45159 * manual/install.texi (--with-headers): Describe headers as
45160 interface headers, not private headers.
45161 (Specific advice for GNU/Linux systems): Describe use of headers
45162 from "make headers_install", not private headers from older
45164 * INSTALL: Regenerated.
45165 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45167 * sysdeps/unix/sysv/linux/configure: Regenerated.
45169 * manual/llio.texi (fclean): Remove documentation.
45171 * manual/Makefile (libc-texi-generated): New variable. Include
45173 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45174 $(libc-texi-generated), not duplicated list of files.
45175 (version.texi, stamp-version): New rules.
45176 (realclean): Remove $(libc-texi-generated), not individual files
45177 from that list. Do not remove dir-add.texinfo.
45178 * manual/libc.texinfo: Comment out uses of edition numbers and
45179 references to printed manual. Remove last-updated dates.
45180 (EDITION): Comment out.
45182 (VERSION, UPDATED): Remove.
45183 (version.texi): Include.
45185 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45187 * sysdeps/posix/spawni.c: Include <signal.h>.
45188 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45189 * sysdeps/pthread/aio_fsync.c: Likewise.
45191 2012-02-26 Ulrich Drepper <drepper@gmail.com>
45193 * conform/Makefile (tests): Run only when not cross-compiling and
45194 when fast-check is not defined.
45196 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45197 * conform/data/limits.h-data: Fixes for POSIX2008.
45198 * conform/run-conformtest.sh: Run all tests.
45199 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45201 * include/bits/dlfcn.h: Likewise.
45202 * include/langinfo.h: Likewise.
45203 * include/monetary.h: Likewise.
45204 * include/sys/poll.h: Likewise.
45206 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45208 * posix/spawn.h: Define __need_sigset_t.
45209 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45210 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45211 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45212 to get sigevent_t only.
45213 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45214 only for __USE_GNU.
45215 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45216 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45217 process_vm_writev only for __USE_GNU.
45218 * termios/termios.h: Declare tcgetsid also for POSIX2008.
45220 * conform/Makefile: For now ignore errors from run-conformtest.
45221 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45222 POSIX to avoid namespace pollution. Don't prepend headers.
45223 * conform/data/aio.h-data: Fixes for POSIX testing.
45224 * conform/data/fcntl.h-data: Likewise.
45225 * conform/data/glob.h-data: Likewise.
45226 * conform/data/grp.h-data: Likewise.
45227 * conform/data/pthread.h-data: Likewise.
45228 * conform/data/pwd.h-data: Likewise.
45229 * conform/data/signal.h-data: Likewise.
45230 * conform/data/spawn.h-data: Likewise.
45231 * conform/data/stdio.h-data: Likewise.
45232 * conform/data/stdlib.h-data: Likewise.
45233 * conform/data/stropts.h-data: Likewise.
45234 * conform/data/sys/mman.h-data: Likewise.
45235 * conform/data/sys/stat.h-data: Likewise.
45236 * conform/data/sys/types.h-data: Likewise.
45237 * conform/data/sys/wait.h-data: Likewise.
45238 * conform/data/time.h-data: Likewise.
45239 * conform/data/unistd.h-data: Likewise.
45240 * conform/data/utime.h-data: Likewise.
45242 * io/sys/stat.h: fchmod was always in POSIX.
45243 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45244 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45245 * rt/aio.h: Define __need_timespec before including <time.h>.
45246 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45247 struct. Add forward declaration of pthread_attr_t and use it in
45249 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45250 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45251 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45252 always remove CLK_TCK definition.
45254 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45256 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45258 2012-02-25 Ulrich Drepper <drepper@gmail.com>
45260 * conform/run-conformtest.sh: New file.
45261 * conform/Makefile: Run run-conformtest for tests.
45262 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45265 * conform/data/uchar.h-data: New file.
45266 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45267 * conform/data/arpa/inet.h-data: Likewise.
45268 * conform/data/assert.h-data: Likewise.
45269 * conform/data/complex.h-data: Likewise.
45270 * conform/data/cpio.h-data: Likewise.
45271 * conform/data/ctype.h-data: Likewise.
45272 * conform/data/dirent.h-data: Likewise.
45273 * conform/data/dlfcn.h-data: Likewise.
45274 * conform/data/errno.h-data: Likewise.
45275 * conform/data/fcntl.h-data: Likewise.
45276 * conform/data/float.h-data: Likewise.
45277 * conform/data/fmtmsg.h-data: Likewise.
45278 * conform/data/fnmatch.h-data: Likewise.
45279 * conform/data/ftw.h-data: Likewise.
45280 * conform/data/glob.h-data: Likewise.
45281 * conform/data/grp.h-data: Likewise.
45282 * conform/data/iconv.h-data: Likewise.
45283 * conform/data/inttypes.h-data: Likewise.
45284 * conform/data/langinfo.h-data: Likewise.
45285 * conform/data/libgen.h-data: Likewise.
45286 * conform/data/limits.h-data: Likewise.
45287 * conform/data/locale.h-data: Likewise.
45288 * conform/data/math.h-data: Likewise.
45289 * conform/data/monetary.h-data: Likewise.
45290 * conform/data/mqueue.h-data: Likewise.
45291 * conform/data/ndbm.h-data: Likewise.
45292 * conform/data/net/if.h-data: Likewise.
45293 * conform/data/netdb.h-data: Likewise.
45294 * conform/data/netinet/in.h-data: Likewise.
45295 * conform/data/nl_types.h-data: Likewise.
45296 * conform/data/poll.h-data: Likewise.
45297 * conform/data/pthread.h-data: Likewise.
45298 * conform/data/pwd.h-data: Likewise.
45299 * conform/data/regex.h-data: Likewise.
45300 * conform/data/sched.h-data: Likewise.
45301 * conform/data/search.h-data: Likewise.
45302 * conform/data/semaphore.h-data: Likewise.
45303 * conform/data/setjmp.h-data: Likewise.
45304 * conform/data/signal.h-data: Likewise.
45305 * conform/data/spawn.h-data: Likewise.
45306 * conform/data/stdarg.h-data: Likewise.
45307 * conform/data/stdio.h-data: Likewise.
45308 * conform/data/stdlib.h-data: Likewise.
45309 * conform/data/string.h-data: Likewise.
45310 * conform/data/strings.h-data: Likewise.
45311 * conform/data/stropts.h-data: Likewise.
45312 * conform/data/sys/ipc.h-data: Likewise.
45313 * conform/data/sys/mman.h-data: Likewise.
45314 * conform/data/sys/msg.h-data: Likewise.
45315 * conform/data/sys/resource.h-data: Likewise.
45316 * conform/data/sys/select.h-data: Likewise.
45317 * conform/data/sys/sem.h-data: Likewise.
45318 * conform/data/sys/shm.h-data: Likewise.
45319 * conform/data/sys/socket.h-data: Likewise.
45320 * conform/data/sys/stat.h-data: Likewise.
45321 * conform/data/sys/statvfs.h-data: Likewise.
45322 * conform/data/sys/time.h-data: Likewise.
45323 * conform/data/sys/timeb.h-data: Likewise.
45324 * conform/data/sys/times.h-data: Likewise.
45325 * conform/data/sys/types.h-data: Likewise.
45326 * conform/data/sys/uio.h-data: Likewise.
45327 * conform/data/sys/un.h-data: Likewise.
45328 * conform/data/sys/utsname.h-data: Likewise.
45329 * conform/data/sys/wait.h-data: Likewise.
45330 * conform/data/syslog.h-data: Likewise.
45331 * conform/data/tar.h-data: Likewise.
45332 * conform/data/termios.h-data: Likewise.
45333 * conform/data/utime.h-data: Likewise.
45334 * conform/data/utmpx.h-data: Likewise.
45335 * conform/data/varargs.h-data: Likewise.
45336 * conform/data/wchar.h-data: Likewise.
45337 * conform/data/wctype.h-data: Likewise.
45338 * conform/data/wordexp.h-data: Likewise.
45340 * include/stropts.h: New file.
45341 * include/uchar.h: New file.
45342 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45343 * include/assert.h: Likewise.
45344 * include/ctype.h: Likewise.
45345 * include/dirent.h: Likewise.
45346 * include/dlfcn.h: Likewise.
45347 * include/fcntl.h: Likewise.
45348 * include/fnmatch.h: Likewise.
45349 * include/glob.h: Likewise.
45350 * include/grp.h: Likewise.
45351 * include/libio.h: Likewise.
45352 * include/locale.h: Likewise.
45353 * include/math.h: Likewise.
45354 * include/net/if.h: Likewise.
45355 * include/netdb.h: Likewise.
45356 * include/netinet/in.h: Likewise.
45357 * include/pthread.h: Likewise.
45358 * include/pwd.h: Likewise.
45359 * include/regex.h: Likewise.
45360 * include/sched.h: Likewise.
45361 * include/search.h: Likewise.
45362 * include/setjmp.h: Likewise.
45363 * include/signal.h: Likewise.
45364 * include/stdio.h: Likewise.
45365 * include/stdlib.h: Likewise.
45366 * include/string.h: Likewise.
45367 * include/sys/cdefs.h: Likewise.
45368 * include/sys/mman.h: Likewise.
45369 * include/sys/msg.h: Likewise.
45370 * include/sys/resource.h: Likewise.
45371 * include/sys/select.h: Likewise.
45372 * include/sys/socket.h: Likewise.
45373 * include/sys/stat.h: Likewise.
45374 * include/sys/statvfs.h: Likewise.
45375 * include/sys/time.h: Likewise.
45376 * include/sys/times.h: Likewise.
45377 * include/sys/uio.h: Likewise.
45378 * include/sys/utsname.h: Likewise.
45379 * include/sys/wait.h: Likewise.
45380 * include/termios.h: Likewise.
45381 * include/time.h: Likewise.
45382 * include/ulimit.h: Likewise.
45383 * include/unistd.h: Likewise.
45384 * include/utime.h: Likewise.
45385 * include/wchar.h: Likewise.
45386 * include/wctype.h: Likewise.
45387 * include/wordexp.h: Likewise.
45389 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45391 * time/time.h: TIME_UTC must be a macro.
45392 Make timespec_get available for ISO C11 only as well.
45394 2012-02-24 Ulrich Drepper <drepper@gmail.com>
45396 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45397 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45399 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45401 * configure.in: Use -o not -a in test for unsupported multi-arch.
45403 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45405 * manual/texinfo.tex: Update to version 2012-01-19.16.
45407 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45409 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45411 2012-02-24 Roland McGrath <roland@hack.frob.com>
45414 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45415 * manual/fdl-1.3.texi: New file.
45416 * manual/fdl-1.1.texi: File removed.
45419 * manual/libc.texinfo (FDL_VERSION): New @set.
45420 Use it for mention of FDL in cover text.
45421 (Documentation License): Use it in @include file name.
45423 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45424 Roland McGrath <roland@hack.frob.com>
45427 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45428 (not LONG_LONG_MAX and LONG_LONG_MIN.
45429 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45430 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45432 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45434 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45438 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45439 manipulate bits before adding and subtracting TWO23[sx].
45440 * math/libm-test.inc (nearbyint_test): Add more tests.
45442 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45445 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45446 bits before adding and subtracting TWO23[sx].
45447 * math/libm-test.inc (rint_test): Add more tests.
45448 (rint_test_tonearest): Likewise.
45449 (rint_test_towardzero): Likewise.
45450 (rint_test_downward): Likewise.
45451 (rint_test_upward: Likewise.
45453 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45456 * include/stdc-predef.h: New file. Extracted from features.h.
45457 * include/features.h: Include stdc-predef.h.
45458 * Makefile (headers): Add stdc-predef.h.
45459 * CONFORMANCE (Compiler limitations): Update.
45461 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45463 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45465 2012-02-21 David S. Miller <davem@davemloft.net>
45467 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45468 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45470 2012-02-20 David S. Miller <davem@davemloft.net>
45472 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45473 using a normal save/restore sequence, rather than allocating a
45474 dummy stack frame just to store a frame pointer and restore.
45475 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45477 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45479 * manual/install.texi: Fix stray word in line-wrapped comment.
45481 2012-02-20 David S. Miller <davem@davemloft.net>
45483 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45484 both binutils and gcc support GOTDATA.
45486 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45487 "rd %pc" in the PIC register setup sequences.
45489 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45490 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45491 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45492 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45493 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45494 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45495 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45496 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45498 (SYSCALL_ERROR_HANDLER): Likewise.
45499 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45500 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45502 (SYSCALL_ERROR_HANDLER): Likewise.
45504 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45505 (HAVE_GCC_GOTDATA): New.
45506 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45507 relocation support in both binutils and gcc.
45508 * sysdeps/sparc/elf/configure: Regenerate.
45510 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45511 * sysdeps/sparc/sparc32/elf/configure: Delete.
45512 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45513 * sysdeps/sparc/sparc64/elf/configure: Delete.
45514 * sysdeps/sparc/elf/configure.in: New file.
45515 * sysdeps/sparc/elf/configure: Generate.
45517 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45518 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45519 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45520 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45521 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45523 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45525 * manual/install.texi: Do not mention specific glibc version
45527 * manual/libc.texinfo (VERSION, UPDATED): Update.
45528 (@copying): Use @copyright{} and range of years.
45530 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45533 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45534 [crti.S not in sysdirs] (generated): Do not append.
45535 [crti.S not in sysdirs] (omit-deps): Likewise.
45536 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45537 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45538 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45539 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45540 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45542 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45543 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45544 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45545 * csu/defs.awk: Remove file.
45546 * sysdeps/generic/initfini.c: Likewise.
45547 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45549 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45552 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45554 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45555 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45556 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45557 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45558 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45559 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45561 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45562 (__EPOLL_PACKED): Define to empty if not defined by
45564 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45568 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45570 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45571 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45572 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45573 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45575 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45579 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45581 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45583 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45584 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45585 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45588 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45590 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45591 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45593 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45595 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45596 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45598 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45600 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45603 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45605 * math/w_acos.c: Use non-signaling floating-point comparisons.
45606 * math/w_acosf.c: Likewise.
45607 * math/w_acosh.c: Likewise.
45608 * math/w_acoshf.c: Likewise.
45609 * math/w_acoshl.c: Likewise.
45610 * math/w_acosl.c: Likewise.
45611 * math/w_asin.c: Likewise.
45612 * math/w_asinf.c: Likewise.
45613 * math/w_asinl.c: Likewise.
45614 * math/w_atanh.c: Likewise.
45615 * math/w_atanhf.c: Likewise.
45616 * math/w_atanhl.c: Likewise.
45617 * math/w_exp2.c: Likewise.
45618 * math/w_exp2f.c: Likewise.
45619 * math/w_exp2l.c: Likewise.
45620 * math/w_j0.c: Likewise.
45621 * math/w_j0f.c: Likewise.
45622 * math/w_j0l.c: Likewise.
45623 * math/w_j1.c: Likewise.
45624 * math/w_j1f.c: Likewise.
45625 * math/w_j1l.c: Likewise.
45626 * math/w_jn.c: Likewise.
45627 * math/w_jnf.c: Likewise.
45628 * math/w_log.c: Likewise.
45629 * math/w_log10.c: Likewise.
45630 * math/w_log10f.c: Likewise.
45631 * math/w_log10l.c: Likewise.
45632 * math/w_log2.c: Likewise.
45633 * math/w_log2f.c: Likewise.
45634 * math/w_log2l.c: Likewise.
45635 * math/w_logf.c: Likewise.
45636 * math/w_logl.c: Likewise.
45637 * math/w_sqrt.c: Likewise.
45638 * math/w_sqrtf.c: Likewise.
45639 * math/w_sqrtl.c: Likewise.
45640 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45641 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45642 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45643 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45644 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45646 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45649 * manual/string.texi (strnlen): Use correct parameter name in
45650 equivalent expression.
45652 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45655 * manual/users.texi (seteuid): Consistently use neweuid for
45658 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45661 * manual/nss.texi (Services in the NSS configuration): Correct
45662 list of services in example configuration file.
45664 2012-02-19 Nick Bowler <nbowler@draconx.ca>
45667 * manual/arith.texi: Remove statements about negative zero
45668 behaving identically to zero.
45670 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45673 * manual/install.texi: Do not document upgrading from libc5.
45675 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45678 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45680 2012-02-18 David S. Miller <davem@davemloft.net>
45682 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45683 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45684 %o7 across the call.
45685 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45688 SETUP_PIC_REG_LEAF.
45689 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45690 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45691 * sysdeps/sparc/crtn.S: Likewise.
45693 2012-02-17 Ulrich Drepper <drepper@gmail.com>
45695 * aout/Makefile: Remove.
45697 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45700 * manual/examples/argp-ex1.c (main): Format definition in GNU
45702 * manual/examples/argp-ex2.c (main): Likewise.
45703 * manual/examples/argp-ex3.c (main): Likewise.
45704 * manual/examples/argp-ex4.c (main): Likewise.
45705 * manual/examples/longopt.c (main): Use new-style prototype
45707 * manual/examples/strncat.c (main): Specify return type and use
45708 (void) for arguments.
45709 * manual/examples/subopt.c (main): Use char **argv argument.
45711 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45714 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45717 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45720 * manual/string.texi (strchr): Change when strchrnul is
45723 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45726 * manual/locale.texi (setlocale): Document LOCPATH.
45728 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45731 * manual/process.texi (execle): Move @dots{} before last argument.
45733 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
45736 * manual/charset.texi (Generic Charset Conversion): Fix typo
45737 (LC_TYPE -> LC_CTYPE).
45739 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45742 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45743 (scalbnf): Likewise.
45744 (scalbnl): Likewise.
45745 (scalbln): Likewise.
45746 (scalblnf): Likewise.
45747 (scalblnl): Likewise.
45748 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45749 (vwarnx): Likewise.
45752 * manual/filesys.texi (telldir): Use braces around return type.
45753 * manual/llio.texi (mmap): Add space after comma.
45754 (mmap64): Likewise.
45755 * manual/math.texi (jn): Use @var{} on parameter names.
45761 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45763 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45765 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45766 (sched_get_priority_max): Likewise.
45767 * manual/signal.texi (sigvec): Add space after comma.
45768 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45770 (if_indextoname): Likewise.
45771 (if_freenameindex): Likewise.
45772 (sendto): Use ',' instead of '.' in prototype.
45773 * manual/startup.texi (syscall): Use @dots{} instead of literal
45775 * manual/stdio.texi (__fpending): Separate initial words of
45776 paragraph from @deftypefun line.
45777 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45779 (vsyslog): Use @var{} on parameter names.
45780 * manual/terminal.texi (stty): Use @var{} on parameter names.
45781 * manual/users.texi (getutmp): Use @var{} on parameter names.
45782 (getutmpx): Likewise.
45784 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45787 * manual/stdio.texi (fopen): Fix typos in description of
45790 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45793 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45794 get clock_id definition.
45796 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
45799 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45800 (madvise): Cast every argument to void on its own.
45802 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45805 * manual/startup.texi (Exit Status): Fix typo.
45807 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45810 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45811 * manual/examples/argp-ex2.c: Likewise.
45812 * manual/examples/argp-ex3.c: Likewise.
45814 2012-02-16 Richard Henderson <rth@redhat.com>
45816 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45817 * sysdeps/s390/s390-32/initfini.c: Remove.
45818 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45819 * sysdeps/s390/s390-64/initfini.c: Remove.
45821 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45823 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45824 compiler output for sysdeps/generic/initfini.c.
45825 * sysdeps/sh/elf/initfini.c: Remove file.
45827 2012-02-16 David S. Miller <davem@davemloft.net>
45830 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45832 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45833 * sysdeps/sparc/crti.S: New file.
45834 * sysdeps/sparc/crtn.S: New file.
45835 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45836 * sysdeps/sparc/sparc64/Makefile: Likewise.
45838 2012-02-15 Mike Frysinger <vapier@gentoo.org>
45841 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45843 2012-02-15 Roland McGrath <roland@hack.frob.com>
45846 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45848 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45849 (write, read, close): Likewise.
45850 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45852 2012-02-15 Joseph Myers <joseph@codesourcery.com>
45854 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45855 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45856 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45857 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45859 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45863 2012-02-14 Marek Polacek <polacek@redhat.com>
45865 * sysdeps/x86_64/crti.S: New file.
45866 * sysdeps/x86_64/crtn.S: New file.
45867 * sysdeps/x86_64/elf/initfini.c: Remove file.
45869 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45871 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45872 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45873 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45874 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45876 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45880 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45882 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45883 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45884 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45885 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45887 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45891 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45893 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45894 __feraiseexcept instead of feraiseexcept.
45896 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45897 nanosleep invocations.
45898 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45899 strings, and add error checking for a nanosleep invocations.
45901 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45903 Replace FSF snail mail address with URLs, as per GNU coding standards.
45904 Most of the snail mail addresses were wrong anyway, and omitting
45905 them makes the source code easier to maintain. Almost all of the
45906 changes are to license notices and to locale LC_IDENTIFICATION
45907 addresses, except for this one:
45908 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45909 not its snail mail address.
45911 2012-02-09 Richard Henderson <rth@twiddle.net>
45913 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45914 of kernel-features.h.
45916 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45918 2012-02-08 Marek Polacek <polacek@redhat.com>
45920 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45921 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45922 * sysdeps/gnu/_G_config.h: Likewise.
45923 * sysdeps/generic/_G_config.h: Likewise.
45925 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45927 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45931 * sysdeps/powerpc/powerpc32/crti.S: New file.
45932 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45933 * sysdeps/powerpc/powerpc64/crti.S: New file.
45934 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45936 * Makeconfig (have-initfini): Don't set.
45937 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45938 * configure.in (nopic_initfini): Don't substitute.
45939 * config.h.in (HAVE_INITFINI): Don't #undef.
45940 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45941 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45943 2012-02-08 Joseph Myers <joseph@codesourcery.com>
45945 Support crti.S and crtn.S provided directly by architectures.
45946 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45947 [crti.S in sysdirs] (omit-deps): Likewise.
45948 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45949 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45950 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45951 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45952 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45953 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45954 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45955 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45956 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45957 compiler output for sysdeps/generic/initfini.c.
45958 * sysdeps/i386/elf/Makefile: Remove file.
45959 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45961 2012-02-07 Marek Polacek <polacek@redhat.com>
45963 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45964 * sysdeps/gnu/_G_config.h: Likewise.
45965 * sysdeps/mach/hurd/_G_config.h: Likewise.
45967 2012-02-07 Marek Polacek <polacek@redhat.com>
45969 * math/Makefile (tests): Add tst-CMPLX2.
45970 * math/tst-CMPLX2.c: New file.
45972 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45974 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45976 * math/libm-test.inc (jn_test): Add missing L suffix.
45978 2012-02-06 Marek Polacek <polacek@redhat.com>
45980 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45981 * sysdeps/i386/fpu/e_powf.S: Likewise.
45982 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45983 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45984 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45985 * sysdeps/i386/fpu/e_pow.S: Likewise.
45986 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45987 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45988 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45989 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45990 * sysdeps/i386/fpu/e_log2.S: Likewise.
45991 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45992 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45993 * sysdeps/i386/fpu/e_powl.S: Likewise.
45994 * sysdeps/i386/fpu/s_log1p.S: Likewise.
45995 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45996 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45997 * sysdeps/i386/fpu/e_logl.S: Likewise.
45998 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45999 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46000 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46001 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46002 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46003 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46004 * sysdeps/i386/fpu/e_log.S: Likewise.
46005 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46006 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46007 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46008 * sysdeps/i386/fpu/e_logf.S: Likewise.
46009 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46010 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46011 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46012 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46013 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46014 * sysdeps/i386/fpu/e_log10.S: Likewise.
46015 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46016 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46017 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46018 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46019 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46020 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46021 * sysdeps/i386/asm-syntax.h: Likewise.
46022 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46023 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46024 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46025 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46026 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46027 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46028 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46029 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46030 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46031 * sysdeps/powerpc/sysdep.h: Likewise.
46032 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46033 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46035 2012-02-06 Joseph Myers <joseph@codesourcery.com>
46038 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46040 2012-02-06 Joseph Myers <joseph@codesourcery.com>
46042 * sysdeps/i386/sysdep.h: Include <features.h>.
46043 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46046 2012-02-05 Joseph Myers <joseph@codesourcery.com>
46048 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46050 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46053 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46055 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46056 (SETUP_PIC_REG): Use GET_PC_THUNK.
46057 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46060 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46062 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46063 for non-PIC compilation.
46064 (SETUP_PIC_REG): Add .p2align directive.
46065 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46066 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46067 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46068 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46069 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46070 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46071 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46072 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46073 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46074 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46075 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46076 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46077 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46078 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46079 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46080 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46081 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46082 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46083 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46084 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46085 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46086 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46087 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46088 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46089 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46090 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46091 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46092 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46093 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46094 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46095 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46096 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46097 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46098 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46099 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46100 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46101 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46102 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46103 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46104 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46105 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46107 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46109 * math/tst-CMPLX.c: Include <stdio.h>.
46111 2012-01-31 Joseph Myers <joseph@codesourcery.com>
46113 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46115 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46116 * sysdeps/sparc/bits/mathdef.h: Likewise.
46118 2012-01-31 Marek Polacek <polacek@redhat.com>
46120 * libio/libio.h: Don't define _PARAMS.
46121 * locale/programs/config.h: Don't define PARAMS.
46122 * stdlib/strtol_l.c: Likewise.
46123 (__strtol_l): Remove PARAMS from the prototype.
46125 2012-01-31 Ulrich Drepper <drepper@gmail.com>
46127 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46128 names. Just use the correct names. Remove unnecessary wrapper
46130 * malloc/arena.c: Likewise.
46131 * malloc/hooks.c: Likewise.
46133 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46134 ARENA_TEST says not to. Simplify test for creation of a new arena.
46135 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46137 2012-01-30 Ulrich Drepper <drepper@gmail.com>
46139 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46141 (update_get_addr): New function.
46142 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46143 GET_ADDR_MODULE parameter.
46145 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46147 * crypt/cert.c: Remove __STDC__ conditionals.
46148 * crypt/crypt-entry.c: Likewise.
46149 * crypt/crypt_util.c: Likewise.
46150 * libio/filedoalloc.c: Likewise.
46151 * libio/fileops.c: Likewise.
46152 * libio/genops.c: Likewise.
46153 * libio/iofclose.c: Likewise.
46154 * libio/iofdopen.c: Likewise.
46155 * libio/iofopen.c: Likewise.
46156 * libio/iofopen64.c: Likewise.
46157 * libio/iogetdelim.c: Likewise.
46158 * libio/iopopen.c: Likewise.
46159 * libio/obprintf.c: Likewise.
46160 * libio/oldfileops.c: Likewise.
46161 * libio/oldiofclose.c: Likewise.
46162 * libio/oldiofdopen.c: Likewise.
46163 * libio/oldiofopen.c: Likewise.
46164 * libio/oldiopopen.c: Likewise.
46165 * libio/wfiledoalloc.c: Likewise.
46166 * libio/wgenops.c: Likewise.
46167 * locale/programs/xmalloc.c: Likewise.
46168 * misc/syslog.c: Likewise.
46169 * stdio-common/xbug.c: Likewise.
46170 * string/memchr.c: Likewise.
46171 * string/memcmp.c: Likewise.
46172 * string/memrchr.c: Likewise.
46173 * string/rawmemchr.c: Likewise.
46174 * sysdeps/posix/getcwd.c: Likewise.
46175 * time/strftime_l.c: Likewise.
46177 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46179 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46180 * config.make.in (config-cflags-sse2avx): Define.
46181 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46184 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46186 * scripts/config.guess: Update from upstream config git repository.
46187 * scripts/config.sub: Likewise.
46189 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46191 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46193 (R_TILEPRO_*, R_TILEGX_*): New macros.
46195 * scripts/firstversions.awk: Fix bug in version range handling.
46197 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46199 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46201 * include/sys/epoll.h: New file.
46202 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46205 2012-01-28 Ulrich Drepper <drepper@gmail.com>
46207 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46208 Avoid unnecessary __WORDSIZE == 64 test.
46209 (fmaxf): Use VEX format if possible.
46214 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46215 * math/math_private.h: Remove libc_fegetround* and
46217 * sysdeps/i386/configure.in: Check for -msse2avx.
46218 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46219 also if SSE2AVX is defined.
46220 Remove libc_fegetround* and libc_fesetround*.
46221 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46222 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46223 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46225 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46226 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46227 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46228 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46229 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46231 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46233 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46235 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46237 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46239 2012-01-27 Ulrich Drepper <drepper@gmail.com>
46242 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46244 * Makeconfig (libm): Define.
46245 * elf/Makefile: Add rules to build and run tst-relsort1.
46246 * elf/tst-relsort1.c: New file.
46247 * elf/tst-relsort1mod1.c: New file.
46248 * elf/tst-relsort1mod2.c: New file.
46250 2012-01-27 Joseph Myers <joseph@codesourcery.com>
46252 * math/s_ldexp.c: Remove __STDC__ conditionals.
46253 * math/s_ldexpf.c: Likewise.
46254 * math/s_ldexpl.c: Likewise.
46255 * math/s_nextafter.c: Likewise.
46256 * math/s_nexttowardf.c: Likewise.
46257 * math/s_significand.c: Likewise.
46258 * math/s_significandf.c: Likewise.
46259 * math/s_significandl.c: Likewise.
46260 * math/w_jnl.c: Likewise.
46261 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46262 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46263 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46264 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46265 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46266 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46267 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46268 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46269 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46270 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46271 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46272 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46273 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46274 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46275 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46276 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46277 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46278 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46280 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46281 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46282 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46283 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46284 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46285 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46286 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46287 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46288 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46289 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46290 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46291 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46292 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46293 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46294 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46295 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46296 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46297 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46298 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46299 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46300 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46301 * sysdeps/ieee754/k_standard.c: Likewise.
46302 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46303 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46304 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46305 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46306 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46307 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46308 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46309 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46310 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46311 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46312 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46313 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46314 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46315 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46316 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46317 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46318 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46319 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46320 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46321 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46322 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46323 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46324 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46325 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46326 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46327 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46328 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46330 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46331 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46332 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46333 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46334 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46335 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46336 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46337 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46338 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46339 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46340 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46341 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46342 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46343 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46344 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46345 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46346 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46347 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46348 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46349 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46350 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46351 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46352 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46353 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46354 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46355 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46356 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46357 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46358 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46359 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46360 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46361 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46362 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46363 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46364 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46365 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46366 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46367 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46368 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46369 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46370 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46371 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46372 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46373 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46374 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46375 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46376 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46377 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46378 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46379 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46380 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46381 * sysdeps/ieee754/s_matherr.c: Likewise.
46382 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46383 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46384 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46387 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46389 * crypt/md5.h: Remove __STDC__ conditionals.
46390 * libio/libioP.h: Likewise.
46391 * locale/programs/config.h: Likewise.
46392 * sysdeps/generic/sysdep.h: Likewise.
46393 * sysdeps/i386/asm-syntax.h: Likewise.
46394 * sysdeps/s390/asm-syntax.h: Likewise.
46395 * sysdeps/unix/sysdep.h: Likewise.
46396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46399 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46401 * libio/libio.h: Remove __STDC__ conditionals.
46402 * malloc/obstack.h: Likewise.
46403 * math/complex.h: Likewise.
46404 * math/math.h: Likewise.
46405 * sysdeps/generic/_G_config.h: Likewise.
46406 * sysdeps/gnu/_G_config.h: Likewise.
46407 * sysdeps/mach/hurd/_G_config.h: Likewise.
46408 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46409 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46410 * sysdeps/sparc/bits/mathdef.h: Likewise.
46412 2012-01-26 Ulrich Drepper <drepper@gmail.com>
46415 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46416 Clean up HAS_* macros.
46417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46418 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46420 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46422 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46423 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46424 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46425 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46426 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46428 2012-01-25 Joseph Myers <joseph@codesourcery.com>
46430 * elf/tst-unique3.cc (gets): Remove declaration.
46431 * elf/tst-unique3lib.cc (gets): Likewise.
46432 * elf/tst-unique3lib2.cc (gets): Likewise.
46433 * elf/tst-unique4.cc (gets): Likewise.
46435 2012-01-24 Ulrich Drepper <drepper@gmail.com>
46437 * include/stdio.h: Add C++ protection. Add gets declarations and
46439 * debug/tst-chk1.c: Don't declare gets here.
46440 * stdio-common/tst-gets.c: Likewise.
46442 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46444 * posix/glob: Remove directory.
46446 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46448 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46450 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46452 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46453 of the non-standard EPFNOSUPPORT.
46455 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46457 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46458 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46459 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46461 2012-01-21 Ulrich Drepper <drepper@gmail.com>
46463 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46465 2012-01-20 Ulrich Drepper <drepper@gmail.com>
46467 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46469 * nscd/grpcache.c (cache_addgr): Likewise.
46470 * nscd/hstcache.c (cache_addhst): Likewise.
46471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46472 * nscd/pwdcache.c (cache_addpw): Likewise.
46473 * nscd/servicescache.c (cache_addserv): Likewise.
46475 2012-01-16 Ulrich Drepper <drepper@gmail.com>
46477 * malloc/malloc.c: Various cleanups.
46478 * malloc/hooks.c: Likewise.
46480 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46481 * stdlib/bug-fmtmsg1.c: New file.
46483 * stdlib/fmtmsg.c (init): Add missing unlock.
46484 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46486 2012-01-12 Marek Polacek <polacek@redhat.com>
46488 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46491 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46493 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46494 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46495 macro to ensure uniqueness of label name.
46496 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46497 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46499 2012-01-11 Ulrich Drepper <drepper@gmail.com>
46501 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46503 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46504 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46505 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46506 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46508 2012-01-10 Ulrich Drepper <drepper@gmail.com>
46510 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46512 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46513 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46514 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46516 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46518 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46519 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46520 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46521 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46523 * math/bits/math-finite.h: Add ldexp support.
46525 2012-01-10 Marek Polacek <polacek@redhat.com>
46527 * locale/programs/localedef.h (show_archive_content): Add noreturn
46530 2012-01-09 Ulrich Drepper <drepper@gmail.com>
46532 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46534 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46536 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46538 * io/Makefile (headers): Add bits/poll2.h.
46540 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46543 typo #include statement.
46545 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46547 * include/sys/cdefs.h: Define __attribute_alloc_size.
46548 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46549 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46550 * elf/pldd.c: Likewise.
46551 * iconv/iconv_charmap.c: Likewise.
46552 * iconv/iconvconfig.c: Likewise.
46553 * iconv/strtab.c: Likewise.
46554 * locale/programs/locale.c: Likewise.
46555 * locale/programs/localedef.h: Likewise.
46556 * locale/programs/simple-hash.c: Likewise.
46557 * nscd/nscd.h: Likewise.
46558 * nss/makedb.c: Likewise.
46559 * sysdeps/generic/ldconfig.h: Likewise.
46560 * locale/programs/localedef.c: Remove xmalloc prototype.
46561 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46563 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46565 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46568 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46570 * math/Makefile (tests): Add tst-CMPLX.
46571 * math/tst-CMPLX.c: New file.
46573 * math/complex.h (CMPLXL): Fix typo.
46575 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46576 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46578 * debug/tst-chk1.c: Add poll and ppoll tests.
46579 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46580 * include/sys/poll.h: Add hidden proto for ppoll.
46581 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46582 * sysdeps/mach/hurd/ppoll.c: Likewise.
46583 * io/ppoll.c: Likewise.
46584 * debug/poll_chk.c: New file.
46585 * debug/ppoll_chk.c: New file.
46586 * include/bits/poll2.h: New file.
46587 * io/bits/poll2.h: New file.
46590 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46592 * configure.in: static is always set to yes. Remove.
46593 * config.make.in: Don't set build-static.
46594 * Makeconfig: Remove use of build-static.
46595 * dlfcn/Makefile: Likewise.
46596 * elf/Makefile: Likewise.
46597 * math/Makefile: Likewise.
46598 * misc/Makefile: Likewise.
46599 * nptl/Makefile: Likewise.
46600 * sysdeps/mach/hurd/Makefile: Likewise.
46602 * configure.in: PWD_P is not used anymore.
46603 * config.make.in: Remove PWD_P entry.
46605 * configure.in: Remove last remnants of RANLIB.
46606 No need to check for signed size_t anymore.
46607 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46609 Remove __builtin_expect test because we require at least gcc 3.4.
46610 * aclocal.m4: Likewise.
46612 * wcsmbs/mbrtoc16.c: Implement using towc function.
46613 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46614 * wcsmbs/wcsmbsload.c: Likewise.
46615 * iconv/gconv_simple.c: Likewise.
46616 * iconv/gconv_int.h: Likewise.
46617 * iconv/gconv_builtin.h: Likewise.
46618 * iconv/iconv_prog.c: Remove CHAR16 handling.
46620 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46622 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46624 * configure.in: Remove --with-elf and --enable-bounded options.
46625 Dont set base_machine for ia64. More non-ELF conditions removed.
46626 Remove testing and setting of leading underscore information.
46627 * config.make.in (build-bounded): Set to no.
46628 * config.h.in: Remove NO_UNDERSCORES entry.
46629 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46631 * csu/start.c: Remove !NO_UNDERSCORE code.
46632 * locale/localeinfo.h: Likewise.
46633 * sysdeps/generic/machine-gmon.h: Likewise.
46634 * sysdeps/generic/sysdep.h: Likewise.
46635 * sysdeps/i386/sysdep.h: Likewise.
46636 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46637 * sysdeps/mach/sysdep.h: Likewise.
46638 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46639 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46640 * sysdeps/sh/sysdep.h: Likewise.
46641 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46642 * sysdeps/unix/i386/sysdep.S: Likewise.
46643 * sysdeps/unix/sparc/start.c: Likewise.
46644 * sysdeps/unix/sparc/sysdep.S: Likewise.
46645 * sysdeps/unix/sparc/sysdep.h: Likewise.
46646 * sysdeps/unix/start.c: Likewise.
46647 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46648 * sysdeps/x86_64/sysdep.h: Likewise.
46650 2012-01-07 Ulrich Drepper <drepper@gmail.com>
46653 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46655 * argp/argp-fmtstream.h: Use const instead __const.
46656 * argp/argp.h: Likewise.
46657 * assert/assert.h: Likewise.
46658 * bits/fenv.h: Likewise.
46659 * bits/sched.h: Likewise.
46660 * bits/sigset.h: Likewise.
46661 * bits/sigthread.h: Likewise.
46662 * catgets/nl_types.h: Likewise.
46663 * conform/data/pthread.h-data: Likewise.
46664 * crypt/crypt-private.h: Likewise.
46665 * crypt/crypt.h: Likewise.
46666 * crypt/crypt_util.c: Likewise.
46667 * ctype/ctype.h: Likewise.
46668 * debug/execinfo.h: Likewise.
46669 * debug/mbsnrtowcs_chk.c: Likewise.
46670 * debug/mbsrtowcs_chk.c: Likewise.
46671 * debug/wcsnrtombs_chk.c: Likewise.
46672 * debug/wcsrtombs_chk.c: Likewise.
46673 * debug/wcstombs_chk.c: Likewise.
46674 * dirent/dirent.h: Likewise.
46675 * dlfcn/dlfcn.h: Likewise.
46676 * elf/neededtest4.c: Likewise.
46677 * grp/grp.h: Likewise.
46678 * gshadow/gshadow.h: Likewise.
46679 * iconv/gconv.h: Likewise.
46680 * iconv/gconv_int.h: Likewise.
46681 * iconv/gconv_simple.c: Likewise.
46682 * iconv/iconv.h: Likewise.
46683 * iconv/loop.c: Likewise.
46684 * iconv/skeleton.c: Likewise.
46685 * include/aio.h: Likewise.
46686 * include/aliases.h: Likewise.
46687 * include/argz.h: Likewise.
46688 * include/arpa/inet.h: Likewise.
46689 * include/assert.h: Likewise.
46690 * include/dirent.h: Likewise.
46691 * include/dlfcn.h: Likewise.
46692 * include/execinfo.h: Likewise.
46693 * include/fcntl.h: Likewise.
46694 * include/fenv.h: Likewise.
46695 * include/glob.h: Likewise.
46696 * include/grp.h: Likewise.
46697 * include/libintl.h: Likewise.
46698 * include/mntent.h: Likewise.
46699 * include/netdb.h: Likewise.
46700 * include/pwd.h: Likewise.
46701 * include/rpc/netdb.h: Likewise.
46702 * include/sched.h: Likewise.
46703 * include/search.h: Likewise.
46704 * include/shadow.h: Likewise.
46705 * include/signal.h: Likewise.
46706 * include/stdio.h: Likewise.
46707 * include/stdlib.h: Likewise.
46708 * include/string.h: Likewise.
46709 * include/sys/socket.h: Likewise.
46710 * include/sys/stat.h: Likewise.
46711 * include/sys/statfs.h: Likewise.
46712 * include/sys/statvfs.h: Likewise.
46713 * include/sys/syslog.h: Likewise.
46714 * include/sys/time.h: Likewise.
46715 * include/sys/uio.h: Likewise.
46716 * include/time.h: Likewise.
46717 * include/unistd.h: Likewise.
46718 * include/utmp.h: Likewise.
46719 * include/wchar.h: Likewise.
46720 * include/wctype.h: Likewise.
46721 * inet/aliases.h: Likewise.
46722 * inet/arpa/inet.h: Likewise.
46723 * inet/netinet/ether.h: Likewise.
46724 * inet/netinet/in.h: Likewise.
46725 * intl/libintl.h: Likewise.
46726 * io/bits/fcntl2.h: Likewise.
46727 * io/fcntl.h: Likewise.
46728 * io/ftw.h: Likewise.
46729 * io/sys/poll.h: Likewise.
46730 * io/sys/stat.h: Likewise.
46731 * io/sys/statfs.h: Likewise.
46732 * io/sys/statvfs.h: Likewise.
46733 * io/utime.h: Likewise.
46734 * libio/bits/stdio.h: Likewise.
46735 * libio/bits/stdio2.h: Likewise.
46736 * libio/libio.h: Likewise.
46737 * libio/libioP.h: Likewise.
46738 * libio/stdio.h: Likewise.
46739 * locale/lc-ctype.c: Likewise.
46740 * locale/locale.h: Likewise.
46741 * login/utmp.h: Likewise.
46742 * malloc/arena.c: Likewise.
46743 * malloc/malloc.c: Likewise.
46744 * malloc/malloc.h: Likewise.
46745 * malloc/mcheck.c: Likewise.
46746 * malloc/mtrace.c: Likewise.
46747 * math/bits/mathcalls.h: Likewise.
46748 * math/fenv.h: Likewise.
46749 * math/math_private.h: Likewise.
46750 * misc/bits/error.h: Likewise.
46751 * misc/bits/syslog.h: Likewise.
46752 * misc/err.h: Likewise.
46753 * misc/error.h: Likewise.
46754 * misc/fstab.h: Likewise.
46755 * misc/mntent.h: Likewise.
46756 * misc/regexp.h: Likewise.
46757 * misc/search.h: Likewise.
46758 * misc/sgtty.h: Likewise.
46759 * misc/sys/mman.h: Likewise.
46760 * misc/sys/syslog.h: Likewise.
46761 * misc/sys/uio.h: Likewise.
46762 * misc/sys/xattr.h: Likewise.
46763 * misc/ttyent.h: Likewise.
46764 * nis/rpcsvc/ypclnt.h: Likewise.
46765 * nss/nss.h: Likewise.
46766 * posix/bits/unistd.h: Likewise.
46767 * posix/fnmatch.h: Likewise.
46768 * posix/glob.h: Likewise.
46769 * posix/sched.h: Likewise.
46770 * posix/spawn.h: Likewise.
46771 * posix/sys/wait.h: Likewise.
46772 * posix/unistd.h: Likewise.
46773 * posix/wordexp.h: Likewise.
46774 * pwd/pwd.h: Likewise.
46775 * resolv/netdb.h: Likewise.
46776 * resource/sys/resource.h: Likewise.
46777 * rt/aio.h: Likewise.
46778 * rt/bits/mqueue2.h: Likewise.
46779 * rt/mqueue.h: Likewise.
46780 * shadow/shadow.h: Likewise.
46781 * signal/signal.h: Likewise.
46782 * socket/send.c: Likewise.
46783 * socket/sendto.c: Likewise.
46784 * socket/sys/socket.h: Likewise.
46785 * stdio-common/printf.h: Likewise.
46786 * stdlib/bits/stdlib.h: Likewise.
46787 * stdlib/fmtmsg.h: Likewise.
46788 * stdlib/monetary.h: Likewise.
46789 * stdlib/stdlib.h: Likewise.
46790 * stdlib/ucontext.h: Likewise.
46791 * streams/stropts.h: Likewise.
46792 * string/argz.h: Likewise.
46793 * string/bits/string2.h: Likewise.
46794 * string/string.h: Likewise.
46795 * string/strings.h: Likewise.
46796 * sunrpc/rpc/auth.h: Likewise.
46797 * sunrpc/rpc/auth_des.h: Likewise.
46798 * sunrpc/rpc/clnt.h: Likewise.
46799 * sunrpc/rpc/netdb.h: Likewise.
46800 * sunrpc/rpc/pmap_clnt.h: Likewise.
46801 * sunrpc/rpc/xdr.h: Likewise.
46802 * sysdeps/generic/inttypes.h: Likewise.
46803 * sysdeps/generic/net/if.h: Likewise.
46804 * sysdeps/generic/sys/swap.h: Likewise.
46805 * sysdeps/gnu/net/if.h: Likewise.
46806 * sysdeps/gnu/utmpx.h: Likewise.
46807 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46808 * sysdeps/i386/i486/bits/string.h: Likewise.
46809 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46810 * sysdeps/s390/bits/string.h: Likewise.
46811 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46812 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46813 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46814 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46815 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46816 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46817 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46818 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46819 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46820 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46821 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46822 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46823 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46824 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46825 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46826 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46827 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46828 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46829 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46830 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46831 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46832 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46833 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46834 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46835 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46836 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46837 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46838 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46839 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46840 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46841 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46842 * sysvipc/sys/ipc.h: Likewise.
46843 * sysvipc/sys/msg.h: Likewise.
46844 * sysvipc/sys/sem.h: Likewise.
46845 * sysvipc/sys/shm.h: Likewise.
46846 * termios/termios.h: Likewise.
46847 * time/sys/time.h: Likewise.
46848 * time/time.h: Likewise.
46849 * wcsmbs/bits/wchar2.h: Likewise.
46850 * wcsmbs/uchar.h: Likewise.
46851 * wcsmbs/wchar.h: Likewise.
46852 * wctype/wctype.h: Likewise.
46855 * Makeconfig: Remove all but ELF support including AIX support.
46856 * Makerules: Likewise.
46857 * config.h.in: Likewise.
46858 * config.make.in: Likewise.
46859 * configure: Likewise.
46860 * configure.in: Likewise.
46861 * csu/Makefile: Likewise.
46862 * csu/version.c: Likewise.
46863 * debug/Makefile: Likewise.
46864 * dlfcn/Makefile: Likewise.
46865 * elf/Makefile: Likewise.
46866 * extra-lib.mk: Likewise.
46867 * iconv/Makefile: Likewise.
46868 * include/libc-symbols.h: Likewise.
46869 * include/shlib-compat.h: Likewise.
46870 * resolv/Makefile: Likewise.
46871 * resolv/res_libc.c: Likewise.
46872 * rt/Makefile: Likewise.
46873 * sysdeps/i386/asm-syntax.h: Likewise.
46874 * sysdeps/i386/sysdep.h: Likewise.
46875 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46876 * sysdeps/mach/sysdep.h: Likewise.
46877 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46878 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46879 * sysdeps/s390/asm-syntax.h: Likewise.
46880 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46881 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46882 * sysdeps/sh/sysdep.h: Likewise.
46883 * sysdeps/unix/sparc/sysdep.h: Likewise.
46884 * sysdeps/wordsize-32/divdi3.c: Likewise.
46885 * sysdeps/x86_64/sysdep.h: Likewise.
46887 * argp/Versions: Remove _argp_unlock_xxx.
46890 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46891 * abilist/libBrokenLocale.abilist: Likewise.
46892 * abilist/libanl.abilist: Likewise.
46893 * abilist/libc.abilist: Likewise.
46894 * abilist/libcrypt.abilist: Likewise.
46895 * abilist/libdl.abilist: Likewise.
46896 * abilist/libm.abilist: Likewise.
46897 * abilist/libnsl.abilist: Likewise.
46898 * abilist/libpthread.abilist: Likewise.
46899 * abilist/libresolv.abilist: Likewise.
46900 * abilist/librt.abilist: Likewise.
46901 * abilist/libthread_db.abilist: Likewise.
46902 * abilist/libutil.abilist: Likewise.
46903 * abilist/libnss_db.abilist: New file.
46905 * scripts/abilist.awk: Add support for indirect functions.
46907 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46909 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46911 * shlib-versions: Remove entries for ports architectures.
46913 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46915 * elf/stackguard-macros.h: Remove support for IA-64.
46916 * elf/tst-auditmod1.c: Likewise.
46917 * sysdeps/generic/ldsodefs.h: Likewise.
46919 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46920 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46924 * configure.in: Remove --enable-omitfp support.
46926 * config.make.in: Likewise.
46927 * Makeconfig: Likewise.
46928 * manual/install.texi: Likewise.
46930 In case anyone cares, the IA-64 architecture could move to ports.
46931 * sysdeps/ia64/*: Removed.
46932 * sysdeps/unix/sysv/linux/ia64/*: Removed.
46933 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46936 * configure.in: Remove entries for unsupported architectures.
46939 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46940 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46942 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46943 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46944 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46945 fall back to using wcrtomb.
46946 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46947 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46949 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46950 * wcsmbs/tst-c16c32-1.c: New file.
46952 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46955 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46957 * elf/tst-unique3.cc: Add explicit declaration of gets.
46958 * elf/tst-unique3lib.cc: Likewise.
46959 * elf/tst-unique3lib2.cc: Likewise.
46960 * elf/tst-unique4.cc: Likewise.
46962 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46964 2012-01-06 Joseph Myers <joseph@codesourcery.com>
46967 * assert/assert.h (static_assert): Don't define for C++.
46968 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46969 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46971 2012-01-03 Ulrich Drepper <drepper@gmail.com>
46973 * iconv/loop.c (single loop): Fix assertion in storing of
46976 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46978 2012-01-01 Ulrich Drepper <drepper@gmail.com>
46980 * posix/getconf.c: Update copyright year.
46981 * nss/getent.c: Likewise.
46982 * nss/makedb.c: Likewise.
46983 * iconv/iconvconfig.c: Likewise.
46984 * iconv/iconv_prog.c: Likewise.
46985 * elf/ldconfig.c: Likewise.
46986 * elf/pldd.c: Likewise.
46987 * elf/sotruss.ksh: Likewise.
46988 * catgets/gencat.c: Likewise.
46989 * csu/version.c: Likewise.
46990 * elf/ldd.bash.in: Likewise.
46991 * elf/sprof.c (print_version): Likewise.
46992 * locale/programs/locale.c: Likewise.
46993 * locale/programs/localedef.c: Likewise.
46994 * login/programs/pt_chown.c: Likewise.
46995 * nscd/nscd.c (print_version): Likewise.
46996 * debug/xtrace.sh: Likewise.
46997 * malloc/memusage.sh: Likewise.
46998 * malloc/mtrace.pl: Likewise.
46999 * debug/catchsegv.sh: Likewise.
47001 2011-12-30 Jakub Jelinek <jakub@redhat.com>
47003 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47006 2011-12-24 Ulrich Drepper <drepper@gmail.com>
47009 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47010 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47012 * iconv/gconv_int.h: Likewise.
47013 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47014 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47015 from libc for GLIBC_2.16.
47016 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47017 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47018 * wcsmbs/uchar.h: Really define mbstate_t.
47019 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47020 * wcsmbs/c16rtomb.c: New file.
47021 * wcsmbs/mbrtoc16.c: New file.
47022 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47023 for C/POSIX locale.
47024 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47025 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47027 * wcsmbs/wchar.h: Add missing __restrict.
47029 2011-12-23 Ulrich Drepper <drepper@gmail.com>
47032 * time/Makefile (routines): Add timespec_get.
47033 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47034 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47035 timespec for ISO C11.
47036 * time/timespec_get.c: New file.
47037 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47038 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47041 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47042 * stdlib/stdlib.h: Declare aligned_alloc.
47043 * Versions.def: Add GLIBC_2.16 for libc.
47044 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47047 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47050 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47054 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47057 * assert/assert.h (static_assert): Define.
47059 * version.h: Update for 2.16 development version.
47062 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47065 * version.h (RELEASE): Bump for 2.15 release.
47066 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47068 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47069 Patch by Marek Polacek <mpolacek@redhat.com>.
47071 * bits/byteswap.h: Protect long long constants with __extension__.
47072 * sysdeps/i386/bits/byteswap.h: Likewise.
47073 * sysdeps/ia64/bits/byteswap.h: Likewise.
47074 * sysdeps/s390/bits/byteswap.h: Likewise.
47075 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47077 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47080 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47081 destination buffer.
47082 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47084 2011-12-23 Marek Polacek <polacek@redhat.com>
47086 * elf/dl-addr.c (determine_info): Add inline keyword.
47087 * elf/tst-auditmod4b.c (check_avx): Likewise.
47088 * elf/tst-auditmod6b.c (check_avx): Likewise.
47089 * elf/tst-auditmod6c.c (check_avx): Likewise.
47090 * elf/tst-auditmod7b.c (check_avx): Likewise.
47092 2011-12-23 Ulrich Drepper <drepper@gmail.com>
47094 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47097 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47100 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47101 processing for last bytes.
47103 2011-08-06 Bruno Haible <bruno@clisp.org>
47106 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47107 U+0385, not to U+1FEE.
47110 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47111 entry for U+00A5 U+0301.
47113 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47116 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47117 buffer for the output is too small.
47119 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47123 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47124 SSE flags if possible.
47126 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47129 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47130 processing for last bytes.
47132 2011-12-22 Joseph Myers <joseph@codesourcery.com>
47134 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47135 (syscall-list-default-options, syscall-list-default-condition)
47136 (syscall-list-includes): Define.
47137 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47138 list of ABIs and options and #if conditions for each ABI. Do not
47139 handle common syscalls between ABIs specially.
47140 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47142 (syscall-list-variants, syscall-list-32bit-options)
47143 (syscall-list-32bit-condition, syscall-list-64bit-options)
47144 (syscall-list-64bit-condition): Define.
47145 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47146 (syscall-list-variants, syscall-list-32bit-options)
47147 (syscall-list-32bit-condition, syscall-list-64bit-options)
47148 (syscall-list-64bit-condition): Define.
47149 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47151 (syscall-list-variants, syscall-list-32bit-options)
47152 (syscall-list-32bit-condition, syscall-list-64bit-options)
47153 (syscall-list-64bit-condition): Define.
47154 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47156 (syscall-list-variants, syscall-list-32bit-options)
47157 (syscall-list-32bit-condition, syscall-list-64bit-options)
47158 (syscall-list-64bit-condition): Define.
47160 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47162 * locale/iso-639.def: Add brx entry.
47165 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47166 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47168 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47169 __feraiseexcept_renamed.
47171 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47174 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47175 EPOLLET with unsigned values.
47176 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47177 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47179 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47180 to large cancellation.
47181 * math/s_cacoshf.c: Likewise.
47182 * math/s_cacoshl.c: Likewise.
47184 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47188 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47189 * math/s_cacoshf.c: Likewise.
47190 * math/s_cacoshl.c: Likewise.
47192 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47195 * iconv/gconv.h: Define __GCONV_SWAP.
47196 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47197 * iconvdata/utf-16.c: Likewise.
47198 * iconvdata/utf-32.c: Likewise.
47200 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47203 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47204 numerator after shifting it by one limb.
47206 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47208 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47209 under [__USE_EXTERN_INLINES].
47211 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47214 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47216 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47218 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47219 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47221 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47222 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47223 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47224 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47225 for strncasecmp/strncasecmp_l compilation.
47226 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47227 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47229 2011-12-08 Marek Polacek <mpolacek@redhat.com>
47232 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47235 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47238 * time/tzfile.c (__tzfile_read): Check values from file header.
47240 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47242 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47243 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47244 * powerpc/powerpc32/dl-start.S: Likewise.
47245 * powerpc/powerpc32/elf/start.S: Likewise.
47246 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47247 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47248 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47249 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47250 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47251 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47252 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47253 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47254 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47255 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47256 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47257 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47258 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47259 * powerpc/powerpc32/memset.S: Likewise.
47260 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47261 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47262 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47263 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47264 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47265 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47266 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47267 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47268 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47269 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47270 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47271 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47272 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47274 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47276 * math/libm-test.inc: Added more nearbyint tests.
47277 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47278 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47279 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47282 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47284 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47287 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47289 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47290 Add wcscpy-ssse3 wcscpy-c.
47291 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47292 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47293 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47294 * sysdeps/x86_64/wcschr.S: New file.
47295 * sysdeps/x86_64/wcsrchr.S: New file.
47296 * string/test-strcmp.c: Remove checking of wcscmp function for
47298 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47299 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47300 wcsrchr-sse2 wcsrchr-c.
47301 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47302 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47303 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47304 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47305 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47306 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47307 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47308 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47309 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47310 * wcsmbc/wcschr.c (WCSCHR): New macro.
47312 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47314 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47315 * wcsmbs/test-wcsrchr.c: New file.
47316 * string/test-strrchr.c: Add wcsrchr support.
47318 * wcsmbs/test-wcscpy.c: New file.
47319 * string/test-strcpy.c: Add wcscpy support.
47322 2011-12-10 Ulrich Drepper <drepper@gmail.com>
47324 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47327 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47330 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47332 2011-12-04 Ulrich Drepper <drepper@gmail.com>
47334 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47335 Minor optimizations.
47337 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47338 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47339 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47341 2011-12-03 Ulrich Drepper <drepper@gmail.com>
47343 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47344 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47345 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47346 for gcc to avoid warnings.
47347 * inet/Makefile (tests): Add tst-checks.
47348 * inet/tst-checks.c: New file.
47350 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47353 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47356 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47357 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47359 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47361 2011-12-02 Ulrich Drepper <drepper@gmail.com>
47363 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47366 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47368 2011-11-29 Joseph Myers <joseph@codesourcery.com>
47370 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47371 conditional on GCC version.
47372 (__arch_compare_and_exchange_val_8_acq)
47373 (__arch_compare_and_exchange_val_16_acq)
47374 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47375 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47376 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47378 2011-12-02 Joseph Myers <joseph@codesourcery.com>
47380 * sysdeps/sh/backtrace.c: New file.
47382 2011-12-02 Andreas Schwab <schwab@redhat.com>
47384 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47387 2011-12-01 Andreas Schwab <schwab@redhat.com>
47389 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47390 falling back to utime.
47392 2011-11-30 Andreas Schwab <schwab@redhat.com>
47394 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47395 expectations for float.
47397 2011-11-29 Andreas Schwab <schwab@redhat.com>
47399 * locale/weight.h (findidx): Add parameter len.
47400 * locale/weightwc.h (findidx): Likewise.
47401 * posix/fnmatch_loop.c (FCT): Adjust caller.
47402 * posix/regcomp.c (build_equiv_class): Likewise.
47403 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47404 * posix/regexec.c (check_node_accept_bytes): Likewise.
47405 * string/strcoll_l.c (STRCOLL): Likewise.
47406 * string/strxfrm_l.c (STRXFRM): Likewise.
47408 2011-11-17 Ulrich Drepper <drepper@gmail.com>
47410 * Makefile.in: Remove CVSOPT handling.
47411 * configure.in: Remove use of AC_REVISION.
47412 * iconvdata/Makefile (distribute): No need to filter out CVS.
47413 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47416 2011-11-16 Andreas Schwab <schwab@redhat.com>
47418 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47419 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47420 [USE_AS_STRNCASECMP_L]: Likewise.
47421 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47422 NO_TLS_DIRECT_SEG_REFS.
47423 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47424 Fix argument offsets for non-PIC.
47425 [USE_AS_STRNCASECMP_L]: Likewise.
47426 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47427 NO_TLS_DIRECT_SEG_REFS.
47429 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47431 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47433 * locale/loadlocale.c (_nl_load_locale): Likewise.
47435 2011-11-15 Andreas Schwab <schwab@redhat.com>
47437 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47438 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47439 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47440 (SYSCALL_GETTIME): Set errno on error.
47442 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47443 count references to noai6ai_cached.
47445 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47447 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47449 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47450 FD_CLOEXEC for /proc/self/maps.
47452 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47453 FD_CLOEXEC for /proc/meminfo.
47455 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47458 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47459 FD_CLOEXEC for given file.
47461 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47463 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47464 FD_CLOEXEC for /etc/hosts.
47465 (_gethtent): Likewise.
47467 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47469 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47470 cancellation and set FD_CLOEXEC for /etc/netgroup.
47472 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47473 reading /etc/publickey.
47475 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47476 allow cancellation when reading /etc/group.
47478 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47480 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47482 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47483 when using data file.
47485 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47487 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47488 (write_nis_obj): Use "c" and "e" in fopen.
47490 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47492 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47494 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47496 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47498 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47501 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47503 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47505 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47507 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47508 file parsing and set FD_CLOEXEC.
47510 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47512 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47514 2011-11-14 Andreas Schwab <schwab@redhat.com>
47516 * malloc/arena.c (arena_get2): Don't call reused_arena when
47517 _int_new_arena failed.
47519 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47521 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47522 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47523 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47524 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47525 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47526 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47527 to compile strcasecmp and strncasecmp.
47528 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47529 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47531 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47533 2011-11-13 Ulrich Drepper <drepper@gmail.com>
47535 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47536 locale-defines.sym to gen-as-const-headers.
47537 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47538 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47540 to compile strcasecmp and strncasecmp.
47541 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47542 strcasecmp_l and strncasecmp_l.
47543 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47544 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47545 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47546 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47547 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47548 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47549 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47550 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47551 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47552 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47553 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47555 2011-11-12 Ulrich Drepper <drepper@gmail.com>
47557 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47558 result of SYSDEP_GETTIME_CPU to retval.
47559 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47560 parameter list to macro. Remove trailing semicolon. Adjust users.
47562 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47565 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47567 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47569 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47570 from unused variable.
47572 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47574 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47577 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47580 * sunrpc/rpc_prot.c (rejected): Fix case value.
47582 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47583 unsigned long long int to avoid warnings in shift.
47585 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47587 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47590 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47591 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47592 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47594 * nis/nis_table.c (nis_list): Use variable of correct type for
47595 result of __follow_path call.
47597 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47599 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47600 of math functions ceil, trunc, floor, round, and sqrt, when
47601 avaliable on the platform.
47602 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47604 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47605 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47606 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47608 2011-10-30 Marek Polacek <mpolacek@redhat.com>
47610 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47611 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47613 2011-11-11 Roland McGrath <roland@hack.frob.com>
47615 * include/unistd.h: Fix __readlink return type.
47616 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47618 2011-11-11 Ulrich Drepper <drepper@gmail.com>
47620 * stdlib/ucontext.h: Undo last change for makecontext.
47622 2011-11-11 Andreas Schwab <schwab@redhat.com>
47624 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47626 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47627 * setjmp/setjmp.h: Mark functions as non-leaf.
47628 * setjmp/bits/setjmp2.h: Likewise.
47629 * stdlib/ucontext.h: Likewise.
47631 2011-11-10 Andreas Schwab <schwab@redhat.com>
47633 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47634 (reused_arena): Don't check arena limit.
47635 (arena_get2): Atomically check arena limit.
47637 2011-11-08 Ulrich Drepper <drepper@gmail.com>
47639 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47640 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47642 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47645 2011-11-07 Andreas Schwab <schwab@redhat.com>
47647 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47648 handler when locking.
47650 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47651 Fix size of allocated buffer.
47653 2011-11-04 Andreas Schwab <schwab@redhat.com>
47656 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47657 declarations for long double functions.
47658 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47660 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47662 2011-11-03 Andreas Schwab <schwab@redhat.com>
47664 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47667 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47670 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47672 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47674 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47676 * include/alloca.h (stackinfo_alloca_round): Define.
47677 (extend_alloca): Use it.
47678 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47679 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47682 * scripts/check-local-headers.sh: Ignore libaudit.h.
47684 * nscd/Makefile (extra-objs): Make recursively expanded.
47686 2011-11-01 Ulrich Drepper <drepper@gmail.com>
47688 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47689 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47691 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47692 * posix/tst-rfc3484-2.c: Likewise.
47693 * posix/tst-rfc3484-3.c: Likewise.
47695 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47697 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47699 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47700 process_vm_writev from libc using GLIBC_2.15 version.
47702 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47704 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47706 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47709 2011-10-31 Ulrich Drepper <drepper@gmail.com>
47712 * nss/getent.c (initgroups_keys): Show error message in case no group
47715 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47716 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47717 __bump_nl_timestamp.
47718 * nscd/connections (nscd_init): When host database is served open
47719 netlink socket and request notification about configuration changes.
47720 (main_loop_poll): Track netlink file descriptor and bump timestamp
47721 in case data becomes available.
47722 (main_loop_epoll): Likewise.
47723 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47724 (database_pers_head): Add extra_data fileds.
47725 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47726 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47727 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47729 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47730 in6ai data, call __free_in6ai.
47731 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47732 Add -DHAVE_NETLINK.
47733 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47734 interface information. Reuse previous data if netlink timestamp
47736 (__bump_nl_timestamp): New function.
47737 (__free_in6ai): New function.
47739 2011-10-30 Ulrich Drepper <drepper@gmail.com>
47741 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47742 close_not_cancel_no_status here.
47743 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47745 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47748 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47751 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47752 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47753 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47755 2011-07-03 Andreas Jaeger <aj@suse.de>
47758 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47759 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47760 * math/libm-test.inc (sin_test): Add test case.
47762 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47765 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47766 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47768 * elf/chroot_canon.c (chroot_canon): Cleanups.
47770 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47773 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47774 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47776 * string/test-strchr.c: Make usable for strchrnul testing.
47777 * string/test-strchrnul.c: New file.
47778 * string/Makefile (strop-tests): Add strchrnul.
47780 * po/it.po: Update from translation team.
47781 * po/es.po: Likewise.
47783 2011-10-28 Ulrich Drepper <drepper@gmail.com>
47785 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47786 the three constants needed as parameters. Drop the others.
47787 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47788 __m128i_strloadu_tolower.
47789 Create and initialize variable zero and use it in all the places
47790 where _mm_setzero_si128 was used.
47792 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47793 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47794 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47795 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47797 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47798 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47799 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47800 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47801 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47802 __mpranred, __mptan.
47803 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47804 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47805 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47806 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47807 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47808 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47809 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47810 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47811 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47813 2011-10-28 Andreas Schwab <schwab@redhat.com>
47815 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47816 redefine if SHARED.
47817 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47820 wide char related routines to wcsmbs subdir.
47822 2011-10-27 Andreas Schwab <schwab@redhat.com>
47825 * misc/sys/cdefs.h (__THROWNL): Define.
47826 * posix/unistd.h: Use __THREADNL instead of __THREAD
47827 for memory synchronization functions.
47829 2011-10-26 Roland McGrath <roland@hack.frob.com>
47832 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47834 * manual/stdio.texi (Obstack Streams): Node removed.
47836 2011-10-26 Andreas Schwab <schwab@redhat.com>
47838 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47839 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47840 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47842 * math/math_private.h (math_force_eval): Allow non-addressable
47844 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47846 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47848 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47849 file is not needed.
47851 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47852 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47853 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47854 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47855 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47856 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47857 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47858 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47860 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47861 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47862 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47863 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47864 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47865 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47866 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47867 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47868 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47869 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47870 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47871 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47872 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47873 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47874 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47875 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47876 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47877 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47878 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47880 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47881 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47883 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47884 place. Use VEX encoding when compiling for AVX.
47886 2011-10-25 Andreas Schwab <schwab@redhat.com>
47888 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47889 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47891 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47893 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47895 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47896 useless if() expression.
47897 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47898 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47899 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47900 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47901 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47902 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47903 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47904 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47905 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47906 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47907 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47908 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47909 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47910 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47911 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47912 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47913 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47914 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47915 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47917 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47919 2011-10-25 Andreas Schwab <schwab@redhat.com>
47921 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47923 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47925 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47927 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47928 .text section. Avoid duplicate constants.
47929 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47931 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47933 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47934 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47935 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47936 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47937 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47938 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47939 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47940 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47941 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47942 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47943 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47944 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47945 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47946 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47947 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47948 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47949 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47950 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47951 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47952 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47953 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47954 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47955 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47956 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47957 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47958 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47959 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47960 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47961 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47962 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47963 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47964 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47965 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47966 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47967 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47968 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47969 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47970 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47971 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47972 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47973 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47975 2011-10-24 Ulrich Drepper <drepper@gmail.com>
47977 * sysdeps/x86_64/dla.h: Move to ...
47978 * sysdeps/x86_64/fpu/dla.h: ...here.
47979 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47980 situations. Use __builtin_fma only for gcc 4.6 and up.
47982 * config.make.in: Add have-mfma4 entry.
47983 * configure.in: Substitute libc_cv_cc_fma4.
47984 * math/Makefile (dbl-only-routines): Add sincostab.
47985 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47986 Use __sincostab not sincos.
47987 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47989 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47992 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47994 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
47995 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
47996 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47997 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47999 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48000 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48002 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48003 define aliases when function name is a macro.
48004 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48005 sysdeps/ieee754/dbl-64/sincos.tbl.
48006 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48007 fma4-enabled routines.
48008 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48009 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48010 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48011 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48012 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48013 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48014 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48015 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48016 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48017 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48018 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48019 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48020 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48021 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48022 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48023 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48024 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48025 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48026 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48027 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48028 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48029 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48030 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48031 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48032 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48033 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48034 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48035 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48036 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48037 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48039 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48043 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48045 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48046 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48047 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48048 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48050 2011-10-24 Andreas Schwab <schwab@redhat.com>
48052 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48054 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48056 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48058 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48060 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48062 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48063 Remove unused variable magic_bits.
48064 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48066 * string/strnlen.c: Define and use STRNLEN macro.
48067 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48068 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48069 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48070 * wcsmbs/wcslen.c: Define and use WCSLEN.
48071 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48072 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48073 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48074 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48075 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48076 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48077 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48079 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48082 strnlen-sse2-no-bsf.
48083 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48084 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48085 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48086 Add strnlen support.
48087 (USE_AS_STRNLEN): New macro.
48088 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48089 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48090 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48091 * sysdeps/x86_64/wcslen.S: New file.
48093 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48095 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48096 XMM-moves are used for copying on small sizes.
48098 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48100 * wcsmbs/Makefile (strop-tests): Add wcschr.
48101 * wcsmbs/test-wcschr.c: New file.
48102 * string/test-strchr.c: Update.
48103 Add wcschr support.
48106 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48108 * wcsmbs/Makefile (strop-tests): Add wcslen.
48109 * wcsmbs/test-wcslen.c: New file.
48110 * string/test-strlen.c: Update.
48111 Add wcslen support.
48114 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48116 * po/it.po: Update from translation team.
48118 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48120 * sysdeps/x86_64/wcscmp.S: Update.
48121 Fix wrong comparison semantics.
48122 wcscmp shall use signed comparison not unsigned.
48123 Don't use substraction to avoid overflow bug.
48124 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48125 * wcsmbc/wcscmp.c: Likewise.
48126 * string/test-strcmp.c: Likewise.
48127 Add new tests to check cases with negative values.
48129 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48131 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48132 * sysdeps/x86_64/dla.h: ...here. New file.
48133 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48134 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48137 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48138 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48139 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48140 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48141 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48143 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48145 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48146 __ynl_finite aliases.
48148 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48152 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48154 [DLA_FMA] (EMULV): Use DLA_FMA.
48155 [DLA_FMA] (MUL12): Use EMULV.
48156 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48157 that are not needed.
48158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48161 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48162 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48163 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48164 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48166 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48168 * math/s_nan.c: Undef __nan.
48169 * math/s_nanf.c: Undef __nanf.
48170 * math/s_nanl.c: Undef __nanl.
48171 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48174 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48176 * math/s_catan.c: Add branch predictions.
48177 * math/s_catanf.c: Likewise.
48178 * math/s_catanh.c: Likewise.
48179 * math/s_catanhf.c: Likewise.
48180 * math/s_catanhl.c: Likewise.
48181 * math/s_catanl.c: Likewise.
48182 * math/s_cexp.c: Likewise.
48183 * math/s_cexpf.c: Likewise.
48184 * math/s_cexpl.c: Likewise.
48185 * math/s_clog.c: Likewise.
48186 * math/s_clog10.c: Likewise.
48187 * math/s_clog10f.c: Likewise.
48188 * math/s_clog10l.c: Likewise.
48189 * math/s_clogf.c: Likewise.
48190 * math/s_clogl.c: Likewise.
48191 * math/s_csqrt.c: Likewise.
48192 * math/s_csqrtf.c: Likewise.
48193 * math/s_csqrtl.c: Likewise.
48194 * math/s_ctanf.c: Likewise.
48195 * math/s_ctanh.c: Likewise.
48196 * math/s_ctanhf.c: Likewise.
48197 * math/s_ctanhl.c: Likewise.
48198 * math/s_ctanl.c: Likewise.
48200 * math/math_private.h: Define __nan, __nanf, __nanl.
48201 * math/s_cacosh.c: Include <math_private.h>.
48202 * math/s_cacoshl.c: Likewise.
48203 * math/s_casinh.c: Likewise.
48204 * math/s_casinhf.c: Likewise.
48205 * math/s_casinhl.c: Likewise.
48206 * math/s_ccos.c: Rely entire on ccosh.
48207 * math/s_ccosf.c: Rely entire on ccoshf.
48208 * math/s_ccosl.c: Rely entirely on ccoshl.
48209 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48210 Remove tests for FE_INVALID.
48211 * math/s_ccoshf.c: Likewise.
48212 * math/s_ccoshl.c: Likewise.
48213 * math/s_csin.c: Likewise.
48214 * math/s_csinf.c: Likewise.
48215 * math/s_csinh.c Likewise.
48216 * math/s_csinhf.c: Likewise.
48217 * math/s_csinhl.c: Likewise.
48218 * math/s_csinl.c: Likewise.
48219 * math/s_ctan.c: Likewise.
48220 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48221 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48222 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48224 2011-10-21 Ulrich Drepper <drepper@gmail.com>
48226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48227 compilation problems.
48229 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48232 2011-10-20 Ulrich Drepper <drepper@gmail.com>
48234 * sysdeps/i386/configure.in: Test for -mfma4 option.
48235 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48236 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48237 COMMON_CPUID_INDEX_80000001.
48238 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48239 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48240 use it if FMA3 is not supported.
48241 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48243 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48244 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48246 2011-10-20 Andreas Schwab <schwab@redhat.com>
48249 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48250 it would create a cycle with a link time dependency.
48252 2011-10-19 Ulrich Drepper <drepper@gmail.com>
48254 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48256 * string/Makefile (strop-tests): Add rawmemchr.
48257 * string/test-rawmemchr.c: New file.
48259 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48260 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48261 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48262 when compiling str{,n}casecmp and when AVX is available. Hook up
48263 new optimized code in initializers.
48265 2011-10-19 Andreas Schwab <schwab@redhat.com>
48267 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48268 __feraiseexcept instead of feraiseexcept.
48270 2011-10-18 Ulrich Drepper <drepper@gmail.com>
48272 * math/math_private.h: Define defaults for libc_fetestexcept and
48274 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48275 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48276 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48277 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48278 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48279 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48280 libc_fetestexcept and libc_feupdateenv.
48282 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48283 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48284 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48285 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48286 libc_feholdexcept_setround.
48288 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48289 Add s_nearbyint-c and s_nearbyintf-c.
48290 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48291 nearbyintf inlines.
48292 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48293 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48294 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48295 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48297 * math/math_private.h: Define defaults for libc_fegetround,
48298 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48299 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48300 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48301 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48302 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48303 standard functions.
48304 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48305 Remove comments and hacks for old compiler versions.
48306 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48307 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48308 libc_feholdexceptl.
48310 2011-10-18 Andreas Schwab <schwab@redhat.com>
48312 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48313 (__feraiseexcept_renamed): Add __NTH.
48314 (feraiseexcept): Add __NTH. Rename local variables to fix
48315 namespace violations.
48317 2011-10-17 Ulrich Drepper <drepper@gmail.com>
48319 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48321 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48323 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48324 recently added interfaces.
48325 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48327 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48328 about macro parameter expansion.
48330 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48331 __NO_MATH_INLINES is defined. Cleanups.
48333 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48334 and __floorf is target has SSE4.1.
48335 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48336 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48337 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48338 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48340 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48342 (floorf): Likewise.
48344 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48346 2011-10-17 Andreas Schwab <schwab@redhat.com>
48348 * misc/sys/cdefs.h: Fix last change.
48350 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48353 2011-10-16 Ulrich Drepper <drepper@gmail.com>
48355 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48357 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48358 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48359 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48360 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48361 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48362 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48363 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48364 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48365 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48366 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48367 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48368 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48369 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48370 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48371 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48372 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48373 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48374 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48375 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48376 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48377 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48378 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48380 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48381 ceil, ceilf, floor, floorf.
48383 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48384 Perform IRELATIVE relocations last.
48386 * elf/do-rel.h: Add another parameter nrelative, replacing the
48387 local variable with the same name. Change name of the function
48388 to end in Rel or Rela (uppercase).
48389 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48390 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48391 elf_dynamic_do_##reloc function.
48393 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48395 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48396 is sufficient, at least on modern CPUs.
48398 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48400 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48401 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48403 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48405 * math/bits/math-finite.h: Add entries for exp.
48406 * math/e_expl.c: Add __*_finite alias.
48407 * sysdeps/i386/fpu/e_exp.S: Likewise.
48408 * sysdeps/i386/fpu/e_expf.S: Likewise.
48409 * sysdeps/i386/fpu/e_expl.c: Likewise.
48410 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48411 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48412 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48413 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48414 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48415 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48416 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48418 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48419 is sufficient, at least on modern CPUs.
48421 * ctype/ctype-info.c (__ctype_init): Define.
48422 * include/ctype.h (__ctype_init): Declare.
48423 (__ctype_b_loc): The variable is always initialized.
48424 (__ctype_toupper_loc): Likewise.
48425 (__ctype_tolower_loc): Likewise.
48426 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48427 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48429 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48431 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48433 * configure.in: Also look in $cxxmachine/include for C++ system
48436 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48438 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48439 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48440 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48441 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48442 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48443 (USE_AS_WMEMCMP): New macro.
48445 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48446 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48447 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48448 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48450 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48451 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48452 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48453 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48454 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48455 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48456 (USE_AS_WMEMCMP): New macro.
48457 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48458 * sysdeps/string/test-memcmp.c: Update.
48459 Fix simple_wmemcmp.
48461 * wcsmbs/wmemcmp.c: Update.
48462 (WMEMCMP): New macro.
48465 2011-10-12 Andreas Jaeger <aj@suse.de>
48468 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48470 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48472 * libio/iofwide.c (do_length): Avoid warning.
48474 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48476 2011-10-14 Ulrich Drepper <drepper@gmail.com>
48478 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48480 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48481 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48482 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48483 * sysdeps/i386/i686/fpu/e_log.S: New file.
48484 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48485 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48487 * ctype/ctype.h: Add support for inlined isXXX functions when
48488 compiling C++ code.
48490 2011-10-14 Andreas Schwab <schwab@redhat.com>
48492 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48494 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48496 2011-10-13 Roland McGrath <roland@hack.frob.com>
48499 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48501 2011-10-13 Andreas Schwab <schwab@redhat.com>
48503 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48504 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48507 * sysdeps/x86_64/memrchr.S: Check for zero size.
48509 * string/stratcliff.c: Add memrchr tests.
48511 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48513 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48514 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48515 rawmemchr-sse2 rawmemchr-sse2-bsf.
48516 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48517 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48518 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48519 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48520 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48521 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48522 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48523 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48524 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48525 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48526 * string/memrchr.c (MEMRCHR): New macro.
48528 2011-10-12 Ulrich Drepper <drepper@gmail.com>
48530 Add integration with gcc's -ffinite-math-only and optimize wrapper
48532 * Versions.def: Define GLIBC_2.15 version for libm.
48533 * math/Makefile (headers): Add bits/math-finite.h.
48534 * math/bits/math-finite.h: New file.
48535 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48536 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48537 * math/e_acoshl.c: Add __*_finite alias.
48538 * math/e_acosl.c: Likewise.
48539 * math/e_asinl.c: Likewise.
48540 * math/e_atan2l.c: Likewise.
48541 * math/e_atanhl.c: Likewise.
48542 * math/e_coshl.c: Likewise.
48543 * math/e_exp10.c: Likewise.
48544 * math/e_exp10f.c: Likewise.
48545 * math/e_exp10l.c: Likewise.
48546 * math/e_exp2l.c: Likewise.
48547 * math/e_fmodl.c: Likewise.
48548 * math/e_gammal_r.c: Likewise.
48549 * math/e_hypotl.c: Likewise.
48550 * math/e_j0l.c: Likewise.
48551 * math/e_j1l.c: Likewise.
48552 * math/e_jnl.c: Likewise.
48553 * math/e_lgammal_r.c: Likewise.
48554 * math/e_log10l.c: Likewise.
48555 * math/e_log2l.c: Likewise.
48556 * math/e_logl.c: Likewise.
48557 * math/e_powl.c: Likewise.
48558 * math/e_sinhl.c: Likewise.
48559 * math/e_sqrtl.c: Likewise.
48560 * math/e_scalb.c: Completely rewritten and optimized.
48561 * math/e_scalbf.c: Likewise.
48562 * math/e_scalbl.c: Likewise.
48563 * math/w_acos.c: Likewise.
48564 * math/w_acosf.c: Likewise.
48565 * math/w_acosl.c: Likewise.
48566 * math/w_acosh.c: Likewise.
48567 * math/w_acoshf.c: Likewise.
48568 * math/w_acoshl.c: Likewise.
48569 * math/w_asin.c: Likewise.
48570 * math/w_asinf.c: Likewise.
48571 * math/w_asinl.c: Likewise.
48572 * math/w_atan2.c: Likewise.
48573 * math/w_atan2f.c: Likewise.
48574 * math/w_atan2l.c: Likewise.
48575 * math/w_atanh.c: Likewise.
48576 * math/w_atanhf.c: Likewise.
48577 * math/w_atanhl.c: Likewise.
48578 * math/w_exp10.c: Likewise.
48579 * math/w_exp10f.c: Likewise.
48580 * math/w_exp10l.c: Likewise.
48581 * math/w_fmod.c: Likewise.
48582 * math/w_fmodf.c: Likewise.
48583 * math/w_fmodl.c: Likewise.
48584 * math/w_j0.c: Likewise.
48585 * math/w_j0f.c: Likewise.
48586 * math/w_j0l.c: Likewise.
48587 * math/w_j1.c: Likewise.
48588 * math/w_j1f.c: Likewise.
48589 * math/w_j1l.c: Likewise.
48590 * math/w_jn.c: Likewise.
48591 * math/w_jnf.c: Likewise.
48592 * math/w_log.c: Likewise.
48593 * math/w_logf.c: Likewise.
48594 * math/w_logl.c: Likewise.
48595 * math/w_log10.c: Likewise.
48596 * math/w_log10f.c: Likewise.
48597 * math/w_log10l.c: Likewise.
48598 * math/w_log2.c: Likewise.
48599 * math/w_log2f.c: Likewise.
48600 * math/w_log2l.c: Likewise.
48601 * math/w_pow.c: Likewise.
48602 * math/w_powf.c: Likewise.
48603 * math/w_powl.c: Likewise.
48604 * math/w_remainder.c: Likewise.
48605 * math/w_remainderf.c: Likewise.
48606 * math/w_remainderl.c: Likewise.
48607 * math/w_scalb.c: Likewise.
48608 * math/w_scalbf.c: Likewise.
48609 * math/w_scalbl.c: Likewise.
48610 * math/w_sqrt.c: Likewise.
48611 * math/w_sqrtf.c: Likewise.
48612 * math/w_sqrtl.c: Likewise.
48613 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48614 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48616 * math/math_private.h: Declare __kernel_standard_f.
48617 * math/w_cosh.c: Remove cruft and optimize a bit.
48618 * math/w_coshf.c: Likewise.
48619 * math/w_coshl.c: Likewise.
48620 * math/w_exp2.c: Likewise.
48621 * math/w_exp2f.c: Likewise.
48622 * math/w_exp2l.c: Likewise.
48623 * math/w_hypot.c: Likewise.
48624 * math/w_hypotf.c: Likewise.
48625 * math/w_hypotl.c: Likewise.
48626 * math/w_lgamma.c: Likewise.
48627 * math/w_lgamma_r.c: Likewise.
48628 * math/w_lgammaf.c: Likewise.
48629 * math/w_lgammaf_r.c: Likewise.
48630 * math/w_lgammal.c: Likewise.
48631 * math/w_lgammal_r.c: Likewise.
48632 * math/w_sinh.c: Likewise.
48633 * math/w_sinhf.c: Likewise.
48634 * math/w_sinhl.c: Likewise.
48635 * math/w_tgamma.c: Likewise.
48636 * math/w_tgammaf.c: Likewise.
48637 * math/w_tgammal.c: Likewise.
48638 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48639 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48640 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48641 Minor optimizations. Pretty printing. Remove cruft.
48642 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48643 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48644 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48645 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48646 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48647 * sysdeps/i386/fpu/e_asin.S: Likewise.
48648 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48649 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48650 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48651 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48652 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48653 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48654 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48655 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48656 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48657 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48658 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48659 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48660 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48661 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48662 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48663 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48664 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48665 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48666 * sysdeps/i386/fpu/e_log.S: Likewise.
48667 * sysdeps/i386/fpu/e_log10.S: Likewise.
48668 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48669 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48670 * sysdeps/i386/fpu/e_log2.S: Likewise.
48671 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48672 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48673 * sysdeps/i386/fpu/e_logf.S: Likewise.
48674 * sysdeps/i386/fpu/e_logl.S: Likewise.
48675 * sysdeps/i386/fpu/e_pow.S: Likewise.
48676 * sysdeps/i386/fpu/e_powf.S: Likewise.
48677 * sysdeps/i386/fpu/e_powl.S: Likewise.
48678 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48679 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48680 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48681 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48682 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48683 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48684 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48685 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48686 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48687 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48688 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48689 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48690 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48691 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48692 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48693 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48694 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48695 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48696 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48697 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48698 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48699 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48700 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48701 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48702 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48703 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48704 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48705 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48706 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48707 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48708 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48709 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48710 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48711 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48712 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48713 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48714 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48715 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48716 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48717 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48718 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48719 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48720 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48721 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48722 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48723 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48724 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48725 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48726 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48727 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48728 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48729 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48730 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48731 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48732 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48733 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48734 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48735 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48736 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48737 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48738 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48739 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48740 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48741 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48742 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48743 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48744 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48745 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48746 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48747 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48748 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48749 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48750 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48751 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48752 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48753 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48754 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48755 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48756 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48757 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48758 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48759 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48760 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48761 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48762 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48763 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48764 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48765 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48766 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48767 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48768 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48769 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48770 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48771 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48772 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48773 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48774 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48775 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48776 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48777 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48778 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48779 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48780 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48781 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48782 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48783 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48784 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48785 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48786 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48787 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48788 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48789 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48790 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48791 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48792 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48793 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48794 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48795 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48796 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48797 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48798 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48799 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48800 (__isnanf): Likewise.
48801 (__isinf_ns): Likewise.
48802 (__isinf_nsf): Likewise.
48803 (__finite): Likewise.
48804 (__finitef): Likewise.
48805 (__ieee754_sqrt): Define as macro.
48806 (__ieee754_sqrtf): Define as macro.
48807 (__ieee754_sqrtl): Define as macro.
48808 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48810 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48811 __FINITE_MATH_ONLY__ consistent.
48812 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48814 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48816 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48819 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48821 2011-10-09 Ulrich Drepper <drepper@gmail.com>
48823 * po/ja.po: Update from translation team.
48825 2011-10-08 Roland McGrath <roland@hack.frob.com>
48827 * locale/programs/locarchive.c (prepare_address_space): New function.
48828 (create_archive, enlarge_archive, open_archive): Use it.
48830 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48831 inside [SHARED], where it is used.
48833 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48835 * nss/getent.c (netgroup_keys): Remove unused variable.
48836 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48838 2011-10-08 Ulrich Drepper <drepper@gmail.com>
48840 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48841 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48842 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48843 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48844 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48845 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48846 * math/Makefile (libm-calls): Add s_isinf_ns.
48847 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48848 * math/multc3.c: Likewise.
48849 * math/s_casin.c: Likewise.
48850 * math/s_casinf.c: Likewise.
48851 * math/s_casinl.c: Likewise.
48852 * math/s_ccos.c: Likewise.
48853 * math/s_ccosf.c: Likewise.
48854 * math/s_ccosl.c: Likewise.
48855 * math/s_ctan.c: Likewise.
48856 * math/s_ctanf.c: Likewise.
48857 * math/s_ctanh.c: Likewise.
48858 * math/s_ctanhf.c: Likewise.
48859 * math/s_ctanhl.c: Likewise.
48860 * math/s_ctanl.c: Likewise.
48861 * math/w_fmod.c: Likewise.
48862 * math/w_fmodf.c: Likewise.
48863 * math/w_fmodl.c: Likewise.
48864 * math/w_remainder.c: Likewise.
48865 * math/w_remainderf.c: Likewise.
48866 * math/w_remainderl.c: Likewise.
48867 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48868 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48869 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48870 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48871 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48872 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48873 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48874 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48876 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48878 * stdio-common/printf_fphex.c: Likewise.
48879 * stdio-common/printf_size.c: Likewise.
48881 * math/e_exp10.c: Include math_private.h using <...> not "...".
48882 * math/e_exp10f.c: Likewise.
48883 * math/e_exp10l.c: Likewise.
48884 * math/e_exp2l.c: Likewise.
48885 * math/e_j0l.c: Likewise.
48886 * math/e_j1l.c: Likewise.
48887 * math/e_jnl.c: Likewise.
48888 * math/e_lgammal_r.c: Likewise.
48889 * math/e_rem_pio2l.c: Likewise.
48890 * math/e_scalb.c: Likewise.
48891 * math/e_scalbf.c: Likewise.
48892 * math/e_scalbl.c: Likewise.
48893 * math/k_cosl.c: Likewise.
48894 * math/k_sinl.c: Likewise.
48895 * math/k_tanl.c: Likewise.
48896 * math/s_cacoshf.c: Likewise.
48897 * math/s_catan.c: Likewise.
48898 * math/s_catanf.c: Likewise.
48899 * math/s_catanh.c: Likewise.
48900 * math/s_catanhf.c: Likewise.
48901 * math/s_catanhl.c: Likewise.
48902 * math/s_catanl.c: Likewise.
48903 * math/s_ccosh.c: Likewise.
48904 * math/s_ccoshf.c: Likewise.
48905 * math/s_ccoshl.c: Likewise.
48906 * math/s_cexp.c: Likewise.
48907 * math/s_cexpf.c: Likewise.
48908 * math/s_cexpl.c: Likewise.
48909 * math/s_clog.c: Likewise.
48910 * math/s_clog10.c: Likewise.
48911 * math/s_clog10f.c: Likewise.
48912 * math/s_clog10l.c: Likewise.
48913 * math/s_clogf.c: Likewise.
48914 * math/s_clogl.c: Likewise.
48915 * math/s_csin.c: Likewise.
48916 * math/s_csinf.c: Likewise.
48917 * math/s_csinh.c: Likewise.
48918 * math/s_csinhf.c: Likewise.
48919 * math/s_csinhl.c: Likewise.
48920 * math/s_csinl.c: Likewise.
48921 * math/s_csqrt.c: Likewise.
48922 * math/s_csqrtf.c: Likewise.
48923 * math/s_csqrtl.c: Likewise.
48924 * math/s_ctan.c: Likewise.
48925 * math/s_ctanf.c: Likewise.
48926 * math/s_ctanh.c: Likewise.
48927 * math/s_ctanhf.c: Likewise.
48928 * math/s_ctanhl.c: Likewise.
48929 * math/s_ctanl.c: Likewise.
48930 * math/s_ldexp.c: Likewise.
48931 * math/s_ldexpf.c: Likewise.
48932 * math/s_ldexpl.c: Likewise.
48933 * math/s_significand.c: Likewise.
48934 * math/s_significandf.c: Likewise.
48935 * math/s_significandl.c: Likewise.
48936 * math/w_acos.c: Likewise.
48937 * math/w_acosf.c: Likewise.
48938 * math/w_acosh.c: Likewise.
48939 * math/w_acoshf.c: Likewise.
48940 * math/w_acoshl.c: Likewise.
48941 * math/w_acosl.c: Likewise.
48942 * math/w_asin.c: Likewise.
48943 * math/w_asinf.c: Likewise.
48944 * math/w_asinl.c: Likewise.
48945 * math/w_atan2.c: Likewise.
48946 * math/w_atan2f.c: Likewise.
48947 * math/w_atan2l.c: Likewise.
48948 * math/w_atanh.c: Likewise.
48949 * math/w_atanhf.c: Likewise.
48950 * math/w_atanhl.c: Likewise.
48951 * math/w_cosh.c: Likewise.
48952 * math/w_coshf.c: Likewise.
48953 * math/w_coshl.c: Likewise.
48954 * math/w_dremf.c: Likewise.
48955 * math/w_exp10.c: Likewise.
48956 * math/w_exp10f.c: Likewise.
48957 * math/w_exp10l.c: Likewise.
48958 * math/w_exp2.c: Likewise.
48959 * math/w_exp2f.c: Likewise.
48960 * math/w_fmod.c: Likewise.
48961 * math/w_fmodf.c: Likewise.
48962 * math/w_fmodl.c: Likewise.
48963 * math/w_hypot.c: Likewise.
48964 * math/w_hypotf.c: Likewise.
48965 * math/w_hypotl.c: Likewise.
48966 * math/w_j0.c: Likewise.
48967 * math/w_j0f.c: Likewise.
48968 * math/w_j0l.c: Likewise.
48969 * math/w_j1.c: Likewise.
48970 * math/w_j1f.c: Likewise.
48971 * math/w_j1l.c: Likewise.
48972 * math/w_jn.c: Likewise.
48973 * math/w_jnf.c: Likewise.
48974 * math/w_jnl.c: Likewise.
48975 * math/w_lgamma.c: Likewise.
48976 * math/w_lgamma_r.c: Likewise.
48977 * math/w_lgammaf.c: Likewise.
48978 * math/w_lgammaf_r.c: Likewise.
48979 * math/w_lgammal.c: Likewise.
48980 * math/w_lgammal_r.c: Likewise.
48981 * math/w_log.c: Likewise.
48982 * math/w_log10.c: Likewise.
48983 * math/w_log10f.c: Likewise.
48984 * math/w_log10l.c: Likewise.
48985 * math/w_log2.c: Likewise.
48986 * math/w_log2f.c: Likewise.
48987 * math/w_log2l.c: Likewise.
48988 * math/w_logf.c: Likewise.
48989 * math/w_logl.c: Likewise.
48990 * math/w_pow.c: Likewise.
48991 * math/w_powf.c: Likewise.
48992 * math/w_powl.c: Likewise.
48993 * math/w_remainder.c: Likewise.
48994 * math/w_remainderf.c: Likewise.
48995 * math/w_remainderl.c: Likewise.
48996 * math/w_scalb.c: Likewise.
48997 * math/w_scalbf.c: Likewise.
48998 * math/w_scalbl.c: Likewise.
48999 * math/w_sinh.c: Likewise.
49000 * math/w_sinhf.c: Likewise.
49001 * math/w_sinhl.c: Likewise.
49002 * math/w_sqrt.c: Likewise.
49003 * math/w_sqrtf.c: Likewise.
49004 * math/w_sqrtl.c: Likewise.
49005 * math/w_tgamma.c: Likewise.
49006 * math/w_tgammaf.c: Likewise.
49007 * math/w_tgammal.c: Likewise.
49009 * po/ja.po: Update from translation team.
49011 2011-09-29 Andreas Jaeger <aj@suse.de>
49014 * sunrpc/netname.c (netname2host): Fix logic.
49018 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49020 * math/w_remainder.c (__remainder): Likewise.
49021 * math/w_remainderf.c (__remainderf): Likewise.
49022 * math/libm-test.inc (remainder_test): Add test cases.
49024 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49026 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49029 2011-10-07 Ulrich Drepper <drepper@gmail.com>
49031 * string/test-memcmp.c: Avoid unncessary #defines.
49032 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49034 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49036 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49037 Use new sse2 version for core i3 - i7 as it's faster
49038 than sse42 version.
49039 (bit_Prefer_PMINUB_for_stringop): New.
49040 * sysdeps/x86_64/rawmemchr.S: Update.
49041 Replace with faster SSE2 version.
49042 * sysdeps/x86_64/memrchr.S: New file.
49043 * sysdeps/x86_64/memchr.S: Update.
49044 Replace with faster SSE2 version.
49046 2011-09-12 Marek Polacek <mpolacek@redhat.com>
49048 * elf/dl-load.c (lose): Add cast to avoid warning.
49050 2011-10-07 Ulrich Drepper <drepper@gmail.com>
49052 * po/ca.po: Update from translation team.
49054 * inet/getnetgrent_r.c: Hook up nscd.
49055 * nscd/Makefile (routines): Add nscd_netgroup.
49056 (nscd-modules): Add netgroupcache.
49057 (CFLAGS-netgroupcache.c): Define.
49058 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49059 (cache_search): Add const to second parameter.
49060 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49062 (dbs): Add netgrdb entry.
49063 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49064 (verify_persistent_db): Handle netgrdb.
49065 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49066 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49068 (netgroup_response_header): Define.
49069 (innetgroup_response_header): Define.
49070 (datahead): Add netgroup_response_header and innetgroup_response_header
49072 * nscd/nscd.conf: Add entries for netgroup cache.
49073 * nscd/nscd.h (dbtype): Add netgrdb.
49074 (_PATH_NSCD_NETGROUP_DB): Define.
49075 (netgroup_iov_disabled): Declare.
49076 (xmalloc, xcalloc, xrealloc): Move declarations here.
49077 (cache_search): Adjust prototype.
49078 Add netgroup-related prototypes.
49079 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49080 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49081 (__nscd_innetgr): Declare.
49082 * nscd/selinux.c (perms): Use access_vector_t as element type and
49083 add netgroup-related initializers.
49084 * nscd/netgroupcache.c: New file.
49085 * nscd/nscd_netgroup.c: New file.
49086 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49087 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49088 For four parameters use innetgr.
49089 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49090 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49091 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49092 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49094 * nscd/connections.c (register_traced_file): Don't register file
49095 for disabled databases.
49097 2011-10-06 Ulrich Drepper <drepper@gmail.com>
49099 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49101 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49102 from tree and freeing node.
49104 2011-09-25 Jiri Olsa <jolsa@redhat.com>
49106 * nss/nsswitch.c (__nss_database_lookup): Handle
49107 nss_parse_service_list out of memory case.
49109 2011-09-15 Jiri Olsa <jolsa@redhat.com>
49111 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49112 out of memory case.
49114 2011-10-04 Andreas Schwab <schwab@redhat.com>
49116 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49117 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49119 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49120 elf_machine_rela, elf_machine_lazy_rel.
49121 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49122 (ELF_DYNAMIC_DO_REL): Likewise.
49123 (ELF_DYNAMIC_DO_RELA): Likewise.
49124 (ELF_DYNAMIC_RELOCATE): Likewise.
49125 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49126 to ELF_DYNAMIC_DO_REL.
49127 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49128 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49129 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49131 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49132 skip_ifunc, don't call ifunc function if non-zero.
49133 (elf_machine_rela): Likewise.
49134 (elf_machine_lazy_rel): Likewise.
49135 (elf_machine_lazy_rela): Likewise.
49136 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49137 (elf_machine_lazy_rel): Likewise.
49138 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49140 (elf_machine_lazy_rel): Likewise.
49141 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49143 (elf_machine_lazy_rel): Likewise.
49144 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49145 (elf_machine_lazy_rel): Likewise.
49146 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49147 (elf_machine_lazy_rel): Likewise.
49148 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49149 (elf_machine_lazy_rel): Likewise.
49150 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49151 (elf_machine_lazy_rel): Likewise.
49152 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49153 (elf_machine_lazy_rel): Likewise.
49154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49155 (elf_machine_lazy_rel): Likewise.
49157 2011-09-28 Ulrich Drepper <drepper@gmail.com>
49159 * nss/nss_files/files-init.c (_nss_files_init): Use static
49160 initialization for all the *_traced_file variables.
49162 2011-09-28 Andreas Schwab <schwab@redhat.com>
49164 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49166 2011-09-27 Roland McGrath <roland@hack.frob.com>
49169 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49171 2011-09-27 Andreas Schwab <schwab@redhat.com>
49173 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49174 Reread the line before reparsing it.
49176 2011-09-26 Andreas Schwab <schwab@redhat.com>
49178 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49180 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49181 Maxim Kuvyrkov <maxim@codesourcery.com>
49182 Joseph Myers <joseph@codesourcery.com>
49184 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49185 if needed for __stack_chk_guard.
49187 2011-09-19 Roland McGrath <roland@hack.frob.com>
49189 * sysdeps/posix/spawni.c (script_execute): Always define it.
49190 It will be optimized away if unused.
49191 (maybe_script_execute): New function.
49192 (__spawni): Call it.
49194 * Makerules: Don't include tls.make.
49195 (config-tls): Always set to thread.
49196 * tls.make.c: File removed.
49198 2011-09-19 Mike Frysinger <vapier@gentoo.org>
49200 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49201 * config.make.in (CPPFLAGS-config): New substituted variable.
49203 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49205 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49208 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49209 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49211 2011-09-15 Roland McGrath <roland@hack.frob.com>
49213 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49214 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49215 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49216 (CALL_FAIL): Likewise.
49217 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49218 (CALL_FAIL): Macro removed.
49219 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49221 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49223 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49224 for __FINITE_MATH_ONLY__ == 1.
49226 2011-09-15 Andreas Schwab <schwab@redhat.com>
49228 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49229 __ieee754_sqrt instead of sqrt.
49230 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49231 __ieee754_sqrtf instead of sqrtf.
49232 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49233 __floorf instead of floorf.
49234 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49235 __floorf, __truncf instead of floorf, truncf.
49237 2011-09-14 Ulrich Drepper <drepper@gmail.com>
49239 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49241 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49242 __extern_always_inline.
49243 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49246 2011-09-14 Andreas Schwab <schwab@redhat.com>
49248 * elf/rtld.c (dl_main): Also relocate in dependency order when
49249 doing symbol dependency testing.
49251 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49253 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49254 Always define `refsym'.
49256 2011-09-13 Andreas Schwab <schwab@redhat.com>
49258 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49259 (__FD_ELT): Renamed from __FDELT.
49260 * misc/bits/select2.h (__FD_ELT): Likewise.
49261 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49262 __FD_MASK instead of __FDELT, __FDMASK.
49263 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49265 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49268 * elf/Makefile (gen-ldd): Fix pattern.
49270 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49271 (init_tls): Likewise.
49273 2011-09-12 Ulrich Drepper <drepper@gmail.com>
49275 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49277 2011-09-12 Andreas Schwab <schwab@redhat.com>
49279 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49280 `struct cmsghdr *' instead of `void *'.
49281 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49284 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49286 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49288 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49289 ldd_rewrite_script.
49291 2011-09-11 Ulrich Drepper <drepper@gmail.com>
49293 * configure.in: Remove --with-tls option.
49294 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49295 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49296 out in case it is missing.
49297 * sysdeps/ia64/elf/configure.in: Likewise.
49298 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49299 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49300 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49301 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49302 * sysdeps/sh/elf/configure.in: Likewise.
49303 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49304 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49305 * sysdeps/x86_64/elf/configure.in: Likewise.
49306 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49307 * sysdeps/mach/hurd/tls.h: Likewise.
49310 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49313 * configure.in: Fix use of AC_INIT.
49315 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49317 2011-09-10 Ulrich Drepper <drepper@gmail.com>
49319 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49321 * malloc/hooks.c: Likewise.
49324 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49325 variables statically.
49326 (narenas): Initialize.
49327 (list_lock): Initialize.
49328 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49329 initializtion of main_arena and list_lock. Small cleanups.
49330 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49331 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49332 Add initializers to main_arena and mp_.
49333 (malloc_state): Remove pagesize member. Change all users to use
49336 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49337 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49338 is always initialized.
49340 * malloc/malloc.c: Removed unused configurations and dead code.
49341 * malloc/arena.c: Likewise.
49342 * malloc/hooks.c: Likewise.
49343 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49345 * include/tls.h: Removed. USE___THREAD must always be defined.
49346 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49347 * elf/dl-libc.c: Likewise.
49348 * elf/dl-tsd.c: Likewise.
49349 * include/errno.h: Likewise.
49350 * include/netdb.h: Likewise.
49351 * include/resolv.h: Likewise.
49352 * inet/herrno-loc.c: Likewise.
49353 * inet/herrno.c: Likewise.
49354 * malloc/arena.c: Likewise.
49355 * malloc/hooks.c: Likewise.
49356 * malloc/malloc.c: Likewise.
49357 * resolv/res-state.c: Likewise.
49358 * resolv/res_libc.c: Likewise.
49359 * sysdeps/i386/dl-machine.h: Likewise.
49360 * sysdeps/ia64/dl-machine.h: Likewise.
49361 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49362 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49363 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49364 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49365 * sysdeps/sh/dl-machine.h: Likewise.
49366 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49367 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49368 * sysdeps/unix/i386/sysdep.S: Likewise.
49369 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49370 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49373 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49374 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49375 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49377 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49379 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49380 * sysdeps/x86_64/dl-machine.h: Likewise.
49381 * tls.make.c: Likewise.
49383 * configure.in: Remove --with-__thread option. Make tests for
49384 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49385 tls_model attribute fail if no support is available. Remove
49387 * Makeconfig: Adjust for dropped configure option. All features are
49389 * Makerules: Likewise.
49390 * Versions.def: Likewise.
49391 * argp/argp-fmtstream.c: Likewise.
49392 * argp/argp-fmtstream.h: Likewise.
49393 * argp/argp-help.c: Likewise.
49394 * assert/assert.c: Likewise.
49395 * config.h.in: Likewise.
49396 * config.make.in: Likewise.
49397 * configure: Likewise.
49398 * configure.in: Likewise.
49399 * csu/Versions: Likewise.
49400 * csu/init.c: Likewise.
49401 * elf/tst-audit2.c: Likewise.
49402 * elf/tst-tls10.c: Likewise.
49403 * elf/tst-tls10.h: Likewise.
49404 * elf/tst-tls11.c: Likewise.
49405 * elf/tst-tls12.c: Likewise.
49406 * elf/tst-tls14.c: Likewise.
49407 * elf/tst-tlsmod11.c: Likewise.
49408 * elf/tst-tlsmod12.c: Likewise.
49409 * elf/tst-tlsmod13.c: Likewise.
49410 * elf/tst-tlsmod13a.c: Likewise.
49411 * elf/tst-tlsmod14a.c: Likewise.
49412 * elf/tst-tlsmod15b.c: Likewise.
49413 * elf/tst-tlsmod16a.c: Likewise.
49414 * elf/tst-tlsmod16b.c: Likewise.
49415 * elf/tst-tlsmod7.c: Likewise.
49416 * elf/tst-tlsmod8.c: Likewise.
49417 * elf/tst-tlsmod9.c: Likewise.
49418 * gmon/gmon.c: Likewise.
49419 * grp/fgetgrent_r.c: Likewise.
49420 * grp/putgrent.c: Likewise.
49421 * hurd/fopenport.c: Likewise.
49422 * include/libc-symbols.h: Likewise.
49423 * include/tls.h: Likewise.
49424 * intl/gettextP.h: Likewise.
49425 * intl/loadinfo.h: Likewise.
49426 * locale/global-locale.c: Likewise.
49427 * locale/localeinfo.h: Likewise.
49428 * mach/devstream.c: Likewise.
49429 * malloc/arena.c: Likewise.
49430 * malloc/set-freeres.c: Likewise.
49431 * misc/err.c: Likewise.
49432 * misc/getttyent.c: Likewise.
49433 * misc/mntent_r.c: Likewise.
49434 * posix/getopt.c: Likewise.
49435 * posix/wordexp.c: Likewise.
49436 * pwd/fgetpwent_r.c: Likewise.
49437 * resolv/Versions: Likewise.
49438 * resolv/res_hconf.c: Likewise.
49439 * shadow/fgetspent_r.c: Likewise.
49440 * shadow/putspent.c: Likewise.
49441 * stdio-common/printf_fphex.c: Likewise.
49442 * stdio-common/tmpfile.c: Likewise.
49443 * stdlib/abort.c: Likewise.
49444 * stdlib/fmtmsg.c: Likewise.
49445 * sunrpc/auth_unix.c: Likewise.
49446 * sunrpc/clnt_perr.c: Likewise.
49447 * sunrpc/clnt_tcp.c: Likewise.
49448 * sunrpc/clnt_udp.c: Likewise.
49449 * sunrpc/clnt_unix.c: Likewise.
49450 * sunrpc/openchild.c: Likewise.
49451 * sunrpc/svc_simple.c: Likewise.
49452 * sunrpc/svc_tcp.c: Likewise.
49453 * sunrpc/svc_udp.c: Likewise.
49454 * sunrpc/svc_unix.c: Likewise.
49455 * sunrpc/xdr.c: Likewise.
49456 * sunrpc/xdr_array.c: Likewise.
49457 * sunrpc/xdr_rec.c: Likewise.
49458 * sunrpc/xdr_ref.c: Likewise.
49459 * sunrpc/xdr_stdio.c: Likewise.
49461 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49463 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49465 2011-07-03 Andreas Jaeger <aj@suse.de>
49467 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49468 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49469 regenerate with gen-libm-tests.pl.
49471 2010-05-12 Petr Baudis <pasky@suse.cz>
49474 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49475 around j0() zero points by switching to j1().
49476 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49477 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49479 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49481 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49483 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49485 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49487 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49488 Patch in part by Pavel Roskin <proski@gnu.org>.
49491 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49493 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49494 Free memory block if necessary.
49497 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49498 be NULL. Don't lock in this case.
49500 2011-09-09 Roland McGrath <roland@hack.frob.com>
49502 * elf/elf.h (ELFOSABI_GNU): New macro.
49503 (ELFOSABI_LINUX): Define to that.
49505 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49507 * string/strncat.c (strncat): Undef the symbol in case it has been
49508 defined in bits/string.h.
49510 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49512 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49514 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49517 2011-08-17 Andreas Jaeger <aj@suse.de>
49519 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49521 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49522 Ian Lance Taylor <iant@google.com>
49524 * math/libm-test.inc (lround_test): New testcase.
49525 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49527 2011-09-08 Ulrich Drepper <drepper@gmail.com>
49529 * Makefile: Remove support for automatic cvs check-ins.
49530 * Makerules: Likewise.
49531 * config.make.in: Likewise.
49532 * configure.in: Likewise.
49533 * intl/Makefile: Likewise.
49534 * locale/Makefile: Likewise.
49535 * po/Makefile: Likewise.
49536 * posix/Makefile: Likewise.
49537 * sysdeps/gnu/Makefile: Likewise.
49538 * sysdeps/mach/hurd/Makefile: Likewise.
49539 * sysdeps/sparc/sparc32/Makefile: Likewise.
49542 * posix/Makefile (bug-regex32-ENV): Define.
49543 Patch by John Stanley <jpsinthemix@verizon.net>.
49545 * misc/Makefile (headers): Add bits/select2.h.
49546 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49547 * misc/bits/select2.h: New file.
49548 * include/bits/select2.h: New file.
49549 * debug/Makefile (routines): Add fdelt_chk.
49550 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49551 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49553 * debug/fdelt_chk.c: New file.
49555 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49556 * wcsmbs/test-wmemcmp.c: Likewise.
49557 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49558 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49560 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49562 * string/Makefile (strop-tests): Add memcmp.
49563 * string/test-wmemcmp.c: New file.
49564 * string/test-memcmp.c: Add wmemcmp support.
49566 2011-09-08 Roland McGrath <roland@hack.frob.com>
49569 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49572 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49573 garbage value in a __mach_port_mod_refs call in the cases of the
49574 task-self and thread-self ports.
49576 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49578 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49580 2011-09-08 Andreas Schwab <schwab@redhat.com>
49582 * elf/dl-load.c (lose): Check for non-null L.
49584 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49586 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49588 * elf/dl-libc.c (dlerror_run): Pass back error code from
49592 * elf/dl-load.c (lose): Free l_origin if it is valid.
49594 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49596 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49597 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49598 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49599 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49600 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49601 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49603 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49605 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49606 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49607 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49608 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49609 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49610 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49611 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49612 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49613 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49614 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49616 2011-08-15 Alan Modra <amodra@gmail.com>
49619 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49620 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49621 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49622 ppc_mcount to static-only-routines.
49623 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49625 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49626 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49628 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49630 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49631 for finite and infinity parameters.
49633 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49635 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49636 and add nop instructions for throughput optimization.
49637 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49639 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49641 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49642 aligned copy for power7 with vector-scalar instructions.
49643 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49645 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49650 2011-09-07 Andreas Schwab <schwab@redhat.com>
49653 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49656 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49658 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49659 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49660 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49661 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49664 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49666 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49667 Forgot to demangle the pointer.
49669 * sysdeps/i386/sysdep.h: Define atom_text_section.
49670 * sysdeps/x86_64/sysdep.h: Likewise.
49671 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49672 section with atom_text_section.
49673 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49674 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49675 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49676 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49677 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49679 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49680 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49681 already be defined. Change to take two parameters and don't assign
49682 result to variable. Adjust all users.
49683 Define INTERNAL_GETTIME if not already defined.
49684 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49686 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49687 HAVE_CLOCK_GETTIME_VSYSCALL.
49688 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49690 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49691 gettimeofday vsyscall, just use time.
49693 2011-09-06 Andreas Schwab <schwab@redhat.com>
49695 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49698 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49700 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49702 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49704 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49705 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49706 syscall if possible.
49708 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49710 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49711 e_ident. Don't pass to find_mapsXX.
49712 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49714 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49717 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49718 * sysdeps/x86_64/multiarch/strchr.S: Update.
49719 Check bit_slow_BSF bit.
49720 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49721 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49722 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49724 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49727 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49729 (tryshell): Define.
49730 (__spawni): Change last parameter to be flag. Test
49731 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49732 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49733 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49734 * posix/spawni.c: Likewise.
49735 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49736 * posix/spawnp.c: Likewise. Change normal version to use
49737 SPAWN_XFLAGS_USE_PATH.
49738 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49739 SPAWN_XFLAGS_TRY_SHELL.
49742 * posix/glob.h: Remove gcc 1.x support.
49745 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49747 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49750 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49752 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49753 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49754 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49755 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49756 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49757 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49759 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49761 * sysdeps/x86_64/wcscmp.S: New file.
49763 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49764 wcscmp-c wcscmp-sse2
49765 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49766 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49767 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49768 * wcsmbs/wcscmp.c: Allow renaming.
49770 2011-09-05 David S. Miller <davem@davemloft.net>
49772 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49773 stack slot, rather than the struct return pointer slot.
49774 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49775 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49777 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49779 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49781 * po/ja.po: Update from translation team.
49784 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49785 kernel in 64-bit binaries.
49787 2011-09-01 David S. Miller <davem@davemloft.net>
49789 * elf/elf.h (HWCAP_SPARC_*): Move to..
49790 * sysdeps/sparc/sysdep.h: this new file and add new values.
49791 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49792 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49793 _DL_HWCAP_COUNT to 24.
49794 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49796 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49797 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49798 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49799 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49800 instead of magic constants.
49801 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49803 2011-08-31 David S. Miller <davem@davemloft.net>
49805 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49806 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49807 Reimplement to do errno handling inline.
49808 (SYSCALL_ERROR_HANDLER): New macro.
49809 (__SYSCALL_STRING): Do not do errno handling in asm.
49810 (__CLONE_SYSCALL_STRING): Delete.
49811 (__INTERNAL_SYSCALL_STRING): Delete.
49812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49813 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49814 (PSEUDO): Reimplement to do errno handling inline.
49815 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49816 (SYSCALL_ERROR_HANDLER): New macro.
49817 (__SYSCALL_STRING): Do not do errno handling in asm.
49818 (__CLONE_SYSCALL_STRING): Delete.
49819 (__INTERNAL_SYSCALL_STRING): Delete.
49820 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49821 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49823 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49824 (inline_syscall*): Add 'err' argument.
49825 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49826 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49827 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49828 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49830 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49831 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49833 2011-08-30 Andreas Schwab <schwab@redhat.com>
49835 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49837 2011-08-29 Jiri Olsa <jolsa@redhat.com>
49839 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49842 2011-08-24 David S. Miller <davem@davemloft.net>
49844 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49846 2011-08-24 Andreas Schwab <schwab@redhat.com>
49848 * elf/Makefile: Add rules to build and run unload8 test.
49849 * elf/unload8.c: New file.
49850 * elf/unload8mod1.c: New file.
49851 * elf/unload8mod1x.c: New file.
49852 * elf/unload8mod2.c: New file.
49853 * elf/unload8mod3.c: New file.
49855 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49858 2011-08-23 David S. Miller <davem@davemloft.net>
49860 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49861 subtract stack bias.
49862 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49863 %sp not %fp in calculations.
49864 (_JMPBUF_UNWINDS_ADJ): Likewise.
49866 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49867 (aio_suspend): Call it to force an exception region around the
49868 AIO_MISC_WAIT() invocation.
49870 2011-08-23 Andreas Schwab <schwab@redhat.com>
49872 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49875 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49877 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49879 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49880 and <dl-machine.h>.
49881 (Elf64_FuncDesc): Remove.
49883 2011-08-22 David S. Miller <davem@davemloft.net>
49885 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49886 sigaltstack check, add missing cfi directives.
49887 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49888 missing cfi directives, and sigaltstack handling.
49890 2011-08-16 Andreas Schwab <schwab@redhat.com>
49893 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49894 object is seen twice.
49895 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49897 * elf/Makefile (distribute): Add tst-initorder2.c.
49898 (tests): Add tst-initorder2.
49899 (modules-names): Add tst-initorder2a tst-initorder2b
49900 tst-initorder2c tst-initorder2d. Add rules to build them.
49901 ($(objpfx)tst-initorder2.out): New rule.
49902 * elf/tst-initorder2.c: New file.
49903 * elf/tst-initorder2.exp: New file.
49905 2011-08-22 Andreas Schwab <schwab@redhat.com>
49907 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49909 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49910 dependencies back to end of function.
49912 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49913 $(elfobjdir)/ld.so.
49915 2011-08-21 Ulrich Drepper <drepper@gmail.com>
49917 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49918 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49919 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49920 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49921 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49922 of __vdso_gettimeofday.
49923 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49924 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49926 (_libc_vdso_platform_setup): Remove initialization of
49927 __vdso_gettimeofday and __vdso_time.
49929 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49931 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49932 and fgetc_unlocked.
49933 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49936 * elf/dl-open.c (add_to_global): Report additions to the global scope
49937 for LD_DEBUG=scopes.
49938 (dl_open_worker): Also print scope of newly loaded dependencies.
49939 (_dl_show_scope): Indicate if there is no scope.
49942 * stdio-common/Makefile (tests): Add bug24.
49943 * stdio-common/bug24.c: New file.
49945 2011-08-19 Andreas Jaeger <aj@suse.de>
49948 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49949 non-existant file when using close-on-exec mode.
49951 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49953 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49954 the very first instruction.
49956 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49957 the CFI state in the end.
49958 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49959 inclusion of dl-trampoline.h.
49960 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49962 2011-08-19 Andreas Schwab <schwab@redhat.com>
49964 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49965 expectations for long double.
49967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49968 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49970 2011-08-14 David S. Miller <davem@davemloft.net>
49972 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49973 artificual limit depends upon the system page size.
49975 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49977 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49978 * resolv/Makefile: Define CFLAGS-libresolv.
49980 2011-08-17 Andreas Schwab <schwab@redhat.com>
49982 * nss/makedb.c (compute_tables): Make variables used in nested
49985 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49987 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49988 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49989 if buffer was too small.
49991 * elf/pldd.c (main): Attach to all threads in the process.
49992 Rewrite /proc handling to use *at functions.
49994 2011-08-16 Ulrich Drepper <drepper@gmail.com>
49996 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49997 specifies first scope to show.
49998 (dl_open_worker): Update callers. Move printing scope of new
49999 object to before the relocation.
50000 * elf/rtld.c (dl_main): Update _dl_show_scope call.
50001 * sysdeps/generic/ldsodefs.h: Update declaration.
50003 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50004 string for the scope number.
50006 2011-08-14 Ulrich Drepper <drepper@gmail.com>
50008 * nscd/servicescache.c (cache_addserv): Make sure written is always
50011 2011-08-14 Roland McGrath <roland@hack.frob.com>
50013 * sysdeps/i386/i486/bits/atomic.h
50014 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50015 statement expression, so as to suppress "set but not used" warning.
50016 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50018 * string/strncat.c (STRNCAT): Use prototype definition.
50020 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50021 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50023 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50024 (localedef-modules): Add localedef.
50025 (locale-modules): Add locale.
50027 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50028 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50029 to avoid a warning.
50031 2011-08-14 David S. Miller <davem@davemloft.net>
50033 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50034 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50036 2011-08-13 Ulrich Drepper <drepper@gmail.com>
50038 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50039 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50040 * elf/rtld.c (dl_main): Set l_name of vDSO.
50041 Call _dl_show_scope when DL_DEBUG_SCOPES.
50042 (process_dl_debug): Recognize scopes flag and also set it for all.
50043 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50044 Declare _dl_show_scope.
50046 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50047 (do_dlopen): Pass caller_dlopen to dl_open.
50048 (__libc_dlopen_mode): Initialize caller_dlopen.
50050 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50051 of libc. Make tolower call locale-independent. Optimize a bit by
50052 using isdigit instead of isalnum.
50053 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50055 2011-08-12 Ulrich Drepper <drepper@gmail.com>
50057 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50058 was a dependency or dynamically loaded.
50060 2011-08-11 Ulrich Drepper <drepper@gmail.com>
50062 * intl/l10nflist.c: Allow architecture-specific pop function.
50063 * sysdeps/x86_64/l10nflist.c: New file.
50065 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50068 2011-08-10 Andreas Schwab <schwab@redhat.com>
50070 * include/dirent.h: Add libc_hidden_proto for scandirat and
50071 scandirat64. Don't declare __scandirat64.
50072 * dirent/scandirat.c: Add libc_hidden_def.
50073 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50074 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50076 2011-08-10 David S. Miller <davem@davemloft.net>
50078 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50080 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50081 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50082 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50084 2011-08-09 Ulrich Drepper <drepper@gmail.com>
50086 * Versions.def [libc]: Add GLIBC_2.15.
50087 * dirent/Makefile (routines): Add scandirat and scandirat64.
50088 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50090 * dirent/dirent.h: Declare scandirat and scandirat64.
50091 * dirent/scandirat.c: New file.
50092 * dirent/scandirat64.c: New file.
50093 * sysdeps/wordsize-64/scandirat.c: New file.
50094 * sysdeps/wordsize-64/scandirat64.c: New file.
50095 * dirent/opendir.c: Define opendirat.
50096 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50098 * dirent/scandir64.c: Adjust for scandir.c change.
50099 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50100 __scandirat64, and __scandir_cancel_handler.
50101 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50102 additional parameter and use openat instead of open (outside of ld.so).
50103 Add new __opendir as wrapper around __opendirat.
50104 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50105 here without requiring old scandirat implementation.
50107 2011-08-08 Ulrich Drepper <drepper@gmail.com>
50109 * dirent/scandir.c (cancel_handler): Renamed to
50110 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50111 defined. Adjust users.
50112 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50113 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50115 2011-08-04 Ulrich Drepper <drepper@gmail.com>
50117 * string/test-string.h (IMPL): Use __STRING to expand name and then
50120 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50123 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50125 * string/Makefile: Update.
50126 (strop-tests): Append strncat.
50127 * string/test-wcscmp.c: New file.
50128 New comprehensive test for wcscmp.
50129 * string/test-strcmp.c: Update.
50130 (WIDE): New define.
50132 2011-07-22 Andreas Schwab <schwab@redhat.com>
50134 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50137 2011-07-26 Andreas Schwab <schwab@redhat.com>
50139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50140 encoding to ACE if AI_IDN.
50142 2011-08-01 Jakub Jelinek <jakub@redhat.com>
50144 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50145 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50147 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50149 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50150 Fix overflow bug in strncat.
50151 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50153 * string/test-strncat.c: Update.
50154 Add new tests for checking overflow bugs.
50156 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50159 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50160 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50161 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50162 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50163 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50164 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50165 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50166 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50169 (USE_AS_STRCAT): Define.
50170 Add strcat and strncat support.
50171 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50173 2011-07-25 Andreas Schwab <schwab@redhat.com>
50175 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50176 __n bigger than INT_MAX+1.
50177 (__strncmp_g): Likewise.
50179 2011-07-23 Ulrich Drepper <drepper@gmail.com>
50181 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50182 * libio/stido.h: Likewise.
50184 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50189 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50190 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50191 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50192 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50193 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50196 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50199 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50201 (_dl_x86_64_save_sse): Likewise.
50203 2011-07-22 Ulrich Drepper <drepper@gmail.com>
50205 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50207 (_dl_x86_64_save_sse): Likewise.
50209 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50211 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50213 2011-07-21 Andreas Schwab <schwab@redhat.com>
50215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50217 (_dl_x86_64_save_sse): Use correct AVX check.
50219 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50221 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50222 bug in strncpy/strncat.
50223 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50225 2011-07-21 Ulrich Drepper <drepper@gmail.com>
50227 * string/tester.c (test_strcat): Add tests for different alignments
50228 of source and destination.
50229 (test_strncat): Likewise.
50231 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50234 * posix/glob.c (glob): Check passed in values before using them in
50235 expressions to avoid some overflows.
50236 (glob_in_dir): Likewise.
50239 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50240 check for AVX enablement so that we don't crash with old kernels and
50242 * elf/tst-audit4.c: Add same checks here.
50243 * elf/tst-audit6.c: Likewise.
50245 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50247 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50249 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50251 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50253 * po/cs.po: Update from translation team.
50254 * po/bg.po: Likewise.
50256 2011-07-12 Marek Polacek <mpolacek@redhat.com>
50258 * misc/sys/cdefs.h: Add support for const attribute.
50259 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50260 to gnu_dev_{major,minor,makedev} functions.
50262 2011-07-20 Marek Polacek <mpolacek@redhat.com>
50264 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50266 2011-07-20 Andreas Schwab <schwab@redhat.com>
50268 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50271 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50273 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50274 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50275 register in order to avoid conflicts with the soft frame pointer
50276 being held in r11 when necessary.
50277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50278 (INTERNAL_VSYSCALL_NCS): Likewise.
50280 2011-07-14 Marek Polacek <mpolacek@redhat.com>
50282 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50283 * elf/dl-fini.c (_dl_fini): Adjust caller.
50284 * elf/dl-close.c (_dl_close_worker): Likewise.
50285 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50287 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50289 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50290 "aux_cache->nlibs < 0".
50292 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50293 in the reload-count case.
50295 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50298 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50299 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50300 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50301 * sysdeps/x86_64/multiarch/strcat.S: New file.
50302 * sysdeps/x86_64/multiarch/strncat.S: New file.
50303 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50304 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50305 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50306 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50307 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50308 (USE_AS_STRCAT): Define.
50309 Add strcat and strncat support.
50310 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50311 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50312 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50313 * string/strncat.c: Update.
50314 (USE_AS_STRNCAT): Define.
50315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50316 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50318 * sysdeps/x86_64/multiarch/init-arch.h
50319 (bit_Prefer_PMINUB_for_stringop): New.
50320 (index_Prefer_PMINUB_for_stringop): Likewise.
50321 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50322 bit_Prefer_PMINUB_for_stringop.
50324 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50326 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50328 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50329 of casting of buffer.
50330 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50331 buffer32 and buffer64.
50332 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50333 writes instead of casting of buffer.
50334 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50336 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50339 2011-07-19 Andreas Schwab <schwab@redhat.com>
50341 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50343 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50345 * nscd/nscd.c (termination_handler): Don't do anything for a database
50346 if it has not yet been initialized.
50348 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50350 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50352 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50354 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50356 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50358 * po/nl.po: Update from translation team.
50359 * po/sv.po: Likewise.
50361 2011-07-16 Roland McGrath <roland@hack.frob.com>
50363 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50364 now disallowed by GCC.
50366 * configure.in (use-default-link): Default to yes if a test -shared
50367 link meets our qualifications.
50368 * configure: Regenerated.
50370 * config.make.in (output-format): New variable.
50371 * configure.in: Check for ld --print-output-format support.
50372 * configure: Regenerated.
50373 * Makerules ($(common-objpfx)format.lds)
50374 [$(output-format) != unknown]: Just use $(output-format),
50375 instead of the linker-script munging.
50377 2011-07-14 Roland McGrath <roland@hack.frob.com>
50379 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50380 of $(common-objpfx)shlib.lds.
50381 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50383 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50384 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50386 * configure.in (-z relro check): Adjust test code to add a large
50387 writable data section after it.
50388 * configure: Regenerated.
50390 2011-07-11 Roland McGrath <roland@hack.frob.com>
50392 * configure.in (-z relro check): Fix test code to make the variable
50394 * configure: Regenerated.
50396 2011-07-11 Ulrich Drepper <drepper@gmail.com>
50398 * nscd/nscd.h (struct traced_file): Define.
50399 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50400 elements. Add traced_files.
50401 (inotify_fd): Declare.
50402 (register_traced_file): Declare.
50403 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50404 (inotify_fd): Export.
50405 (resolv_conf_descr): Remove.
50406 (nscd_init): Move inotify descriptor creation to main.
50407 Don't register files for notification here.
50408 (register_traced_file): New function.
50409 (invalidate_cache): Don't use reset_res to determine whether to call
50410 res_init, go through the list of registered files.
50411 (main_loop_poll): The inotify descriptors are now stored in the
50412 structures for the traced files.
50413 (main_loop_epoll): Likewise
50414 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50415 to __nss_disable_nscd.
50416 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50417 for a database anymore. Check the records for all the registered
50419 * nss/Makefile (libnss_files-routines): Add files-init.
50420 (libnss_db-routines): Add db-init.
50421 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50422 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50423 * nss/nss_db/db-init.c: New file.
50424 * nss/nss_files/files-init.c: New file.
50425 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50426 __nss_lookup_function.
50427 (__nss_lookup_function): Call nss_load_library.
50428 (nss_load_all_libraries): New function.
50429 (__nss_disable_nscd): Take parameter with callback function for files
50430 to register. Set is_nscd. Load all the DSOs for the NSS modules
50431 used for the cached services.
50432 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50433 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50434 options for features to all the files in nscd.
50436 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50438 2011-07-10 Roland McGrath <roland@hack.frob.com>
50440 * csu/elf-init.c (__libc_csu_init): Comment typo.
50442 2011-07-09 Ulrich Drepper <drepper@gmail.com>
50444 * po/pl.po: Update from translation team.
50445 * po/ja.po: Likewise.
50446 * po/ru.po: Likewise.
50447 * po/ko.po: Likewise.
50448 * po/fr.po: Likewise.
50450 2011-07-09 Roland McGrath <roland@hack.frob.com>
50452 * configure.in (.ctors/.dtors header and trailer check):
50453 Use an empirical test on a built program.
50454 * configure: Regenerated.
50456 * configure.in (-z relro check): Use an empirical test on a built DSO.
50457 Detect, but do not require, on ia64.
50458 * configure: Regenerated.
50460 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50461 Update tests that use readelf to use $READELF instead.
50462 * configure: Regenerated.
50464 2011-07-08 Ulrich Drepper <drepper@gmail.com>
50466 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50467 if the result is not used.
50469 2011-07-05 Andreas Jaeger <aj@suse.de>
50472 * stdlib/tst-strtod.c: Add testcase.
50474 2011-07-07 Ulrich Drepper <drepper@gmail.com>
50476 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50477 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50478 The latter has a higher limit. Take additional parameter to pass to
50480 (__pathconf): Pass file to __statfs_link_max.
50481 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50483 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50487 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50488 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50490 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50491 (__statfs_filesize_max): Likewise.
50492 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50494 2011-07-05 Andreas Jaeger <aj@suse.de>
50496 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50498 2011-07-06 Marek Polacek <mpolacek@redhat.com>
50500 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50502 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50505 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50507 * Makefile (strop-tests): Add strncat.
50508 * string/test-strncat.c: New file.
50510 2011-06-30 Marek Polacek <mpolacek@redhat.com>
50512 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50514 2011-06-21 Andreas Jaeger <aj@suse.de>
50516 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50517 Copy rule from iconvdata/Makefile.
50519 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50522 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50523 but no long options are defined, just return 'W'.
50525 2011-06-22 Marek Polacek <mpolacek@redhat.com>
50528 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50530 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50532 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50534 (innetgr): Likewise.
50536 2011-07-05 Roland McGrath <roland@hack.frob.com>
50538 * config.make.in (install_root): Default to $(DESTDIR).
50540 2011-07-05 Ulrich Drepper <drepper@gmail.com>
50542 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50544 2011-07-02 Roland McGrath <roland@hack.frob.com>
50546 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50548 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50549 containing directory rather than embedding absolute directory names.
50551 * scripts/check-local-headers.sh: Rewritten using awk.
50552 Match by word, not by line. Print error messages for matches.
50553 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50555 * Makerules [shlib-lds-flags empty]:
50556 ($(common-objpfx)libc_pic.opts): New target.
50557 ($(common-objpfx)libc_pic.os.clean): New target.
50558 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50560 * config.make.in (OBJCOPY): New variable.
50561 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50562 * configure: Regenerated.
50564 * config.make.in (use-default-link): New variable.
50565 * configure.in (use_default_link): Grok --with-default-link to set it.
50566 * configure: Regenerated.
50567 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50568 (shlib-lds, shlib-lds-flags): Define to empty.
50570 * Makerules (shlib-lds): New variable.
50571 (shlib-lds-flags): New variable.
50572 (build-shlib, build-moduile, build-module-asneeded): Use it.
50573 ($(common-objpfx)libc.so): Use $(shlib-lds).
50574 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50575 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50577 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50578 DT_FLAGS/DT_FLAGS_1 with zero flags.
50580 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50581 linker script munging.
50583 2011-07-02 Ulrich Drepper <drepper@gmail.com>
50585 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50587 * crypt/sha512.c (sha512_process_block): Perform total addition using
50588 128-bit if possible.
50589 (__sha512_finish_ctx): Likewise.
50590 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50592 * crypt/sha256.c (SWAP64): Define.
50593 (sha256_process_block): Perform total addition using 64-bit if
50595 (__sha256_finish_ctx): Likewise.
50597 2011-07-01 Ulrich Drepper <drepper@gmail.com>
50599 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50600 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50601 * nscd/hstcache.c (cache_addhst): Likewise.
50602 * nscd/grpcache.c (cache_addgr): Likewise.
50603 * nscd/aicache.c (addhstaiX): Likewise
50604 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50606 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
50608 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50609 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50610 * nscd/hstcache.c (cache_addhst): Likewise.
50611 * nscd/grpcache.c (cache_addgr): Likewise.
50612 * nscd/aicache.c (addhstaiX): Likewise
50614 2011-07-01 Andreas Schwab <schwab@redhat.com>
50616 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50617 domain only when needed.
50619 2011-06-30 Andreas Schwab <schwab@redhat.com>
50621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50622 is always restored.
50624 2011-06-29 Ulrich Drepper <drepper@gmail.com>
50626 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50627 are re-adding the entry.
50628 * nscd/servicescache.c (cache_addserv): Likewise.
50630 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50632 * sysdeps/generic/dl-irel.h: fix protection against multiple
50634 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50636 2011-06-28 Ulrich Drepper <drepper@gmail.com>
50639 * malloc/memusage.sh: Fix quoting in message.
50640 * debug/xtrace.sh: Likewise.
50642 * configure.in: Remove support for --experimental-malloc option, make
50644 * config.make.in: Likewise.
50645 * malloc/Makefile: Likewise.
50647 2011-06-27 Andreas Schwab <schwab@redhat.com>
50649 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50650 two-byte characters.
50652 2011-06-27 Roland McGrath <roland@hack.frob.com>
50654 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50655 AC_CACHE_CHECK invocation.
50656 * configure: Regenerated.
50658 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50660 2011-06-27 Ulrich Drepper <drepper@gmail.com>
50663 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50664 bit from old_res_options.
50666 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50668 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50669 value type for setfct.
50671 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50673 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50674 __gettimeofday instead of gettimeofday.
50676 2011-06-26 Ulrich Drepper <drepper@gmail.com>
50678 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50680 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50682 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50684 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50687 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50689 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50690 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50691 strcpy-sse2-unaligned strncpy-sse2-unaligned
50692 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50693 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50694 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50695 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50696 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50697 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50698 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50699 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50700 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50701 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50702 (STRCPY): Support SSE2 and SSSE3 versions.
50704 2011-06-24 Ulrich Drepper <drepper@gmail.com>
50707 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50708 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50709 kernels which artificially limit size of requests.
50711 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50713 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50714 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50715 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50716 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50717 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50718 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50719 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50720 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50721 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50722 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50723 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50724 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50725 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50726 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50727 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50729 Enable unaligned load optimization for Intel Core i3, i5 and i7
50731 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50733 (index_Fast_Unaligned_Load): Define.
50734 (HAS_FAST_UNALIGNED_LOAD): Define.
50736 2011-06-23 Marek Polacek <mpolacek@redhat.com>
50738 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50740 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50743 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50744 until it is clear that the information is realy needed.
50745 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50747 2011-06-22 Andreas Schwab <schwab@redhat.com>
50749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50751 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50753 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50754 /sys/devices/system/cpu/online if it is usable.
50756 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50757 reading the information from the /proc filesystem to once a second.
50759 2011-06-21 Andreas Jaeger <aj@suse.de>
50761 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50762 NULL after inclusion of kernel headers.
50764 2011-06-21 Ulrich Drepper <drepper@gmail.com>
50766 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50767 calls to internal_setent.
50770 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50771 addresses using gethostbyname4_r ignore IPv4 addresses.
50773 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50774 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50776 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50778 2011-06-20 David S. Miller <davem@davemloft.net>
50780 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50782 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50784 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50785 (elf_irel): Use it.
50786 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50787 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50788 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50789 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50790 * sysdeps/x86_64/dl-irel.h: Likewise.
50792 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50793 * elf/dl-sym.c: Likewise.
50795 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50797 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50798 need to dereference resplen2.
50800 2011-06-14 Andreas Schwab <schwab@redhat.com>
50802 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50804 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50806 * Makeconfig: Define vardbdir and inst_vardbdir.
50807 * nss/Makefile: Add rules to install db-Makefile.
50809 * nss/nss_db/db-XXX.c: Cleanup.
50811 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50812 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50814 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50815 * nss/makedb.c: Implement -g option to specify that value strings
50816 are generated and should not be added to table iterated over for
50818 * nss/nss_db/db-initgroups.c: New file.
50820 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50823 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50824 (internal_getgrouplist): Adjust to name change.
50825 Update use_initgroups_entry if this is not the first call.
50826 * nss/databases.def: Add initgroups entry.
50828 * nss/makedb.c (compute_tables): Check result of multiple hash table
50829 sizes to minimize maximum chain length.
50831 2011-06-14 Ulrich Drepper <drepper@gmail.com>
50833 * Versions.def: Add entry for libnss_db.
50834 * shlib-versions: Likewise.
50835 * nss/Makefile: Add rules to build libnss_db.
50836 * nss/Versions: Add libnss_db information. Organize libnss_files
50838 * nss/db-Makefile: Add gshadow support. Change rules for the new
50839 makedb progra. Some minor improvements to generate smaller files.
50840 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50842 * nss/makedb.c: ...here.
50843 Improve database format to be smaller and require less memory at
50845 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50847 * nss/nss_db/db-netgrp.c: Likewise.
50848 * nss/nss_db/db-open.c: Likewise.
50849 * nss/nss_files/flies-XXX.x: Adjust comments.
50850 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50851 * nss/nss_files/files-grp.c: Likewise.
50852 * nss/nss_files/files-hosts.c: Likewise.
50853 * nss/nss_files/files-network.c: Likewise.
50854 * nss/nss_files/files-proto.c: Likewise.
50855 * nss/nss_files/files-pwd.c: Likewise.
50856 * nss/nss_files/files-rpc.c: Likewise.
50857 * nss/nss_files/files-service.c: Likewise.
50858 * nss/nss_files/files-sgrp.c: Likewise.
50859 * nss/nss_files/files-spwd.c: Likewise.
50860 * nss/nss_db/db-alias.c: Removed.
50861 * nss/nss_db/dummy-db.h: Removed.
50863 2011-06-02 Ulrich Drepper <drepper@gmail.com>
50865 * nss/makedb.c: Rewritten to not use database library.
50866 * nss/Makefile: Update to build new makedb program.
50868 2011-06-14 Andreas Jaeger <aj@suse.de>
50870 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50871 memset declaration.
50873 2011-06-10 Andreas Schwab <schwab@redhat.com>
50875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50878 2011-06-10 Roland McGrath <roland@hack.frob.com>
50880 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50881 * elf/Makefile ($(objpfx)ld.so): Likewise.
50883 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50884 Don't list ld.so twice in dependencies.
50886 * posix/bug-regex31.c: Include <stdlib.h>.
50888 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50890 * nis/nss_compat/compat-spwd.c
50891 (getspent_next_nss_netgr): Remove unused variable.
50892 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50894 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50895 nonmembers" output to use the right array.
50897 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50899 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50901 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50902 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50903 * catgets/gencat.c (read_input_file): Likewise.
50904 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50906 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50907 variable definition inside #if's controlling its use.
50909 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50911 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50913 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50915 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50918 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50920 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50921 * configure: Regenerated.
50923 * Makerules: Revert last change.
50924 * elf/Makefile: Likewise.
50926 2011-06-09 Roland McGrath <roland@hack.frob.com>
50928 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50929 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50930 (reloc-link): Likewise.
50932 2011-06-09 Ulrich Drepper <drepper@gmail.com>
50934 * elf/Makefile: Add rules to build pldd.
50935 * elf/pldd.c: New file.
50936 * elf/pldd-xx.c: New file.
50938 2011-06-07 Ulrich Drepper <drepper@gmail.com>
50940 * version.h: Update for 2.15 development version.
50942 2011-06-07 David S. Miller <davem@davemloft.net>
50944 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50946 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50947 elf_machine_lazy_rel): Likewise.
50948 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50949 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50950 elf_machine_lazy_rel): Likewise.
50951 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50952 dl_hwcap via passed in argument.
50953 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50956 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50958 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50960 2011-06-06 Roland McGrath <roland@hack.frob.com>
50963 * manual/fdl-1.1.texi: New file, verbatim from:
50964 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50965 * manual/lgpl-2.1.texi: New file, verbatim from:
50966 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50967 * manual/Makefile (licenses): New variable, list those new file names.
50969 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50971 * manual/fdl.texi: File removed.
50972 * manual/lesser.texi: File removed.
50973 * manual/libc.texinfo (Copying, Documentation License):
50974 Use new @include file names, put @appendix directive before @include.
50976 2011-06-04 Jakub Jelinek <jakub@redhat.com>
50979 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50980 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50981 (mq_open): Add __NTH.
50983 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50986 Assume Intel Core i3/i5/i7 processor if AVX is available.
50988 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50990 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50993 2011-05-31 Andreas Schwab <schwab@redhat.com>
50995 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50996 memory. Use alloca_account. Fix memory leak when retrying.
50998 2011-05-31 Ulrich Drepper <drepper@gmail.com>
51000 * version.h (RELEASE): Bump for 2.14 release.
51001 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51003 * config.make.in (RANLIB): Remove entry.
51005 2011-05-30 Ulrich Drepper <drepper@gmail.com>
51007 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51008 (libc.pot): Work around missing support for .ksh extension in xgettext.
51011 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51012 if both request failed.
51013 (send_dg): In case of server errors clear resplen or *resplen2.
51016 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51017 when there are multiple maps.
51018 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51019 (_dl_fini): Remove test here.
51021 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51023 2011-05-29 Ulrich Drepper <drepper@gmail.com>
51026 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51027 bit from old_res_options.
51028 (gaih_inet): Likewise.
51031 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51034 * resolv/res_init.c (res_setoptions): Make the code more compact.
51037 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51041 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51043 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51046 * malloc/malloc.h: Declare malloc hook variables as volatile.
51048 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51052 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51053 raise in the comment.
51054 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51055 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51056 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51058 2011-05-28 Ulrich Drepper <drepper@gmail.com>
51061 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51062 grow the buffers more if it already has to be sufficient.
51063 (build_wcs_upper_buffer): Likewise.
51064 * posix/regexec.c (check_matching): Likewise.
51065 (clean_state_log_if_needed): Likewise.
51066 (extend_buffers): Don't enlarge buffers beyond size of the input
51068 Patches mostly by Emil Wojak <emil@wojak.eu>.
51069 * posix/bug-regex32.c: New file.
51070 * posix/Makefile (tests): Add bug-regex32.
51072 * locale/findlocale.c (_nl_find_locale): Return right away if
51073 _nl_explode_name failed.
51074 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51076 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51078 * debug/xtrace.sh: Unify messages.
51079 * malloc/memusage.sh: Likewise.
51082 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51083 time symbol from vDSO. Substitute with vsyscall if not available.
51084 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51087 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51088 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51089 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51090 Add sendmmsg and internal_sendmmsg.
51091 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51092 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51093 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51095 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51096 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51097 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51099 2011-05-27 Ulrich Drepper <drepper@gmail.com>
51102 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51103 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51105 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51109 * iconvdata/Makefile (tests): Add bug-iconv9.
51110 * iconvdata/bug-iconv9.c: New file.
51112 2011-05-27 Andreas Schwab <schwab@redhat.com>
51115 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51117 2011-05-25 Jakub Jelinek <jakub@redhat.com>
51119 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51120 (struct user_regs_struct): Change intcs field back to cs.
51122 2011-05-25 Ulrich Drepper <drepper@gmail.com>
51124 * po/ja.po: Update from translation team.
51126 2011-05-23 Ulrich Drepper <drepper@gmail.com>
51129 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51130 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51132 2011-05-20 Andreas Schwab <schwab@redhat.com>
51134 * stdlib/longlong.h: Update from GCC.
51136 2011-05-23 Andreas Schwab <schwab@redhat.com>
51138 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51140 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51141 Add parameter name.
51142 (__sysconf): Pass it down.
51144 2011-05-22 Ulrich Drepper <drepper@gmail.com>
51147 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51149 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51150 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51151 add in in __libc_use_alloca calls. Adjust callers.
51152 (glob): Use malloc in some situations.
51154 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51155 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51158 2011-05-21 Ulrich Drepper <drepper@gmail.com>
51160 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51161 and CLOCK_BOOTTIME_ALARM.
51164 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51167 * string/_strerror.c (__strerror_r): Print negative errors as signed
51171 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51172 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51173 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51175 * configure.in: Fix typo in redirection and correct removal of test
51176 files in two cases.
51179 * locale/setlocale.c (new_composite_name): Fix test to check for
51180 identical name of all categories.
51183 * libio/filedoalloc.c (local_isatty): New function.
51184 (_IO_file_doallocate): Use local_isatty.
51185 * stdio-common/perror.c (perror): In case a new stream is used
51186 forward the stream error.
51187 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51190 2011-05-20 Ulrich Drepper <drepper@gmail.com>
51193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51195 * include/alloca.h (extend_alloca_account): Define.
51198 * posix/regex.h: Fix comments with documentation of user-accessible
51199 fields after compilation and describe correct free'ing of pattern
51200 after re_compile_pattern.
51201 Patch by Reuben Thomas <rrt@sc3d.org>.
51203 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51205 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51206 and -mno-altivec to prevent the compiler from using Altivec and/or
51207 VSX instructions when the corresponding registers are not available.
51209 2011-05-19 Andreas Schwab <schwab@redhat.com>
51211 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51213 2011-05-19 Ulrich Drepper <drepper@gmail.com>
51215 * libio/freopen.c (freopen): Use __dup2, not dup2.
51216 * libio/freopen64.c (freopen64): Likewise.
51218 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51221 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51222 * math/Makefile (tests): Add test-powl.
51223 (CFLAGS-test-powl.c): Define.
51224 * math/test-powl.c: New file.
51226 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51228 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51230 2011-05-17 Ulrich Drepper <drepper@gmail.com>
51233 * iconvdata/gb18030.c: Update to GB18020-2005.
51235 2011-05-16 Ulrich Drepper <drepper@gmail.com>
51237 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51238 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51239 Patch by Aharon Robbins <arnold@skeeve.com>.
51242 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51246 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51247 through underflows.
51250 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51251 point to strings before performing equality test for error_one_per_line
51255 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51258 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51259 (struct user_fpregs_struct): Avoid __uint*_t types.
51262 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51263 symbol info. Use it instead of calling _dl_addr locally.
51264 (lock_and_info): New function.
51265 (tr_freehook): Call lock_and_info and pass symbol info as additional
51266 parameter to tr_where.
51267 (tr_mallochook): Likewise.
51268 (tr_reallochook): Likewise.
51269 (tr_memalignhook): Likewise.
51271 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51272 used and couldn't be at all thread-safe.
51274 2011-05-15 Ulrich Drepper <drepper@gmail.com>
51276 * libio/freopen.c (freopen): Don't close old file descriptor
51277 before the new one is opened. Instead dup the new file descriptor
51278 to the old one after the new stream is created.
51279 * libio/freopen64.c (freopen64): Likewise.
51280 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51281 * libio/fileops.c (_IO_new_file_close_it): Handle new
51282 _IO_FLAGS2_NOCLOSE flag.
51283 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51284 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51285 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51286 _IO_FLAGS2_NOCLOSE flag.
51287 * include/unistd.h: Add hidden_proto for dup3.
51288 Define __have_dup3.
51289 * io/dup3.c: Define hidden symbol.
51290 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51293 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51294 when an incomplete long option is used.
51295 * posix/tst-getopt_long1.c: New file.
51296 * posix/Makefile (tests): Add tst-getopt_long1.
51299 * scripts/config.guess: Update from autoconf-2.68.
51300 * scripts/config.sub: Likewise.
51303 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51305 (has_cpuclock): ...this. New function.
51306 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51307 macro here based on has_cpuclock code.
51310 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51311 First byte (not low byte) is now always NUL.
51312 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51315 Use non-cancelable interfaces.
51318 * locale/iso-639.def: Add entry for Sorani.
51321 * include/stdlib.h: Move include protection to the right place.
51322 Define abort_msg_s. Declare __abort_msg with it.
51323 * stdlib/abort.c (__abort_msg): Adjust type.
51324 * assert/assert.c (__assert_fail_base): New function. Majority
51325 of code from __assert_fail. Allocate memory for __abort_msg with
51327 (__assert_fail): Now call __assert_fail_base.
51328 * assert/assert-perr.c: Remove bulk of implementation. Use
51329 __assert_fail_base.
51330 * include/assert.hL Declare __assert_fail_base.
51331 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51333 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51335 2011-05-14 Ulrich Drepper <drepper@gmail.com>
51339 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51340 until all modules are registered in the DTV.
51341 * elf/Makefile: Add rules to build and run tst-tls19.
51342 * elf/tst-tls19.c: New file.
51343 * elf/tst-tls19mod1.c: New file.
51344 * elf/tst-tls19mod2.c: New file.
51345 * elf/tst-tls19mod3.c: New file.
51346 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51349 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51353 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51354 two-byte sequence errors.
51355 * iconvdata/Makefile (tests): Add bug-iconv8.
51356 * iconvdata/bug-iconv8.c: New file.
51359 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51362 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51365 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51366 (dummy_getcfa): New function.
51367 (init): Get _Unwind_GetCFA address, use dummy if not found.
51368 (backtrace_helper): In recursion check, also check whether CFA changes.
51369 (__backtrace): Completely initialize arg.
51371 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51372 storing incomplete byte sequence in state object. Avoid testing for
51373 guaranteed too small input if we know there is enough data available.
51375 2011-05-11 Andreas Schwab <schwab@redhat.com>
51377 * Makeconfig (+link-pie): Indent.
51378 * Rules (binaries-pie): Define if $(have-fpie) and
51380 (binaries-shared): Also filter out $(binaries-pie).
51381 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51382 * nscd/Makefile (others-pie): Add nscd.
51383 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51384 ($(objpfx)nscd): Remove command override.
51385 * login/Makefile (others-pie): Add pt_chown.
51386 ($(objpfx)pt_chown): Remove command override.
51387 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51388 remove command overrides.
51390 2011-05-13 Ulrich Drepper <drepper@gmail.com>
51392 * libio/tst_putwc.c: Fix error messages.
51395 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51396 currently writing and seek to current position when not.
51397 * libio/Makefile (tests): Add bug-fclose1.
51398 * libio/bug-fclose1.c: New file.
51400 2011-05-12 Ulrich Drepper <drepper@gmail.com>
51403 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51404 don't set DF_1_NODELETE here.
51405 (do_lookup_x): When entering new entry test for copy relocation
51406 and if necessary set DF_1_NODELETE flag.
51407 * elf/tst-unique4.cc: New file.
51408 * elf/tst-unique4.h: New file.
51409 * elf/tst-unique4lib.cc: New file.
51410 * elf/Makefile: Add rules to build and run tst-unique4.
51411 Patch by Piotr Bury <pbury@goahead.com>.
51413 2011-05-11 Ulrich Drepper <drepper@gmail.com>
51416 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51419 * misc/mntent_r.c (addmntent): Flush the stream after the output
51422 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51423 (is_trusted_path_normalize): Skip initial colon. Append slash
51424 to empty buffer. Duplicate is_trusted_path code but allow
51425 constructed patch to be prefix.
51426 (is_dst): Allow $ORIGIN followed by /.
51427 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51428 Correct testing of result of is_trusted_path_normalize
51429 (decompose_rpath): Fix warning.
51431 2011-05-10 Ulrich Drepper <drepper@gmail.com>
51434 * grp/initgroups.c (internal_getgrouplist): When we found the service
51435 list through the initgroups entry in nsswitch.conf do not always
51436 continue on a successful lookup. Don't always use the
51437 __nss_group_database value if it is set.
51438 * nss/nsswitch.conf (initgroups): Change action for successful db
51439 lookup to continue for compatibility.
51441 2011-05-09 Ulrich Drepper <drepper@gmail.com>
51444 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51446 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51448 * iconvdata/tst-tables.sh: Likewise.
51449 * iconvdata/cp770.c: New file.
51450 * iconvdata/cp771.c: New file.
51451 * iconvdata/cp772.c: New file.
51452 * iconvdata/cp773.c: New file.
51453 * iconvdata/cp774.c: New file.
51454 * iconvdata/testdata/CP770: New file.
51455 * iconvdata/testdata/CP770..UTF8: New file.
51456 * iconvdata/testdata/CP771: New file.
51457 * iconvdata/testdata/CP771..UTF8: New file.
51458 * iconvdata/testdata/CP772: New file.
51459 * iconvdata/testdata/CP772..UTF8: New file.
51460 * iconvdata/testdata/CP773: New file.
51461 * iconvdata/testdata/CP773..UTF8: New file.
51462 * iconvdata/testdata/CP774: New file.
51463 * iconvdata/testdata/CP774..UTF8: New file.
51465 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51467 * iconvdata/gen-8bit-gap.sh: Likewise.
51468 * iconvdata/gen-8bit.sh: Likewise.
51470 * locale/iso-639.def: Add ary entry.
51473 * locale/C-translit.h.in: Add U20A1 transliteration.
51476 * locale/iso-639.def: Add wae entry.
51477 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51480 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51484 * locale/C-translit.h.in: Add entry for U20B9.
51485 Patch by pravin.d.s@gmail.com.
51487 2011-05-08 Ulrich Drepper <drepper@gmail.com>
51490 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51491 ENAMETOOLONG use generic getcwd.
51492 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51493 in rtld. Use *stat64.
51494 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51495 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51496 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51497 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51498 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51499 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51500 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51501 __fstatat64 macros.
51502 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51503 * dirent/rewinddir.c: Add libc_hidden_def.
51504 * sysdeps/mach/hurd/rewinddir.c: Likewise.
51505 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
51507 * include/dirent.h (__alloc_dir): Add flags parameter.
51508 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51509 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51511 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51512 from fdopendir if O_CLOEXEC is already set.
51514 2011-03-15 Alan Modra <amodra@gmail.com>
51516 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51517 l_tls_firstbyte_offset non-zero. Save padding offset in
51518 l_tls_firstbyte_offset for later use.
51519 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51520 freeing static tls block.
51522 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51524 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51525 where #ifdef was intended. The intent is to prevent ARG_MAX from
51526 being defined by the kernel headers.
51528 2011-05-07 Ulrich Drepper <drepper@gmail.com>
51531 * resolv/resolv.h: Define RES_NOTLDQUERY.
51532 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51533 no-tld-query and set RES_NOTLDQUERY.
51534 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51535 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51536 modern BIND to search name as TLD unless forbidden.
51538 2011-05-07 Petr Baudis <pasky@suse.cz>
51539 Ulrich Drepper <drepper@gmail.com>
51542 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51543 (is_trusted_path): ...to here.
51544 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51545 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51546 using is_trusted_path_normalize() in setuid scripts.
51548 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51550 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51551 __BEGIN/__END_DECLS.
51553 2011-05-06 Ulrich Drepper <drepper@gmail.com>
51555 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51556 NSS_STATUS_NOTFOUND if no record was found.
51558 2011-05-05 Andreas Schwab <schwab@redhat.com>
51560 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51561 (headers-not-in-tirpc): Remove rpc/netdb.h
51562 * resolv/netdb.h: Revert last change.
51564 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51566 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51567 circular dependency between libgcc.a and libc.a.
51569 2011-05-05 Andreas Schwab <schwab@redhat.com>
51571 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51572 * nis/Makefile: Don't install rpcsvc/*.
51573 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51574 instead of <rpc/types.h>.
51575 (MAXHOSTNAMELEN): Define.
51577 2011-05-03 Andreas Schwab <schwab@redhat.com>
51579 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51581 2011-04-28 Maciej Babinski <mbabinski@google.com>
51584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51585 gethostbyname4_r when IPv6 results are possible.
51587 2011-05-02 Ulrich Drepper <drepper@gmail.com>
51590 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51591 _PC_PIPE_BUF handling.
51593 2011-04-30 Bruno Haible <bruno@clisp.org>
51596 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51597 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51599 * inet/getnameinfo.c (getnameinfo): Likewise.
51601 2011-04-29 Ulrich Drepper <drepper@gmail.com>
51603 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51604 to groups setting in database lookup.
51605 * nss/nsswitch.conf: Add initgroups entry.
51607 2011-04-22 Ulrich Drepper <drepper@gmail.com>
51610 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51612 Patch by Eric Blake <eblake@redhat.com>.
51614 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51616 * sunrpc/Makefile (need-export-routines): Add svc_run.
51617 (routines): Remove svc_run.
51618 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51619 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51620 * sunrpc/svc_run.c (svc_run): Likewise.
51621 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51623 2011-04-21 Ulrich Drepper <drepper@gmail.com>
51625 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51626 problem in reallocation in last patch.
51628 2011-04-20 Ulrich Drepper <drepper@gmail.com>
51630 * sunrpc/Makefile: Move inclusion of Rules.
51632 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51634 * nss/nss_files/files-initgroups.c: New file.
51635 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51636 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51637 _nss_files_initgroups_dyn.
51639 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51641 * elf/elf.h (R_ARM_IRELATIVE): Define.
51643 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51645 * po/ru.po: Update from translation team.
51647 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51649 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51652 2011-02-06 Mike Frysinger <vapier@gentoo.org>
51655 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51656 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51657 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51658 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51659 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51661 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51663 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51665 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51666 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51667 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51669 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51672 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51674 * stdlib/bug-getcontext.c: New file.
51675 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51677 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51679 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51680 instructions into .machine "z9-109".
51681 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51682 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51684 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51686 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51687 between environment variables and auxiliary vector.
51689 2011-04-16 Ulrich Drepper <drepper@gmail.com>
51691 * Makefile: Add rules to build linkobj/libc.so.
51692 * include/libc-symbols.h: Define libc_hidden_nolink.
51693 * include/rpc/auth.h: Mark functions which are to be hidden.
51694 * include/rpc/auth_des.h: Likewise.
51695 * include/rpc/auth_unix.h: Likewise.
51696 * include/rpc/clnt.h: Likewise.
51697 * include/rpc/des_crypt.h: Likewise.
51698 * include/rpc/key_prot.h: Likewise.
51699 * include/rpc/pmap_clnt.h: Likewise.
51700 * include/rpc/pmap_prot.h: Likewise.
51701 * include/rpc/pmap_rmt.h: Likewise.
51702 * include/rpc/rpc_msg.h: Likewise.
51703 * include/rpc/svc.h: Likewise.
51704 * include/rpc/svc_auth.h: Likewise.
51705 * include/rpc/xdr.h: Likewise.
51706 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51707 * nss/Makefile: Likewise.
51708 * sunrpc/Makefile: Don't install headers. Build library with normal
51709 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51710 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51711 for the compat linking library. Remove use of INTDEF/INTUSE.
51712 * sunrpc/auth_none.c: Likewise.
51713 * sunrpc/auth_unix.c: Likewise.
51714 * sunrpc/authdes_prot.c: Likewise.
51715 * sunrpc/authuxprot.c: Likewise.
51716 * sunrpc/clnt_gen.c: Likewise.
51717 * sunrpc/clnt_perr.c: Likewise.
51718 * sunrpc/clnt_raw.c: Likewise.
51719 * sunrpc/clnt_simp.c: Likewise.
51720 * sunrpc/clnt_tcp.c: Likewise.
51721 * sunrpc/clnt_udp.c: Likewise.
51722 * sunrpc/clnt_unix.c: Likewise.
51723 * sunrpc/des_crypt.c: Likewise.
51724 * sunrpc/des_soft.c: Likewise.
51725 * sunrpc/get_myaddr.c: Likewise.
51726 * sunrpc/key_call.c: Likewise.
51727 * sunrpc/key_prot.c: Likewise.
51728 * sunrpc/netname.c: Likewise.
51729 * sunrpc/pm_getmaps.c: Likewise.
51730 * sunrpc/pm_getport.c: Likewise.
51731 * sunrpc/pmap_clnt.c: Likewise.
51732 * sunrpc/pmap_prot.c: Likewise.
51733 * sunrpc/pmap_prot2.c: Likewise.
51734 * sunrpc/pmap_rmt.c: Likewise.
51735 * sunrpc/publickey.c: Likewise.
51736 * sunrpc/rpc_cmsg.c: Likewise.
51737 * sunrpc/rpc_common.c: Likewise.
51738 * sunrpc/rpc_dtable.c: Likewise.
51739 * sunrpc/rpc_prot.c: Likewise.
51740 * sunrpc/rpc_thread.c: Likewise.
51741 * sunrpc/rtime.c: Likewise.
51742 * sunrpc/svc.c: Likewise.
51743 * sunrpc/svc_auth.c: Likewise.
51744 * sunrpc/svc_authux.c: Likewise.
51745 * sunrpc/svc_raw.c: Likewise.
51746 * sunrpc/svc_run.c: Likewise.
51747 * sunrpc/svc_simple.c: Likewise.
51748 * sunrpc/svc_tcp.c: Likewise.
51749 * sunrpc/svc_udp.c: Likewise.
51750 * sunrpc/svc_unix.c: Likewise.
51751 * sunrpc/svcauth_des.c: Likewise.
51752 * sunrpc/xcrypt.c: Likewise.
51753 * sunrpc/xdr.c: Likewise.
51754 * sunrpc/xdr_array.c: Likewise.
51755 * sunrpc/xdr_float.c: Likewise.
51756 * sunrpc/xdr_intXX_t.c: Likewise.
51757 * sunrpc/xdr_mem.c: Likewise.
51758 * sunrpc/xdr_rec.c: Likewise.
51759 * sunrpc/xdr_ref.c: Likewise.
51760 * sunrpc/xdr_sizeof.c: Likewise.
51761 * sunrpc/xdr_stdio.c: Likewise.
51763 2011-04-10 Ulrich Drepper <drepper@gmail.com>
51766 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51767 * sysdeps/ia64/dl-tls.h: Likewise.
51768 * sysdeps/powerpc/dl-tls.h: Likewise.
51769 * sysdeps/s390/dl-tls.h: Likewise.
51770 * sysdeps/sh/dl-tls.h: Likewise.
51771 * sysdeps/sparc/dl-tls.h: Likewise.
51772 * sysdeps/x86_64/dl-tls.h: Likewise.
51773 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51775 2011-03-14 Andreas Schwab <schwab@redhat.com>
51777 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51778 rpath element also skip the following colon.
51779 (expand_dynamic_string_token): Add is_path parameter and pass
51780 down to DL_DST_REQUIRED and _dl_dst_substitute.
51781 (decompose_rpath): Call expand_dynamic_string_token with
51782 non-zero is_path. Ignore empty rpaths.
51783 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51786 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51791 2011-04-09 Ulrich Drepper <drepper@gmail.com>
51794 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51795 Patch by Filipe David Manana <fdmanana@apache.org>.
51797 2011-04-07 Andreas Schwab <schwab@redhat.com>
51799 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51800 Maintain aligned stack.
51801 (CHECK_RSP): Remove unused macro.
51803 2011-04-03 Ulrich Drepper <drepper@gmail.com>
51805 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51806 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51808 2011-04-02 Ulrich Drepper <drepper@gmail.com>
51810 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51812 * include/features.h: Mention __USE_XOPEN2K8 in comment.
51814 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51817 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51818 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51819 * sysdeps/x86_64/memmove.c: New file.
51820 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51821 (memcpy): Renamed to ...
51822 (__new_memcpy): This.
51823 (memcpy): Provide GLIBC_2_14 memcpy.
51824 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51825 (memcpy): Provide GLIBC_2_2_5 memcpy.
51827 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51830 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51832 2011-03-30 Andreas Schwab <schwab@redhat.com>
51834 * misc/syncfs.c: New file.
51835 * misc/Makefile (routines): Add syncfs.
51836 * posix/unistd.h: Declare syncfs.
51837 * sysdeps/unix/syscalls.list: Add syncfs.
51839 2011-04-01 Andreas Schwab <schwab@redhat.com>
51841 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51843 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51844 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51845 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51846 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51847 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51848 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51849 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51851 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51853 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51854 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51855 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51857 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51858 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51859 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51861 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51862 sync_file_range.c with -fexceptions.
51863 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51864 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51865 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51866 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51867 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51868 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51869 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51870 sync_file_range as cancellation point
51871 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51872 now a wrapper around __call_sync_file_range with cancellation handling.
51873 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51874 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51875 function name to __call_sync_file_range.
51876 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51877 Add call_sync_file_range.
51879 2011-04-01 Andreas Schwab <schwab@redhat.com>
51881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51884 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51886 * iconv/iconv.h: Fix typo in comment.
51887 * io/fcntl.h: Likewise.
51888 * libio/stdio.h: Likewise.
51889 * posix/spawn.h: Likewise.
51890 * posix/unistd.h: Likewise.
51891 * stdlib/stdlib.h: Likewise.
51892 * time/time.h: Likewise.
51893 * wcsmbs/wchar.h: Likewise.
51895 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51896 open_by_handle): Add.
51897 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51898 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51899 Augment a few comments.
51900 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51901 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51902 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51904 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51905 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51908 * io/fcntl.h (AT_EMPTY_PATH): Define.
51910 2011-03-30 Ulrich Drepper <drepper@gmail.com>
51912 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51913 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51914 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51916 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
51917 * Versions.def: Add GLIBC_2.14.
51918 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51921 2011-03-22 Ulrich Drepper <drepper@gmail.com>
51923 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51925 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51927 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51930 * string/test-strncmp.c (do_page_test): New function.
51931 (check2): Likewise.
51932 (test_main): Call check2.
51933 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51935 2011-03-20 Ulrich Drepper <drepper@gmail.com>
51938 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51939 Handle cache information in CPU leaf 4.
51940 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51942 2011-03-18 Ulrich Drepper <drepper@gmail.com>
51945 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51946 character representation.
51947 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51949 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51951 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51952 END(__isnan) to END(__isnanf) to match function entry point/label
51953 EALIGN(__isnanf,...).
51955 2011-03-10 Jakub Jelinek <jakub@redhat.com>
51957 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51959 2011-03-10 Ulrich Drepper <drepper@gmail.com>
51962 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51963 copy from the symbol referenced in the relocation to initialize the
51965 Patch by Piotr Bury <pbury@goahead.com>.
51966 * elf/Makefile: Add rules to build and tst-unique3.
51967 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51968 * elf/tst-unique3.cc: New file.
51969 * elf/tst-unique3.h: New file.
51970 * elf/tst-unique3lib.cc: New file.
51971 * elf/tst-unique3lib2.cc: New file.
51973 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51975 2011-03-10 Mike Frysinger <vapier@gentoo.org>
51977 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51978 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51981 2011-03-06 Ulrich Drepper <drepper@gmail.com>
51983 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51984 to-be-loaded object along a path to loader is ld.so.
51986 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51987 Ulrich Drepper <drepper@gmail.com>
51989 * sysdeps/x86_64/memset.S: After aligning destination, code
51990 branches to different locations depending on the value of
51991 misalignment, when multiarch is enabled. Fix this.
51993 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51995 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51996 Set _x86_64_preferred_memory_instruction for AMD processsors.
51997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51998 Set bit_Prefer_SSE_for_memop for AMD processors.
52000 2011-03-04 Ulrich Drepper <drepper@gmail.com>
52002 * libio/fmemopen.c (fmemopen): Optimize a bit.
52004 2011-03-03 Andreas Schwab <schwab@redhat.com>
52006 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52008 2011-03-03 Roland McGrath <roland@redhat.com>
52010 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52012 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52014 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52015 __bzero_ultra1 instead of __memset_ultra1.
52017 2011-02-23 Andreas Schwab <schwab@redhat.com>
52018 Ulrich Drepper <drepper@gmail.com>
52021 * include/link.h (struct link_map): Add l_orig_initfini.
52022 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52023 returning unsuccessfully.
52024 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52025 close of a file loaded at startup, restore the original l_initfini
52027 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52028 list, store the pointer.
52029 * elf/Makefile ($(objpfx)noload-mem): New rule.
52030 (noload-ENV): Define.
52031 (tests): Add $(objpfx)noload-mem.
52032 * elf/noload.c: Include <memcheck.h>.
52033 (main): Call mtrace. Close all opened handles.
52035 2011-02-17 Andreas Schwab <schwab@redhat.com>
52038 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52039 dependencies are missing.
52041 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52043 Fix __if_freereq crash: Unlike the generic version which uses free,
52045 * sysdeps/mach/hurd/ifreq.h: New file.
52047 2011-01-27 Petr Baudis <pasky@suse.cz>
52048 Ulrich Drepper <drepper@gmail.com>
52051 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52052 to extend_alloca().
52053 * stdio-common/bug23.c: New file.
52054 * stdio-common/Makefile (tests): Add bug23.
52056 2010-09-28 Andreas Schwab <schwab@redhat.com>
52057 Ulrich Drepper <drepper@gmail.com>
52060 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52061 before performing relro protection. At old place add assertion
52062 to make sure nothing changed.
52064 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52065 Glauber de Oliveira Costa <glommer@gmail.com>
52067 * elf/elf.h: Add new ARM TLS relocs.
52069 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52072 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52074 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52076 * sysdeps/wordsize-64/tst-writev.c: New file.
52078 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52080 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52081 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52082 insns in _dl_start to prevent a TOC reference before relocs are
52085 2011-02-15 Ulrich Drepper <drepper@gmail.com>
52088 * Makeconfig: Remove RANLIB definition.
52089 * Makerules: Don't use RANLIB.
52090 * aclocal.m4: Remove ranlib test.
52091 * configure.in: No need to check for ranlib.
52092 * elf/rtld-Rules: Don't use RANLIB.
52094 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52096 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52098 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52099 inclusion protection macro.
52101 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52102 SIGRTMIN and SIGRTMAX and print information in that case only when
52103 SIGRTMIN is defined.
52105 2011-02-11 Jakub Jelinek <jakub@redhat.com>
52107 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52108 arginfo fn returning -1.
52110 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52111 and thousands string is zero terminated.
52113 2011-02-03 Andreas Schwab <schwab@redhat.com>
52115 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52116 sysdeps/unix/sysv/linux/bits/socket.h.
52118 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52120 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52121 (__CPU_COUNT): Remove old macros.
52122 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52123 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52124 (__CPU_ALLOC, __CPU_FREE): Add macros.
52125 (__sched_cpualloc, __sched_cpufree): Add declarations.
52127 2011-02-05 Ulrich Drepper <drepper@gmail.com>
52129 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52130 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52131 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52132 (readdhstai): Return value of addhstaiX call.
52133 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52134 (addgrbyX): Return value returned by cache_addgr.
52135 (readdgrbyname): Return value returned by addgrbyX.
52136 (readdgrbygid): Likewise.
52137 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52138 (addpwbyX): Return value returned by cache_addpw.
52139 (readdpwbyname): Return value returned by addhstbyX.
52140 (readdpwbyuid): Likewise.
52141 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52142 (addservbyX): Return value returned by cache_addserv.
52143 (readdservbyname): Return value returned by addservbyX:
52144 (readdservbyport): Likewise.
52145 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52146 (addhstbyX): Return value returned by cache_addhst.
52147 (readdhstbyname): Return value returned by addhstbyX.
52148 (readdhstbyaddr): Likewise.
52149 (readdhstbynamev6): Likewise.
52150 (readdhstbyaddrv6): Likewise.
52151 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52152 (readdinitgroups): Return value returned by addinitgroupsX.
52153 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52154 (prune_cache): Keep track of timeout value of re-added entries.
52155 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52156 * nscd/nscd.h: Adjust prototypes of readd* functions.
52158 2011-02-04 Roland McGrath <roland@redhat.com>
52160 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52161 (nis_stats): Likewise.
52162 * nis/nis_modify.c (nis_modify): Likewise.
52163 * nis/nis_remove.c (nis_remove): Likewise.
52164 * nis/nis_add.c (nis_add): Likewise.
52166 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52168 * posix/fnmatch_loop.c: Add some consts.
52170 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52172 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52175 * config.make.in (config-cflags-novzeroupper): Define.
52176 * configure.in: Substitute libc_cv_cc_novzeroupper.
52177 * elf/Makefile (AVX-CFLAGS): Define.
52178 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52179 (CFLAGS-tst-auditmod4a.c): Likewise.
52180 (CFLAGS-tst-auditmod4b.c): Likewise.
52181 (CFLAGS-tst-auditmod6b.c): Likewise.
52182 (CFLAGS-tst-auditmod6c.c): Likewise.
52183 (CFLAGS-tst-auditmod7b.c): Likewise.
52184 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52186 2011-02-02 Ulrich Drepper <drepper@gmail.com>
52188 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52189 function to the callback.
52190 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52192 2011-02-02 Andreas Schwab <schwab@redhat.com>
52194 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52197 2011-01-19 Ulrich Drepper <drepper@gmail.com>
52200 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52202 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52204 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52207 * elf/Makefile: Add rules to build and run new test.
52208 * elf/tst-initorder.c: New file.
52209 * elf/tst-initorder.exp: New file.
52210 * elf/tst-initordera1.c: New file.
52211 * elf/tst-initordera2.c: New file.
52212 * elf/tst-initordera3.c: New file.
52213 * elf/tst-initordera4.c: New file.
52214 * elf/tst-initorderb1.c: New file.
52215 * elf/tst-initorderb2.c: New file.
52216 * elf/tst-order-a1.c: New file.
52217 * elf/tst-order-a2.c: New file.
52218 * elf/tst-order-a3.c: New file.
52219 * elf/tst-order-a4.c: New file.
52220 * elf/tst-order-b1.c: New file.
52221 * elf/tst-order-b2.c: New file.
52222 * elf/tst-order-main.c: New file.
52223 New test case by George Gensure <werkt0@gmail.com>.
52225 2010-10-01 Andreas Schwab <schwab@redhat.com>
52227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52228 decoding ACE if AI_CANONIDN.
52230 2011-01-18 Ulrich Drepper <drepper@gmail.com>
52232 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52234 2011-01-17 Ulrich Drepper <drepper@gmail.com>
52236 * version.h (RELEASE): Bump for 2.13 release.
52237 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52239 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52241 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52243 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52244 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52245 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52246 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52247 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52248 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52250 * posix/getconf.c: Update copyright year.
52251 * catgets/gencat.c: Likewise.
52252 * csu/version.c: Likewise.
52253 * debug/catchsegv.sh: Likewise.
52254 * debug/xtrace.sh: Likewise.
52255 * elf/ldconfig.c: Likewise.
52256 * elf/ldd.bash.in: Likewise.
52257 * elf/sprof.c (print_version): Likewise.
52258 * iconv/iconv_prog.c: Likewise.
52259 * iconv/iconvconfig.c: Likewise.
52260 * locale/programs/locale.c: Likewise.
52261 * locale/programs/localedef.c: Likewise.
52262 * malloc/memusage.sh: Likewise.
52263 * malloc/mtrace.pl: Likewise.
52264 * nscd/nscd.c (print_version): Likewise.
52265 * nss/getent.c: Likewise.
52267 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52268 PF_CAIF, and PF_ALG.
52269 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52271 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52273 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52274 (modules-names): Use them.
52275 (ifunc-test-modules, ifunc-pie-tests): Define.
52276 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52277 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52278 (test-extras): Likewise.
52279 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52280 $(compile-command.c).
52281 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52282 (all-built-dso): Define.
52283 (check-textrel.out, check-execstack.out): Depend on it.
52285 * configure.in: Don't override --enable-multi-arch.
52287 2011-01-15 Ulrich Drepper <drepper@gmail.com>
52290 * nscd/hstcache.c (tryagain): Define.
52291 (cache_addhst): Return tryagain not notfound for temporary errors.
52292 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52295 2011-01-14 Ulrich Drepper <drepper@gmail.com>
52298 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52299 to make the syscall.
52300 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52303 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52304 and fall back to matching as normal character if the string ends before
52305 the matching ']' is found. This is what POSIX requires.
52306 * posix/testfnm.c: Adjust test result.
52307 * posix/globtest.sh: Adjust test result. Add new test.
52308 * posix/tst-fnmatch.input: Likewise.
52309 * posix/tst-fnmatch2.c: Add new test.
52311 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52313 * elf/Makefile (check-execstack): Revert last change. Depend on
52315 (check-execstack.h): New target.
52316 (generated): Add check-execstack.h.
52317 * elf/check-execstack.c: Include "check-execstack.h".
52318 (main): Revert last change.
52319 (handle_file): Return zero if GNU_STACK is absent and
52320 DEFAULT_STACK_PERMS doesn't include PF_X.
52322 2011-01-13 Ulrich Drepper <drepper@gmail.com>
52324 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52325 in child fails because the descriptor is already closed.
52326 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52327 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52328 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52331 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52335 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52336 temporary buffer used to handle multi lookups locally.
52337 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52339 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52341 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52344 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52346 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52347 alignment for SSE2.
52349 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52352 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52353 characters. When rounding increased number of integer digits recompute
52355 * stdio-common/tst-grouping.c: New file.
52356 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52358 2011-01-09 Ulrich Drepper <drepper@gmail.com>
52360 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52361 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52363 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52365 * bits/select.h: Likewise.
52367 2011-01-08 Ulrich Drepper <drepper@gmail.com>
52369 * po/ja.po: Update from translation team.
52371 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
52374 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52375 implementation just like for lxstat, fxstatat, et al.
52377 2010-12-27 Jim Meyering <meyering@redhat.com>
52380 * posix/regexec.c (build_trtable): Return failure indication upon
52381 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52383 2010-12-25 Ulrich Drepper <drepper@gmail.com>
52386 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52387 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52388 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52389 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52392 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52395 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52396 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52398 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52400 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52401 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52402 script has SORT_BY_INIT_PRIORITY.
52403 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52404 NO_CTORS_DTORS_SECTIONS is defined.
52405 * elf/soinit.c: Likewise.
52406 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52407 NO_CTORS_DTORS_SECTIONS is defined.
52408 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52409 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52410 * sysdeps/sh/init-first.c: Likewise.
52411 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52413 2010-12-24 Ulrich Drepper <drepper@gmail.com>
52415 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52416 always use the slow path.
52418 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52420 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52421 similar rule which adds the sysdep directories to the header search in
52422 order to pick up the correct platform stackinfo.h.
52423 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52424 perform test if it is, otherwise return successfully without testing.
52425 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52426 DEFAULT_STACK_PERMS define in stackinfo.h.
52427 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52428 defined in stackinfo.h.
52429 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52430 DEFAULT_STACK_PERMS defined in stackinfo.h.
52431 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52432 * sysdeps/ia64/stackinfo.h: Likewise.
52433 * sysdeps/s390/stackinfo.h: Likewise.
52434 * sysdeps/sh/stackinfo.h: Likewise.
52435 * sysdeps/sparc/stackinfo.h: Likewise.
52436 * sysdeps/x86_64/stackinfo.h: Likewise.
52437 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52438 PF_X for powerpc64. Retain PF_X for powerpc32.
52440 2010-12-19 Ulrich Drepper <drepper@gmail.com>
52442 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52444 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52445 GETDENTS_64BIT_ALIGNED.
52447 2010-12-14 Ulrich Drepper <dreper@gmail.com>
52449 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52451 2010-12-10 Andreas Schwab <schwab@redhat.com>
52453 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52456 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52457 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52459 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52460 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52462 2010-12-09 Ulrich Drepper <drepper@gmail.com>
52465 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52468 2010-12-09 Jakub Jelinek <jakub@redhat.com>
52470 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52472 2010-12-03 Ulrich Drepper <drepper@gmail.com>
52474 * po/it.po: Update from translation team.
52476 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52478 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52481 2010-11-30 Ulrich Drepper <drepper@gmail.com>
52483 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52485 2010-11-24 Andreas Schwab <schwab@redhat.com>
52487 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52489 (gaih_getanswer_slice): Likewise.
52491 2010-10-20 Jakub Jelinek <jakub@redhat.com>
52493 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52495 2010-05-31 Petr Baudis <pasky@suse.cz>
52498 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52499 silently even in the chroot mode.
52501 2010-11-22 Ulrich Drepper <drepper@gmail.com>
52503 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52504 last patch a bit. Pretty printing
52506 2010-05-31 Petr Baudis <pasky@suse.cz>
52509 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52510 initialization of skip_initgroups_dyn.
52512 2010-11-19 Ulrich Drepper <drepper@gmail.com>
52514 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52515 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52517 2010-11-16 Ulrich Drepper <drepper@gmail.com>
52519 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52521 2010-11-11 Andreas Schwab <schwab@redhat.com>
52523 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52524 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52525 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52526 ($(objpfx)tst-fnmatch-mem): New rule.
52527 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52528 * posix/tst-fnmatch.c (main): Call mtrace.
52530 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52533 Support Intel processor model 6 and model 0x2c.
52535 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
52537 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52540 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52543 * string/test-strncasecmp.c (check_result): New function.
52544 (do_one_test): Use it.
52545 (check1): New function.
52546 (test_main): Use it.
52547 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52548 Support strcasecmp and strncasecmp.
52550 2010-11-08 Ulrich Drepper <drepper@gmail.com>
52553 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52554 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52556 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52558 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52562 * sysdeps/x86_64/multiarch/bzero.S: New file.
52563 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52564 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52565 * sysdeps/x86_64/multiarch/memset.S: New file.
52566 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52568 Set bit_Prefer_SSE_for_memop for Intel processors.
52569 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52571 (index_Prefer_SSE_for_memop): Define.
52572 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52574 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
52576 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52577 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52579 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52582 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52583 (__x86_64_raw_data_cache_size_half): Likewise.
52584 (__x86_64_raw_shared_cache_size): Likewise.
52585 (__x86_64_raw_shared_cache_size_half): Likewise.
52587 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52588 (__x86_64_raw_data_cache_size_half): Likewise.
52589 (__x86_64_raw_shared_cache_size): Likewise.
52590 (__x86_64_raw_shared_cache_size_half): Likewise.
52591 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52592 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52593 and __x86_64_raw_shared_cache_size_half. Round
52594 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52595 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52596 to multiple of 256 bytes.
52598 2010-11-03 Ulrich Drepper <drepper@gmail.com>
52601 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52602 of inacessible symlinks. Verify result of symlink before returning it.
52603 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52604 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52606 2010-10-28 Erich Ritz <erichritz@gmail.com>
52608 * math/math.h (isinf): Fix typo in comment.
52610 2010-11-01 Ulrich Drepper <drepper@gmail.com>
52612 * po/da.po: Update from translation team.
52614 2010-10-26 Ulrich Drepper <drepper@gmail.com>
52616 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52617 is added to the list.
52619 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52620 Ulrich Drepper <drepper@gmail.com>
52622 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52623 the global list here. Move code to...
52624 (_dl_add_to_namespace_list): ...here. New function.
52625 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52626 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52627 * elf/dl-load.c (lose): Don't remove the element from the list.
52628 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52629 (_dl_map_object): Likewise.
52631 2010-10-25 Ulrich Drepper <drepper@gmail.com>
52634 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52635 into all bytes of SSE register.
52636 Patch by Richard Li <richardpku@gmail.com>.
52638 2010-10-24 Ulrich Drepper <drepper@gmail.com>
52641 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52644 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52646 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52647 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52648 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52649 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52654 2010-10-22 Andreas Schwab <schwab@redhat.com>
52656 * include/dlfcn.h (__RTLD_SECURE): Define.
52657 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52658 mode & __RTLD_SECURE instead.
52659 (open_path): Rename preloaded parameter to secure.
52660 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52661 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52662 * elf/dl-deps.c (openaux): Likewise.
52663 * elf/rtld.c (struct map_args): Remove is_preloaded.
52664 (map_doit): Don't use it.
52665 (dl_main): Likewise.
52666 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52667 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52669 2010-09-09 Andreas Schwab <schwab@redhat.com>
52671 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52672 (sysd-rules-targets): Remove duplicates.
52673 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52674 rtld-%.$o dependency.
52676 2010-10-18 Andreas Schwab <schwab@redhat.com>
52678 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52679 _dl_map_object do it.
52681 2010-10-19 Ulrich Drepper <drepper@gmail.com>
52683 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52684 fast fma builtins, define the macros in the C99 standard.
52685 (FP_FAST_FMAF): Likewise.
52686 (FP_FAST_FMAL): Likewise.
52687 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52689 * bits/mathdef.h: Update copyright year.
52690 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52692 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52694 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52695 builtins, define the macros in the C99 standard.
52696 (FP_FAST_FMAF): Likewise.
52697 (FP_FAST_FMAL): Likewise.
52698 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52700 (FP_FAST_FMAF): Likewise.
52702 2010-10-15 Jakub Jelinek <jakub@redhat.com>
52705 * math/libm-test.inc (fma_test): Some new testcases.
52706 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52707 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52708 y and infinite z. Do multiplication by C already in long double.
52709 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52711 y and infinite z. Do bitwise or of inexact bit into u.d.
52712 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52713 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52714 * sysdeps/i386/fpu/s_fma.S: Removed.
52715 * sysdeps/i386/fpu/s_fmal.S: Removed.
52717 2010-10-16 Jakub Jelinek <jakub@redhat.com>
52720 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52722 computation is not scheduled after fetestexcept. Fix value
52723 of minimum denormal long double.
52725 2010-10-14 Jakub Jelinek <jakub@redhat.com>
52728 * math/libm-test.inc (fma_test): Add some more tests.
52729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52732 2010-10-15 Andreas Schwab <schwab@redhat.com>
52734 * scripts/data/localplt-s390-linux-gnu.data: New file.
52735 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52737 2010-10-13 Jakub Jelinek <jakub@redhat.com>
52740 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52741 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52743 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52745 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52747 if one of x and y is very large and the other is subnormal.
52748 * sysdeps/s390/fpu/s_fmaf.c: New file.
52749 * sysdeps/s390/fpu/s_fma.c: New file.
52750 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52751 * sysdeps/powerpc/fpu/s_fma.S: New file.
52752 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52753 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52754 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52756 2010-10-12 Jakub Jelinek <jakub@redhat.com>
52759 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52761 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52762 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52763 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52764 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52765 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52766 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52767 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52769 2010-10-12 Ulrich Drepper <drepper@redhat.com>
52772 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52773 * posix/bug-regex31.input: Add test case.
52775 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52777 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52778 * posix/bug-regex31.input: New file.
52781 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52782 (parse_sub_exp): Fix last change, use postorder.
52784 * posix/bug-regex31.c: New file.
52785 * posix/Makefile: Add rules to build and run bug-regex31.
52787 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52790 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52793 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52794 to have entries in sys_siglist.
52797 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52800 2010-10-07 Jakub Jelinek <jakub@redhat.com>
52803 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52804 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52805 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52806 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52807 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52808 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52809 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52810 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52811 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52812 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52813 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52814 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52815 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52816 * math/ftestexcept.c (fetestexcept): Likewise.
52817 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52818 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52819 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52820 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52821 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52822 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52823 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52825 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52828 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52831 2010-10-06 Ulrich Drepper <drepper@gmail.com>
52833 * string/bug-strstr1.c: New file.
52834 * string/Makefile: Add rules to build and run bug-strstr1.
52836 2010-10-05 Eric Blake <eblake@redhat.com>
52839 * string/str-two-way.h (two_way_long_needle): Always clear memory
52840 when skipping input due to the shift table.
52842 2010-10-03 Ulrich Drepper <drepper@gmail.com>
52845 * malloc/mcheck.c: Handle large requests.
52848 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52849 for strncmp and strncasecmp.
52850 * string/stratcliff.c: Add tests for strcmp and strncmp.
52851 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52853 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52855 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52858 2010-09-30 Andreas Jaeger <aj@suse.de>
52860 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52861 (CGROUP_SUPER_MAGIC): Define.
52862 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52863 Handle btrfs and cgroup file systems.
52864 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52867 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
52869 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52870 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52872 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52875 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52876 trying to locate the ELF header.
52878 2010-09-27 Andreas Schwab <schwab@redhat.com>
52881 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52882 Mask out sign-bit copies when constructing f_fsid.
52884 2010-09-24 Petr Baudis <pasky@suse.cz>
52886 * debug/stack_chk_fail_local.c: Add missing licence exception.
52887 * debug/warning-nop.c: Likewise.
52889 2010-09-15 Joseph Myers <joseph@codesourcery.com>
52891 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52892 implementing getdents64 using getdents syscall, set d_type if
52893 __ASSUME_GETDENTS32_D_TYPE.
52895 2010-09-16 Andreas Schwab <schwab@redhat.com>
52897 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52898 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52900 2010-09-21 Ulrich Drepper <drepper@redhat.com>
52903 * posix/unistd.h: Undo change of feature selection for ftruncate from
52906 2010-09-20 Ulrich Drepper <drepper@redhat.com>
52908 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52911 2010-09-20 Andreas Schwab <schwab@redhat.com>
52913 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52915 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52917 2010-09-14 Andreas Schwab <schwab@redhat.com>
52919 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52920 variables after CHECK_SP call.
52921 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52923 2010-09-13 Andreas Schwab <schwab@redhat.com>
52924 Ulrich Drepper <drepper@redhat.com>
52926 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52927 re-relocationg ld.so.
52928 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52929 _dl_init_paths call.
52930 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52933 2010-09-14 Ulrich Drepper <drepper@redhat.com>
52935 * resolv/res_init.c (__res_vinit): Count the default server we added.
52937 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52938 Ulrich Drepper <drepper@redhat.com>
52941 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52942 (____longjmp_chk): Use %ebx for saving value across system call.
52945 2010-09-06 Andreas Schwab <schwab@redhat.com>
52947 * manual/Makefile: Don't mix pattern rules with normal rules.
52949 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52951 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52953 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52954 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52955 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52956 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52960 2010-09-04 Ulrich Drepper <drepper@redhat.com>
52963 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52964 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52966 2010-09-02 Ulrich Drepper <drepper@redhat.com>
52968 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52969 * sysdeps/x86_64/addmul_1.S: Likewise.
52970 * sysdeps/x86_64/lshift.S: Likewise.
52971 * sysdeps/x86_64/mul_1.S: Likewise.
52972 * sysdeps/x86_64/rshift.S: Likewise.
52973 * sysdeps/x86_64/sub_n.S: Likewise.
52974 * sysdeps/x86_64/submul_1.S: Likewise.
52976 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52978 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52979 Define __sched_param instead of SCHED_* and sched_param when
52980 <bits/sched.h> is included with __need_schedparam defined.
52981 * bits/sched.h [__need_schedparam]
52982 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52983 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52984 (__defined_schedparam): Define to 1.
52985 (__sched_param): New structure, identical to sched_param.
52986 (__need_schedparam): Undefine.
52988 2010-08-31 Mike Frysinger <vapier@gentoo.org>
52990 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52991 (epoll_create1): Declare.
52993 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52995 2010-08-31 Andreas Schwab <schwab@redhat.com>
52998 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52999 shifting retval into place.
53001 2010-09-01 Ulrich Drepper <drepper@redhat.com>
53003 * nis/rpcsvc/nis.h: Update copyright notice.
53004 * nis/rpcsvc/nis.x: Likewise.
53005 * nis/rpcsvc/nis_callback.h: Likewise.
53006 * nis/rpcsvc/nis_callback.x: Likewise.
53007 * nis/rpcsvc/nis_object.x: Likewise.
53008 * nis/rpcsvc/nis_tags.h: Likewise.
53009 * nis/rpcsvc/yp.h: Likewise.
53010 * nis/rpcsvc/yp.x: Likewise.
53011 * nis/rpcsvc/ypupd.h: Likewise.
53012 * nis/yp_xdr.c: Likewise.
53013 * nis/ypupdate_xdr.c: Likewise.
53015 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53016 mainly the body of pmap_getport. Add parameters to specify timeouts.
53017 (pmap_getport): Use __libc_rpc_getport.
53018 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53019 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53020 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53022 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53027 2010-08-27 Roland McGrath <roland@redhat.com>
53029 * sysdeps/i386/i686/multiarch/Makefile
53030 (CFLAGS-varshift.c): New variable.
53032 2010-08-27 Ulrich Drepper <drepper@redhat.com>
53034 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53035 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53037 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53039 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53041 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53043 * sysdeps/x86_64/strlen.S: Unroll the loop.
53044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53045 strlen-sse2 strlen-sse2-bsf.
53046 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53047 __strlen_no_bsf if bit_Slow_BSF is set.
53048 (__strlen_sse42): Removed.
53049 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53050 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53052 2010-08-25 Roland McGrath <roland@redhat.com>
53054 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53055 * sysdeps/x86_64/multiarch/varshift.c: New file.
53056 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53057 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53058 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53059 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53061 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53063 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53064 strlen-sse2 strlen-sse2-bsf.
53065 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53066 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53067 (__strlen_sse2): Removed.
53068 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53069 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53071 bit_Slow_BSF for Atom.
53072 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53073 (index_Slow_BSF): Define.
53074 (HAS_SLOW_BSF): Define.
53076 2010-08-25 Ulrich Drepper <drepper@redhat.com>
53079 * resolv/res_init.c (__res_vinit): When no server address at all
53080 is given default to loopback.
53082 2010-08-24 Roland McGrath <roland@redhat.com>
53084 * configure.in: Remove config-name.h generation.
53085 * configure: Regenerated.
53086 * config-name.in: File removed.
53087 * scripts/config-uname.sh: New file.
53088 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53089 ($(objdir)config-name.h): New target.
53091 * sunrpc/rpc_parse.h: Avoid nested comment.
53093 2010-08-24 Richard Henderson <rth@redhat.com>
53094 Ulrich Drepper <drepper@redhat.com>
53095 H.J. Lu <hongjiu.lu@intel.com>
53097 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53099 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53100 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53101 _mm_alignr_epi8 with _mm_loadu_si128.
53102 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53103 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53104 (__m128i_shift_right): Removed.
53105 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53106 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53107 * sysdeps/x86_64/multiarch/varshift.h: New file.
53108 * sysdeps/x86_64/multiarch/varshift.S: New file.
53110 2010-08-21 Mike Frysinger <vapier@gentoo.org>
53112 * configure.in: Move assembler checks to before sysdep dir checking.
53114 2010-08-20 Petr Baudis <pasky@suse.cz>
53116 * LICENSES: Sync the sunrpc license.
53118 2010-08-19 Ulrich Drepper <drepper@redhat.com>
53120 * sunrpc/auth_des.c: Update copyright notice once again.
53121 * sunrpc/auth_none.c: Likewise.
53122 * sunrpc/auth_unix.c: Likewise.
53123 * sunrpc/authdes_prot.c: Likewise.
53124 * sunrpc/authuxprot.c: Likewise.
53125 * sunrpc/bindrsvprt.c: Likewise.
53126 * sunrpc/clnt_gen.c: Likewise.
53127 * sunrpc/clnt_perr.c: Likewise.
53128 * sunrpc/clnt_raw.c: Likewise.
53129 * sunrpc/clnt_simp.c: Likewise.
53130 * sunrpc/clnt_tcp.c: Likewise.
53131 * sunrpc/clnt_udp.c: Likewise.
53132 * sunrpc/clnt_unix.c: Likewise.
53133 * sunrpc/des_crypt.c: Likewise.
53134 * sunrpc/des_soft.c: Likewise.
53135 * sunrpc/get_myaddr.c: Likewise.
53136 * sunrpc/getrpcport.c: Likewise.
53137 * sunrpc/key_call.c: Likewise.
53138 * sunrpc/key_prot.c: Likewise.
53139 * sunrpc/openchild.c: Likewise.
53140 * sunrpc/pm_getmaps.c: Likewise.
53141 * sunrpc/pm_getport.c: Likewise.
53142 * sunrpc/pmap_clnt.c: Likewise.
53143 * sunrpc/pmap_prot.c: Likewise.
53144 * sunrpc/pmap_prot2.c: Likewise.
53145 * sunrpc/pmap_rmt.c: Likewise.
53146 * sunrpc/rpc/auth.h: Likewise.
53147 * sunrpc/rpc/auth_unix.h: Likewise.
53148 * sunrpc/rpc/clnt.h: Likewise.
53149 * sunrpc/rpc/des_crypt.h: Likewise.
53150 * sunrpc/rpc/key_prot.h: Likewise.
53151 * sunrpc/rpc/netdb.h: Likewise.
53152 * sunrpc/rpc/pmap_clnt.h: Likewise.
53153 * sunrpc/rpc/pmap_prot.h: Likewise.
53154 * sunrpc/rpc/pmap_rmt.h: Likewise.
53155 * sunrpc/rpc/rpc.h: Likewise.
53156 * sunrpc/rpc/rpc_des.h: Likewise.
53157 * sunrpc/rpc/rpc_msg.h: Likewise.
53158 * sunrpc/rpc/svc.h: Likewise.
53159 * sunrpc/rpc/svc_auth.h: Likewise.
53160 * sunrpc/rpc/types.h: Likewise.
53161 * sunrpc/rpc/xdr.h: Likewise.
53162 * sunrpc/rpc_clntout.c: Likewise.
53163 * sunrpc/rpc_cmsg.c: Likewise.
53164 * sunrpc/rpc_common.c: Likewise.
53165 * sunrpc/rpc_cout.c: Likewise.
53166 * sunrpc/rpc_dtable.c: Likewise.
53167 * sunrpc/rpc_hout.c: Likewise.
53168 * sunrpc/rpc_main.c: Likewise.
53169 * sunrpc/rpc_parse.c: Likewise.
53170 * sunrpc/rpc_parse.h: Likewise.
53171 * sunrpc/rpc_prot.c: Likewise.
53172 * sunrpc/rpc_sample.c: Likewise.
53173 * sunrpc/rpc_scan.c: Likewise.
53174 * sunrpc/rpc_scan.h: Likewise.
53175 * sunrpc/rpc_svcout.c: Likewise.
53176 * sunrpc/rpc_tblout.c: Likewise.
53177 * sunrpc/rpc_util.c: Likewise.
53178 * sunrpc/rpc_util.h: Likewise.
53179 * sunrpc/rpcinfo.c: Likewise.
53180 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53181 * sunrpc/rpcsvc/key_prot.x: Likewise.
53182 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53183 * sunrpc/rpcsvc/mount.x: Likewise.
53184 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53185 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53186 * sunrpc/rpcsvc/rex.x: Likewise.
53187 * sunrpc/rpcsvc/rstat.x: Likewise.
53188 * sunrpc/rpcsvc/rusers.x: Likewise.
53189 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53190 * sunrpc/rpcsvc/spray.x: Likewise.
53191 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53192 * sunrpc/rtime.c: Likewise.
53193 * sunrpc/svc.c: Likewise.
53194 * sunrpc/svc_auth.c: Likewise.
53195 * sunrpc/svc_authux.c: Likewise.
53196 * sunrpc/svc_raw.c: Likewise.
53197 * sunrpc/svc_run.c: Likewise.
53198 * sunrpc/svc_simple.c: Likewise.
53199 * sunrpc/svc_tcp.c: Likewise.
53200 * sunrpc/svc_udp.c: Likewise.
53201 * sunrpc/svc_unix.c: Likewise.
53202 * sunrpc/svcauth_des.c: Likewise.
53203 * sunrpc/xcrypt.c: Likewise.
53204 * sunrpc/xdr.c: Likewise.
53205 * sunrpc/xdr_array.c: Likewise.
53206 * sunrpc/xdr_float.c: Likewise.
53207 * sunrpc/xdr_mem.c: Likewise.
53208 * sunrpc/xdr_rec.c: Likewise.
53209 * sunrpc/xdr_ref.c: Likewise.
53210 * sunrpc/xdr_sizeof.c: Likewise.
53211 * sunrpc/xdr_stdio.c: Likewise.
53213 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53216 2010-08-19 Andreas Schwab <schwab@redhat.com>
53218 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53220 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
53222 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53223 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53224 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53225 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53226 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53227 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53228 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53229 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53230 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53231 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53232 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53233 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53234 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53235 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53237 2010-07-26 Anton Blanchard <anton@samba.org>
53239 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53240 * malloc/arena.c (heap_trim): Likewise.
53242 2010-08-16 Ulrich Drepper <drepper@redhat.com>
53244 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53246 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53247 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53249 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53251 * sysdeps/i386/elf/Makefile: New file.
53253 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53255 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53256 from fanotify_init.
53257 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53258 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53260 2010-08-15 Ulrich Drepper <drepper@redhat.com>
53262 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53264 * sysdeps/multiarch/strcmp.S: Likewise.
53266 2010-08-14 Ulrich Drepper <drepper@redhat.com>
53268 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53269 strncase_l-nonascii.
53270 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53271 Add strncase_l-ssse3.
53272 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53273 * sysdeps/x86_64/strcmp.S: Likewise.
53274 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53275 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53276 * sysdeps/x86_64/strncase.S: New file.
53277 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53278 * sysdeps/x86_64/strncase_l.S: New file.
53279 * string/Makefile (strop-tests): Add strncasecmp.
53280 * string/test-strncasecmp.c: New file.
53282 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53285 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53286 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53288 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53290 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53292 2010-08-12 Ulrich Drepper <drepper@redhat.com>
53294 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53295 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53296 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53298 2010-05-01 Alan Modra <amodra@gmail.com>
53300 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53301 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53302 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53303 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53304 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53305 tidying. Don't tail-call __sigjmp_save for static lib.
53306 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53308 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53309 (CALL_MCOUNT): Add eh info, and nop after bl.
53310 (TAIL_CALL_SYSCALL_ERROR): New macro.
53311 (PSEUDO_RET): Use it.
53312 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53313 Correct save location of integer regs and cr.
53314 (_dl_profile_resolve): Correct cr save location. Delete nops
53315 after bl when SHARED. Reduce cfi size a little by better
53316 placement of cfi directives.
53317 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53318 make a stack frame. Instead use parm save area as a temp.
53319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53320 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53322 Don't make a stack frame for parent, use parm save area.
53323 Increase child stack frame to 112 bytes. Don't save unused reg,
53324 and adjust reg usage. Set up cfi on error recovery and
53325 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53327 (__makecontext): Add dummy nop after jump to exit.
53328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53329 Use correct parm save area and cr save, reduce stack frame.
53330 Correct cfi for possible PSEUDO_RET frame setup.
53331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53332 Branch to local label emitted by PSEUDO_RET rather than
53335 2010-08-12 Andreas Schwab <schwab@redhat.com>
53338 * locale/programs/locale.c (print_assignment): New function.
53339 (show_locale_vars): Use it.
53341 2010-08-11 Ulrich Drepper <drepper@redhat.com>
53343 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53345 (struct statfs64): Likewise.
53346 (_STATFS_F_FLAGS): Define.
53347 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53348 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53349 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53350 (ST_VALID): Define locally.
53351 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53352 __statvfs_getflags, use the provided value.
53353 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53354 __ASSUME_STATFS_F_FLAGS.
53356 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53358 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53359 Add sys/fanotify.h.
53360 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53361 fanotify_mask for GLIBC_2.13.
53362 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53363 fanotify_init and fanotify_mark.
53364 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53365 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53367 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53369 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53370 prlimit64 for GLIBC_2.13.
53371 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53373 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53376 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53377 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53378 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53379 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53381 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53384 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53385 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53387 * nss/Makefile: Add rules to build and run tst-nss-test1.
53388 * shlib-versions: Add entry for libnss_test1.
53389 * nss/nss_test1.c: New file.
53390 * nss/tst-nss-test1.c: New file.
53392 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53393 (__nss_configure_lookup): Set appropriate entry in
53394 __nss_configure_lookup to true.
53395 * nss/nsswitch.h: Define enum with indeces of databases in
53396 databases and __nss_database_custom arrays. Declare
53397 __nss_database_custom.
53398 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53399 to avoid using nscd when custom rules are installed.
53400 * nss/getXXbyYY_r.c: Likewise.
53401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53403 * nss/nss_files/files-parse.c: Whitespace fixes.
53405 2010-08-09 Ulrich Drepper <drepper@redhat.com>
53408 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53409 * posix/fnmatch_loop.c: Likewise.
53411 2010-07-17 Andi Kleen <ak@linux.intel.com>
53413 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53414 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53415 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53416 * Versions.def [GLIBC_2.13]: Add.
53418 2010-08-06 Ulrich Drepper <drepper@redhat.com>
53420 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53421 Also fail if tpwd after pwuid call is NULL.
53423 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53425 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53426 when converting to ms.
53428 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53430 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53431 EOPNOTSUPP errors with ENOTTY.
53432 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53433 EOPNOTSUPP errors with ENOTTY.
53435 2010-07-31 Ulrich Drepper <drepper@redhat.com>
53437 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53438 Add strcasecmp_l-ssse3.
53439 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53441 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53442 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53443 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53445 2010-07-30 Ulrich Drepper <drepper@redhat.com>
53447 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53449 * string/Makefile (strop-tests): Add strcasecmp.
53450 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53451 strcasecmp_l-nonascii.
53452 (gen-as-const-headers): Add locale-defines.sym.
53453 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53454 * sysdeps/x86_64/strcasecmp.S: New file.
53455 * sysdeps/x86_64/strcasecmp_l.S: New file.
53456 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53457 * sysdeps/x86_64/locale-defines.sym: New file.
53458 * string/test-strcasecmp.c: New file.
53460 * string/test-strcasestr.c: Test both ends of the range of characters.
53461 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53463 2010-07-29 Roland McGrath <roland@redhat.com>
53466 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53468 2010-07-27 Ulrich Drepper <drepper@redhat.com>
53470 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53473 2010-07-27 Andreas Schwab <schwab@redhat.com>
53475 * manual/memory.texi (Malloc Tunable Parameters): Document
53478 2010-07-26 Roland McGrath <roland@redhat.com>
53481 * configure.in (-fgnu89-inline check): Set and substitute
53482 gnu89_inline, not libc_cv_gnu89_inline.
53483 * configure: Regenerated.
53484 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53486 2010-07-26 Ulrich Drepper <drepper@redhat.com>
53488 * string/test-strnlen.c: New file.
53489 * string/Makefile (strop-tests): Add strnlen.
53490 * string/tester.c (test_strnlen): Add a few more test cases.
53491 * string/tst-strlen.c: Better error reporting.
53493 * sysdeps/x86_64/strnlen.S: New file.
53495 2010-07-24 Ulrich Drepper <drepper@redhat.com>
53497 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53498 lower-latency instructions.
53500 2010-07-23 Ulrich Drepper <drepper@redhat.com>
53502 * string/test-strcasestr.c: New file.
53503 * string/test-strstr.c: New file.
53504 * string/Makefile (strop-tests): Add strstr and strcasestr.
53505 * string/str-two-way.h: Don't undefine MAX.
53506 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53508 2010-07-21 Andreas Schwab <schwab@redhat.com>
53510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53511 strcasestr-nonascii.
53512 (CFLAGS-strcasestr-nonascii.c): Define.
53513 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53514 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53515 Remove unused attribute.
53517 2010-07-20 Roland McGrath <roland@redhat.com>
53519 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53520 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53521 ld.so.cache was broken. With it, there is no way to disable dsocaps
53522 like LD_HWCAP_MASK can disable hwcaps.
53524 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53526 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53528 2010-07-16 Ulrich Drepper <drepper@redhat.com>
53530 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53531 call in strcasestr.
53532 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53533 __strcasestr_sse42_nonascii.
53534 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53535 strcasestr-nonascii.c.
53536 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53538 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
53540 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53541 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53542 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53543 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53545 2010-07-09 Ulrich Drepper <drepper@redhat.com>
53547 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53550 2010-07-06 Andreas Schwab <schwab@redhat.com>
53553 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53556 2010-07-06 Ulrich Drepper <drepper@redhat.com>
53558 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53559 _PC_PIPE_BUF using F_GETPIPE_SZ.
53561 2010-07-05 Roland McGrath <roland@redhat.com>
53563 * manual/arith.texi (Rounding Functions): Fix rint description
53564 implicit in round description.
53566 2010-07-02 Ulrich Drepper <drepper@redhat.com>
53568 * elf/Makefile: Fix linking for a few tests to make recent linker
53571 2010-06-30 Andreas Schwab <schwab@redhat.com>
53573 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53574 $(common-objpfx)libc_nonshared.a.
53576 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
53578 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53579 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53580 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53581 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53582 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53583 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53584 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53585 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53600 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53601 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53602 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53603 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53604 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53605 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53606 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53607 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53608 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53609 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53610 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53611 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53627 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53629 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53630 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53631 * string/memmove.c (memmove): Renamed to ...
53632 (MEMMOVE): ...this. Default to memmove.
53633 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53634 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53637 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53638 mempcpy-ssse3-back memmove-ssse3-back.
53639 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53640 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53641 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53642 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53643 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53644 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53645 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53646 * sysdeps/x86_64/multiarch/memmove.c: New file.
53647 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53648 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53649 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53650 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53651 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53652 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53654 (index_Fast_Copy_Backward): Define.
53655 (HAS_ARCH_FEATURE): Define.
53656 (HAS_FAST_REP_STRING): Define.
53657 (HAS_FAST_COPY_BACKWARD): Define.
53659 2010-06-21 Andreas Schwab <schwab@redhat.com>
53661 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53662 Restore proper fallback handling.
53664 2010-06-19 Ulrich Drepper <drepper@redhat.com>
53667 * posix/group_member.c (__group_member): Correct checking loop.
53669 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53670 OOM in getpwuid_r correctly. Return error number when the caller
53671 should return, otherwise -1.
53672 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53673 call returning > 0 value.
53674 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53676 2010-06-07 Andreas Schwab <schwab@redhat.com>
53678 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53679 libc_nonshared.a from targets in modules-names.
53681 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53683 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53686 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
53688 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53689 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53690 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53691 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53693 2010-06-02 Andreas Schwab <schwab@redhat.com>
53695 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53697 2010-06-14 Ulrich Drepper <drepper@redhat.com>
53699 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53701 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53702 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53703 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53705 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53706 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53708 2010-06-14 Roland McGrath <roland@redhat.com>
53710 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53712 2010-06-07 Jakub Jelinek <jakub@redhat.com>
53714 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53715 __REDIRECT followed by __THROW.
53716 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53717 * posix/getopt.h (getopt): Likewise.
53719 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53721 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53722 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53723 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53725 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53726 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53728 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
53730 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53732 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53736 Properly check family and model.
53738 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53740 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53742 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
53744 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53746 2010-05-21 Ulrich Drepper <drepper@redhat.com>
53748 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53751 2010-05-19 Andreas Schwab <schwab@redhat.com>
53753 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53756 2010-05-21 Andreas Schwab <schwab@redhat.com>
53758 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53759 and internal_recvmmsg.
53760 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53761 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53762 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53763 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53765 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53766 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53767 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53769 2010-05-20 Andreas Schwab <schwab@redhat.com>
53771 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53773 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
53775 POWER7 optimizations.
53776 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53777 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53779 2010-05-19 Ulrich Drepper <drepper@redhat.com>
53781 * version.h: Update for 2.13 development version.
53783 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
53785 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53786 exceptions. Return 0.
53788 2010-05-07 Roland McGrath <roland@redhat.com>
53790 * elf/ldconfig.c (main): Add a const.
53792 2010-05-06 Ulrich Drepper <drepper@redhat.com>
53794 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53795 (args_options): Add no-idn option.
53796 (ahosts_keys_int): Add idn_flags to ai_flags.
53797 (parse_option): Handle 'i' option to clear idn_flags.
53799 * malloc/malloc.c (_int_free): Possible race in the most recently
53800 added check. Only act on the data if no current modification
53803 See ChangeLog.17 for earlier changes.